Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for enqueuePdb (0.17 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 scheduled after 100 µs: task",
          "FINE: Q10000 starting              : task",
          "FINE: Q10000 finished run in   0 µs: task",
        )
      }
    
      /** Inspect how many runnables have been enqueued. If none then we're truly sequential. */
      @Test fun singleQueueIsSerial() {
        redQueue.execute("task one", 100.µs) {
          log += "one:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_test.go

    	set := newStatefulSet(3)
    	pod := newStatefulSetPod(set, 0)
    	ssc.addPod(logger, pod)
    	ssc.queue.ShutDown()
    	key, _ := ssc.queue.Get()
    	if key != "" {
    		t.Errorf("StatefulSet enqueued key for Pod with no Set %s", key)
    	}
    }
    
    func TestStatefulSetControllerUpdatePod(t *testing.T) {
    	logger, ctx := ktesting.NewTestContext(t)
    	ssc, _, om, _ := newFakeStatefulSetController(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. pkg/controller/daemon/daemon_controller_test.go

    			manager.enqueueDaemonSet = func(ds *apps.DaemonSet) {
    				if ds.Name == "ds" {
    					enqueued = true
    				}
    			}
    
    			enqueued = false
    			manager.updateNode(logger, c.oldNode, c.newNode)
    			if enqueued != c.shouldEnqueue {
    				t.Errorf("Test case: '%s', expected: %t, got: %t", c.test, c.shouldEnqueue, enqueued)
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  5. src/runtime/mwbbuf.go

    	start := uintptr(unsafe.Pointer(&pp.wbBuf.buf[0]))
    	n := (pp.wbBuf.next - start) / unsafe.Sizeof(pp.wbBuf.buf[0])
    	ptrs := pp.wbBuf.buf[:n]
    
    	// Poison the buffer to make extra sure nothing is enqueued
    	// while we're processing the buffer.
    	pp.wbBuf.next = 0
    
    	if useCheckmark {
    		// Slow path for checkmark mode.
    		for _, ptr := range ptrs {
    			shade(ptr)
    		}
    		pp.wbBuf.reset()
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        }
    
        /**
         * Returns true if the request contains conditions that save the server from sending a response
         * that the client has locally. When a request is enqueued with its own conditions, the built-in
         * response cache won't be used.
         */
        private fun hasConditions(request: Request): Boolean =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      ): RecordedRequest? = requestQueue.poll(timeout, unit)
    
      /**
       * Scripts [response] to be returned to a request made in sequence. The first request is
       * served by the first enqueued response; the second request by the second enqueued response; and
       * so on.
       *
       * @throws ClassCastException if the default dispatcher has been
       * replaced with [setDispatcher][dispatcher].
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  8. src/net/net_fake.go

    }
    
    type packetQueueState struct {
    	head, tail      *packet // unqueued packets
    	nBytes          int     // number of bytes enqueued in the packet buffers starting from head
    	readBufferBytes int     // soft limit on nbytes; no more packets may be enqueued when the limit is exceeded
    	readClosed      bool    // true if the reader of the queue has stopped reading
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern TFE_Executor* TFE_NewExecutor(
        bool is_async, bool enable_streaming_enqueue, int in_flight_nodes_limit);
    
    // Deletes the eager Executor without waiting for enqueued nodes. Please call
    // TFE_ExecutorWaitForAllPendingNodes before calling this API if you want to
    // make sure all nodes are finished.
    TF_CAPI_EXPORT extern void TFE_DeleteExecutor(TFE_Executor*);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  10. pkg/controller/garbagecollector/garbagecollector.go

    }
    
    func (gc *GarbageCollector) runAttemptToDeleteWorker(ctx context.Context) {
    	for gc.processAttemptToDeleteWorker(ctx) {
    	}
    }
    
    var enqueuedVirtualDeleteEventErr = goerrors.New("enqueued virtual delete event")
    
    var namespacedOwnerOfClusterScopedObjectErr = goerrors.New("cluster-scoped objects cannot refer to namespaced owners")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top