func sync/atomic.AddUint64
26 uses
sync/atomic (current package)
doc.go#L105: func AddUint64(addr *uint64, delta uint64) (new uint64)
sync
poolqueue.go#L105: atomic.AddUint64(&d.headTail, 1<waitgroup.go#L64: state := atomic.AddUint64(statep, uint64(delta)<<32)
database/sql
sql.go#L601: atomic.AddUint64(&dc.db.numClosed, 1)
github.com/go-git/go-git/v5/storage/filesystem/dotgit
writers.go#L179: written := atomic.AddUint64(&s.written, uint64(n))
writers.go#L191: defer func() { atomic.AddUint64(&s.read, uint64(n)) }()
github.com/jackc/pgconn/stmtcache
lru.go#L31: n := atomic.AddUint64(&lruCount, 1)
github.com/prometheus/client_golang/prometheus
counter.go#L93: atomic.AddUint64(&c.valInt, ival)
counter.go#L107: atomic.AddUint64(&c.valInt, 1)
histogram.go#L278: n := atomic.AddUint64(&h.countAndHotIdx, 1)
histogram.go#L282: atomic.AddUint64(&hotCounts.buckets[i], 1)
histogram.go#L293: atomic.AddUint64(&hotCounts.count, 1)
histogram.go#L307: n := atomic.AddUint64(&h.countAndHotIdx, 1<<63)
histogram.go#L338: atomic.AddUint64(&hotCounts.count, count)
histogram.go#L349: atomic.AddUint64(&hotCounts.buckets[i], atomic.LoadUint64(&coldCounts.buckets[i]))
summary.go#L434: n := atomic.AddUint64(&s.countAndHotIdx, 1)
summary.go#L446: atomic.AddUint64(&hotCounts.count, 1)
summary.go#L460: n := atomic.AddUint64(&s.countAndHotIdx, 1<<63)
summary.go#L482: atomic.AddUint64(&hotCounts.count, count)
go.opencensus.io/trace
trace.go#L580: id = atomic.AddUint64(&gen.nextSpanID, gen.spanIDInc)
go.opentelemetry.io/otel/label
encoder.go#L81: return EncoderID{value: atomic.AddUint64(&encoderIDCounter, 1)}
google.golang.org/grpc/internal/binarylog
method_logger.go#L39: id := atomic.AddUint64(&g.id, 1)
google.golang.org/grpc/internal/transport
http2_client.go#L349: t.connectionID = atomic.AddUint64(&clientConnectionCounter, 1)
http2_server.go#L255: t.connectionID = atomic.AddUint64(&serverConnectionCounter, 1)
runtime/trace
annotation.go#L87: return atomic.AddUint64(&lastTaskID, 1)
testing
benchmark.go#L724: n := atomic.AddUint64(pb.globalN, pb.grain)
 |
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. |