Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for node_ (0.17 sec)

  1. tensorflow/cc/framework/ops.h

      Output output(int32_t i) const;
    
      Node* node() const { return node_; }
    
      uint64 hash(int32_t index) const;
    
      bool operator==(const Operation& other) const { return node_ == other.node_; }
    
     private:
      typedef std::vector<std::pair<Node*, int32>> Inputs;
      static Inputs GetInputs(Node* node);
    
      Inputs inputs_;
      Node* node_;
    };
    
    /// Represents a tensor value produced by an Operation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/preemption/preemption_test.go

    				nodeInfos = append(nodeInfos, ni)
    			}
    			nodes, _ := nodesWherePreemptionMightHelp(nodeInfos, tt.nodesStatuses)
    			if len(tt.expected) != len(nodes) {
    				t.Errorf("number of nodes is not the same as expected. exptectd: %d, got: %d. Nodes: %v", len(tt.expected), len(nodes), nodes)
    			}
    			for _, node := range nodes {
    				name := node.Node().Name
    				if _, found := tt.expected[name]; !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. pkg/volume/util/util_test.go

    											Values: []string{
    												"node1",
    												"node2",
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			expectedNodeNames: []string{
    				"node1",
    				"node2",
    			},
    		},
    		{
    			name: "PV node affinity required multiple match expressions with multiple nodes",
    			pv: &v1.PersistentVolume{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils_test.go

    			nodeHandler: &testutil.FakeNodeHandler{
    				Existing: []*v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name: "node1",
    						},
    					},
    				},
    				Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}),
    			},
    			nodeName: "node1",
    			taintsToRemove: []*v1.Taint{
    				{Key: "key3", Value: "value3", Effect: "NoSchedule"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/upgrade/compute_test.go

    	}
    
    	if f.componentVersion == "multiVersion" {
    		return map[string][]string{
    			"node1": {"node1"},
    			"node2": {"node2"},
    		}, nil
    	}
    
    	return map[string][]string{
    		f.componentVersion: {"node1"},
    	}, nil
    }
    
    const fakeCurrentEtcdVersion = "3.1.12"
    
    func getEtcdVersion(v *versionutil.Version) string {
    	etcdVer, _, _ := constants.EtcdSupportedVersion(constants.SupportedEtcdVersion, v.String())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    				{Name: "nodeA", Score: framework.MaxNodeScore},
    				{Name: "nodeB", Score: framework.MaxNodeScore},
    				{Name: "nodeC", Score: 0},
    			},
    		},
    		{
    			name: "Default behaviour No taints and tolerations, lands on node with no taints",
    			//pod without tolerations
    			pod: podWithTolerations("pod1", []v1.Toleration{}),
    			nodes: []*v1.Node{
    				//Node without taints
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/types_test.go

    					"node1": NewStatus(Unschedulable, "Node(s) failed Filter plugin FalseFilter-1"),
    					"node2": NewStatus(Unschedulable, "Node(s) failed Filter plugin FalseFilter-1"),
    					"node3": NewStatus(Unschedulable, "Node(s) failed Filter plugin FalseFilter-1"),
    				},
    				PostFilterMsg: "Error running PostFilter plugin FailedPostFilter",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  8. pkg/controller/nodeipam/ipam/range_allocator_test.go

    }
    
    func TestOccupyPreExistingCIDR(t *testing.T) {
    	// all tests operate on a single node
    	testCases := []testCase{
    		{
    			description: "success, single stack no node allocation",
    			fakeNodeHandler: &testutil.FakeNodeHandler{
    				Existing: []*v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name: "node0",
    						},
    					},
    				},
    				Clientset: fake.NewSimpleClientset(),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. cmd/kube-proxy/app/server_test.go

    	client := clientsetfake.NewSimpleClientset(
    		// node1 initially has no IP address.
    		makeNodeWithAddress("node1", ""),
    
    		// node2 initially has an invalid IP address.
    		makeNodeWithAddress("node2", "invalid-ip"),
    
    		// node3 initially does not exist.
    	)
    
    	for i := range chans {
    		chans[i] = make(chan error)
    		ch := chans[i]
    		nodeName := fmt.Sprintf("node%d", i+1)
    		expectIP := fmt.Sprintf("192.168.0.%d", i+1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/node.go

    	}
    
    	// Fetches the cluster configuration
    	// NB in case of control-plane node, we are reading all the info for the node; in case of NOT control-plane node
    	//    (worker node), we are not reading local API address and the CRI socket from the node object
    	initCfg, err := configutil.FetchInitConfigurationFromCluster(client, nil, "upgrade", !isControlPlaneNode, false)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top