MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / Set

Method Set

base/stats.go:1115–1117  ·  view source on GitHub ↗
(newV float64)

Source from the content-addressed store, hash-verified

1113}
1114
1115func (s *SgwFloatStat) Set(newV float64) {
1116 atomic.StoreUint64(&s.Val, math.Float64bits(newV))
1117}
1118
1119func (s *SgwFloatStat) SetIfMax(newV float64) {
1120 for {

Callers 2

NewIntStatFunction · 0.45
ResetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected