- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,029 for Inliner (0.23 sec)
-
src/cmd/compile/internal/inline/interleaved/interleaved.go
// returns. func fixpoint(fn *ir.Func, match func(ir.Node) bool, edit func(ir.Node) ir.Node) { // Consider the expression "f(g())". We want to be able to replace // "g()" in-place with its inlined representation. But if we first // replace "f(...)" with its inlined representation, then "g()" will // instead appear somewhere within this new AST. // // To mitigate this, each matched node n is wrapped in a ParenExpr,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 5.1K bytes - Viewed (0) -
test/escape4.go
f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2" p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x" } f() } func f2() {} // ERROR "can inline f2" // No inline for recover; panic now allowed to inline. func f3() { panic(1) } // ERROR "can inline f3" "1 escapes to heap" func f4() { recover() } func f5() *byte { // ERROR "can inline f5" type T struct { x [1]byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 19:43:26 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
import ( "errors" "fmt" "github.com/tinylib/msgp/msgp" ) // xlMetaInlineData is serialized data in [string][]byte pairs. type xlMetaInlineData []byte // xlMetaInlineDataVer indicates the version of the inline data structure. const xlMetaInlineDataVer = 1 // versionOK returns whether the version is ok. func (x xlMetaInlineData) versionOK() bool { if len(x) == 0 { return true }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/session/KtAnalysisSessionProvider.kt
*/ @KaAnalysisApiInternals public abstract fun afterLeavingAnalysis(session: KaSession, useSiteElement: KtElement) /** * [afterLeavingAnalysis] hooks into analysis *after* [analyze]'s action has been executed. * * The signature of [afterLeavingAnalysis] should be kept stable to avoid breaking binary compatibility, since [analyze] is inlined. */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 4.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)