Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dustinxie/lockfree
/ Pop
Method
Pop
stack.go:31–31 ·
view source on GitHub ↗
remove an item from the stack
()
Source
from the content-addressed store, hash-verified
29
30
// remove an item from the stack
31
Pop()
interface
{}
32
33
// return (but not remove) the top item on the stack
34
Peek()
interface
{}
Callers
3
TestNewStack
Function · 0.95
BenchmarkLockfreeStack
Function · 0.95
TestStack
Function · 0.95
Implementers
1
stack
list/stack.go
Calls
no outgoing calls
Tested by
3
TestNewStack
Function · 0.76
BenchmarkLockfreeStack
Function · 0.76
TestStack
Function · 0.76