sync/atomic.Value.Load (method)
20 uses
sync/atomic (current package)
value.go#L28: func (v *Value) Load() (val any) {
context
context.go#L376: pdone, _ := p.done.Load().(chan struct{})
context.go#L434: d := c.done.Load()
context.go#L440: d = c.done.Load()
context.go#L545: d, _ := c.done.Load().(chan struct{})
github.com/gotd/td/internal/mtproto
read.go#L166: if err, ok := lastErr.Load().(error); ok && err != nil {
github.com/gotd/td/telegram/internal/manager
sync.go#L23: return c.Value.Load().(tg.Config)
go.uber.org/atomic
error.go#L45: return unpackError(x.v.Load())
string.go#L45: return unpackString(x.v.Load())
time.go#L49: return unpackTime(x.v.Load())
image
format.go#L39: formats, _ := atomicFormats.Load().([]format)
format.go#L73: formats, _ := atomicFormats.Load().([]format)
internal/testlog
log.go#L34: if logger.Load() != nil {
log.go#L43: impl := logger.Load()
net/http
transport.go#L381: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L508: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L763: oldMap, _ := t.altProto.Load().(map[string]RoundTripper)
nhooyr.io/websocket/internal/xsync
int64.go#L16: i, _ := v.i.Load().(int64)
syscall
exec_linux.go#L244: rlim, rlimOK := origRlimitNofile.Load().(Rlimit)
exec_unix.go#L281: rlim, rlimOK := origRlimitNofile.Load().(Rlimit)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |