MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / __len__

Method __len__

join/LSH/datasketch/minhash.py:255–259  ·  view source on GitHub ↗

:returns: int -- The number of hash values.

(self)

Source from the content-addressed store, hash-verified

253 permutations=self.permutations)
254
255 def __len__(self):
256 '''
257 :returns: int -- The number of hash values.
258 '''
259 return len(self.hashvalues)
260
261 def __eq__(self, other):
262 '''

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected