MCPcopy
hub / github.com/dgraph-io/badger / woffset

Method woffset

value.go:1367–1369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1365}
1366
1367func (vlog *valueLog) woffset() uint32 {
1368 return atomic.LoadUint32(&vlog.writableLogOffset)
1369}
1370
1371// validateWrites will check whether the given requests can fit into 4GB vlog file.
1372// NOTE: 4GB is the maximum size we can create for vlog because value pointer offset is of type

Callers 4

CloseMethod · 0.95
validateWritesMethod · 0.95
writeMethod · 0.95
getFileRLockedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected