Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 711 for recurse (0.15 sec)

  1. src/encoding/asn1/marshal.go

    }
    
    func makeField(v reflect.Value, params fieldParameters) (e encoder, err error) {
    	if !v.IsValid() {
    		return nil, fmt.Errorf("asn1: cannot marshal nil value")
    	}
    	// If the field is an interface{} then recurse into it.
    	if v.Kind() == reflect.Interface && v.Type().NumMethod() == 0 {
    		return makeField(v.Elem(), params)
    	}
    
    	if v.Kind() == reflect.Slice && v.Len() == 0 && params.omitEmpty {
    		return bytesEncoder(nil), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. pkg/util/iptree/iptree.go

    func recursiveWalk[T any](n *node[T], fn WalkFn[T]) bool {
    	if n == nil {
    		return true
    	}
    	// Visit the public values if any
    	if n.public && fn(n.prefix, n.val) {
    		return true
    	}
    
    	// Recurse on the children
    	if n.child[0] != nil {
    		if recursiveWalk(n.child[0], fn) {
    			return true
    		}
    	}
    	if n.child[1] != nil {
    		if recursiveWalk(n.child[1], fn) {
    			return true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    //     updates failed on conflict errors and we have retries left, re-get the failed quota from our cache for the latest version
    //     and recurse into this method with the subset.  It's safe for us to evaluate ONLY the subset, because the other quota
    //     documents for these waiters have already been evaluated.  Step 1, will mark all the ones that should already have succeeded.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. hack/update-codegen.sh

    #       false: never generate a defaulter for this type
    #     on functions:
    #       covers: if the function name matches SetDefault_NAME, instructs
    #               the generator not to recurse
    #     on packages:
    #       FIELDNAME: any object with a field of this name is a candidate
    #                  for having a defaulter generated
    function codegen::defaults() {
        # Build the tool.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
          ExampleStackTrace found = allowedPriorLocks.get(node);
          if (found != null) {
            return found; // Found a path ending at the node!
          }
          // Recurse the edges.
          for (Entry<LockGraphNode, ExampleStackTrace> entry : allowedPriorLocks.entrySet()) {
            LockGraphNode preAcquiredLock = entry.getKey();
            found = preAcquiredLock.findPathTo(node, seen);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
          ExampleStackTrace found = allowedPriorLocks.get(node);
          if (found != null) {
            return found; // Found a path ending at the node!
          }
          // Recurse the edges.
          for (Entry<LockGraphNode, ExampleStackTrace> entry : allowedPriorLocks.entrySet()) {
            LockGraphNode preAcquiredLock = entry.getKey();
            found = preAcquiredLock.findPathTo(node, seen);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  7. src/regexp/syntax/parse.go

    }
    
    // removeLeadingRegexp removes the leading regexp in re.
    // It returns the replacement for re.
    // If reuse is true, it passes the removed regexp (if no longer needed) to p.reuse.
    func (p *parser) removeLeadingRegexp(re *Regexp, reuse bool) *Regexp {
    	if re.Op == OpConcat && len(re.Sub) > 0 {
    		if reuse {
    			p.reuse(re.Sub[0])
    		}
    		re.Sub = re.Sub[:copy(re.Sub, re.Sub[1:])]
    		switch len(re.Sub) {
    		case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    	}
    
    	errs, remainingBudget = s.validateExpressions(ctx, fldPath, obj, oldObj, correlation, remainingBudget)
    
    	if remainingBudget < 0 {
    		return errs, remainingBudget
    	}
    
    	// If the schema has allOf, recurse through those elements to see if there
    	// are any validation rules that need to be evaluated.
    	for _, allOfValidator := range s.AllOfValidators {
    		var allOfErrs field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/defaults_test.go

    				if strings.HasPrefix(visit.path, ".ObjectMeta.ManagedFields[") {
    					break
    				}
    				// if we don't already have a value, and contain structs, add an empty item so we can recurse
    				item := reflect.New(visit.value.Type().Elem()).Elem()
    				visit.value.Set(reflect.Append(visit.value, item))
    				toVisit = append(toVisit, testPath{path: visit.path + "[0]", value: visit.value.Index(0)})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

        enter_builder.Input(node, 0);
        Node* enter_node = options.FinalizeBuilder(&enter_builder);
        // Adopt the new Enter node as the value in the current frame.
        node = enter_node;
        // Recurse to the parent frame to see if more Enter nodes need to be added.
        src_node = control_flow_info[src_node->id()].parent_frame;
      }
      return node;
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
Back to top