- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for findHash (0.21 sec)
-
src/cmd/go/proxy_test.go
if m.Path == path && semver.Compare(best, m.Version) < 0 { var hash string if module.IsPseudoVersion(m.Version) { hash = m.Version[strings.LastIndex(m.Version, "-")+1:] } else { hash = findHash(m) } if strings.HasPrefix(hash, vers) || strings.HasPrefix(vers, hash) { best = m.Version } } } if best != "" { vers = best } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 03 09:56:24 UTC 2023 - 12K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/AggregateMultiProjectTaskReportModelTest.groovy
TaskDetails task1 = taskDetails(':task') TaskDetails task2 = taskDetails(':other') TaskDetails task3 = taskDetails(':sub:task') _ * task1.findTask(_) >> Mock(Task) _ * task2.findTask(_) >> Mock(Task) _ * task3.findTask(_) >> Mock(Task) TaskReportModel project1 = Mock() TaskReportModel project2 = Mock() _ * project1.groups >> (['group'] as LinkedHashSet)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 31 16:45:11 UTC 2022 - 5.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingTaskExecutionGraph.kt
} override fun whenReady(action: Action<TaskExecutionGraph>) { delegate.whenReady(action.wrap()) } override fun findTask(path: String?): Task? { return delegate.findTask(path).also { task -> if (task == null) { // check whether the path refers to a different project val parentPath = path?.let(Path::path)?.parent?.path
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/initorder.go
for _, init := range check.Info.InitOrder { fmt.Printf("\t%s\n", init) } fmt.Println() } } // findPath returns the (reversed) list of objects []Object{to, ... from} // such that there is a path of object dependencies from 'from' to 'to'. // If there is no such path, the result is nil. func findPath(objMap map[Object]*declInfo, from, to Object, seen map[Object]bool) []Object { if seen[from] { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 22:06:51 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/initorder.go
for _, init := range check.Info.InitOrder { fmt.Printf("\t%s\n", init) } fmt.Println() } } // findPath returns the (reversed) list of objects []Object{to, ... from} // such that there is a path of object dependencies from 'from' to 'to'. // If there is no such path, the result is nil. func findPath(objMap map[Object]*declInfo, from, to Object, seen map[Object]bool) []Object { if seen[from] { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
* @see IntStream#findFirst() * @throws NullPointerException if the last element of the stream is null */ public static OptionalInt findLast(IntStream stream) { // findLast(Stream) does some allocation, so we might as well box some more java.util.Optional<Integer> boxedLast = findLast(stream.boxed()); return boxedLast.map(OptionalInt::of).orElse(OptionalInt.empty()); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 36.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/taskgraph/TaskExecutionGraphInternal.java
* @param path the path of the task to find in the task graph * @return the task with the given path if it is present in the task graph, null otherwise */ @Nullable Task findTask(String path); /** * Attaches the work that this graph will run. Fires events and no further tasks should be added. */ void populate(FinalizedExecutionPlan plan); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 19:05:29 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/go/internal/mvs/graph.go
queue = append(queue, r) enqueued[r] = true } } } } // FindPath reports a shortest requirement path starting at one of the roots of // the graph and ending at a module version m for which f(m) returns true, or // nil if no such path exists. func (g *Graph) FindPath(f func(module.Version) bool) []module.Version { // firstRequires[a] = b means that in a breadth-first traversal of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 02:52:19 UTC 2023 - 6.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
var restCapacity = expectedBucketSize - toIntFunction(largestElement) while (restCapacity > 0 && list.isNotEmpty() && buckets.size < maxNumberInBucket) { val smallestElement = list.findLast { searched -> buckets.all { canRunTogether(it, searched) } } ?: break list.remove(smallestElement) buckets.add(smallestElement) restCapacity -= toIntFunction(smallestElement) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 17 05:17:44 UTC 2022 - 4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 15.2K bytes - Viewed (0)