Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_block
Method · 0.95
get_bytes
Method · 0.95
get_string
Method · 0.95
decode_numpy
Function · 0.95
decode_dataframe
Function · 0.95
number_of_nodes
Method · 0.45
size
Method · 0.45
number_of_selfloops
Method · 0.45
Calls
2
get_block
Method · 0.95
unpack
Method · 0.45
Tested by
no test coverage detected