Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ read_longs
Function
read_longs
codegeex/megatron/data/indexed_dataset.py:90–93 ·
view source on GitHub ↗
(f, n)
Source
from the content-addressed store, hash-verified
88
89
90
def
read_longs(f, n):
91
a = np.empty(n, dtype=np.int64)
92
f.readinto(a)
93
return
a
94
95
96
def
write_longs(f, a):
Callers
1
read_index
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected