Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,285 for Inline1 (0.59 sec)

  1. test/runtime/inlinegcpc.go

    // cannot be inlined, no matter how small it is.
    
    func getcallerpc() uintptr
    func getcallersp() uintptr
    
    func pc() uintptr {
    	return getcallerpc() + 1
    }
    
    func cpc() uintptr { // ERROR "can inline cpc"
    	return pc() + 2
    }
    
    func sp() uintptr {
    	return getcallersp() + 3
    }
    
    func csp() uintptr { // ERROR "can inline csp"
    	return sp() + 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 28 19:27:20 UTC 2019
    - 618 bytes
    - Viewed (0)
  2. 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)
  3. test/typeparam/issue58513.go

    // Some derived-type expressions require the compiler to synthesize
    // function literals to plumb sub-dictionaries appropriately.
    // However, when these expressions are inlined, we were constructing
    // the function literal bodies with the inline-adjusted positions
    // instead of the original (inline-free) positions, which could lead
    // to infinite loops when unwinding the stack.
    
    package main
    
    import "runtime"
    
    func assert[_ any]() {
    	panic(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 23:07:49 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. test/fixedbugs/bug392.dir/one.go

    // license that can be found in the LICENSE file.
    
    // Functions that the inliner exported incorrectly.
    
    package one
    
    type T int
    
    // Issue 2678
    func F1(T *T) bool { return T == nil }
    
    // Issue 2682.
    func F2(c chan int) bool { return c == (<-chan int)(nil) }
    
    // Use of single named return value.
    func F3() (ret []int) { return append(ret, 1) }
    
    // Call of inlined method with blank receiver.
    func (_ *T) M() int { return 1 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 851 bytes
    - Viewed (0)
  5. src/cmd/internal/obj/inl.go

    }
    
    // InnermostPos returns the innermost position corresponding to xpos,
    // that is, the code that is inlined and that inlines nothing else.
    // In the example for InlTree above, the code for println within h
    // would have an innermost position with line number 12, whether
    // h was not inlined, inlined into g, g-then-f, or g-then-f-then-main.
    // This corresponds to what someone debugging main, f, g, or h might
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 22:47:15 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/bridge.h

    namespace mlir {
    namespace TF {
    
    inline constexpr char kStandardPipelineBefore[] = "standard_pipeline_before";
    inline constexpr char kStandardPipelineAfter[] = "standard_pipeline_after";
    
    // Runs all passes involved in transforming or optimizing an MLIR graph without
    // any target specialization. When enable_logging is true, enables
    // tensorflow::BridgeLogger. When enable_inliner is true, enables the inliner
    // pass.
    ABSL_DEPRECATED(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 24 22:46:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/runtime/traceback_test.go

    		},
    		// function, inlined
    		{
    			func(buf []byte) int { return testTracebackGenericFnInlined[int](buf) },
    			"testTracebackGenericFnInlined[...](",
    		},
    		// method, not inlined
    		{
    			x.M,
    			"testTracebackGenericTyp[...].M(",
    		},
    		// method, inlined
    		{
    			func(buf []byte) int { return x.Inlined(buf) },
    			"testTracebackGenericTyp[...].Inlined(",
    		},
    	}
    	var buf [1000]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/testdata/inject-config-inline.yaml

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 202 bytes
    - Viewed (0)
  10. 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)
Back to top