Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,277 for Inliner (0.22 sec)

  1. test/inline_endian.go

    // license that can be found in the LICENSE file.
    
    // Similar to inline.go, but only for architectures that can merge loads.
    
    package foo
    
    import (
    	"encoding/binary"
    )
    
    // Ensure that simple encoding/binary functions are cheap enough
    // that functions using them can also be inlined (issue 42958).
    func endian(b []byte) uint64 { // ERROR "can inline endian" "b does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:05:02 UTC 2022
    - 1.6K 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/kubeadm/app/cmd/util/documentation_test.go

    			desc: "Consecutive new lines are combined into a single paragraph",
    			in:   "Line1\nLine2",
    			out:  "Line1 Line2",
    		},
    		{
    			desc: "Leading and trailing spaces are stripped (single line)",
    			in:   "\t  \nThe text line  \n  \t",
    			out:  "The text line",
    		},
    		{
    			desc: "Leading and trailing spaces are stripped (multi line)",
    			in:   "\t  \nLine1\nLine2  \n  \t",
    			out:  "Line1 Line2",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 24 11:40:55 UTC 2019
    - 2.8K bytes
    - Viewed (0)
Back to top