MCPcopy Index your code
hub / github.com/celzero/firestack / Tango

Method Tango

intra/core/volatile.go:128–136  ·  view source on GitHub ↗

Tango retrieves old value and loads in new non-atomically. If a is nil, returns zero value. If new is nil, returns zero value; and sets a to NewZeroVolatile[T]. old & new need not be the same concrete type. This func is not atomic.

(new T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

SwapMethod · 0.45
OnProtoChangeMethod · 0.45
fileMethod · 0.45

Calls 2

safeStoreMethod · 0.95
safeLoadMethod · 0.95

Tested by

no test coverage detected