Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for constructFuzzProfile (0.25 sec)

  1. src/cmd/internal/pgo/serialize_test.go

    					CallSiteOffset: 14,
    				}: 2,
    				{
    					CallerName: "c",
    					CalleeName: "d",
    					CallSiteOffset: 15,
    				}: 1,
    			},
    		},
    	}
    
    	testRoundTrip(t, d)
    }
    
    func constructFuzzProfile(t *testing.T, b []byte) *Profile {
    	// The fuzzer can't construct an arbitrary structure, so instead we
    	// consume bytes from b to act as our edge data.
    	r := bytes.NewReader(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top