gotools/gopls/internal/filecache/filecache_test.go

func TestBasics(t *testing.T) {}

// TestConcurrency exercises concurrent access to the same entry.
func TestConcurrency(t *testing.T) {}

const testIPCKind

const testIPCValueA

const testIPCValueB

// TestIPC exercises interprocess communication through the cache.
// It calls Set(A) in the parent, { Get(A); Set(B) } in the child
// process, then Get(B) in the parent.
func TestIPC(t *testing.T) {}

// We define our own main function so that portions of
// some tests can run in a separate (child) process.
func TestMain(m *testing.M) {}

// ipcChild is the portion of TestIPC that runs in a child process.
func ipcChild() {}

// uniqueKey returns a key that has never been used before.
func uniqueKey() (key [32]byte) {}

func BenchmarkUncontendedGet(b *testing.B) {}

func BenchmarkUncontendedSet(b *testing.B) {}