- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,400 for caller1 (0.17 sec)
-
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) -
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) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_identity_pruning.mlir
// CHECK-SAME: f = @callee1 %0 = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32> %1 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @callee1} : (tensor<i32>) -> tensor<i32> func.return %1 : tensor<i32> } // CHECK-LABEL: func @callee1 // CHECK-SAME: ([[ARG0:%.*]]: tensor<i32>) func.func @callee1(%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/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/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/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/tensorflow/transforms/sparsecore/embedding_pipelining.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K 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) -
pkg/test/framework/components/istio/ingress/interface.go
) type Instances []Instance func (i Instances) Callers() echo.Callers { var out echo.Callers for _, instance := range i { out = append(out, instance) } return out } // Instance represents a deployed Ingress Gateway instance. type Instance interface { echo.Caller // HTTPAddresses returns the external HTTP (80) address of the ingress gateway ((or the NodePort address,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 17:13:34 UTC 2024 - 2.3K bytes - Viewed (0)