Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for newState (0.24 sec)

  1. pkg/kubelet/pleg/generic.go

    	}
    	return true, nil
    }
    
    func generateEvents(podID types.UID, cid string, oldState, newState plegContainerState) []*PodLifecycleEvent {
    	if newState == oldState {
    		return nil
    	}
    
    	klog.V(4).InfoS("GenericPLEG", "podUID", podID, "containerID", cid, "oldState", oldState, "newState", newState)
    	switch newState {
    	case plegContainerRunning:
    		return []*PodLifecycleEvent{{ID: podID, Type: ContainerStarted, Data: cid}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/internal/trace/resources.go

    	// we don't need fields for every kind of resource.
    	id       int64
    	oldState uint8
    	newState uint8
    }
    
    func goStateTransition(id GoID, from, to GoState) StateTransition {
    	return StateTransition{
    		Resource: ResourceID{Kind: ResourceGoroutine, id: int64(id)},
    		oldState: uint8(from),
    		newState: uint8(to),
    	}
    }
    
    func procStateTransition(id ProcID, from, to ProcState) StateTransition {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy

            def resolveState = Stub(ResolveState)
    
            def newState = new NodeState(idIdx++, Stub(ComponentState), resolveState, state, true)
            // if there are outgoing endorsing edges, also include a normal edge to make sure that it is filtered out
            metadata.dependencies >> ((0..<outgoingEndorsing).collect { edge(newState).dependencyMetadata } + (outgoingEndorsing > 0 ? [edge(newState, false).dependencyMetadata] : []))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

            var reportFile: File?
            modifyState {
                val (newState, outputFile) = commitReportTo(outputDirectory, buildDisplayName, cacheAction, requestedTasks, totalProblemCount)
                reportFile = outputFile
                newState
            }
            return reportFile
        }
    
        private
        inline fun modifyState(f: State.() -> State) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecHandle.java

                }
            }
    
            lock.lock();
            try {
                setState(newState);
                this.execResult = newResult;
            } finally {
                lock.unlock();
            }
    
            LOGGER.debug("Process '{}' finished with exit value {} (state: {})", displayName, exitValue, newState);
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/BuildFlowScope.kt

            )
        }
    
        private
        val specInstantiator by lazy {
            instantiatorFactory.decorateLenient()
        }
    
        fun store(): Any {
            val (memento, newState) = state.store()
            state = newState
            return memento
        }
    
        fun load(memento: Any) {
            state = state.load(memento)
        }
    
        override fun buildFinished(result: BuildResult) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java

            if (currentOwner == null) {
                currentOwner = Thread.currentThread();
            } else if (currentOwner != Thread.currentThread()) {
                throw new IllegalStateException("Another thread holds the state lock.");
            }
            DefaultResourceLockState previousState = currentState;
            this.currentState = newState;
            return previousState;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		for k, v := range nc.zoneStates {
    			newState := newZoneStates[k]
    			if v == newState {
    				continue
    			}
    			logger.Info("Controller detected that zone is now in new state", "zone", k, "newState", newState)
    			nc.setLimiterInZone(k, len(zoneToNodeConditions[k]), newState)
    			nc.zoneStates[k] = newState
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    	defer cancel()
    	changed := make(chan State, 1)
    	go func() {
    		defer xioutil.SafeClose(changed)
    		for {
    			c.connChange.Wait()
    			newState := c.State()
    			select {
    			case changed <- newState:
    				if newState == StateConnected || newState == StateShutdown {
    					c.connChange.L.Unlock()
    					return
    				}
    			case <-ctx.Done():
    				c.connChange.L.Unlock()
    				return
    			}
    		}
    	}()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

    public abstract class ValueState<S> {
        private static final ValueState<Object> FINALIZED_VALUE = new FinalizedValue<>();
    
        /**
         * Creates a new non-finalized state.
         */
        public static <S> ValueState<S> newState(PropertyHost host) {
            return new ValueState.NonFinalizedValue<>(host, Function.identity());
        }
    
        /**
         * Creates a new non-finalized state.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top