Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for enqueuePdb (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    		workqueue.DefaultTypedControllerRateLimiter[string](),
    		workqueue.TypedRateLimitingQueueConfig[string]{Name: c.options.Name},
    	)
    
    	// Forcefully shutdown workqueue. Drop any enqueued items.
    	// Important to do this in a `defer` at the start of `Run`.
    	// Otherwise, if there are any early returns without calling this, we
    	// would never shut down the workqueue
    	defer c.queue.ShutDown()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
        GcFinalization.awaitClear(queueReference);
      }
    
      /** If we don't keep a strong reference to the reference object, it won't be enqueued. */
      @Nullable FinalizableWeakReference<Object> reference;
    
      /** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */
      private void weaklyReferenceQueue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/internal/weak/pointer_test.go

    	}
    	runtime.KeepAlive(bt)
    
    	// bt is no longer referenced.
    	//
    	// Run one cycle to queue the finalizer.
    	runtime.GC()
    	if wt.Strong() != nil {
    		t.Errorf("weak pointer did not go nil when finalizer was enqueued")
    	}
    
    	// Wait for the finalizer to run.
    	<-done
    
    	// The weak pointer should still be nil after the finalizer runs.
    	runtime.GC()
    	if wt.Strong() != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/reconfig_batch_op.mlir

    // RUN: tf-tfrt-opt -split-input-file -tfrt-reconfig-batch-op="tfrt-min-num-batch-threads=2 tfrt-min-max-enqueued-batches=3" %s | FileCheck %s --dump-input=always
    
    // -----
    
    // The num_batch_threads is lowered bound to 2 from the original attribute of 1
    
    // CHECK-LABEL: func private @batched_function
    func.func private @batched_function(%arg0: tensor<1x3xf32>) -> tensor<1x3xf32> {
      %2 = "tf.Identity"(%arg0) : (tensor<1x3xf32>) -> tensor<1x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 17:38:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. cmd/data-scanner_test.go

    		t.Fatalf("Failed with err: %v", err)
    	}
    	if len(gots) != len(wants) {
    		t.Fatalf("Expected %d objects but got %d", len(wants), len(gots))
    	}
    
    	// Close expiry state's channel to inspect object versions enqueued for expiration
    	close(workers[0])
    	wg.Wait()
    	for _, obj := range expired {
    		switch obj.ObjectV.VersionID {
    		case uuids[2].String(), uuids[3].String(), uuids[4].String():
    		default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

        }
        for (existingCall in readyAsyncCalls) {
          if (existingCall.host == host) return existingCall
        }
        return null
      }
    
      /**
       * Cancel all calls currently enqueued or executing. Includes calls executed both
       * [synchronously][Call.execute] and [asynchronously][Call.enqueue].
       */
      fun cancelAll() {
        this.withLock {
          for (call in readyAsyncCalls) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top