

def get_entry(self, hash_):
    ' Return np.array of [id, time] entries\n            associate with the given hash as rows.\n        '
    vals = self.table[hash_, :min(self.depth, self.counts[hash_])]
    maxtimemask = ((1 << self.matimebits) - 1)
    ids = (vals >> self.maxtimebits)
    return np.c_[(ids, (vals & maxtimemask))].astype(np.int32)

dataset/ETHPy150Open dpwe/audfprint/hash_table.py HashTable.get_entry/original