zatomic

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int

type Int struct {
	// contains filtered or unexported fields
}

func New

func New() *Int

func (*Int) Add

func (i *Int) Add(delta int) int

func (*Int) Dec added in v1.0.5

func (i *Int) Dec() int

func (*Int) Inc added in v1.0.5

func (i *Int) Inc() int

func (*Int) Load

func (i *Int) Load() int

func (*Int) LoadInverse

func (i *Int) LoadInverse() int

func (*Int) Store

func (i *Int) Store(v int)

type UInt64 added in v1.0.7

type UInt64 struct {
	// contains filtered or unexported fields
}

func NewUInt64 added in v1.0.7

func NewUInt64() *UInt64

func (*UInt64) Add added in v1.0.7

func (i *UInt64) Add(delta int) uint64

func (*UInt64) Dec added in v1.0.7

func (i *UInt64) Dec() uint64

func (*UInt64) Inc added in v1.0.7

func (i *UInt64) Inc() uint64

func (*UInt64) Load added in v1.0.7

func (i *UInt64) Load() uint64

func (*UInt64) Store added in v1.0.7

func (i *UInt64) Store(v int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL