Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 924 for state2 (0.11 sec)

  1. 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)
  2. src/internal/zstd/huff.go

    		if err != nil {
    			return 0, 0, err
    		}
    
    		state1, err := rbr.val(uint8(fseBits))
    		if err != nil {
    			return 0, 0, err
    		}
    
    		state2, err := rbr.val(uint8(fseBits))
    		if err != nil {
    			return 0, 0, err
    		}
    
    		// There are two independent FSE streams, tracked by
    		// state1 and state2. We decode them alternately.
    
    		for {
    			pt := &fseTable[state1]
    			if !rbr.fetch(pt.bits) {
    				if count >= 254 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogFileStateProbe.groovy

    import org.gradle.launcher.daemon.logging.DaemonMessages
    
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Busy
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Canceled
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Stopped
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. pkg/kube/krt/static.go

    John Howard <******@****.***> 1715384036 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. docs/en/docs/reference/status.md

    # Status Codes
    
    You can import the `status` module from `fastapi`:
    
    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 871 bytes
    - Viewed (0)
  10. istioctl/pkg/writer/pilot/status.go

    	}
    
    	return w, fullStatus, nil
    }
    
    func xdsStatusPrintln(w io.Writer, status *xdsWriterStatus) error {
    	_, err := fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    		status.proxyID, status.clusterID,
    		status.clusterStatus, status.listenerStatus, status.endpointStatus, status.routeStatus,
    		status.extensionconfigStatus,
    		status.istiodID, status.istiodVersion)
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top