Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for inlineRangeIntoMe (0.14 sec)

  1. test/inline.go

    			return "32"
    		case 64:
    			return "64"
    		default:
    			panic("unreachable")
    		}
    	}() // ERROR "inlining call to switchConst4.func1"
    	_ = want
    }
    
    func inlineRangeIntoMe(data []int) { // ERROR "can inline inlineRangeIntoMe" "data does not escape"
    	rangeFunc(data, 12) // ERROR "inlining call to rangeFunc"
    }
    
    func rangeFunc(xs []int, b int) int { // ERROR "can inline rangeFunc" "xs does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. test/newinline.go

    			return "32"
    		case 64:
    			return "64"
    		default:
    			panic("unreachable")
    		}
    	}() // ERROR "inlining call to switchConst4.func1"
    	_ = want
    }
    
    func inlineRangeIntoMe(data []int) { // ERROR "can inline inlineRangeIntoMe" "data does not escape"
    	rangeFunc(data, 12) // ERROR "inlining call to rangeFunc"
    }
    
    func rangeFunc(xs []int, b int) int { // ERROR "can inline rangeFunc" "xs does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top