third_party/android_crazy_linker/src/tests/generate_test_gnu_hash_tables.py
def GetBits(self, gnu_hash):
    """Return (index, bit0, bit1) tuple corresponding to a given hash."""
    bloom_index = (gnu_hash / self.bloom_bits_) % self.bloom_size_
    bloom_bit0 = (gnu_hash % self.bloom_bits_)
    bloom_bit1 = ((gnu_hash >> self.bloom_shift_) % self.bloom_bits_)
    return bloom_index, bloom_bit0, bloom_bit1
Return (index, bit0, bit1) tuple corresponding to a given hash.
Return (index, bit0, bit1) tuple corresponding to a given hash.
Return ( index bit0 bit1 ) tuple corresponding to a given hash .
def GetBits(self, gnu_hash):
    bloom_index = (gnu_hash / self.bloom_bits_) % self.bloom_size_
    bloom_bit0 = (gnu_hash % self.bloom_bits_)
    bloom_bit1 = ((gnu_hash >> self.bloom_shift_) % self.bloom_bits_)
    return bloom_index, bloom_bit0, bloom_bit1
def GetBits ( self , gnu_hash ) : bloom_index = ( gnu_hash / self . bloom_bits_ ) % self . bloom_size_ bloom_bit0 = ( gnu_hash % self . bloom_bits_ ) bloom_bit1 = ( ( gnu_hash >> self . bloom_shift_ ) % self . bloom_bits_ ) return bloom_index , bloom_bit0 , bloom_bit1
Return (index, bit0, bit1) tuple corresponding to a given hash.
Return ( index bit0 bit1 ) tuple corresponding to a given hash .
"""Return (index, bit0, bit1) tuple corresponding to a given hash."""
self
gnu_hash