Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,304 for caller1 (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

            return LogicalResult::failure();
          }
          if (!llvm::isa<func::FuncOp>(symbol)) {
            func.emitError() << "Invalid callee: " << caller.getF();
            return LogicalResult::failure();
          }
          auto callee =
              llvm::dyn_cast<func::FuncOp>(symbol_table.lookup(caller.getF()));
          auto& src_region = callee.getRegion();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is
       * reached, the proxy will attempt to abort the call to the target, and will throw an {@link
       * UncheckedTimeoutException} to the caller.
       *
       * <p>It is important to note that the primary purpose of the proxy object is to return control to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is
       * reached, the proxy will attempt to abort the call to the target, and will throw an {@link
       * UncheckedTimeoutException} to the caller.
       *
       * <p>It is important to note that the primary purpose of the proxy object is to return control to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. security/pkg/server/ca/node_auth.go

    func (na *ClusterNodeAuthorizer) authenticateImpersonation(caller security.KubernetesInfo, requestedIdentityString string) error {
    	callerSa := types.NamespacedName{
    		Namespace: caller.PodNamespace,
    		Name:      caller.PodServiceAccount,
    	}
    	// First, make sure the caller is allowed to impersonate, in general
    	if _, f := na.trustedNodeAccounts[callerSa]; !f {
    		return fmt.Errorf("caller (%v) is not allowed to impersonate", caller)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top