Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for currentNode (0.17 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    		// provide size estimates when that happens
    		return nil
    	}
    	currentNode := c.root
    	// cut off "self" from path, since we always start there
    	for _, name := range element.Path()[1:] {
    		switch name {
    		case "@items", "@values":
    			if currentNode.ElemType == nil {
    				return nil
    			}
    			currentNode = currentNode.ElemType
    		case "@keys":
    			if currentNode.KeyType == nil {
    				return nil
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. operator/pkg/translate/translate.go

    	}
    
    	patchObj := make(map[string]any)
    	var currentNode, nextNode any
    	nextNode = patchObj
    	for i, pe := range path {
    		currentNode = nextNode
    		// last path element
    		if i == length-1 {
    			currentNode, ok := currentNode.(map[string]any)
    			if !ok {
    				return nil, fmt.Errorf("path %s has an unexpected non KV element %s", path, pe)
    			}
    			currentNode[pe] = node
    			break
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java

            if (previousTaskNode.getShouldSuccessors().contains(node)) {
                walkedShouldRunAfterEdges.push(new GraphEdge(previous, node));
            }
        }
    
        private void onOrderingCycle(Node successor, Node currentNode) {
            List<Set<Node>> cycles = findCycles(successor);
            if (cycles.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/cache/cache.go

    			// The pod was added to a different node than it was assumed to.
    			logger.Info("Pod was added to a different node than it was assumed", "podKey", key, "pod", klog.KObj(pod), "assumedNode", klog.KRef("", pod.Spec.NodeName), "currentNode", klog.KRef("", currState.pod.Spec.NodeName))
    			return nil
    		}
    	case !ok:
    		// Pod was expired. We should add it back.
    		if err = cache.addPod(logger, pod, false); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/controller.go

    		c.Lock()
    		// check if the node exists as this add event could be due to controller resync
    		// if the stored object changes, then fire an update event. Otherwise, ignore this event.
    		currentNode, exists := c.nodeInfoMap[node.Name]
    		if !exists || !nodeEquals(currentNode, k8sNode) {
    			c.nodeInfoMap[node.Name] = k8sNode
    			updatedNeeded = true
    		}
    		c.Unlock()
    	}
    
    	// update all related services
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      // object names as we go.
      int node_id = 0;
      const SavedObject* current_node = &nodes.Get(node_id);
    
      for (absl::string_view object_name : absl::StrSplit(path, '.')) {
        auto child_node_iter = std::find_if(
            current_node->children().begin(), current_node->children().end(),
            [object_name](
                const TrackableObjectGraph::TrackableObject::ObjectReference& obj) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	for {
    		currentPod := p.startingPod
    		if p.numUpdates > 0 {
    			currentPod = p.updatePod
    		}
    		p.numUpdates++
    
    		// Remember the current resource version
    		currentResourceVersion := currentPod.ResourceVersion
    
    		obj, err := objInfo.UpdatedObject(ctx, currentPod)
    		if err != nil {
    			return nil, false, err
    		}
    		inPod := obj.(*example.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

      if (node_id >= nodes.size()) {
        return errors::OutOfRange(
            "node_id ", node_id,
            " not found.  Maximum node ID: ", nodes.size() - 1);
      }
      const SavedObject* current_node = &nodes.Get(node_id);
      for (const auto& child : current_node->children()) {
        ConcreteFunction* concrete_fn;
        Status status = GetFunction(child.local_name(), &concrete_fn);
        if (status.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. pkg/controller/daemon/update_test.go

    	clearExpectations(t, manager, ds, podControl)
    	expectSyncDaemonSets(t, manager, ds, podControl, 3, 0, 0)
    
    	hash, err := currentDSHash(manager, ds)
    	if err != nil {
    		t.Fatal(err)
    	}
    	currentPods := podsByNodeMatchingHash(manager, hash)
    	// mark two updated pods as ready at time 300
    	setPodReadiness(t, manager, true, 2, func(pod *v1.Pod) bool {
    		return pod.Labels[apps.ControllerRevisionHashLabelKey] == hash
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go

    type TIPCSIOCNodeIDReq struct {
    	Peer uint32
    	Id   [16]int8
    }
    
    type PPSKInfo struct {
    	Assert_sequence uint32
    	Clear_sequence  uint32
    	Assert_tu       PPSKTime
    	Clear_tu        PPSKTime
    	Current_mode    int32
    	_               [4]byte
    }
    
    const (
    	PPS_GETPARAMS = 0x800870a1
    	PPS_SETPARAMS = 0x400870a2
    	PPS_GETCAP    = 0x800870a3
    	PPS_FETCH     = 0xc00870a4
    )
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top