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