Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/etcd-io/bbolt
/ Count
Method
Count
internal/freelist/freelist.go:31–31 ·
view source on GitHub ↗
Count returns the number of free and pending pages.
()
Source
from the content-addressed store, hash-verified
29
30
// Count returns the number of free and pending pages.
31
Count() int
32
33
// FreeCount returns the number of free pages.
34
FreeCount() int
Callers
15
check
Method · 0.65
recursivelyCheckPageKeyOrderInternal
Method · 0.65
write
Method · 0.65
forEachPageInternal
Method · 0.65
Page
Method · 0.65
corruptRandomLeafPageInBucket
Function · 0.65
Stats
Method · 0.65
_forEachPageNode
Method · 0.65
searchPage
Method · 0.65
nsearch
Method · 0.65
count
Method · 0.65
ClearPageElements
Function · 0.65
Calls
no outgoing calls
Tested by
11
corruptRandomLeafPageInBucket
Function · 0.52
TestFindPathsToKey
Function · 0.52
TestFindPathsToKey_CycleDetected
Function · 0.52
TestFindPathsToKey_Bucket
Function · 0.52
requirePages
Function · 0.52
TestTx_RecursivelyCheckPages_CorruptedLeaf
Function · 0.52
TestSurgery_ClearPage
Function · 0.52
testSurgeryClearPageElementsWithoutOverflow
Function · 0.52
compareDataAfterClearingElement
Function · 0.52
testSurgeryClearPageElementsWithOverflow
Function · 0.52
TestPageItemCommand_Run
Function · 0.52