Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,516 for caller1 (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. test/const4.go

    var (
    	n4 = len(f())
    	n5 = len(<-c)
    	n6 = cap(g())
    	n7 = cap(<-c1)
    )
    
    var calledF = false
    
    func f() *[40]int {
    	calledF = true
    	return nil
    }
    
    var c = func() chan *[50]int {
    	c := make(chan *[50]int, 2)
    	c <- nil
    	c <- new([50]int)
    	return c
    }()
    
    var calledG = false
    
    func g() *[60]int {
    	calledG = true
    	return nil
    }
    
    var c1 = func() chan *[70]int {
    	c := make(chan *[70]int, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/start_line_test.go

    	var pcs [1]uintptr
    	n := runtime.Callers(2, pcs[:])
    	if n != 1 {
    		panic(fmt.Sprintf("no caller of callerStartLine? n = %d", n))
    	}
    
    	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))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top