Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,220 for stateN (0.12 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    becomes
    
    	{
    		var #next int
    		var #state1 = abi.RF_READY
    		f(func() { // 1,2
    			if #state1 != abi.RF_READY { runtime.panicrangestate(#state1) }
    			#state1 = abi.RF_PANIC
    			var #state2 = abi.RF_READY
    			g(func() { // 3,4
    				if #state2 != abi.RF_READY { runtime.panicrangestate(#state2) }
    				#state2 = abi.RF_PANIC
    				var #state3 = abi.RF_READY
    				h(func() { // 5,6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. src/encoding/json/scanner.go

    func state1(s *scanner, c byte) int {
    	if '0' <= c && c <= '9' {
    		s.step = state1
    		return scanContinue
    	}
    	return state0(s, c)
    }
    
    // state0 is the state after reading `0` during a number.
    func state0(s *scanner, c byte) int {
    	if c == '.' {
    		s.step = stateDot
    		return scanContinue
    	}
    	if c == 'e' || c == 'E' {
    		s.step = stateE
    		return scanContinue
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. pkg/kubelet/status/state/state.go

    	SetResizeStatus(PodResizeStatus) error
    	Delete(podUID string, containerName string) error
    	ClearState() error
    }
    
    // State interface provides methods for tracking and setting pod resource allocation
    type State interface {
    	Reader
    	writer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/script/state.go

    }
    
    // Chdir changes the State's working directory to the given path.
    func (s *State) Chdir(path string) error {
    	dir := s.Path(path)
    	if _, err := os.Stat(dir); err != nil {
    		return &fs.PathError{Op: "Chdir", Path: dir, Err: err}
    	}
    	s.pwd = dir
    	s.Setenv("PWD", dir)
    	return nil
    }
    
    // Context returns the Context with which the State was created.
    func (s *State) Context() context.Context {
    	return s.ctx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/state/state.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package state
    
    import (
    	"k8s.io/utils/cpuset"
    )
    
    // ContainerCPUAssignments type used in cpu manager state
    type ContainerCPUAssignments map[string]map[string]cpuset.CPUSet
    
    // Clone returns a copy of ContainerCPUAssignments
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 00:59:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

                            assertTrue state1.hasMutableState()
                            assertTrue state2.hasMutableState()
                        }
                        state1.applyToMutableState {
                            assertTrue state1.hasMutableState()
                            assertTrue state2.hasMutableState()
                        }
                        assert state1.hasMutableState()
                        assert state2.hasMutableState()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. pilot/pkg/status/distribution/state.go

    			delete(fractions, staleReporter)
    		}
    		c.CurrentState[key] = fractions
    	}
    }
    
    func (c *Controller) queueWriteStatus(config status.Resource, state Progress) {
    	c.workers.EnqueueStatusUpdateResource(state, config)
    }
    
    func (c *Controller) configDeleted(res config.Config) {
    	r := status.ResourceFromModelConfig(res)
    	c.workers.Delete(r)
    }
    
    func boolToConditionStatus(b bool) string {
    	if b {
    		return "True"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/SummarizingChangeContainerTest.groovy

        def state1 = Mock(ChangeContainer)
        def state2 = Mock(ChangeContainer)
        def state = new SummarizingChangeContainer(state1, state2)
        def visitor = new CollectingChangeVisitor()
    
        def "looks for changes in all delegate change sets"() {
            when:
            state.accept(visitor)
    
            then:
            1 * state1.accept(_) >> true
            1 * state2.accept(_) >> true
            0 * _
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. architecture/build-state-model.md

    The build state is managed by the `BuildState` class.
    An instance is created for each build in the build definition, once per build execution and is discarded at the end of the execution. 
    
    The build state also includes what is currently called the "Gradle state". The Gradle state is being merged into the build state and is mostly empty.
    
    ### Project state
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/trace/gstate.go

    // further events will be processed. This method may leave the gState in
    // an inconsistent state.
    func (gs *gState[R]) finish(ctx *traceContext) {
    	if gs.executing != R(noResource) {
    		gs.syscallEnd(ctx.endTime, false, ctx)
    		gs.stop(ctx.endTime, trace.NoStack, ctx)
    	}
    }
    
    // rangeBegin indicates the start of a special range of time.
    func (gs *gState[R]) rangeBegin(ts trace.Time, name string, stack trace.Stack) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top