Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,291 for statDep (0.21 sec)

  1. pkg/kubelet/pluginmanager/metrics/metrics_test.go

    	metricCollector := &totalPluginsCollector{asw: asw, dsw: dsw}
    
    	// Check if getPluginCount returns correct data
    	count := metricCollector.getPluginCount()
    	if len(count) != 2 {
    		t.Errorf("getPluginCount failed. Expected <2> states, got <%d>", len(count))
    	}
    
    	dswCount, ok := count["desired_state_of_world"]
    	if !ok {
    		t.Errorf("getPluginCount failed. Expected <desired_state_of_world>, got nothing")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 12:48:20 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    	var states []string
    	if obj.DeletionTimestamp != nil {
    		states = append(states, "deleted")
    	}
    	if obj.Status.Allocation == nil {
    		if obj.DeletionTimestamp == nil {
    			states = append(states, "pending")
    		}
    	} else {
    		states = append(states, "allocated")
    		if len(obj.Status.ReservedFor) > 0 {
    			states = append(states, "reserved")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  3. src/runtime/preempt.go

    		}
    	}
    }
    
    // resumeG undoes the effects of suspendG, allowing the suspended
    // goroutine to continue from its current safe-point.
    func resumeG(state suspendGState) {
    	if state.dead {
    		// We didn't actually stop anything.
    		return
    	}
    
    	gp := state.g
    	switch s := readgstatus(gp); s {
    	default:
    		dumpgstatus(gp)
    		throw("unexpected g status")
    
    	case _Grunnable | _Gscan,
    		_Gwaiting | _Gscan,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. pkg/kubelet/pleg/generic.go

    	// Default to the non-existent state.
    	state := plegContainerNonExistent
    	if pod == nil {
    		return state
    	}
    	c := pod.FindContainerByID(*cid)
    	if c != nil {
    		return convertState(c.State)
    	}
    	// Search through sandboxes too.
    	c = pod.FindSandboxByID(*cid)
    	if c != nil {
    		return convertState(c.State)
    	}
    
    	return state
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

        public ModelNode atState(ModelPath path, ModelNode.State state) {
            return atStateOrMaybeLater(path, state, false);
        }
    
        @Override
        public ModelNode atStateOrLater(ModelPath path, ModelNode.State state) {
            return atStateOrMaybeLater(path, state, true);
        }
    
        @Override
        public <T> T atStateOrLater(ModelPath path, ModelType<T> type, ModelNode.State state) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

    final class DirectExecutorService extends AbstractListeningExecutorService {
    
      /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */
      private final Object lock = new Object();
    
      /*
       * Conceptually, these two variables describe the executor being in
       * one of three states:
       *   - Active: shutdown == false
       *   - Shutdown: runningTasks > 0 and shutdown == true
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers.go

    	APIApprovalBypassed
    	// APIApprovalMissing means the annotation is empty
    	APIApprovalMissing
    )
    
    // GetAPIApprovalState returns the state of the API approval and reason for that state
    func GetAPIApprovalState(annotations map[string]string) (state APIApprovalState, reason string) {
    	annotation := annotations[apiextensionsv1.KubeAPIApprovedAnnotation]
    
    	// we use the result of this parsing in the switch/case below
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 9.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            ComponentGraphResolveState state = potentialEdge.state;
            VirtualPlatformState virtualPlatformState = null;
            if (state == null || state instanceof LenientPlatformGraphResolveState) {
                virtualPlatformState = potentialEdge.component.getModule().getPlatformState();
                virtualPlatformState.participatingModule(component.getModule());
            }
            if (state == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			input: &runtimeapi.ContainerStatus{
    				Id:        cid.ID,
    				Metadata:  meta,
    				Image:     imageSpec,
    				State:     runtimeapi.ContainerState_CONTAINER_CREATED,
    				CreatedAt: createdAt,
    			},
    			expected: &kubecontainer.Status{
    				ID:        *cid,
    				Image:     imageSpec.Image,
    				State:     kubecontainer.ContainerStateCreated,
    				CreatedAt: time.Unix(0, createdAt),
    			},
    		},
    		"running container": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. src/internal/trace/resources.go

    func (d StateTransition) Goroutine() (from, to GoState) {
    	if d.Resource.Kind != ResourceGoroutine {
    		panic("Goroutine called on non-Goroutine state transition")
    	}
    	return GoState(d.oldState), GoState(d.newState)
    }
    
    // Proc returns the state transition for a proc.
    //
    // Transitions to and from states that are Executing are special in that
    // they change the future execution context. In other words, future events
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top