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

Method _byteswap

join/LSH/datasketch/lsh.py:294–295  ·  view source on GitHub ↗
(self, hs)

Source from the content-addressed store, hash-verified

292 return any(t.size() == 0 for t in self.hashtables)
293
294 def _byteswap(self, hs):
295 return bytes(hs.byteswap().data)
296
297 def _hashed_byteswap(self, hs):
298 return self.hashfunc(bytes(hs.byteswap().data))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected