go/src/sync/atomic/atomic_test.go

const magic32

const magic64

func TestSwapInt32(t *testing.T) {}

func TestSwapInt32Method(t *testing.T) {}

func TestSwapUint32(t *testing.T) {}

func TestSwapUint32Method(t *testing.T) {}

func TestSwapInt64(t *testing.T) {}

func TestSwapInt64Method(t *testing.T) {}

func TestSwapUint64(t *testing.T) {}

func TestSwapUint64Method(t *testing.T) {}

func TestSwapUintptr(t *testing.T) {}

func TestSwapUintptrMethod(t *testing.T) {}

var global

func testPointers() []unsafe.Pointer {}

func TestSwapPointer(t *testing.T) {}

func TestSwapPointerMethod(t *testing.T) {}

func TestAddInt32(t *testing.T) {}

func TestAddInt32Method(t *testing.T) {}

func TestAddUint32(t *testing.T) {}

func TestAddUint32Method(t *testing.T) {}

func TestAddInt64(t *testing.T) {}

func TestAddInt64Method(t *testing.T) {}

func TestAddUint64(t *testing.T) {}

func TestAddUint64Method(t *testing.T) {}

func TestAddUintptr(t *testing.T) {}

func TestAddUintptrMethod(t *testing.T) {}

func TestAndInt32(t *testing.T) {}

func TestAndInt32Method(t *testing.T) {}

func TestAndUint32(t *testing.T) {}

func TestAndUint32Method(t *testing.T) {}

func TestAndInt64(t *testing.T) {}

func TestAndInt64Method(t *testing.T) {}

func TestAndUint64(t *testing.T) {}

func TestAndUint64Method(t *testing.T) {}

func TestAndUintptr(t *testing.T) {}

func TestAndUintptrMethod(t *testing.T) {}

func TestOrInt32(t *testing.T) {}

func TestOrInt32Method(t *testing.T) {}

func TestOrUint32(t *testing.T) {}

func TestOrUint32Method(t *testing.T) {}

func TestOrInt64(t *testing.T) {}

func TestOrInt64Method(t *testing.T) {}

func TestOrUint64(t *testing.T) {}

func TestOrUint64Method(t *testing.T) {}

func TestOrUintptr(t *testing.T) {}

func TestOrUintptrMethod(t *testing.T) {}

func TestCompareAndSwapInt32(t *testing.T) {}

func TestCompareAndSwapInt32Method(t *testing.T) {}

func TestCompareAndSwapUint32(t *testing.T) {}

func TestCompareAndSwapUint32Method(t *testing.T) {}

func TestCompareAndSwapInt64(t *testing.T) {}

func TestCompareAndSwapInt64Method(t *testing.T) {}

func testCompareAndSwapUint64(t *testing.T, cas func(*uint64, uint64, uint64) bool) {}

func TestCompareAndSwapUint64(t *testing.T) {}

func TestCompareAndSwapUint64Method(t *testing.T) {}

func TestCompareAndSwapUintptr(t *testing.T) {}

func TestCompareAndSwapUintptrMethod(t *testing.T) {}

func TestCompareAndSwapPointer(t *testing.T) {}

func TestCompareAndSwapPointerMethod(t *testing.T) {}

func TestLoadInt32(t *testing.T) {}

func TestLoadInt32Method(t *testing.T) {}

func TestLoadUint32(t *testing.T) {}

func TestLoadUint32Method(t *testing.T) {}

func TestLoadInt64(t *testing.T) {}

func TestLoadInt64Method(t *testing.T) {}

func TestLoadUint64(t *testing.T) {}

func TestLoadUint64Method(t *testing.T) {}

func TestLoadUintptr(t *testing.T) {}

func TestLoadUintptrMethod(t *testing.T) {}

func TestLoadPointer(t *testing.T) {}

func TestLoadPointerMethod(t *testing.T) {}

func TestStoreInt32(t *testing.T) {}

func TestStoreInt32Method(t *testing.T) {}

func TestStoreUint32(t *testing.T) {}

func TestStoreUint32Method(t *testing.T) {}

func TestStoreInt64(t *testing.T) {}

func TestStoreInt64Method(t *testing.T) {}

func TestStoreUint64(t *testing.T) {}

func TestStoreUint64Method(t *testing.T) {}

func TestStoreUintptr(t *testing.T) {}

func TestStoreUintptrMethod(t *testing.T) {}

func TestStorePointer(t *testing.T) {}

func TestStorePointerMethod(t *testing.T) {}

var hammer32

func init() {}

func hammerSwapInt32(uaddr *uint32, count int) {}

