Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,484 for state2 (0.13 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/cm/memorymanager/state/state.go

    			clone[pod][container] = append([]Block{}, blocks...)
    		}
    	}
    	return clone
    }
    
    // Reader interface used to read current memory/pod assignment state
    type Reader interface {
    	// GetMachineState returns Memory Map stored in the State
    	GetMachineState() NUMANodeMap
    	// GetMemoryBlocks returns memory assignments of a container
    	GetMemoryBlocks(podUID string, containerName string) []Block
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 08 23:10:00 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  4. src/crypto/sha256/sha256block_amd64.s

    	VMOVDQU		(0*16)(digestPtr), state0	// load initial hash values and reorder
    	VMOVDQU		(1*16)(digestPtr), state1	// DCBA, HGFE -> ABEF, CDGH
    	PSHUFD		$0xb1, state0, state0		// CDAB
    	PSHUFD		$0x1b, state1, state1		// EFGH
    	VMOVDQA		state0, m4
    	PALIGNR		$8, state1, state0		// ABEF
    	PBLENDW		$0xf0, m4, state1		// CDGH
    	VMOVDQA		flip_mask<>(SB), shufMask
    	LEAQ		K256<>(SB), sha256Constants
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 47.3K 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. pilot/cmd/pilot-agent/status/util/stats.go

    	readinessURL := fmt.Sprintf("http://%s/stats?usedonly&filter=%s", hostPort, readyStatsRegex)
    	stats, err := http.DoHTTPGetWithTimeout(readinessURL, readinessTimeout)
    	if err != nil {
    		return nil, false, err
    	}
    	if !strings.Contains(stats.String(), "server.state") {
    		return nil, false, fmt.Errorf("server.state is not yet updated: %s", stats.String())
    	}
    
    	if !strings.Contains(stats.String(), "listener_manager.workers_started") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 21 15:50:49 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir

        // CHECK-SAME: [%[[STATE0]], %[[STATE1]]] as %[[STATE:.*]]: tensor<!tf_type.resource<tensor<2x!tf_type.string>>>
        // CHECK-SAME: devices = {TPU_REPLICATED_CORE_0 = ["/device:TPU:0", "/device:TPU:1"]
        // CHECK: "tf_device.launch"
        // CHECK-SAME: device = "TPU_REPLICATED_CORE_0"
        // CHECK-NEXT: "tf.TPUReshardVariables"(%[[V0]], %[[V1]], %[[DEFAULT]], %[[STATE]])
        // CHECK-NEXT: tf_device.return
        func.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 25.4K bytes
    - Viewed (0)
  8. test/fixedbugs/issue4932.dir/state.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package state
    
    import "./foo"
    
    func Public() {
    	var s Settings
    	s.op()
    }
    
    type State struct{}
    
    func (s *State) x(*Settings) {}
    
    type Settings struct{}
    
    func (c *Settings) x() {
    	run([]foo.Op{{}})
    }
    
    func run([]foo.Op) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:42:03 UTC 2013
    - 434 bytes
    - Viewed (0)
  9. 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)
  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