Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 851 for caller2b (0.14 sec)

  1. src/runtime/callers_test.go

    	// open-coded defer processing)
    	want := []string{"runtime.Callers", "runtime_test.TestCallersPanic.func1",
    		"runtime.gopanic", "runtime_test.f3", "runtime_test.f2", "runtime_test.f1",
    		"runtime_test.TestCallersPanic"}
    
    	defer func() {
    		if r := recover(); r == nil {
    			t.Fatal("did not panic")
    		}
    		pcs := make([]uintptr, 20)
    		pcs = pcs[:runtime.Callers(0, pcs)]
    		testCallers(t, pcs, true)
    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. 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

      // values.
      llvm::SetVector<Operation*> ops;
      ops.insert(callers.forward);
      ops.insert(callers.core_tpu);
      std::vector<int> result_map;
      result_map.reserve(callers.forward->getNumResults() +
                         callers.core_tpu->getNumResults());
      int result_pos = 0;
      for (auto res : callers.forward->getResults()) {
        bool is_output = false;
        for (auto user : res.getUsers()) {
    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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/slice.go

    	if toLen < n {
    		n = toLen
    	}
    
    	if width == 0 {
    		return n
    	}
    
    	size := uintptr(n) * width
    	if raceenabled {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(slicecopy)
    		racereadrangepc(fromPtr, size, callerpc, pc)
    		racewriterangepc(toPtr, size, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(fromPtr, size)
    		msanwrite(toPtr, size)
    	}
    	if asanenabled {
    		asanread(fromPtr, size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K 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/runtime/stack_test.go

    	useStackPtrs(n-1, b)
    }
    
    type structWithMethod struct{}
    
    func (s structWithMethod) caller() string {
    	_, file, line, ok := Caller(1)
    	if !ok {
    		panic("Caller failed")
    	}
    	return fmt.Sprintf("%s:%d", file, line)
    }
    
    func (s structWithMethod) callers() []uintptr {
    	pc := make([]uintptr, 16)
    	return pc[:Callers(0, pc)]
    }
    
    func (s structWithMethod) stack() string {
    	buf := make([]byte, 4<<10)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
Back to top