- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 624 for walkIf (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/name_anonymous_iterators.cc
return count; } void NameAnonymousIteratorsPass::runOnOperation() { int count = 1; getOperation().walk( [&](TF::AnonymousIteratorOp op) { count = replace(op, count); }); getOperation().walk( [&](TF::AnonymousIteratorV2Op op) { count = replace(op, count); }); getOperation().walk( [&](TF::AnonymousIteratorV3Op op) { count = replace(op, count); }); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 2.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/kotlin/build.gradle.kts
scm("some:unresolved:2.5") } // tag::walk-task[] tasks.register<DependencyGraphWalk>("walkDependencyGraph") { dependencies = configurations["scm"].incoming } abstract class DependencyGraphWalk: DefaultTask() { @get:Input abstract val dependencies: Property<ResolvableDependencies> @TaskAction fun walk() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list.go
// additional latency aggregated from all requests in this queue. QueueSum() queueSum // Walk iterates through the list in order of oldest -> newest // and executes the specified walkFunc for each request in that order. // // if the specified walkFunc returns false the Walk function // stops the walk an returns immediately. Walk(walkFunc) } // the FIFO list implementation is not safe for concurrent use by multiple
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:05:53 UTC 2021 - 3.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/doc.go
// Package tests defines an Analyzer that checks for common mistaken // usages of tests and examples. // // # Analyzer tests // // tests: check for common mistaken usages of tests and examples // // The tests checker walks Test, Benchmark, Fuzzing and Example functions checking // malformed names, wrong signatures and examples documenting non-existent // identifiers. // // Please see the documentation for package testing in golang.org/pkg/testing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 703 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/drop_while_shape_invariant.cc
op->removeAttr(kShapeInvariantAttr); } void DropWhileShapeInvariantPass::runOnOperation() { getOperation().walk([](Operation* op) { DropWhileShapeInvariantAttr(op); }); } void DropWhileShapeInvariantInDeviceClusterPass::runOnOperation() { getOperation().walk([](tf_device::ClusterOp cluster) { cluster.walk([](Operation* op) { DropWhileShapeInvariantAttr(op); }); }); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 2.4K bytes - Viewed (0) -
test/escape_calls.go
g(&f(x[:])[0]) } type Node struct { s string left, right *Node } func walk(np **Node) int { // ERROR "leaking param content: np" n := *np w := len(n.s) if n == nil { return 0 } wl := walk(&n.left) wr := walk(&n.right) if wl < wr { n.left, n.right = n.right, n.left // ERROR "ignoring self-assignment" wl, wr = wr, wl } *np = n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 22:06:07 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/patches/patches.go
} patches = append(patches, string(patchJSON)) } return &patchSet{ targetName: targetName, patchType: patchType, patches: patches, }, nil } // getPatchSetsFromPath walks a path, ignores sub-directories and non-patch files, and // returns a list of patchFile objects. func getPatchSetsFromPath(targetPath string, knownTargets []string, output io.Writer) ([]*patchSet, []string, []string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 10.2K bytes - Viewed (0) -
src/runtime/unsafe.go
panicunsafestringlen() } if uintptr(len) > -uintptr(ptr) { if ptr == nil { panicunsafestringnilptr() } panicunsafestringlen() } } // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeString func unsafestring64(ptr unsafe.Pointer, len64 int64) { len := int(len64) if int64(len) != len64 { panicunsafestringlen() } unsafestring(ptr, len) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:51:18 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/bean/PropertyWalker.java
import org.gradle.internal.reflect.validation.TypeValidationContext; import org.gradle.internal.service.scopes.Scope; import org.gradle.internal.service.scopes.ServiceScope; /** * Walks properties declared by the type. */ @ServiceScope(Scope.Global.class) public interface PropertyWalker { void visitProperties(Object instance, TypeValidationContext validationContext, PropertyVisitor visitor);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/fix/cftype.go
return false } typeof, _ := typecheck(&TypeConfig{}, f) changed := false // step 1: Find all the nils with the offending types. // Compute their replacement. badNils := map[any]ast.Expr{} walk(f, func(n any) { if i, ok := n.(*ast.Ident); ok && i.Name == "nil" && badType(typeof[n]) { badNils[n] = &ast.BasicLit{ValuePos: i.NamePos, Kind: token.INT, Value: "0"} } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:25:49 UTC 2023 - 3.5K bytes - Viewed (0)