MCPcopy 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
143func (df *DataFile) KvIdxEnd() uint64 {
144 return df.KvIdxStart() + df.chunkIdxLen*df.chunkSize/df.maxKvSize
145}
146
147func (df *DataFile) KvIdxStart() uint64 {
148 return df.chunkIdxStart * df.chunkSize / df.maxKvSize

Callers 3

ContainsKvMethod · 0.95
TestCreateDataFileFunction · 0.80
createDataFileFunction · 0.80

Calls 1

KvIdxStartMethod · 0.95

Tested by 1

TestCreateDataFileFunction · 0.64