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

Method get_uint32

python/graphscope/client/archive.py:97–101  ·  view source on GitHub ↗

Peek a uint64.

(self)

Source from the content-addressed store, hash-verified

95 return Q
96
97 def get_uint32(self):
98 """Peek a uint64."""
99 size_of_uint64 = struct.calcsize("I")
100 u = struct.unpack("I", self.get_block(size_of_uint64))[0]
101 return u
102
103 def get_bool(self):
104 """Peek a bool."""

Callers 1

_get_node_id_cacheMethod · 0.80

Calls 2

get_blockMethod · 0.95
unpackMethod · 0.45

Tested by

no test coverage detected