Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for St (0.17 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go

    				Obj(),
    			newPod:       st.MakePod().Label("foo", "").Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		{
    			name: "update un-scheduled pod",
    			pod: st.MakePod().Name("p").Label("foo", "").
    				SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				Obj(),
    			newPod:       st.MakePod().Label("foo", "").Obj(),
    			oldPod:       st.MakePod().Label("bar", "").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 06:30:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. 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)
  3. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    		{
    			pod:                 &v1.Pod{},
    			nodeInfo:            framework.NewNodeInfo(st.MakePod().Volume(volState).Obj()),
    			name:                "one state",
    			preFilterWantStatus: framework.NewStatus(framework.Skip),
    			wantStatus:          nil,
    		},
    		{
    			pod:                 st.MakePod().Volume(volState).Obj(),
    			nodeInfo:            framework.NewNodeInfo(st.MakePod().Volume(volState).Obj()),
    			name:                "same state",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  4. src/runtime/malloc_test.go

    			}
    		}
    	}
    
    	if st.Sys != st.HeapSys+st.StackSys+st.MSpanSys+st.MCacheSys+
    		st.BuckHashSys+st.GCSys+st.OtherSys {
    		t.Fatalf("Bad sys value: %+v", *st)
    	}
    
    	if st.HeapIdle+st.HeapInuse != st.HeapSys {
    		t.Fatalf("HeapIdle(%d) + HeapInuse(%d) should be equal to HeapSys(%d), but isn't.", st.HeapIdle, st.HeapInuse, st.HeapSys)
    	}
    
    	if lpe := st.PauseEnd[int(st.NumGC+255)%len(st.PauseEnd)]; st.LastGC != lpe {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. 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)
  6. pkg/scheduler/internal/cache/snapshot_test.go

    	podsWithAffitiny := []*v1.Pod{
    		st.MakePod().Name("bar").Namespace("ns").PodAffinity("baz", &metav1.LabelSelector{MatchLabels: map[string]string{"baz": "qux"}}, st.PodAffinityWithRequiredReq).Node("node-2").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio_test.go

    			requestedPod: st.MakePod().Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    				st.MakeNode().Name("node2").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    			},
    			existingPods: []*v1.Pod{
    				st.MakePod().Node("node1").Obj(),
    				st.MakePod().Node("node1").Obj(),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/noderesources/least_allocated_test.go

    			requestedPod: st.MakePod().Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    				st.MakeNode().Name("node2").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    			},
    			existingPods: []*v1.Pod{
    				st.MakePod().Node("node1").Obj(),
    				st.MakePod().Node("node1").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 18.8K bytes
    - Viewed (0)
  9. 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)
  10. src/syscall/fs_js.go

    	}
    
    	return n, nil
    }
    
    func setStat(st *Stat_t, jsSt js.Value) {
    	st.Dev = int64(jsSt.Get("dev").Int())
    	st.Ino = uint64(jsSt.Get("ino").Int())
    	st.Mode = uint32(jsSt.Get("mode").Int())
    	st.Nlink = uint32(jsSt.Get("nlink").Int())
    	st.Uid = uint32(jsSt.Get("uid").Int())
    	st.Gid = uint32(jsSt.Get("gid").Int())
    	st.Rdev = int64(jsSt.Get("rdev").Int())
    	st.Size = int64(jsSt.Get("size").Int())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 10.8K bytes
    - Viewed (0)
Back to top