OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AddUint64
(Results
1 - 2
of
2
) sorted by null
/prebuilts/go/darwin-x86/src/sync/atomic/
doc.go
102
//
AddUint64
atomically adds delta to *addr and returns the new value.
103
// To subtract a signed positive constant value c from x, do
AddUint64
(&x, ^uint64(c-1)).
104
// In particular, to decrement x, do
AddUint64
(&x, ^uint64(0)).
105
func
AddUint64
(addr *uint64, delta uint64) (new uint64)
/prebuilts/go/linux-x86/src/sync/atomic/
doc.go
102
//
AddUint64
atomically adds delta to *addr and returns the new value.
103
// To subtract a signed positive constant value c from x, do
AddUint64
(&x, ^uint64(c-1)).
104
// In particular, to decrement x, do
AddUint64
(&x, ^uint64(0)).
105
func
AddUint64
(addr *uint64, delta uint64) (new uint64)
Completed in 1697 milliseconds