- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFreeOSMemory (0.13 sec)
-
src/runtime/debug/garbage_test.go
t.Errorf("stats.PauseEnd[%d] = %d, want %d", i, dt.UnixNano(), mstats.PauseEnd[off]) } off = (off + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd) } } var big []byte func TestFreeOSMemory(t *testing.T) { // Tests FreeOSMemory by making big susceptible to collection // and checking that at least that much memory is returned to // the OS after. const bigBytes = 32 << 20
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:30:00 UTC 2023 - 7.2K bytes - Viewed (0)