Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 676 for caller2b (0.48 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/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)
  5. 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)
  6. 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)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ConstructorSelector.java

         *
         * <p>The selected constructor does not have to accept the given parameters. It is the caller's responsibility to verify that the constructor can be
         * called with the given parameters.
         *
         * <p>The selector may or may not allow null parameters. The caller should allow null parameters and delegate to the selector to make this decision.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. 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.Add(args...)
    	if ctx == nil {
    		ctx = context.Background()
    	}
    	_ = l.Handler().Handle(ctx, r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 18:26:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/runtime/traceback.go

    	}
    	print("\n")
    }
    
    // callers should be an internal detail,
    // (and is almost identical to Callers),
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/phuslu/log
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname callers
    func callers(skip int, pcbuf []uintptr) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. src/runtime/chan.go

     */
    func chansend(c *hchan, ep unsafe.Pointer, block bool, callerpc uintptr) bool {
    	if c == nil {
    		if !block {
    			return false
    		}
    		gopark(nil, nil, waitReasonChanSendNilChan, traceBlockForever, 2)
    		throw("unreachable")
    	}
    
    	if debugChan {
    		print("chansend: chan=", c, "\n")
    	}
    
    	if raceenabled {
    		racereadpc(c.raceaddr(), callerpc, abi.FuncPCABIInternal(chansend))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top