Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 376 for St (0.02 sec)

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

    			newPod:       st.MakePod().Node("fake-node").Label("service", "securityscan").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "add an un-scheduled pod",
    			pod:          st.MakePod().Name("p").PodAffinityIn("service", "region", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			newPod:       st.MakePod().Label("service", "securityscan").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/internal/weak/pointer_test.go

    	bt := new(T)
    	wt := weak.Make(bt)
    	if st := wt.Strong(); st != bt {
    		t.Fatalf("weak pointer is not the same as strong pointer: %p vs. %p", st, bt)
    	}
    	// bt is still referenced.
    	runtime.GC()
    
    	if st := wt.Strong(); st != bt {
    		t.Fatalf("weak pointer is not the same as strong pointer after GC: %p vs. %p", st, bt)
    	}
    	// bt is no longer referenced.
    	runtime.GC()
    
    	if st := wt.Strong(); st != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/kubelet/cm/cpumanager/policy_none_test.go

    	}
    }
    
    func TestNonePolicyAllocate(t *testing.T) {
    	policy := &nonePolicy{}
    
    	st := &mockState{
    		assignments:   state.ContainerCPUAssignments{},
    		defaultCPUSet: cpuset.New(1, 2, 3, 4, 5, 6, 7),
    	}
    
    	testPod := makePod("fakePod", "fakeContainer", "1000m", "1000m")
    
    	container := &testPod.Spec.Containers[0]
    	err := policy.Allocate(st, testPod, container)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/archive/tar/stat_actime2.go

    //go:build darwin || freebsd || netbsd
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atimespec.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctimespec.Unix())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 421 bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc

          io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded);
      Status st = LoadSavedModel(session_options, run_options, export_dir,
                                 {"missing-tag"}, &bundle);
      EXPECT_FALSE(st.ok());
      EXPECT_TRUE(absl::StrContains(
          st.message(),
          "Could not find meta graph def matching supplied tags: { missing-tag }"))
          << st.message();
    }
    
    TEST_F(LoaderTest, NoTagMatchMultiple) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 9.7K 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