Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAllocs (0.15 sec)

  1. src/context/x_test.go

    	check(o2, "o2", "c1k1", "o2k2", "")
    
    	o3 := otherContext{c4}
    	check(o3, "o3", "", "c2k2", "c3k3")
    
    	o4 := WithValue(o3, k3, nil)
    	check(o4, "o4", "", "c2k2", "")
    }
    
    func TestAllocs(t *testing.T) {
    	bg := Background()
    	for _, test := range []struct {
    		desc       string
    		f          func()
    		limit      float64
    		gccgoLimit float64
    	}{
    		{
    			desc:       "Background()",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top