Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 610 for Inliner (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    inline const char kMlirPh1BridgeCounterV1[] = "v1";
    inline const char kMlirPh1BridgeCounterV2[] = "v2";
    inline const char kMlirPh1BridgeCounterTpu[] = "tpu";
    inline const char kMlirPh1BridgeCounterNonTpu[] = "cpu/gpu";
    inline const char kXlaOutsideCompilation[] = "_xla_outside_compilation";
    
    // Copies attributes that satisfy the given predicate from `from` to `to`.
    template <typename Predicate>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/generate/generate_test.go

    	if !reflect.DeepEqual(got, expected) {
    		t.Errorf("split(%q): got %q expected %q", inLine, got, expected)
    	}
    
    	// Try another undefined variable as an extra check
    	os.Unsetenv("_Z")
    	inLine = "//go:generate -command CMD1 \"ab${_Z}cd\""
    	expected = []string{"-command", "CMD1", "abcd"}
    	got = g.split(inLine + "\n")
    
    	if !reflect.DeepEqual(got, expected) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 14:09:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  3. test/fixedbugs/bug401.go

    }
    
    func main() {
    
    	var t T
    
    	if v := real(t.cplx()); v != 1 {
    		panic("not-inlined complex call failed")
    	}
    	_ = imag(t.cplx())
    
    	_ = real(t.cplx2())
    	if v := imag(t.cplx2()); v != 1 {
    		panic("potentially inlined complex call failed")
    	}
    
    	var i I
    	i = t
    	if v := real(i.cplx()); v != 1 {
    		panic("potentially inlined complex call failed")
    	}
    	_ = imag(i.cplx())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 740 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

    // CHECK:   call @while_body
    // CHECK:   yield
    // CHECK: while_body
    // CHECK: while_cond
    
    // INLINE: tfl.while
    // INLINE: ^bb0([[ARGS:.*]]):
    // INLINE:   tf.Less
    // INLINE:   yield
    // INLINE: ^bb0([[ARGS]]):
    // INLINE:   %cst_2 = arith.constant
    // INLINE:   yield
    // INLINE-NOT: while_body
    // INLINE-NOT: while_cond
    
    // CANON-LABEL:   func @while_main
    // CANON-SAME:         ([[VAL_0:%.*]]: tensor<?x256x256xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

    }
    
    
    inline fun <T : ReadContext, R> T.withImmediateMode(block: T.() -> R): R {
        val immediateMode = this.immediateMode
        try {
            this.immediateMode = true
            return block()
        } finally {
            this.immediateMode = immediateMode
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildSrcScriptCompileAvoidanceIntegrationTest.kt

                .assertContainsCompileAvoidanceWarning("buildSrc.jar: class com/example/FooKt: inline fun foo(): compile avoidance is not supported with public inline functions")
    
            givenKotlinScriptInBuildSrcContains(
                "Foo",
                """
                inline fun foo() {
                    println("bar")
                }
                """
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiver.capturing.txt

    ExtensionReceiver[name: with; isMutated: false; displayText: this@with]
        with@fun R|kotlin/String|.<anonymous>(): R|kotlin/Unit| <inline=Inline, kind=EXACTLY_ONCE>
        R|kotlin/String|
    ExtensionReceiver[name: with; isMutated: false; displayText: this@with]
        with@fun R|Foo|.<anonymous>(): R|kotlin/Unit| <inline=Inline, kind=EXACTLY_ONCE>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 07 16:22:01 UTC 2023
    - 356 bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/Logger.kt

    import org.slf4j.LoggerFactory
    
    
    internal
    inline fun <reified T : Any> loggerFor(): Logger =
        LoggerFactory.getLogger(T::class.java)
    
    
    internal
    inline fun Logger.trace(msg: () -> String) {
        if (isTraceEnabled) trace(msg())
    }
    
    
    internal
    inline fun Logger.debug(msg: () -> String) {
        if (isDebugEnabled) debug(msg())
    }
    
    
    internal
    inline fun Logger.info(msg: () -> String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue54159.go

    package main
    
    func run() { // ERROR "cannot inline run: recursive"
    	f := func() { // ERROR "can inline run.func1 with cost .* as:.*" "func literal does not escape"
    		g() // ERROR "inlining call to g"
    	}
    	f() // ERROR "inlining call to run.func1" "inlining call to g"
    	run()
    }
    
    func g() { // ERROR "can inline g with cost .* as:.*"
    }
    
    func main() { // ERROR "can inline main with cost .* as:.*"
    	run()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jan 28 04:29:02 UTC 2023
    - 586 bytes
    - Viewed (0)
  10. test/live_uintptrkeepalive.go

    //go:uintptrkeepalive
    //go:nosplit
    func explicit(uintptr) {
    }
    
    func autotmpImplicit() { // ERROR "can inline autotmpImplicit"
    	var t int
    	implicit(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to implicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    func autotmpExplicit() { // ERROR "can inline autotmpExplicit"
    	var t int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top