Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 885 for Inliner (0.15 sec)

  1. test/newinline.go

    	return func() int { return 42 }() // ERROR "can inline p.func1" "inlining call to p.func1"
    }
    
    func q(x int) int { // ERROR "can inline q"
    	foo := func() int { return x * 2 } // ERROR "can inline q.func1" "func literal does not escape"
    	return foo()                       // ERROR "inlining call to q.func1"
    }
    
    func r(z int) int { // ERROR "can inline r"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    		// This is because the merge is done by address and in case of an inlined
    		// stack each of the inlined entries is a separate callgraph node.
    		cfg.NoInlines = true
    	case "weblist":
    		trim = false
    		cfg.Granularity = "addresses"
    		cfg.NoInlines = false // Need inline info to support call expansion
    	case "peek":
    		trim = false
    	case "list":
    		trim = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/inl_test.go

    		t.Fatal(err)
    	}
    	for fullName, reason := range notInlinedReason {
    		t.Errorf("%s was not inlined: %s", fullName, reason)
    	}
    }
    
    func collectInlCands(msgs string) map[string]struct{} {
    	rv := make(map[string]struct{})
    	lines := strings.Split(msgs, "\n")
    	re := regexp.MustCompile(`^\S+\s+can\s+inline\s+(\S+)`)
    	for _, line := range lines {
    		m := re.FindStringSubmatch(line)
    		if m != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

     */
    inline fun <reified T : Any> Project.configure(noinline configuration: T.() -> Unit): Unit =
        typeOf<T>().let { type ->
            // Find and configure extension
            extensions.findByType(type)?.let(configuration)
                ?: Factory {
                    // Find and configure convention
                    // Reflective look up to still support plugins that inlined this function once conventions will be removed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug_lines_test.go

    // Matches lines in genssa output that describe an inlined file.
    // Note it expects an unadventurous choice of basename.
    var sepRE = regexp.QuoteMeta(string(filepath.Separator))
    var inlineLine *regexp.Regexp = regexp.MustCompile(`^#\s.*` + sepRE + `[-\w]+\.go:(\d+)`)
    
    // this matches e.g.                                 #  /pa/inline-dumpxxxx.go:6
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/diagnostics/DaemonLogFileUtilsTest.groovy

            expect:
            DaemonLogFileUtils.tail(logFile, 2) == "line2\nline3"
        }
    
        def "returns all output if the log is too short"() {
            given:
            def logFile = log("""\
                line1
                line2
                line3
            """)
    
            expect:
            DaemonLogFileUtils.tail(logFile, 10) == "line1\nline2\nline3"
        }
    
        private TestFile log(String logText) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir

    // CHECK-LABEL: func @inline_simple(
    func.func @inline_simple() -> tensor<2xi32> {
      // CHECK-NEXT: %[[CST:.*]] = "tf.Const"
      // CHECK-NEXT: return %[[CST]]
      %result = "tf.StatefulPartitionedCall"() {config = "", config_proto = "", executor_type = "", f = @simple_callee} : () -> tensor<2xi32>
      func.return %result : tensor<2xi32>
    }
    
    // Test that functions with 'tf._noinline' are not inlined.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. src/runtime/pprof/proto.go

    // Here's an example of how Go 1.17 writes out inlined functions, compiled for
    // linux/amd64. The disassembly of main.main shows two levels of inlining: main
    // calls b, b calls a, a does some work.
    //
    //   inline.go:9   0x4553ec  90              NOPL                 // func main()    { b(v) }
    //   inline.go:6   0x4553ed  90              NOPL                 // func b(v *int) { a(v) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

              rangesBuffer.writeByte('-'.code)
              rangesBuffer.writeByte('-'.code)
            }
            is MappedRange.Inline1 -> {
              rangesBuffer.writeByte(range.b1)
              rangesBuffer.writeByte(range.b2)
              rangesBuffer.writeByte('-'.code)
            }
            is MappedRange.Inline2 -> {
              rangesBuffer.writeByte(range.b1)
              rangesBuffer.writeByte(range.b2)
              rangesBuffer.writeByte(range.b3)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/convert_tpu_model_to_cpu.mlir

    // CHECK: %[[identity:.*]] = "tf.IdentityN"(%[[conv]]) {device = ""} : (tensor<1x3x2x2xf32>) -> tensor<1x3x2x2xf32>
    // CHECK: return %[[identity]] : tensor<1x3x2x2xf32>
    
    // -----
    
    // Tests that `tf.BatchFunction` is inlined.
    
    func.func @serving_default(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top