- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 604 for Inlined (0.17 sec)
-
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/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) -
test/interface/assertinline.go
return x.(*int) // ERROR "type assertion inlined" } func assertptr2(x interface{}) (*int, bool) { z, ok := x.(*int) // ERROR "type assertion inlined" return z, ok } func assertfunc(x interface{}) func() { return x.(func()) // ERROR "type assertion inlined" } func assertfunc2(x interface{}) (func(), bool) { z, ok := x.(func()) // ERROR "type assertion inlined" return z, ok }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 21:33:03 UTC 2016 - 1.8K 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) -
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) -
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) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir
// RUN: tf-tfrt-opt -split-input-file -pass-pipeline='builtin.module(tf-to-mlrt, inline)' %s | FileCheck %s -dump-input=fail // Test generated tf_mlrt while body and predicate is inlined. func.func @then(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> { return %x: tensor<i1> } func.func @else(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> { return %y: tensor<i1> } // CHECK-LABEL: func @while_cond_if
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 01:01:31 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go
} func (s *StackSet) makeInitialStacks(rpt *Report) { type key struct { line profile.Line inlined bool } srcs := map[key]int{} // Sources identified so far. seenFunctions := map[string]bool{} unknownIndex := 1 getSrc := func(line profile.Line, inlined bool) int { k := key{line, inlined} if i, ok := srcs[k]; ok { return i }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 5.6K bytes - Viewed (0) -
test/fixedbugs/bug401.go
} func main() { var t T if v := real(t.cplx()); v != 1 { panic("not-inlined complex call failed") } _ = imag(t.cplx()) _ = real(t.cplx2()) if v := imag(t.cplx2()); v != 1 { panic("potentially inlined complex call failed") } var i I i = t if v := real(i.cplx()); v != 1 { panic("potentially inlined complex call failed") } _ = imag(i.cplx())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 740 bytes - Viewed (0) -
test/fixedbugs/issue15071.dir/exp.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package exp func Exported(x int) int { return inlined(x) } func inlined(x int) int { y := 0 switch { case x > 0: y += 5 return 0 + y case x < 1: y += 6 fallthrough default: y += 7 return 2 + y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:39:41 UTC 2019 - 378 bytes - Viewed (0)