- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 269 for walkIf (0.22 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package schema // Visitor recursively walks through a structural schema. type Visitor struct { // Structural is called on each Structural node in the schema, before recursing into // the subtrees. It is allowed to mutate s. Return true if something has been changed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/groovy/build.gradle
scm 'some:unresolved:2.5' } // tag::walk-task[] tasks.register('walkDependencyGraph', DependencyGraphWalk) { dependencies = configurations.scm.incoming } abstract class DependencyGraphWalk extends DefaultTask { @Input abstract Property<ResolvableDependencies> getDependencies() @TaskAction void 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) -
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) -
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) -
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)