- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,264 for minline (0.16 sec)
-
test/inline_sync.go
func small5() { // ERROR "can inline small5" // the Unlock fast path should be inlined mutex.Unlock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Unlock" } func small6() { // ERROR "can inline small6" // the Lock fast path should be inlined mutex.Lock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Lock" } var once *sync.Once func small7() { // ERROR "can inline small7" // the Do fast path should be inlined
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 21:01:50 UTC 2023 - 1.6K 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) -
test/closure3.dir/main.go
} } { a := 2 if r := func(x int) int { // ERROR "can inline main.func28" b := 3 return func(y int) int { // ERROR "can inline main.func28.1" "can inline main.main.func28.func35" c := 5 func(z int) { // ERROR "can inline main.func28.1.1" "can inline main.func28.main.func28.1.2" "can inline main.main.func28.func35.1" "can inline main.main.func28.main.main.func28.func35.func37" a = a * x b = b * y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:29 UTC 2023 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_inl_test.go
} return out } // testPGOIntendedInlining tests that specific functions are inlined. func testPGOIntendedInlining(t *testing.T, dir string, profFile string) { testenv.MustHaveGoRun(t) t.Parallel() const pkg = "example.com/pgo/inline" want := []string{ "(*BS).NS", } // The functions which are not expected to be inlined are as follows. wantNot := []string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
// that work on TF dialect and before inliner so that the function calls in // body and cond are inlined for optimization. pass_manager->addPass(mlir::TFL::CreateLegalizeTFWhilePass()); // Add function inlining pass. Both TF and TFLite dialects are opted into // function inliner interface. pass_manager->addPass(mlir::createInlinerPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0) -
pkg/volume/csi/csi_test.go
}, isInline: true, driverSpec: &storage.CSIDriverSpec{ // Required for the driver to be accepted for the inline volume. VolumeLifecycleModes: []storage.VolumeLifecycleMode{storage.VolumeLifecycleEphemeral}, FSGroupPolicy: &defaultFSGroupPolicy, }, }, { name: "ephemeral inline also supported", driver: "inline-driver-1", volName: "test.vol2",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 15:55:13 UTC 2022 - 21.1K bytes - Viewed (0) -
src/runtime/start_line_test.go
} frames := runtime.CallersFrames(pcs[:]) frame, _ := frames.Next() inlined := frame.Func == nil // Func always set to nil for inlined frames if wantInlined != inlined { panic(fmt.Sprintf("caller %s inlined got %v want %v", frame.Function, inlined, wantInlined)) } return runtime.FrameStartLine(&frame)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:54:22 UTC 2023 - 2.6K bytes - Viewed (0) -
test/fixedbugs/issue8139.go
type M interface { M() } var e interface{} = T{} var i M = T{} var b bool func f1() int { if b { return f1() // convince inliner not to inline } z := 0x11223344 _ = e.(T) return z } func f2() int { if b { return f1() // convince inliner not to inline } z := 0x11223344 _ = i.(T) return z } func main() { x := f1() y := f2() if x != 0x11223344 || y != 0x11223344 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 800 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) -
src/cmd/compile/internal/inline/interleaved/interleaved.go
} } bigCaller := base.Flag.LowerL != 0 && inline.IsBigFunc(fn) if bigCaller && base.Flag.LowerM > 1 { fmt.Printf("%v: function %v considered 'big'; reducing max cost of inlinees\n", ir.Line(fn), fn) } match := func(n ir.Node) bool { switch n := n.(type) { case *ir.CallExpr: return true case *ir.TailCallStmt: n.Call.NoInline = true // can't inline yet } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 5.1K bytes - Viewed (0)