Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Foo23 (0.03 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/CompileOptionsTest.groovy

        }
    
        def "converts GStrings to Strings when getting all compiler arguments"() {
            given:
            compileOptions.compilerArgs << "Foo${23}"
    
            expect:
            compileOptions.allCompilerArgs.contains('Foo23')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. test/escape2n.go

    		x++
    		return x
    	}
    }
    
    func foo22() int {
    	x := 42
    	return func() int { // ERROR "func literal does not escape$"
    		return x
    	}()
    }
    
    func foo23(x int) func() int {
    	return func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    }
    
    func foo23a(x int) func() int {
    	f := func() int { // ERROR "func literal escapes to heap$"
    		return x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  3. test/escape2.go

    		x++
    		return x
    	}
    }
    
    func foo22() int {
    	x := 42
    	return func() int { // ERROR "func literal does not escape$"
    		return x
    	}()
    }
    
    func foo23(x int) func() int {
    	return func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    }
    
    func foo23a(x int) func() int {
    	f := func() int { // ERROR "func literal escapes to heap$"
    		return x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
Back to top