- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for addPod (0.21 sec)
-
pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go
originalState := state.Clone() // Add test.addedPod to state1 and verify it is equal to allPodsState. nodeInfo := mustGetNodeInfo(t, snapshot, test.addedPod.Spec.NodeName) if err := ipa.AddPod(ctx, cycleState, test.pendingPod, mustNewPodInfo(t, test.addedPod), nodeInfo); err != nil { t.Errorf("error adding pod to meta: %v", err) } newState, err := getPreFilterState(cycleState)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 10:24:54 UTC 2023 - 58.2K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
Status: nodeReadyStatus, } logger, _ := ktesting.NewTestContext(t) esController.nodeStore.Add(node1) esController.nodeStore.Add(node2) esController.addNode() esController.addNode() assert.Equal(t, 1, esController.topologyQueue.Len()) esController.processNextTopologyWorkItem(logger) assert.Equal(t, 0, esController.topologyQueue.Len())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
ns := "other" testServer, endpointsHandler := makeTestServer(t, ns) defer testServer.Close() tCtx := ktesting.Init(t) endpoints := newController(tCtx, testServer.URL, 0*time.Second) addPods(endpoints.podStore, ns, 3, 2, 0, ipv4only) addPods(endpoints.podStore, "blah", 5, 2, 0, ipv4only) // make sure these aren't found! endpoints.serviceStore.Add(&v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: ns},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
s := newAmbientTestServer(t, testC, testNW) s.addPods(t, "127.0.0.1", "pod1", "sa1", map[string]string{"app": "a"}, nil, true, corev1.PodRunning) s.assertAddresses(t, "", "pod1") s.assertEvent(t, s.podXdsName("pod1")) s.addPods(t, "127.0.0.2", "pod2", "sa1", map[string]string{"app": "a", "other": "label"}, nil, true, corev1.PodRunning)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc
builder.Attr("T", dtype); builder.Attr("index", arg_index); Status s = builder.Finalize(&arg_def); if (!s.ok()) return s; TF_ASSIGN_OR_RETURN(Node * arg, graph_->AddNode(arg_def)); src_arg_pairs->push_back({src_node, arg}); args_.push_back(arg); } Node* dst_node = edge->dst(); Node* dst_image = node_images.at(dst_node); int dst_slot = edge->dst_input();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis_test.cc
ops::Merge merge(root.WithOpName("ternary"), {predicated_true.output_true, predicated_false.output_false}); Output addend = ops::Placeholder(root.WithOpName("addend"), DT_FLOAT); Output add = ops::Add(root.WithOpName("add"), merge.output, addend); std::unique_ptr<DeadnessAnalysis> result; TF_ASSERT_OK(AnalyzeDeadness(root.graph(), &result)); TF_ASSERT_OK_AND_ASSIGN(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TF_Tensor* orig = TFE_TensorHandleResolve(n, status); void* orig_ptr = TF_TensorData(orig); TF_DeleteTensor(orig); TFE_Op* add_op = AddOp(ctx, n, m); std::string cpu_device_name; ASSERT_TRUE(GetDeviceName(ctx, &cpu_device_name, "CPU")); TFE_OpSetDevice(add_op, cpu_device_name.c_str(), status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); if (forward_input) { TFE_DeleteTensorHandle(n);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy_test.go
var ( mu sync.Mutex log []string ) addLog := func(event string) { mu.Lock() defer mu.Unlock() log = append(log, event) } rp := NewSingleHostReverseProxy(backendURL) const size = 1234 rp.BufferPool = bufferPool{ get: func() []byte { addLog("getBuf") return make([]byte, size) }, put: func(p []byte) { addLog("putBuf-" + strconv.Itoa(len(p))) }, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 54.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/S390X.rules
(FMOVDstore [off1] {sym} (ADDconst [off2] ptr) val mem) && is20Bit(int64(off1)+int64(off2)) => (FMOVDstore [off1+off2] {sym} ptr val mem) (ADDload [off1] {sym} x (ADDconst [off2] ptr) mem) && ptr.Op != OpSB && is20Bit(int64(off1)+int64(off2)) => (ADDload [off1+off2] {sym} x ptr mem) (ADDWload [off1] {sym} x (ADDconst [off2] ptr) mem) && ptr.Op != OpSB && is20Bit(int64(off1)+int64(off2)) => (ADDWload [off1+off2] {sym} x ptr mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 74.3K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
default: return 0, false // Not an abi func } n, e := strconv.Atoi(s[2]) if e != nil || n < minReg || n > 31 || r.Add() != 0 { return 0, false // Invalid register number, or non-zero addend. Not an abi func. } // tname is a valid relocation to an ABI defined register save/restore function. Re-relocate // them to a go version of these functions in runtime/asm_ppc64x.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0)