Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for St (0.04 sec)

  1. pkg/scheduler/eventhandlers_test.go

    			nodeFn: func() *v1.Node {
    				return st.MakeNode().Name("fake-node").Label("hostname", "fake-node").Capacity(cpu8).Obj()
    			},
    			existingPods: []*v1.Pod{
    				st.MakePod().Name("p").HostPort(80).Obj(),
    			},
    			pods: []*v1.Pod{
    				st.MakePod().Name("p1").Req(cpu4).Obj(),
    				st.MakePod().Name("p2").Req(cpu16).Obj(),
    				st.MakePod().Name("p3").Req(cpu4).Req(cpu8).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 14:38:54 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/policy_static_test.go

    				testCase.description, testCase.expCSetAfterAlloc, st.defaultCPUSet)
    		}
    
    		// remove
    		policy.RemoveContainer(st, string(pod.UID), testCase.containerName)
    
    		if !reflect.DeepEqual(st.defaultCPUSet, testCase.expCSetAfterRemove) {
    			t.Errorf("StaticPolicy RemoveContainer() error (%v). expected default cpuset %v but got %v",
    				testCase.description, testCase.expCSetAfterRemove, st.defaultCPUSet)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/preemption/preemption_test.go

    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(veryLargeRes).Obj(),
    				st.MakeNode().Name("node2").Capacity(veryLargeRes).Obj(),
    			},
    			testPods: []*v1.Pod{
    				st.MakePod().Name("p").UID("p").Priority(highPriority).Obj(),
    			},
    			initPods: []*v1.Pod{
    				st.MakePod().Name("p1").UID("p1").Node("node1").Priority(midPriority).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    	totalS3Canceled         HTTPAPIStats
    }
    
    func (st *HTTPStats) loadRequestsInQueue() int32 {
    	return atomic.LoadInt32(&st.s3RequestsInQueue)
    }
    
    func (st *HTTPStats) addRequestsInQueue(i int32) {
    	atomic.AddInt32(&st.s3RequestsInQueue, i)
    }
    
    func (st *HTTPStats) incS3RequestsIncoming() {
    	// Golang automatically resets to zero if this overflows
    	atomic.AddUint64(&st.s3RequestsIncoming, 1)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      if (fd < 0) {
        TF_SetStatusFromIOError(status, errno, path);
        return;
      }
    
      struct stat st;
      fstat(fd, &st);
      if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory");
      } else {
        const void* address =
            mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
        if (address == MAP_FAILED) {
          TF_SetStatusFromIOError(status, errno, path);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. pkg/scheduler/extender_test.go

    			podsInNodeList: []*v1.Pod{
    				st.MakePod().Name("pod1").UID("uid1").Obj(),
    				st.MakePod().Name("pod2").UID("uid2").Obj(),
    				st.MakePod().Name("pod3").UID("uid3").Obj(),
    				st.MakePod().Name("pod4").UID("uid4").Obj(),
    			},
    			nodeInfos: nil,
    			want: map[string]*extenderv1.Victims{
    				"node1": {
    					Pods: []*v1.Pod{
    						st.MakePod().Name("pod1").UID("uid1").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/liveness/intervals.go

    		}
    		if i == 0 {
    			continue
    		}
    		// check for badly ordered starts
    		pst := is[i-1].st
    		pen := is[i-1].en
    		if pst >= st {
    			return fmt.Errorf("range start not ordered %d:%d less than prev %d:%d", st, en,
    				pst, pen)
    		}
    		// check end of last range against start of this range
    		if pen > st {
    			return fmt.Errorf("bad range elem %d:%d overlaps prev %d:%d", st, en,
    				pst, pen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    func TestCSILimits(t *testing.T) {
    	runningPod := st.MakePod().PVC("csi-ebs.csi.aws.com-3").Obj()
    	pendingVolumePod := st.MakePod().PVC("csi-4").Obj()
    
    	// Different pod than pendingVolumePod, but using the same unbound PVC
    	unboundPVCPod2 := st.MakePod().PVC("csi-4").Obj()
    
    	missingPVPod := st.MakePod().PVC("csi-6").Obj()
    	noSCPVCPod := st.MakePod().PVC("csi-5").Obj()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. cmd/bucket-stats.go

    	for arn, st := range brs.Stats {
    		// make a copy of `*st`
    		s := BucketReplicationStat{
    			ReplicatedSize:                   st.ReplicatedSize,
    			ReplicaSize:                      st.ReplicaSize,
    			Latency:                          st.Latency,
    			BandWidthLimitInBytesPerSecond:   st.BandWidthLimitInBytesPerSecond,
    			CurrentBandwidthInBytesPerSecond: st.CurrentBandwidthInBytesPerSecond,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/internal/trace/summary_test.go

    			}
    		} else {
    			st := region.Start.StateTransition()
    			if st.Resource.Kind != trace.ResourceGoroutine {
    				t.Errorf("found region start event for the wrong resource: %s", st.Resource)
    			}
    			if st.Resource.Goroutine() != goid {
    				t.Errorf("found region start event for the wrong resource: wanted goroutine %d, got %s", goid, st.Resource)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top