Class | GetText::MoFile |
In: |
lib/gettext/runtime/mofile.rb
|
Parent: | Hash |
Header | = | Struct.new(:magic, :revision, :nstrings, :orig_table_offset, :translated_table_offset, :hash_table_size, :hash_table_offset) |
MAGIC_BIG_ENDIAN | = | "\x95\x04\x12\xde" |
MAGIC_LITTLE_ENDIAN | = | "\xde\x12\x04\x95" |
HASHWORDBITS | = | 32 |
charset | [R] | |
filename | [R] | |
last_modified | [RW] | |
little_endian | [RW] | |
nplurals | [R] | |
path | [RW] | |
plural | [R] |
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.]