- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,074 for caller7 (0.12 sec)
-
test/escape_param.go
return p } func caller0a() { i := 0 _ = param0(&i) } func caller0b() { i := 0 // ERROR "moved to heap: i$" sink = param0(&i) } // in, in -> out, out func param1(p1, p2 *int) (*int, *int) { // ERROR "leaking param: p1 to result ~r0" "leaking param: p2 to result ~r1" return p1, p2 } func caller1() { i := 0 // ERROR "moved to heap: i$" j := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:32 UTC 2021 - 8.9K bytes - Viewed (0) -
pkg/test/framework/components/echo/caller.go
type CallResult struct { From Caller Opts CallOptions Responses echo.Responses } type Caller interface { // Call from this Instance to a target Instance. Call(options CallOptions) (CallResult, error) CallOrFail(t test.Failer, options CallOptions) CallResult } type Callers []Caller // Instances returns an Instances if all callers are Instance, otherwise returns nil.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 12 22:50:35 UTC 2022 - 1.3K bytes - Viewed (0) -
test/typeparam/issue50177.go
// conflict with local non-generic types and local variables. func caller0() { type X[T any] struct { fn Fn[int] } x := X[int]{func(v int) { fmt.Println(v) }} x.fn(0) } func caller1(val int) { type X[T any] struct { fn FnErr[int] } x := X[int]{func(v int) error { fmt.Println(v); return nil }} x.fn(0) } func caller1a(val int) { type X struct { fn func(float64) error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_identity_pruning.mlir
// CHECK-SAME: f = @callee0 %0 = "tf_device.cluster"() ({ %1 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @callee0} : (tensor<i32>) -> tensor<i32> tf_device.return %1 : tensor<i32> }) : () -> tensor<i32> func.return } // CHECK-LABEL: func @callee0 // CHECK-SAME: ([[ARG0:%.*]]: tensor<i32>) func.func @callee0(%arg0: tensor<i32>) -> tensor<i32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.css
z-index: 2; } /* Box highlighting via shadows to avoid size changes */ .hilite { box-shadow: 0px 0px 0px 2px #000; z-index: 1; } .hilite2 { box-shadow: 0px 0px 0px 2px #000; z-index: 1; } /* Gap left between callers and callees */ .separator { position: absolute; text-align: center; font-size: 12pt; font-weight: bold; } /* Ensure that pprof menu is above boxes */ .submenu { z-index: 3; } /* Right-click menu */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 1.9K bytes - Viewed (0) -
src/runtime/callers_test.go
} // Test that a defer after a successful recovery looks like it is called directly // from the function with the defers. func TestCallersAfterRecovery(t *testing.T) { want := []string{"runtime.Callers", "runtime_test.TestCallersAfterRecovery.func1", "runtime_test.TestCallersAfterRecovery"} defer func() { pcs := make([]uintptr, 20) pcs = pcs[:runtime.Callers(0, pcs)] testCallersEqual(t, pcs, want) }() defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/callee.go
import ( "go/ast" "go/types" "golang.org/x/tools/go/ast/astutil" "golang.org/x/tools/internal/typeparams" ) // Callee returns the named target of a function call, if any: // a function, method, builtin, or variable. // // Functions and methods may potentially have type parameters. func Callee(info *types.Info, call *ast.CallExpr) types.Object { fun := astutil.Unparen(call.Fun) // Look through type instantiation if necessary.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 2.1K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/cert_authenticator_test.go
} func TestAuthenticate_clientCertAuthenticator(t *testing.T) { callerID := "test.identity" ids := []util.Identity{ {Type: util.TypeURI, Value: []byte(callerID)}, } sanExt, err := util.BuildSANExtension(ids) if err != nil { t.Error(err) } testCases := map[string]struct { certChain [][]*x509.Certificate caller *security.Caller authenticateErrMsg string fakeAuthInfo *mockAuthInfo
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 05 01:20:59 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir
func.func private @callee0() { // CHECK: [[INIT_TOKEN:%.*]] = mhlo.create_token // CHECK: call @callee1([[INIT_TOKEN]]) func.call @callee1() : () -> () func.return } // CHECK: func private @callee1([[CALLEE1_ARG0:%.*]]: !mhlo.token) -> !mhlo.token func.func private @callee1() { // CHECK-NOT: mhlo.create_token // CHECK: [[CALL_2:%.*]] = call @callee2([[CALLEE1_ARG0]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 08 18:24:20 UTC 2024 - 38.3K bytes - Viewed (0) -
src/log/slog/example_wrap_test.go
// The log record contains the source position of the caller of Infof. func Infof(logger *slog.Logger, format string, args ...any) { if !logger.Enabled(context.Background(), slog.LevelInfo) { return } var pcs [1]uintptr runtime.Callers(2, pcs[:]) // skip [Callers, Infof] r := slog.NewRecord(time.Now(), slog.LevelInfo, fmt.Sprintf(format, args...), pcs[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:32:54 UTC 2023 - 1.3K bytes - Viewed (0)