MCPcopy Create free account
hub / github.com/alibaba/GraphScope / get_size

Method get_size

python/graphscope/client/archive.py:54–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 return block
53
54 def get_size(self):
55 size = struct.unpack("q", self.get_block(self._size_of_int64))[0]
56 return size
57
58 def get_sized_block(self):
59 """Peek a block with the size as the prefix bytes."""

Callers 8

get_sized_blockMethod · 0.95
get_bytesMethod · 0.95
get_stringMethod · 0.95
decode_numpyFunction · 0.95
decode_dataframeFunction · 0.95
number_of_nodesMethod · 0.45
sizeMethod · 0.45
number_of_selfloopsMethod · 0.45

Calls 2

get_blockMethod · 0.95
unpackMethod · 0.45

Tested by

no test coverage detected