- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 599 for walkFn (0.17 sec)
-
subprojects/core/src/test/groovy/org/gradle/internal/classpath/ClasspathWalkerTest.groovy
@Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(ClasspathWalkerTest.class) def walker = new ClasspathWalker(TestFiles.fileSystem()) def "skips missing file"() { def visitor = Mock(ClasspathEntryVisitor) when: walker.visit(tmpDir.file("missing"), visitor) then: 0 * visitor._ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
"cmd/compile/internal/types" "cmd/internal/obj" "cmd/internal/src" ) // walkSwitch walks a switch statement. func walkSwitch(sw *ir.SwitchStmt) { // Guard against double walk, see #25776. if sw.Walked() { return // Was fatal, but eliminating every possible source of double-walking is hard } sw.SetWalked(true) if sw.Tag != nil && sw.Tag.Op() == ir.OTYPESW { walkSwitchType(sw) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
// Walk the input and output dependencies of the Ops in `operations` to form // the closer of Ops needed to evaluate 'operations'. Input dependencies are // walked if 'predecessors' is true and output dependencies are walked if // 'successors' is true. In either case, if a discoverd Op is in the // 'ops_to_avoid' set, then the dependency walking is terminated.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/CachingTaskDependencyResolveContext.java
private final Deque<Object> queue = new ArrayDeque<Object>(); private final CachingDirectedGraphWalker<Object, T> walker; private Task task; public CachingTaskDependencyResolveContext(Collection<? extends WorkDependencyResolver<T>> workResolvers) { this.walker = new CachingDirectedGraphWalker<>(new TaskGraphImpl(workResolvers)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:48:26 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitFileRepository.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/openapi/enablement.go
orig := &def.Schema if ret := pruneEnums(orig); ret != orig { def.Schema = *ret defs[gvk] = def } } } } func pruneEnums(schema *spec.Schema) *spec.Schema { walker := schemamutation.Walker{ SchemaCallback: func(schema *spec.Schema) *spec.Schema { orig := schema clone := func() { if orig == schema { // if schema has not been mutated yet schema = new(spec.Schema)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 06 17:24:29 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/CachingDependencyResolveContext.java
} public Map<String, String> getAttributes() { return attributes; } public FileCollection resolve() { try { walker.add(queue); return new UnionFileCollection(taskDependencyFactory, walker.findValues()); } finally { queue.clear(); } } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:16:36 UTC 2024 - 3.3K bytes - Viewed (0) -
src/text/template/exec.go
truth, ok := isTrue(indirectInterface(val)) if !ok { s.errorf("if/with can't use %v", val) } if truth { if typ == parse.NodeWith { s.walk(val, list) } else { s.walk(dot, list) } } else if elseList != nil { s.walk(dot, elseList) } } // IsTrue reports whether the value is 'true', in the sense of not the zero of its type,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TaskPropertyTestUtils.groovy
GetInputFilesVisitor visitor = new GetInputFilesVisitor(task.toString(), fileCollectionFactory) def walker = task.getServices().get(PropertyWalker) TaskPropertyUtils.visitProperties(walker, task, visitor) return new CompositeFileCollection() { @Override String getDisplayName() { return task + " input files"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 15 21:15:57 UTC 2022 - 2.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/AbstractTaskInputsAndOutputsTest.groovy
def visitor = new GetInputPropertiesVisitor() TaskPropertyUtils.visitProperties(walker, task, visitor) return visitor.properties.collectEntries { [it.propertyName, InputParameterUtils.prepareInputParameterValue(it.value)] } } def inputFileProperties() { def inputFiles = [:] TaskPropertyUtils.visitProperties(walker, task, new PropertyVisitor() { @Override void visitInputFileProperty(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 4.6K bytes - Viewed (0)