Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for Nodes (0.09 sec)

  1. src/go/printer/nodes.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements printing of AST nodes; specifically
    // expressions, statements, declarations, and files. It uses
    // the print functionality implemented in printer.go.
    
    package printer
    
    import (
    	"go/ast"
    	"go/token"
    	"math"
    	"strconv"
    	"strings"
    	"unicode"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/cache/cache_test.go

    			t.Errorf("AddPod failed: %v", err)
    		}
    	}
    
    	snapshot := cache.Dump()
    	if len(snapshot.Nodes) != len(cache.nodes) {
    		t.Errorf("Unequal number of nodes in the cache and its snapshot. expected: %v, got: %v", len(cache.nodes), len(snapshot.Nodes))
    	}
    	for name, ni := range snapshot.Nodes {
    		nItem := cache.nodes[name]
    		if diff := cmp.Diff(nItem.info, ni, cmp.AllowUnexported(framework.NodeInfo{})); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    	tests := []struct {
    		name                      string
    		pod                       *v1.Pod
    		existingPods              []*v1.Pod
    		nodes                     []*v1.Node
    		failedNodes               []*v1.Node // nodes + failedNodes = all nodes
    		objs                      []runtime.Object
    		want                      framework.NodeScoreList
    		enableNodeInclusionPolicy bool
    		enableMatchLabelKeys      bool
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  4. cmd/bucket-stats_gen.go

    		switch msgp.UnsafeString(field) {
    		case "Nodes":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Nodes")
    				return
    			}
    			if cap(z.Nodes) >= int(zb0002) {
    				z.Nodes = (z.Nodes)[:zb0002]
    			} else {
    				z.Nodes = make([]ReplQNodeStats, zb0002)
    			}
    			for za0001 := range z.Nodes {
    				err = z.Nodes[za0001].DecodeMsg(dc)
    				if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

       private:
        // The subgraph extracted from the input graph, suitable for being turned
        // into a FunctionDef. Inputs are fed by _Arg nodes, and outputs are
        // returned by _Retval nodes.
        std::unique_ptr<Graph> graph_;
    
        // Which device are these nodes on? Used to assign a device to the call
        // node.
        string device_;
    
        // NodeDef for the function call node.
        NodeDef call_node_def_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    			name: "The first pod of the collection can only be scheduled on nodes labelled with the requested topology keys",
    		},
    		{
    			pod: st.MakePod().Namespace(defaultNamespace).PodAntiAffinityIn("foo", "region", []string{"abc"}, st.PodAntiAffinityWithRequiredReq).Obj(),
    			pods: []*v1.Pod{
    				st.MakePod().Node("nodeA").Labels(map[string]string{"foo": "abc"}).Obj(),
    			},
    			nodes: []*v1.Node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/deadness_analysis.cc

    // back to a pessimistic analysis.  The optimistic analysis assigns the same
    // symbolic predicate to all the merge nodes whose preceding enter nodes have
    // the same frame name on the first iteration.  On the second iteration, if all
    // the merge nodes are pattern matched into the same AndRecurrence predicate
    // instance, the optimistic assignment of the same symbolic predicate is correct
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    			logger.Info("Controller detected that some Nodes are Ready. Exiting master disruption mode")
    			// When exiting disruption mode update probe timestamps on all Nodes.
    			now := nc.now()
    			for i := range nodes {
    				v := nc.nodeHealthMap.getDeepCopy(nodes[i].Name)
    				v.probeTimestamp = now
    				v.readyTransitionTimestamp = now
    				nc.nodeHealthMap.set(nodes[i].Name, v)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			nodes:    []string{"node1"},
    			expected: false,
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			logger, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    			var nodes []*v1.Node
    			for _, n := range test.nodes {
    				nodes = append(nodes, st.MakeNode().Name(n).Obj())
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    }
    
    std::optional<string> MarkForCompilationPassImpl::GetXlaScope(Node* node) {
      // Look for either _XlaScope or _XlaInternalScope on both nodes to guide
      // clustering.  If both nodes have a scope and the scopes do not match, do
      // not cluster along this edge.  If even one of the nodes lacks a scope
      // attribute, then it is treated as a "bridge" and a cluster may be created
      // along it.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top