Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dustinxie/lockfree
/ Len
Method
Len
stack.go:25–25 ·
view source on GitHub ↗
length of stack
()
Source
from the content-addressed store, hash-verified
23
Stack
interface
{
24
// length of stack
25
Len() int
26
27
// add an item to the stack
28
Push(
interface
{})
Callers
2
TestNewStack
Function · 0.95
TestStack
Function · 0.95
Implementers
1
stack
list/stack.go
Calls
no outgoing calls
Tested by
2
TestNewStack
Function · 0.76
TestStack
Function · 0.76