func sync/atomic.SwapUint32
3 uses
sync/atomic (current package)
doc.go#L62: func SwapUint32(addr *uint32, new uint32) (old uint32)
google.golang.org/grpc/internal/transport
transport.go#L300: return atomic.SwapUint32(&s.headerSent, 1) == 1
transport.go#L304: return streamState(atomic.SwapUint32((*uint32)(&s.state), uint32(st)))
![]() |
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. |