go/src/runtime/pinner_test.go

type obj

type objWith

var globalUintptr

var globalPtrToObj

var globalPtrToObjWithPtr

var globalPtrToRuntimeObj

var globalPtrToRuntimeObjWithPtr

func assertDidPanic(t *testing.T) {}

func assertCgoCheckPanics(t *testing.T, p any) {}

func TestPinnerSimple(t *testing.T) {}

func TestPinnerPinKeepsAliveAndReleases(t *testing.T) {}

func TestPinnerMultiplePinsSame(t *testing.T) {}

func TestPinnerTwoPinner(t *testing.T) {}

func TestPinnerPinZerosizeObj(t *testing.T) {}

func TestPinnerPinGlobalPtr(t *testing.T) {}

func TestPinnerPinTinyObj(t *testing.T) {}

func TestPinnerInterface(t *testing.T) {}

func TestPinnerPinNonPtrPanics(t *testing.T) {}

func TestPinnerReuse(t *testing.T) {}

func TestPinnerEmptyUnpin(t *testing.T) {}

func TestPinnerLeakPanics(t *testing.T) {}

func TestPinnerCgoCheckPtr2Ptr(t *testing.T) {}

func TestPinnerCgoCheckPtr2UnsafePtr(t *testing.T) {}

func TestPinnerCgoCheckPtr2UnknownPtr(t *testing.T) {}

func TestPinnerCgoCheckInterface(t *testing.T) {}

func TestPinnerCgoCheckSlice(t *testing.T) {}

func TestPinnerCgoCheckString(t *testing.T) {}

func TestPinnerCgoCheckPinned2UnpinnedPanics(t *testing.T) {}

func TestPinnerCgoCheckPtr2Pinned2Unpinned(t *testing.T) {}

func BenchmarkPinnerPinUnpinBatch(b *testing.B) {}

func BenchmarkPinnerPinUnpinBatchDouble(b *testing.B) {}

func BenchmarkPinnerPinUnpinBatchTiny(b *testing.B) {}

func BenchmarkPinnerPinUnpin(b *testing.B) {}

func BenchmarkPinnerPinUnpinTiny(b *testing.B) {}

func BenchmarkPinnerPinUnpinDouble(b *testing.B) {}

func BenchmarkPinnerPinUnpinParallel(b *testing.B) {}

func BenchmarkPinnerPinUnpinParallelTiny(b *testing.B) {}

func BenchmarkPinnerPinUnpinParallelDouble(b *testing.B) {}

func BenchmarkPinnerIsPinnedOnPinned(b *testing.B) {}

func BenchmarkPinnerIsPinnedOnUnpinned(b *testing.B) {}

func BenchmarkPinnerIsPinnedOnPinnedParallel(b *testing.B) {}

func BenchmarkPinnerIsPinnedOnUnpinnedParallel(b *testing.B) {}

// const string data is not in span.
func TestPinnerConstStringData(t *testing.T) {}