sync/atomic.Value.Load (method)
20 uses
sync/atomic (current package)
value.go#L28: func (v *Value) Load() (val any) {
context
context.go#L391: pdone, _ := p.done.Load().(chan struct{})
context.go#L449: d := c.done.Load()
context.go#L455: d = c.done.Load()
context.go#L465: if err := c.err.Load(); err != nil {
context.go#L494: if err := p.err.Load(); err != nil {
context.go#L557: if c.err.Load() != nil {
context.go#L563: d, _ := c.done.Load().(chan struct{})
context.go#L651: if c.err.Load() == nil {
github.com/gotd/td/mtproto
read.go#L171: 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)
net/http
transport.go#L413: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L569: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L881: oldMap, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L1954: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |