Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for node_ (0.08 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. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    		{User: node1, Decision: authorizer.DecisionAllow, Secret: "shared-all"},
    
    		{User: node2, Decision: authorizer.DecisionNoOpinion, Secret: "node1-only"},
    		{User: node2, Decision: authorizer.DecisionAllow, Secret: "node1-node2-only"},
    		{User: node2, Decision: authorizer.DecisionAllow, Secret: "shared-all"},
    
    		{User: node3, Decision: authorizer.DecisionNoOpinion, Secret: "node1-only"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  4. 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)
  5. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    			// Node2
    			// Image: not present
    			// Score: 0
    			pod:          &v1.Pod{Spec: test40300},
    			nodes:        []*v1.Node{makeImageNode("node1", node403002000), makeImageNode("node2", node25010)},
    			expectedList: []framework.NodeScore{{Name: "node1", Score: 7}, {Name: "node2", Score: 0}},
    			name:         "two images on one node, prefer this node",
    		},
    		{
    			// Pod: gcr.io/4000 gcr.io/10
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/scheduler/extender_test.go

    					Prioritizers: []tf.PriorityConfig{{Function: tf.Node1PrioritizerExtender, Weight: 10}},
    					Weight:       1,
    				},
    			},
    			nodes: []string{"node1", "node2"},
    			expectedResult: ScheduleResult{
    				SuggestedHost:  "node2",
    				EvaluatedNodes: 2,
    				FeasibleNodes:  2,
    			}, // node2 has higher score
    			name: "test 7",
    		},
    		{
    			// Scheduler is expected to not send pod to extender in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. 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)
  10. cmd/kubeadm/app/cmd/upgrade/plan_test.go

    COMPONENT   NODE      CURRENT   TARGET
    kubelet     node1     v1.19.2   v1.19.3
    kubelet     node2     v1.19.3   v1.19.3
    kubelet     node3     v1.19.3   v1.19.3
    
    Upgrade to the latest version in the v1.19 series:
    
    COMPONENT                 NODE      CURRENT   TARGET
    kube-apiserver            node1     v1.19.2   v1.19.3
    kube-controller-manager   node1     v1.19.2   v1.19.3
    kube-scheduler            node1     v1.19.2   v1.19.3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
Back to top