Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for nodeEnd (0.18 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    	visit = func(node ast.Node) bool {
    		path = append(path, node)
    
    		nodePos := node.Pos()
    		nodeEnd := node.End()
    
    		// fmt.Printf("visit(%T, %d, %d)\n", node, nodePos, nodeEnd) // debugging
    
    		// Intersect [start, end) with interval of node.
    		if start < nodePos {
    			start = nodePos
    		}
    		if end > nodeEnd {
    			end = nodeEnd
    		}
    
    		// Find sole child that contains [start, end).
    		children := childrenOf(node)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. src/text/template/parse/parse.go

    				newT.ParseName = t.ParseName
    				newT.startParse(t.funcs, t.lex, t.treeSet)
    				newT.parseDefinition()
    				continue
    			}
    			t.backup2(delim)
    		}
    		switch n := t.textOrAction(); n.Type() {
    		case nodeEnd, nodeElse:
    			t.errorf("unexpected %s", n)
    		default:
    			t.Root.append(n)
    		}
    	}
    }
    
    // parseDefinition parses a {{define}} ...  {{end}} template definition and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	for _, n := range fns {
    		lineno := n.Info.Lineno
    		nodeStart := n.Info.StartLine
    		if nodeStart == 0 {
    			nodeStart = lineno - margin
    		}
    		nodeEnd := lineno + margin
    		if nodeStart < start {
    			start = nodeStart
    		} else if nodeEnd > end {
    			end = nodeEnd
    		}
    		lineNodes[lineno] = append(lineNodes[lineno], n)
    	}
    	if start < 1 {
    		start = 1
    	}
    
    	var src graph.Nodes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. src/text/template/parse/node.go

    	NodeCommand                    // An element of a pipeline.
    	NodeDot                        // The cursor, dot.
    	nodeElse                       // An else action. Not added to tree.
    	nodeEnd                        // An end action. Not added to tree.
    	NodeField                      // A field or method name.
    	NodeIdentifier                 // An identifier; always a function name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/image/png/testdata/invalid-noend.png

    invalid-noend.png...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.2K bytes
    - Viewed (0)
  6. pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go

    			t.Errorf("error getting CSINode: %v", err)
    			continue
    		}
    
    		driver := nodeInfo.Spec.Drivers[0]
    		if driver.Name != driverName || driver.NodeID != nodeID {
    			t.Errorf("expected Driver to be %q and NodeID to be %q, but got: %q:%q", driverName, nodeID, driver.Name, driver.NodeID)
    		}
    	}
    }
    
    func getClientSet(existingNode *v1.Node, existingCSINode *storage.CSINode) *fake.Clientset {
    	objects := []runtime.Object{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 17 02:02:59 UTC 2022
    - 34.3K bytes
    - Viewed (0)
  7. pkg/volume/csi/nodeinfomanager/nodeinfomanager.go

    	}
    
    	nodeInfo := &storagev1.CSINode{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: string(nim.nodeName),
    			OwnerReferences: []metav1.OwnerReference{
    				{
    					APIVersion: nodeKind.Version,
    					Kind:       nodeKind.Kind,
    					Name:       node.Name,
    					UID:        node.UID,
    				},
    			},
    		},
    		Spec: storagev1.CSINodeSpec{
    			Drivers: []storagev1.CSINodeDriver{},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/object_graph_traversal_test.cc

    constexpr absl::string_view kMultiplePathsToChild = R"(
    nodes {
      children {
        node_id: 1
        local_name: "foo"
      }
      children {
        node_id: 2
        local_name: "bar"
      }
      children {
        node_id: 3
        local_name: "signatures"
      }
      user_object {
        identifier: "_generic_user_object"
        version {
          producer: 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 20:15:34 UTC 2020
    - 7.9K bytes
    - Viewed (0)
  9. plugin/pkg/admission/noderestriction/admission_test.go

    			attributes: admission.NewAttributesRecord(mynodeObj, nil, nodeKind, mynodeObj.Namespace, mynodeObj.Name, nodeResource, "", admission.Create, &metav1.CreateOptions{}, false, mynode),
    			err:        "",
    		},
    		{
    			name:       "allow create of my node pulling name from object",
    			podsGetter: noExistingPods,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

    }
    
    // Retrieves the TensorHandle associated with `node_id` from `obj_graph`, and
    // set `*handle` to point to it.
    Status TensorHandleFromNode(int node_id, const SavedObjectGraph& obj_graph,
                                const PartiallyRevivedObjects& objects,
                                ImmediateExecutionTensorHandle** handle) {
      const SavedObject& node = obj_graph.nodes(node_id);
      SavedObject::KindCase kind = node.kind_case();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
Back to top