Documentation
¶
Overview ¶
Package atomic provides simple wrappers around numerics to enforce atomic access.
- Copyright (c) 2018-2026, NVIDIA CORPORATION. All rights reserved.
Index ¶
- type Bool
- type Int32
- type Int64
- func (v *Int64) Add(n int64) int64
- func (v *Int64) CAS(o, n int64) bool
- func (v *Int64) Dec() int64
- func (v *Int64) Inc() int64
- func (v *Int64) Load() int64
- func (v *Int64) MarshalJSON() ([]byte, error)
- func (v *Int64) Store(n int64)
- func (v *Int64) Sub(n int64) int64
- func (v *Int64) Swap(n int64) int64
- func (v *Int64) UnmarshalJSON(data []byte) error
- type Time
- type Uint32
- type Uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Int64 ¶
func (*Int64) MarshalJSON ¶ added in v1.4.7
func (*Int64) UnmarshalJSON ¶ added in v1.4.7
Click to show internal directories.
Click to hide internal directories.