third_party/android_crazy_linker/src/tests/generate_test_elf_hash_tables.py
def ElfHash(name):
  """Compute the ELF hash of a given input string."""
  h = 0
  for c in name:
    h = (h << 4) + ord(c)
    g = h & 0xf0000000
    h ^= g
    h ^= g >> 24
  return h & 0xffffffff
Compute the ELF hash of a given input string.
Compute the ELF hash of a given input string.
Compute the ELF hash of a given input string .
def ElfHash(name):
  h = 0
  for c in name:
    h = (h << 4) + ord(c)
    g = h & 0xf0000000
    h ^= g
    h ^= g >> 24
  return h & 0xffffffff
def ElfHash ( name ) : h = 0 for c in name : h = ( h << 4 ) + ord ( c ) g = h & 0xf0000000 h ^= g h ^= g >> 24 return h & 0xffffffff
Compute the ELF hash of a given input string.
Compute the ELF hash of a given input string .
"""Compute the ELF hash of a given input string."""
name