Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustToMay (0.18 sec)

  1. src/cmd/compile/internal/inline/inlheur/scoring.go

    func isMay(x scoreAdjustTyp) bool {
    	return mayToMust(x) != 0
    }
    
    func isMust(x scoreAdjustTyp) bool {
    	return mustToMay(x) != 0
    }
    
    func mayToMust(x scoreAdjustTyp) scoreAdjustTyp {
    	for _, v := range mayMustAdj {
    		if x == v.may {
    			return v.must
    		}
    	}
    	return 0
    }
    
    func mustToMay(x scoreAdjustTyp) scoreAdjustTyp {
    	for _, v := range mayMustAdj {
    		if x == v.must {
    			return v.may
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top