sync/atomic.Value.Load (method)
49 uses
sync/atomic (current package)
value.go#L28: func (v *Value) Load() (x interface{}) {
sync
map.go#L103: read, _ := m.read.Load().(readOnly)
map.go#L110: read, _ = m.read.Load().(readOnly)
map.go#L137: read, _ := m.read.Load().(readOnly)
map.go#L143: read, _ = m.read.Load().(readOnly)
map.go#L201: read, _ := m.read.Load().(readOnly)
map.go#L210: read, _ = m.read.Load().(readOnly)
map.go#L269: read, _ := m.read.Load().(readOnly)
map.go#L273: read, _ = m.read.Load().(readOnly)
map.go#L323: read, _ := m.read.Load().(readOnly)
map.go#L330: read, _ = m.read.Load().(readOnly)
map.go#L366: read, _ := m.read.Load().(readOnly)
encoding/gob
encode.go#L580: enc := info.encoder.Load().(*encEngine)
encode.go#L664: enc, ok := info.encoder.Load().(*encEngine)
encode.go#L678: enc, ok := info.encoder.Load().(*encEngine)
type.go#L689: m, _ := typeInfoMap.Load().(map[reflect.Type]*typeInfo)
type.go#L755: m, _ := typeInfoMap.Load().(map[reflect.Type]*typeInfo)
expvar
expvar.go#L237: p, _ := v.s.Load().(string)
github.com/aws/aws-sdk-go/aws/credentials
credentials.go#L236: if curCreds := c.creds.Load(); !c.isExpired(curCreds) {
credentials.go#L256: if curCreds := c.creds.Load(); !c.isExpired(curCreds) {
credentials.go#L300: return c.isExpired(c.creds.Load())
credentials.go#L315: fmt.Sprintf("provider %s does not support ExpiresAt()", c.creds.Load().(Value).ProviderName),
credentials.go#L318: if c.creds.Load().(Value) == (Value{}) {
github.com/aws/aws-sdk-go/aws/ec2metadata
token_provider.go#L44: if ec2Token, ok := t.token.Load().(ec2Token); ok && !ec2Token.IsExpired() {
token_provider.go#L80: if ec2Token, ok := t.token.Load().(ec2Token); ok {
github.com/go-redis/redis/v8
cluster.go#L647: v := c.state.Load()
github.com/go-redis/redis/v8/internal/pool
pool.go#L218: err, _ := p.lastDialError.Load().(*lastDialErrorWrap)
pool_sticky.go#L174: if v := p._badConnError.Load(); v != nil {
go.opencensus.io/trace
config.go#L66: c := *config.Load().(*Config)
export.go#L48: if old, ok := exporters.Load().(exportersMap); ok {
export.go#L63: if old, ok := exporters.Load().(exportersMap); ok {
trace.go#L208: cfg := config.Load().(*Config)
trace.go#L276: exp, _ := exporters.Load().(exportersMap)
go.opentelemetry.io/otel/api/global
handler.go#L52: if h.delegate.Load() != nil {
handler.go#L61: if d := h.delegate.Load(); d != nil {
go.opentelemetry.io/otel/api/global/internal
state.go#L52: return globalTracer.Load().(traceProviderHolder).tp
state.go#L74: return globalMeter.Load().(meterProviderHolder).mp
state.go#L96: return globalPropagators.Load().(propagatorsHolder).pr
google.golang.org/grpc
stream.go#L277: cs.retryThrottler = cc.retryThrottler.Load().(*retryThrottler)
google.golang.org/grpc/internal/transport
controlbuf.go#L301: ch, _ := c.trfChan.Load().(*chan struct{})
controlbuf.go#L380: ch := c.trfChan.Load().(*chan struct{})
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
server.go#L766: res, _ := cr.conn.curReq.Load().(*response)
transport.go#L371: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L497: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L742: oldMap, _ := t.altProto.Load().(map[string]RoundTripper)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |