type go.uber.org/atomic.Bool
15 uses
go.uber.org/atomic (current package)
bool.go#L30: type Bool struct {
bool.go#L39: func NewBool(val bool) *Bool {
bool.go#L40: x := &Bool{}
bool.go#L48: func (x *Bool) Load() bool {
bool.go#L53: func (x *Bool) Store(val bool) {
bool.go#L60: func (x *Bool) CAS(old, new bool) (swapped bool) {
bool.go#L65: func (x *Bool) CompareAndSwap(old, new bool) (swapped bool) {
bool.go#L71: func (x *Bool) Swap(val bool) (old bool) {
bool.go#L76: func (x *Bool) MarshalJSON() ([]byte, error) {
bool.go#L81: func (x *Bool) UnmarshalJSON(b []byte) error {
bool_ext.go#L41: func (b *Bool) Toggle() (old bool) {
bool_ext.go#L51: func (b *Bool) String() string {
github.com/gotd/td/internal/mtproto
conn.go#L113: ran atomic.Bool
github.com/gotd/td/internal/pool
pool.go#L49: closed atomic.Bool
pool_conn.go#L28: deleted *atomic.Bool
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. |