sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

GetText::MO#hash_string

From gettext-0.12.1/gettext-runtime/intl/hash-string.h
Defines the so called `hashpjw' function by P.J. Weinberger
[see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools,
1986, 1987 Bell Telephone Laboratories, Inc.]

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/gettext-3.4.3/lib/gettext/mo.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-GetText--MO-hash_string-for-pr


# Commit to git

git add app/server/ruby/vendor/gettext-3.4.3/lib/gettext/mo.rbgit commit -m "better docs for GetText::MO#hash_string"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-GetText--MO-hash_string-for-pr

hub pull-request


# Celebrate!