- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 276 for recurse (0.14 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
// similar to ast.Inspect except it does not call f(nil). func WalkASTWithParent(n ast.Node, f func(n ast.Node, parent ast.Node) bool) { var ancestors []ast.Node ast.Inspect(n, func(n ast.Node) (recurse bool) { if n == nil { ancestors = ancestors[:len(ancestors)-1] return false } var parent ast.Node if len(ancestors) > 0 { parent = ancestors[len(ancestors)-1] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
operator/pkg/verifier/verifier.go
} } r := builder.Flatten().Do() if r.Err() != nil { return 0, 0, 0, r.Err() } visitor := genericclioptions.ResourceFinderForResult(r).Do() // Indirectly RECURSE back into verifyPostInstall with the manifest we just generated generatedCrds, generatedDeployments, generatedDaemonSets, err := v.verifyPostInstall( visitor, fmt.Sprintf("generated from %s", filename)) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
err := filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { if err != nil { return err } // If we encounter a directory, recurse only if the --recursive option // was provided and the directory is not the same as dir. if info.IsDir() { if !recursive && dir != path { return filepath.SkipDir } return nil } if !isValidFile(path) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 17K bytes - Viewed (0) -
tests/integration/pilot/analyze_test.go
}) istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{}) // Recursive is false, so we should only analyze // testdata/some-dir/missing-gateway.yaml and get a // SchemaValidationError (if we did recurse, we'd get a // UnknownAnnotation as well). output, err := istioctlSafe(t, istioCtl, ns.Name(), false, "--recursive=false", dirWithConfig) expectMessages(t, g, output, msg.SchemaValidationError)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 16.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
assert(input_axis < input_indices->size()); input_indices->operator[](input_axis) = static_cast<uint64_t>(i); // Write the value from `input_tensor` if it is the last axis or // recurse into the next axis. const bool is_last_axis = output_axis == num_dimensions - 1; if (is_last_axis) { new_values->push_back( input_tensor.getValues<Attribute>()[*input_indices]);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
public <T extends @Nullable Object> T[] toArray(T[] array) { return snapshot().toArray(array); } /* * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but * either of these would recurse back to us again! */ private List<E> snapshot() { List<E> list = Lists.newArrayListWithExpectedSize(size()); for (Multiset.Entry<E> entry : entrySet()) { E element = entry.getElement();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
public <T extends @Nullable Object> T[] toArray(T[] array) { return snapshot().toArray(array); } /* * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but * either of these would recurse back to us again! */ private List<E> snapshot() { List<E> list = Lists.newArrayListWithExpectedSize(size()); for (Multiset.Entry<E> entry : entrySet()) { E element = entry.getElement();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/volume/util/atomic_writer.go
if err != nil { klog.Errorf("%s: unable to create new temp directory: %v", w.logContext, err) return "", err } // 0755 permissions are needed to allow 'group' and 'other' to recurse the // directory tree. do a chmod here to ensure that permissions are set correctly // regardless of the process' umask. err = os.Chmod(tsDir, 0755) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 16.6K bytes - Viewed (0) -
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) -
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)