Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 174 for node2 (0.04 sec)

  1. pkg/test/loadbalancersim/mesh/node.go

    func (nodes Nodes) Latency() *timeseries.Instance {
    	var out timeseries.Instance
    	for _, n := range nodes {
    		out.AddAll(n.Latency())
    	}
    	return &out
    }
    
    func (nodes Nodes) QueueLatency() *timeseries.Instance {
    	var out timeseries.Instance
    	for _, n := range nodes {
    		out.AddAll(n.QueueLatency())
    	}
    	return &out
    }
    
    func (nodes Nodes) TotalRequests() uint64 {
    	var out uint64
    	for _, n := range nodes {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/encapsulate_xla_computations_pass.h

      // the xla_launch_node's immediate downstream nodes would be attached to the
      // generated xla node. For example, if the original graph is
      // StatefulPartitionedCall{_xla_compile_id=1} -> XlaClusterOutput -> NodeA
      // The output graph of this function would look like the following when
      // add_edges_to_output_of_downstream_nodes is true:
      // XlaLaunch -> NodeA
      static Status BuildXlaLaunchOps(
          Graph* graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. pkg/registry/registrytest/node.go

    	r.Lock()
    	defer r.Unlock()
    	r.Node = node.Name
    	r.Nodes.Items = append(r.Nodes.Items, *node)
    	return r.Err
    }
    
    func (r *NodeRegistry) UpdateNode(ctx context.Context, node *api.Node) error {
    	r.Lock()
    	defer r.Unlock()
    	for i, item := range r.Nodes.Items {
    		if item.Name == node.Name {
    			r.Nodes.Items[i] = *node
    			return r.Err
    		}
    	}
    	return r.Err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. pkg/util/node/node.go

    // node in a single-stack cluster, or a dual-stack pair of IPs in a dual-stack cluster
    // (for nodes that actually have dual-stack IPs). Among other things, the IPs returned
    // from this function are used as the `.status.PodIPs` values for host-network pods on the
    // node, and the first IP is used as the `.status.HostIP` for all pods on the node.
    func GetNodeHostIPs(node *v1.Node) ([]net.IP, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. pkg/registry/core/node/storage/storage_test.go

    			},
    		},
    	}
    
    	for _, tweak := range tweaks {
    		tweak(node)
    	}
    
    	return node
    }
    
    func setNodeIPAddress(addr string) tweak {
    	return func(node *api.Node) {
    		node.Status.Addresses = []api.NodeAddress{
    			{Type: api.NodeInternalIP, Address: addr},
    		}
    	}
    }
    
    func setNodeDaemonEndpoint(port int32) tweak {
    	return func(node *api.Node) {
    		node.Status.DaemonEndpoints = api.NodeDaemonEndpoints{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 01 12:49:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/ops.cc

    Output Operation::output(int32_t i) const {
      CHECK_NOTNULL(node_);
      CHECK_GE(i, 0);
      CHECK_LT(i, node_->num_outputs());
      return Output(node_, i);
    }
    
    uint64 Operation::hash(int32_t index) const {
      return ::tensorflow::Hash64(reinterpret_cast<const char*>(&node_),
                                  sizeof(Node*), index);
    }
    
    Operation::Inputs Operation::GetInputs(Node* node) {
      Operation::Inputs inputs;
      if (node != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  7. pkg/controller/nodeipam/ipam/sync/sync_test.go

    			mode:      SyncFromCloud,
    			node:      nodeWithCIDRRange,
    			events:    []fakeEvent{{"node1", "CloudCIDRAllocatorInvalidMode"}},
    			wantError: true,
    		},
    		{
    			desc: "update alias from node",
    			mode: SyncFromCluster,
    			node: nodeWithCIDRRange,
    			// XXX/bowei -- validation
    		},
    		{
    			desc: "update node from alias",
    			mode: SyncFromCloud,
    			node: nodeWithoutCIDRRange,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. pkg/proxy/node.go

    // OnNodeAdd is a handler for Node creates.
    func (n *NodeEligibleHandler) OnNodeAdd(node *v1.Node) { n.HealthServer.SyncNode(node) }
    
    // OnNodeUpdate is a handler for Node updates.
    func (n *NodeEligibleHandler) OnNodeUpdate(_, node *v1.Node) { n.HealthServer.SyncNode(node) }
    
    // OnNodeDelete is a handler for Node deletes.
    func (n *NodeEligibleHandler) OnNodeDelete(node *v1.Node) { n.HealthServer.SyncNode(node) }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. pkg/kubelet/config/common_test.go

    		expected  string
    		overwrite string
    		shouldErr bool
    	}{
    		{
    			"node1",
    			"static-pod1",
    			"static-pod1-node1",
    			"",
    			false,
    		},
    		{
    			"Node1",
    			"static-pod1",
    			"static-pod1-node1",
    			"",
    			false,
    		},
    		{
    			"NODE1",
    			"static-pod1",
    			"static-pod1-node1",
    			"static-pod1-NODE1",
    			true,
    		},
    	}
    	for _, c := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/GraphConstants.java

          "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph "
              + "that allows self-loops, call allowsSelfLoops(true) on the Builder.";
      static final String NOT_AVAILABLE_ON_UNDIRECTED =
          "Cannot call source()/target() on a EndpointPair from an undirected graph. Consider calling "
              + "adjacentNode(node) if you already have a node, or nodeU()/nodeV() if you don't.";
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top