Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 148 for __callback (0.13 sec)

  1. src/cmd/trace/procgen.go

    		if from == trace.GoUndetermined {
    			// Back-date the event to the start of the trace.
    			start = ctx.startTime
    		}
    		// Write down that we've entered a syscall. Note: we might have no P here
    		// if we're in a cgo callback or this is a transition from GoUndetermined
    		// (i.e. the G has been blocked in a syscall).
    		gs.syscallBegin(start, ev.Proc(), ev.Stack())
    		g.inSyscall[ev.Proc()] = gs
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

                oldValue = delegate.get(key);
                hadValue = delegate.remove(key, value);
            }
            reportAccess(key, oldValue);
            if (hadValue) {
                // The configuration cache uses onRemove callback to remember that the property has to be removed.
                // Of course, the property has to be removed in the cached run only if it was removed in the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. src/internal/trace/trace_test.go

    }
    
    func TestTraceCgoCallback(t *testing.T) {
    	testenv.MustHaveCGO(t)
    
    	switch runtime.GOOS {
    	case "plan9", "windows":
    		t.Skipf("cgo callback test requires pthreads and is not supported on %s", runtime.GOOS)
    	}
    	testTraceProg(t, "cgo-callback.go", nil)
    }
    
    func TestTraceCPUProfile(t *testing.T) {
    	testTraceProg(t, "cpu-profile.go", func(t *testing.T, tb, stderr []byte, _ bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    	// and inform container to reopen log file after log rotation.
    	kl.containerLogManager.Start()
    	// Adding Registration Callback function for CSI Driver
    	kl.pluginManager.AddHandler(pluginwatcherapi.CSIPlugin, plugincache.PluginHandler(csi.PluginHandler))
    	// Adding Registration Callback function for DRA Plugin
    	if utilfeature.DefaultFeatureGate.Enabled(features.DynamicResourceAllocation) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_device.cc

    bool XlaDevice::AllowsSyncOnCompletion() const {
      mutex_lock lock(mu_);
      return sync_on_completion_;
    }
    
    void XlaDevice::SetHandleDeviceErrorCallback(std::function<Status()> callback) {
      mutex_lock lock(mu_);
      device_error_callback_ = callback;
    }
    
    Status XlaDevice::HandleDeviceError() {
      std::function<Status()> local_device_error_callback;
      {
        mutex_lock lock(mu_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	pcfgs := globalIAMSys.OpenIDConfig.ProviderCfgs
    	m := make(map[string]consoleoauth2.ProviderConfig, len(pcfgs))
    	for name, cfg := range pcfgs {
    		callback := getConsoleEndpoints()[0] + "/oauth_callback"
    		if cfg.RedirectURI != "" {
    			callback = cfg.RedirectURI
    		}
    		m[name] = consoleoauth2.ProviderConfig{
    			URL:                     cfg.URL.String(),
    			DisplayName:             cfg.DisplayName,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  7. src/runtime/coro.go

    	// the same thread must be used, and the locked state must match with the thread-lock state of
    	// the goroutine which called newcoro. Thread-lock state consists of the thread and the number
    	// of internal (cgo callback, etc.) and external (LockOSThread) thread locks.
    	locked := gp.lockedm != 0
    	if c.mp != nil || locked {
    		if mp != c.mp || mp.lockedInt != c.lockedInt || mp.lockedExt != c.lockedExt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			initialPods:                  []*v1.Pod{pod, pod2},
    			actions: []action{
    				{callback: func(t *testing.T, q *PriorityQueue) { poppedPod = popPod(t, logger, q, pod) }},
    				{eventHappens: &NodeAdd},
    				{callback: func(t *testing.T, q *PriorityQueue) { poppedPod2 = popPod(t, logger, q, pod2) }},
    				{eventHappens: &AssignedPodAdd},
    				{callback: func(t *testing.T, q *PriorityQueue) {
    					logger, _ := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_device_context.cc

            ref.Unref();
            // If a stream is in a bad state, it gets deleted when it's returned to
            // the stream pool, i.e. when it leaves this scope. However, a stream
            // deleting itself in a host callback on itself can cause bad behaviors
            // on some platforms. Releasing it in another stream to avoid that.
            if (!device_allows_sync_on_completion &&
                !device_to_host_stream->RefreshStatus().ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/runtime/mfinal.go

    	f.ot = ot
    	f.arg = p
    	unlock(&finlock)
    	fingStatus.Or(fingWake)
    }
    
    //go:nowritebarrier
    func iterate_finq(callback func(*funcval, unsafe.Pointer, uintptr, *_type, *ptrtype)) {
    	for fb := allfin; fb != nil; fb = fb.alllink {
    		for i := uint32(0); i < fb.cnt; i++ {
    			f := &fb.fin[i]
    			callback(f.fn, f.arg, f.nret, f.fint, f.ot)
    		}
    	}
    }
    
    func wakefing() *g {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top