Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nutsdb/nutsdb
/ Valid
Method
Valid
iterator.go:111–113 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
109
}
110
111
func
(it *Iterator) Valid() bool {
112
return
it.valid
113
}
114
115
func
(it *Iterator) Key() []byte {
116
if
!it.valid {
Callers
15
BenchmarkIterator_Next
Function · 0.95
BenchmarkIterator_Prev
Function · 0.95
BenchmarkIterator_KeyAccess
Function · 0.95
BenchmarkIterator_ValueAccess
Function · 0.95
BenchmarkIterator_KeyValueAccess
Function · 0.95
BenchmarkIterator_Rewind
Function · 0.95
BenchmarkIterator_PartialScan
Function · 0.95
BenchmarkIterator_ValidCheck
Function · 0.95
BenchmarkIterator_LargeValues
Function · 0.95
TestIterator_Item
Function · 0.95
TestIterator_Rewind
Function · 0.95
TestIterator_Rewind_Reverse
Function · 0.95
Calls
no outgoing calls
Tested by
15
BenchmarkIterator_Next
Function · 0.76
BenchmarkIterator_Prev
Function · 0.76
BenchmarkIterator_KeyAccess
Function · 0.76
BenchmarkIterator_ValueAccess
Function · 0.76
BenchmarkIterator_KeyValueAccess
Function · 0.76
BenchmarkIterator_Rewind
Function · 0.76
BenchmarkIterator_PartialScan
Function · 0.76
BenchmarkIterator_ValidCheck
Function · 0.76
BenchmarkIterator_LargeValues
Function · 0.76
TestIterator_Item
Function · 0.76
TestIterator_Rewind
Function · 0.76
TestIterator_Rewind_Reverse
Function · 0.76