Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for notInlinedReason (0.16 sec)

  1. src/cmd/compile/internal/test/inl_test.go

    		"compress/flate.byLiteral.Swap": true,
    	}
    
    	notInlinedReason := make(map[string]string)
    	pkgs := make([]string, 0, len(want))
    	for pname, fnames := range want {
    		pkgs = append(pkgs, pname)
    		for _, fname := range fnames {
    			fullName := pname + "." + fname
    			if _, ok := notInlinedReason[fullName]; ok {
    				t.Errorf("duplicate func: %s", fullName)
    			}
    			notInlinedReason[fullName] = "unknown reason"
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_inl_test.go

    		"benchmarkB",
    	}
    
    	must := map[string]bool{
    		"(*BS).NS": true,
    	}
    
    	notInlinedReason := make(map[string]string)
    	for _, fname := range want {
    		fullName := pkg + "." + fname
    		if _, ok := notInlinedReason[fullName]; ok {
    			t.Errorf("duplicate func: %s", fullName)
    		}
    		notInlinedReason[fullName] = "unknown reason"
    	}
    
    	// If the compiler emit "cannot inline for function A", the entry A
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top