type go.uber.org/atomic.Int32
15 uses
go.uber.org/atomic (current package)
int32.go#L32: type Int32 struct {
int32.go#L39: func NewInt32(val int32) *Int32 {
int32.go#L40: return &Int32{v: val}
int32.go#L44: func (i *Int32) Load() int32 {
int32.go#L49: func (i *Int32) Add(delta int32) int32 {
int32.go#L54: func (i *Int32) Sub(delta int32) int32 {
int32.go#L59: func (i *Int32) Inc() int32 {
int32.go#L64: func (i *Int32) Dec() int32 {
int32.go#L71: func (i *Int32) CAS(old, new int32) (swapped bool) {
int32.go#L76: func (i *Int32) CompareAndSwap(old, new int32) (swapped bool) {
int32.go#L81: func (i *Int32) Store(val int32) {
int32.go#L86: func (i *Int32) Swap(val int32) (old int32) {
int32.go#L91: func (i *Int32) MarshalJSON() ([]byte, error) {
int32.go#L96: func (i *Int32) UnmarshalJSON(b []byte) error {
int32.go#L106: func (i *Int32) String() string {
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |