Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ Pop
Method
Pop
db/change_cache.go:1009–1015 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1007
}
1008
1009
func
(h *LogPriorityQueue) Pop()
interface
{} {
1010
old := *h
1011
n := len(old)
1012
x := old[n-1]
1013
*h = old[0 : n-1]
1014
return
x
1015
}
1016
1017
// ////// SKIPPED SEQUENCE QUEUE
1018
Callers
3
_popPendingLog
Method · 0.80
AssertPendingLogs
Function · 0.80
pendingLogsAsString
Function · 0.80
Calls
no outgoing calls
Tested by
2
AssertPendingLogs
Function · 0.64
pendingLogsAsString
Function · 0.64