Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,011 for caller1 (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/extern.go

    import (
    	"internal/goarch"
    	"internal/goos"
    )
    
    // Caller reports file and line number information about function invocations on
    // the calling goroutine's stack. The argument skip is the number of stack frames
    // to ascend, with 0 identifying the caller of Caller.  (For historical reasons the
    // meaning of skip differs between Caller and [Callers].) The return values report the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. pkg/log/zapcore_handler.go

    	zapcore.ErrorLevel: ErrorLevel,
    	zapcore.WarnLevel:  WarnLevel,
    	zapcore.InfoLevel:  InfoLevel,
    	zapcore.DebugLevel: DebugLevel,
    }
    
    // callerSkipOffset is how many callers to pop off the stack to determine the caller function locality, used for
    // adding file/line number to log output.
    const callerSkipOffset = 3
    
    func dumpStack(level zapcore.Level, scope *Scope) bool {
    	thresh := toLevel[level]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 01:05:12 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    	Sources []int // Indices in StackSet.Sources (callers before callees).
    }
    
    // StackSource holds function/location info for a stack entry.
    type StackSource struct {
    	FullName   string
    	FileName   string
    	UniqueName string // Disambiguates functions with same names
    	Inlined    bool   // If true this source was inlined into its caller
    
    	// Alternative names to display (with decreasing lengths) to make text fit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/log/slog/logger.go

    	if !l.Enabled(ctx, level) {
    		return
    	}
    	var pc uintptr
    	if !internal.IgnorePC {
    		var pcs [1]uintptr
    		// skip [runtime.Callers, this function, this function's caller]
    		runtime.Callers(3, pcs[:])
    		pc = pcs[0]
    	}
    	r := NewRecord(time.Now(), level, msg, pc)
    	r.AddAttrs(attrs...)
    	if ctx == nil {
    		ctx = context.Background()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 18:26:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/io/ioutil/tempfile.go

    // for temporary files (see [os.TempDir]).
    // Multiple programs calling TempFile simultaneously
    // will not choose the same file. The caller can use f.Name()
    // to find the pathname of the file. It is the caller's responsibility
    // to remove the file when no longer needed.
    //
    // Deprecated: As of Go 1.17, this function simply calls [os.CreateTemp].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top