MCPcopy Create free account
hub / github.com/dustinxie/lockfree / Len

Method Len

list/stack.go:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (s *stack) Len() int {
38 return int(atomic.LoadUint64(&s.count))
39}
40
41func (s *stack) Push(v interface{}) {
42 n := node{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected