MCPcopy Create free account
hub / github.com/golang/groupcache / Get

Method Get

groupcache.go:487–489  ·  view source on GitHub ↗

Get atomically gets the value of i.

()

Source from the content-addressed store, hash-verified

485
486// Get atomically gets the value of i.
487func (i *AtomicInt) Get() int64 {
488 return atomic.LoadInt64((*int64)(i))
489}
490
491func (i *AtomicInt) String() string {
492 return strconv.FormatInt(i.Get(), 10)

Callers 1

StringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected