Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GCMemoryLimit (0.09 sec)

  1. src/runtime/gc_test.go

    	if testing.Short() {
    		t.Skip("stress test that takes time to run")
    	}
    	if runtime.NumCPU() < 4 {
    		t.Skip("want at least 4 CPUs for this test")
    	}
    	got := runTestProg(t, "testprog", "GCMemoryLimit")
    	want := "OK\n"
    	if got != want {
    		t.Fatalf("expected %q, but got %q", want, got)
    	}
    }
    
    func TestMemoryLimitNoGCPercent(t *testing.T) {
    	if testing.Short() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top