Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 131 for checkPrint (0.2 sec)

  1. src/cmd/compile/internal/ssa/poset_test.go

    		{Checkpoint, 0, 0},
    		{SetNonEqual_Fail, vconst(3), vconst2(3)},
    		{Undo, 0, 0},
    		{Checkpoint, 0, 0},
    		{SetOrder_Fail, vconst(3), vconst2(3)},
    		{Undo, 0, 0},
    
    		// Check relations of two constants among them, using
    		// different instances of the same constant
    		{Checkpoint, 0, 0},
    		{SetOrderOrEqual, vconst(3), vconst(4)},
    		{OrderedOrEqual, vconst(3), vconst2(4)},
    		{Undo, 0, 0},
    		{Checkpoint, 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 26 07:52:35 UTC 2019
    - 18.1K bytes
    - Viewed (0)
  2. pkg/kubelet/status/state/state_checkpoint.go

    	var err error
    
    	checkpoint := NewPodResourceAllocationCheckpoint()
    
    	if err = sc.checkpointManager.GetCheckpoint(sc.checkpointName, checkpoint); err != nil {
    		if err == errors.ErrCheckpointNotFound {
    			return sc.storeState()
    		}
    		return err
    	}
    
    	sc.cache.SetPodResourceAllocation(checkpoint.AllocationEntries)
    	sc.cache.SetResizeStatus(checkpoint.ResizeStatusEntries)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 00:16:44 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			// ensure there is no previous checkpoint
    			assert.NoError(t, cpm.RemoveCheckpoint(testingCheckpoint), "could not remove testing checkpoint")
    
    			// prepare checkpoint for testing
    			if strings.TrimSpace(tc.checkpointContent) != "" {
    				checkpoint := &testutil.MockCheckpoint{Content: tc.checkpointContent}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/metrics.h

    // Returns "/tensorflow/core/checkpoint/sharding/callback_duration" cell which
    // describes how long it took to execute the checkpoint sharding callback in
    // microseconds.
    monitoring::CounterCell& ShardingCallbackDuration();
    
    // Returns "/tensorflow/core/checkpoint/sharding/num_checkpoint_shards_written"
    // cell which describes how many checkpoint shard files were written during
    // saving.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/state/state_checkpoint.go

    	klog.V(2).InfoS("State checkpoint: restored state from checkpoint")
    	klog.V(2).InfoS("State checkpoint: defaultCPUSet", "defaultCpuSet", tmpDefaultCPUSet.String())
    
    	return nil
    }
    
    // saves state to a checkpoint, caller is responsible for locking
    func (sc *stateCheckpoint) storeState() error {
    	checkpoint := NewCPUManagerCheckpoint()
    	checkpoint.PolicyName = sc.policyName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 00:59:30 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    				defaultCPUSet: cpuset.New(1, 2, 3),
    			},
    		},
    		{
    			"Restore checkpoint with invalid checksum",
    			`{
    				"policyName": "none",
    				"defaultCPUSet": "4-6",
    				"entries": {},
    				"checksum": 1337
    			}`,
    			"none",
    			containermap.ContainerMap{},
    			"checkpoint is corrupted",
    			&stateMemory{},
    		},
    		{
    			"Restore checkpoint with invalid JSON",
    			`{`,
    			"none",
    			containermap.ContainerMap{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. pkg/kubelet/checkpointmanager/checkpoint_manager_test.go

    )
    
    var testStore *utilstore.MemStore
    
    type FakeCheckpoint interface {
    	Checkpoint
    	GetData() ([]*PortMapping, bool)
    }
    
    // Data contains all types of data that can be stored in the checkpoint.
    type Data struct {
    	PortMappings []*PortMapping `json:"port_mappings,omitempty"`
    	HostNetwork  bool           `json:"host_network,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 12 06:41:04 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/metrics.cc

        "/tensorflow/core/checkpoint/sharding/num_checkpoint_shards_written",
        "Number of checkpoint shard files written during saving.");
    
    // String gauge which describes the callback used to shard the checkpoint during
    // saving.
    auto* sharding_callback_description = monitoring::Gauge<std::string, 0>::New(
        "/tensorflow/core/checkpoint/sharding/callback_description",
        "Describes the callback used to shard the checkpoint during saving.");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/ops/io_ops.cc

    namespace ops {
    
    // Op: RestoreV2()
    // Summary: Restores tensors from a V2 checkpoint.
    //
    // Description:
    //   For backward compatibility with the V1 format, this Op currently allows
    //   restoring from a V1 checkpoint as well:
    //     - This Op first attempts to find the V2 index file pointed to by
    //     "prefix", and
    //       if found proceed to read it as a V2 checkpoint;
    //     - Otherwise the V1 read path is invoked.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. pkg/kubelet/checkpointmanager/checksum/checksum.go

    )
    
    // Checksum is the data to be stored as checkpoint
    type Checksum uint64
    
    // Verify verifies that passed checksum is same as calculated checksum
    func (cs Checksum) Verify(data interface{}) error {
    	if cs != New(data) {
    		return errors.ErrCorruptCheckpoint
    	}
    	return nil
    }
    
    // New returns the Checksum of checkpoint data
    func New(data interface{}) Checksum {
    	return Checksum(getChecksum(data))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 01:56:43 UTC 2019
    - 1.3K bytes
    - Viewed (0)
Back to top