Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for enqueued (0.14 sec)

  1. pkg/controller/deployment/deployment_controller_test.go

    	if err != nil {
    		t.Fatalf("error creating Deployment controller: %v", err)
    	}
    	enqueued := false
    	c.enqueueDeployment = func(d *apps.Deployment) {
    		if d.Name == "foo" {
    			enqueued = true
    		}
    	}
    
    	c.deletePod(logger, pod)
    
    	if !enqueued {
    		t.Errorf("expected deployment %q to be queued after pod deletion", foo.Name)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      }
    
      private enum class ResumePriority {
        /** Resumes as soon as the condition is satisfied. */
        BeforeOtherTasks,
    
        /** Resumes after the already-enqueued tasks. */
        AfterEnqueuedTasks,
    
        /** Resumes after all other tasks, including tasks enqueued while yielding. */
        AfterOtherTasks,
      }
    
      /** Returns the task that was started, or null if there were no tasks to start. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_test.go

    	if key == "" || done {
    		t.Error("failed to enqueue StatefulSet")
    	} else if expectedKey, _ := controller.KeyFunc(set1); expectedKey != key {
    		t.Errorf("expected StatefulSet key %s found %s", expectedKey, key)
    	}
    	ssc.queue.Done(key)
    
    	ssc.addPod(logger, pod2)
    	key, done = ssc.queue.Get()
    	if key == "" || done {
    		t.Error("failed to enqueue StatefulSet")
    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. 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)
  5. pkg/controller/disruption/disruption.go

    	logger.V(4).Info("Add DB", "podDisruptionBudget", klog.KObj(pdb))
    	dc.enqueuePdb(logger, pdb)
    }
    
    func (dc *DisruptionController) updateDB(logger klog.Logger, old, cur interface{}) {
    	// TODO(mml) ignore updates where 'old' is equivalent to 'cur'.
    	pdb := cur.(*policy.PodDisruptionBudget)
    	logger.V(4).Info("Update DB", "podDisruptionBudget", klog.KObj(pdb))
    	dc.enqueuePdb(logger, pdb)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. pkg/controller/garbagecollector/garbagecollector.go

    // which builds a graph caching the dependencies among objects. Triggered by the
    // graph changes, the dependencyGraphBuilder enqueues objects that can
    // potentially be garbage-collected to the `attemptToDelete` queue, and enqueues
    // objects whose dependents need to be orphaned to the `attemptToOrphan` queue.
    // The GarbageCollector has workers who consume these two queues, send requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

          return getResponseWithInterceptorChain()
        } finally {
          client.dispatcher.finished(this)
        }
      }
    
      override fun enqueue(responseCallback: Callback) {
        check(executed.compareAndSet(false, true)) { "Already Executed" }
    
        callStart()
        client.dispatcher.enqueue(AsyncCall(responseCallback))
      }
    
      override fun isExecuted(): Boolean = executed.get()
    
      private fun callStart() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. pkg/controller/volume/expand/expand_controller.go

    			newPVC, ok := new.(*v1.PersistentVolumeClaim)
    			if !ok {
    				return
    			}
    			newReq := newPVC.Spec.Resources.Requests[v1.ResourceStorage]
    			newCap := newPVC.Status.Capacity[v1.ResourceStorage]
    			// PVC will be enqueued under 2 circumstances
    			// 1. User has increased PVC's request capacity --> volume needs to be expanded
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set.go

    	}
    	return set
    }
    
    // enqueueStatefulSet enqueues the given statefulset in the work queue.
    func (ssc *StatefulSetController) enqueueStatefulSet(obj interface{}) {
    	key, err := controller.KeyFunc(obj)
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("couldn't get key for object %+v: %v", obj, err))
    		return
    	}
    	ssc.queue.Add(key)
    }
    
    // enqueueStatefulSet enqueues the given statefulset in the work queue after given time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_tpu_device.cc

        // Also ideally this host callback should be on source stream rather than
        // destination stream, but when this function returns, the send requests
        // might not be enqueued to the stream yet, we put it on destination stream.
        TensorReference input_reference(*input);
        std::move(return_substream).release();
        return dst_device_to_device_stream->DoHostCallback(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top