Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ethstorage/es-node
/ KvIdxEnd
Method
KvIdxEnd
ethstorage/data_file.go:143–145 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
141
}
142
143
func
(df *DataFile) KvIdxEnd() uint64 {
144
return
df.KvIdxStart() + df.chunkIdxLen*df.chunkSize/df.maxKvSize
145
}
146
147
func
(df *DataFile) KvIdxStart() uint64 {
148
return
df.chunkIdxStart * df.chunkSize / df.maxKvSize
Callers
3
ContainsKv
Method · 0.95
TestCreateDataFile
Function · 0.80
createDataFile
Function · 0.80
Calls
1
KvIdxStart
Method · 0.95
Tested by
1
TestCreateDataFile
Function · 0.64