Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for statx (0.05 sec)

  1. pkg/kubelet/stats/cri_stats_provider_test.go

    		NewFakeHostStatsProvider(),
    		false,
    	)
    
    	stats, containerStats, err := provider.ImageFsStats(ctx)
    	assert := assert.New(t)
    	assert.NoError(err)
    
    	assert.Equal(imageFsUsage.Timestamp, stats.Time.UnixNano())
    	assert.Equal(imageFsInfo.Available, *stats.AvailableBytes)
    	assert.Equal(imageFsInfo.Capacity, *stats.CapacityBytes)
    	assert.Equal(imageFsInfo.InodesFree, stats.InodesFree)
    	assert.Equal(imageFsInfo.Inodes, stats.Inodes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    		gcController.heapReleased.add(-int64(scav))
    	}
    	// Update stats.
    	gcController.heapFree.add(-int64(nbytes - scav))
    	if typ == spanAllocHeap {
    		gcController.heapInUse.add(int64(nbytes))
    	}
    	// Update consistent stats.
    	stats := memstats.heapStats.acquire()
    	atomic.Xaddint64(&stats.committed, int64(scav))
    	atomic.Xaddint64(&stats.released, -int64(scav))
    	switch typ {
    	case spanAllocHeap:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatalf("Expected object to be present but stat failed - %v", err)
    	}
    
    	// Check the state of the object in the first disk (should be missing)
    	if hr.Before.Drives[0].State != madmin.DriveStateMissing {
    		t.Fatalf("Unexpected drive state: %v", hr.Before.Drives[0].State)
    	}
    
    	// Check the state of all other disks (should be ok)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    	memstats.pause_total_ns += uint64(work.pauseNS)
    
    	// Accumulate CPU stats.
    	//
    	// Use maxprocs instead of stwprocs for GC pause time because the total time
    	// computed in the CPU stats is based on maxprocs, and we want them to be
    	// comparable.
    	//
    	// Pass gcMarkPhase=true to accumulate so we can get all the latest GC CPU stats
    	// in there too.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher_test.go

    				stat, ok := stats[attached.spec]
    				if attached.attached && !ok {
    					t.Error("failed to retrieve attached status for:", attached.spec)
    				}
    				if attached.attached != stat {
    					t.Errorf("expecting volume attachment %t, got %t", attached.attached, stat)
    				}
    			}
    		})
    	}
    }
    
    func TestAttacherVolumesAreAttachedWithInline(t *testing.T) {
    	type attachedSpec struct {
    		volName  string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		RestartCount:        annotatedInfo.RestartCount,
    		State:               toKubeContainerState(status.State),
    		CreatedAt:           time.Unix(0, status.CreatedAt),
    		Resources:           cStatusResources,
    		User:                cStatusUser,
    	}
    
    	if status.State != runtimeapi.ContainerState_CONTAINER_CREATED {
    		// If container is not in the created state, we have tried and
    		// started the container. Set the StartedAt time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  7. pkg/kubelet/status/status_manager_test.go

    		t.Helper()
    		if state.Terminated == nil || state.Running != nil || state.Waiting != nil {
    			t.Fatalf("unexpected state: %#v", state)
    		}
    		if state.Terminated.ExitCode != exitCode {
    			t.Fatalf("unexpected terminated state: %#v", state.Terminated)
    		}
    	}
    	expectWaiting := func(t *testing.T, state v1.ContainerState) {
    		t.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    }
    
    func copyStat(stat *Stat_t, statLE *Stat_LE_t) {
    	stat.Dev = uint64(statLE.Dev)
    	stat.Ino = uint64(statLE.Ino)
    	stat.Nlink = uint64(statLE.Nlink)
    	stat.Mode = uint32(statLE.Mode)
    	stat.Uid = uint32(statLE.Uid)
    	stat.Gid = uint32(statLE.Gid)
    	stat.Rdev = uint64(statLE.Rdev)
    	stat.Size = statLE.Size
    	stat.Atim.Sec = int64(statLE.Atim)
    	stat.Atim.Nsec = 0 //zos doesn't return nanoseconds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/debug.go

    			state.varSlots[i] = state.varSlots[i][:0]
    		}
    	}
    	if cap(state.slotVars) < len(state.slots) {
    		state.slotVars = make([]VarID, len(state.slots))
    	} else {
    		state.slotVars = state.slotVars[:len(state.slots)]
    	}
    
    	if state.partsByVarOffset == nil {
    		state.partsByVarOffset = &partsByVarOffset{}
    	}
    	for varID, n := range state.vars {
    		parts := state.varParts[n]
    		state.varSlots[varID] = parts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework.go

    		}
    		f.runPostBindPlugin(ctx, pl, state, pod, nodeName)
    	}
    }
    
    func (f *frameworkImpl) runPostBindPlugin(ctx context.Context, pl framework.PostBindPlugin, state *framework.CycleState, pod *v1.Pod, nodeName string) {
    	if !state.ShouldRecordPluginMetrics() {
    		pl.PostBind(ctx, state, pod, nodeName)
    		return
    	}
    	startTime := time.Now()
    	pl.PostBind(ctx, state, pod, nodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top