func hammerSwapInt32Method(uaddr *uint32, count int) {}

func hammerSwapUint32(addr *uint32, count int) {}

func hammerSwapUint32Method(uaddr *uint32, count int) {}

func hammerSwapUintptr32(uaddr *uint32, count int) {}

func hammerSwapUintptr32Method(uaddr *uint32, count int) {}

func hammerAddInt32(uaddr *uint32, count int) {}

func hammerAddInt32Method(uaddr *uint32, count int) {}

func hammerAddUint32(addr *uint32, count int) {}

func hammerAddUint32Method(uaddr *uint32, count int) {}

func hammerAddUintptr32(uaddr *uint32, count int) {}

func hammerAddUintptr32Method(uaddr *uint32, count int) {}

func hammerCompareAndSwapInt32(uaddr *uint32, count int) {}

func hammerCompareAndSwapInt32Method(uaddr *uint32, count int) {}

func hammerCompareAndSwapUint32(addr *uint32, count int) {}

func hammerCompareAndSwapUint32Method(uaddr *uint32, count int) {}

func hammerCompareAndSwapUintptr32(uaddr *uint32, count int) {}

func hammerCompareAndSwapUintptr32Method(uaddr *uint32, count int) {}

func TestHammer32(t *testing.T) {}

var hammer64

func init() {}

func hammerSwapInt64(uaddr *uint64, count int) {}

func hammerSwapInt64Method(uaddr *uint64, count int) {}

func hammerSwapUint64(addr *uint64, count int) {}

func hammerSwapUint64Method(uaddr *uint64, count int) {}

const arch32

func hammerSwapUintptr64(uaddr *uint64, count int) {}

func hammerSwapUintptr64Method(uaddr *uint64, count int) {}

func hammerAddInt64(uaddr *uint64, count int) {}

func hammerAddInt64Method(uaddr *uint64, count int) {}

func hammerAddUint64(addr *uint64, count int) {}

func hammerAddUint64Method(uaddr *uint64, count int) {}

func hammerAddUintptr64(uaddr *uint64, count int) {}

func hammerAddUintptr64Method(uaddr *uint64, count int) {}

func hammerCompareAndSwapInt64(uaddr *uint64, count int) {}

func hammerCompareAndSwapInt64Method(uaddr *uint64, count int) {}

func hammerCompareAndSwapUint64(addr *uint64, count int) {}

func hammerCompareAndSwapUint64Method(uaddr *uint64, count int) {}

func hammerCompareAndSwapUintptr64(uaddr *uint64, count int) {}

func hammerCompareAndSwapUintptr64Method(uaddr *uint64, count int) {}

func TestHammer64(t *testing.T) {}

func hammerStoreLoadInt32(t *testing.T, paddr unsafe.Pointer) {}

func hammerStoreLoadInt32Method(t *testing.T, paddr unsafe.Pointer) {}

func hammerStoreLoadUint32(t *testing.T, paddr unsafe.Pointer) {}

func hammerStoreLoadUint32Method(t *testing.T, paddr unsafe.Pointer) {}

func hammerStoreLoadInt64(t *testing.T, paddr unsafe.Pointer) {}

func hammerStoreLoadInt64Method(t *testing.T, paddr unsafe.Pointer) {}

func hammerStoreLoadUint64(t *testing.T, paddr unsafe.Pointer) {}

func hammerStoreLoadUint64Method(t *testing.T, paddr unsafe.Pointer) {}

func hammerStoreLoadUintptr(t *testing.T, paddr unsafe.Pointer) {}

//go:nocheckptr
func hammerStoreLoadUintptrMethod(t *testing.T, paddr unsafe.Pointer) {}

// This code is just testing that LoadPointer/StorePointer operate
// atomically; it's not actually calculating pointers.
//
//go:nocheckptr
func hammerStoreLoadPointer(t *testing.T, paddr unsafe.Pointer) {}

// This code is just testing that LoadPointer/StorePointer operate
// atomically; it's not actually calculating pointers.
//
//go:nocheckptr
func hammerStoreLoadPointerMethod(t *testing.T, paddr unsafe.Pointer) {}

func TestHammerStoreLoad(t *testing.T) {}

func TestStoreLoadSeqCst32(t *testing.T) {}

func TestStoreLoadSeqCst64(t *testing.T) {}

func TestStoreLoadRelAcq32(t *testing.T) {}

func TestStoreLoadRelAcq64(t *testing.T) {}

func shouldPanic(t *testing.T, name string, f func()) {}

func TestUnaligned64(t *testing.T) {}

func TestAutoAligned64(t *testing.T) {}

func TestNilDeref(t *testing.T) {}

type List