MCPcopy 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

TestNewStackFunction · 0.95
BenchmarkLockfreeStackFunction · 0.95
TestStackFunction · 0.95

Implementers 1

stacklist/stack.go

Calls

no outgoing calls

Tested by 3

TestNewStackFunction · 0.76
BenchmarkLockfreeStackFunction · 0.76
TestStackFunction · 0.76