Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newNames (0.45 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    			New:            `{"int32":1000000,"name":"newname"}`,
    			ExpectedPatch:  `{"name":"newname"}`,
    			ExpectedResult: `{"int32":1000000,"name":"newname"}`,
    		},
    		"int32 max": {
    			Old:            `{"int32":2147483647}`,
    			New:            `{"int32":2147483647,"name":"newname"}`,
    			ExpectedPatch:  `{"name":"newname"}`,
    			ExpectedResult: `{"int32":2147483647,"name":"newname"}`,
    		},
    		"int64 medium": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

            has_non_oc_output = true;
            break;
          }
        }
        if (!has_non_oc_output) {
          continue;
        }
    
        NodeDef copy_def = n->def();
        copy_def.set_name(g->NewName(n->name()));
        copy_def.mutable_attr()->erase(outside_compilation_attr_name);
        TF_ASSIGN_OR_RETURN(Node * copy_node, g->AddNode(copy_def));
        for (const Edge* e : n->in_edges()) {
          if (e->IsControlEdge()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		t.Errorf("Expected 1 item to be in unschedulablePods, but got: %v", len(q.unschedulablePods.podInfoMap))
    	}
    }
    
    func clonePod(pod *v1.Pod, newName string) *v1.Pod {
    	pod = pod.DeepCopy()
    	pod.Name = newName
    	pod.UID = types.UID(pod.Name + pod.Namespace)
    	return pod
    }
    
    func expectInFlightPods(t *testing.T, q *PriorityQueue, uids ...types.UID) {
    	t.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top