- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 265 for FlatMap (0.21 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r82/FetchRootProjectsTasks.java
public class FetchRootProjectsTasks implements BuildAction<List<Task>> { @Override public List<Task> execute(BuildController controller) { return controller.getBuildModel().getEditableBuilds().stream() .flatMap(build -> controller.getModel(build.getRootProject(), GradleProject.class).getTasks().stream()) .collect(toList()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 13 08:21:57 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt
val discoveredCollectorDeclarations: List<DependencyCollectorDeclaration> = kClass.memberFunctions .filter { function -> hasDependencyCollectorGetterSignature(kClass, function) } .flatMap { function -> val name = dependencyCollectorNameFromGetterName(function.name) expandToOverloads { param -> DependencyCollectorDeclaration(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:07 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/LoadPreviousExecutionStateStep.java
} @Override public R execute(UnitOfWork work, C context) { Identity identity = context.getIdentity(); PreviousExecutionState previousExecutionState = context.getHistory() .flatMap(history -> history.load(identity.getUniqueId())) .orElse(null); R result = delegate.execute(work, new PreviousExecutionContext(context, previousExecutionState));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:29 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStep.java
this.delegate = delegate; } @Override protected Optional<HashCode> getPreviousCacheKeyIfApplicable(C context) { return context.getChanges() .flatMap(changes -> context.getPreviousExecutionState() .filter(__ -> changes.getChangeDescriptions().isEmpty()) .map(PreviousExecutionState::getCacheKey)); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 08:29:47 UTC 2024 - 2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
private val buckets: Map<TestCoverage, List<BuildTypeBucket>> by lazy { val uuidToTestCoverage = model.stages.flatMap { it.functionalTests }.associateBy { it.uuid } val testCoverageAndBuckets = JSON.parseArray(testBucketsJson.readText()) as JSONArray testCoverageAndBuckets.associate { testCoverageAndBucket ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 05:14:09 UTC 2024 - 9K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/BindingInitializer.java
public static <T> BindingInitializer<T> combine(List<BindingInitializer<T>> bindingInitializers) { Set<Key<?>> deps = bindingInitializers.stream() .map(BindingInitializer::getDependencies) .flatMap(Collection::stream) .collect(toSet()); return new BindingInitializer<T>(deps) { @Override public Consumer<T> compile(Function<Key<?>, Supplier<?>> compiler) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 2.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
val pairs = durations.flatMap { it -> val scenarioDurations = it as JSONObject val scenario = Scenario.fromTestId(scenarioDurations["scenario"] as String) (scenarioDurations["durations"] as JSONArray).flatMap { val duration = it as JSONObject val testProject = duration["testProject"] as String
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 19 11:22:56 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java
} private PatternSet getNewGeneratedClasses(ApiCompilerResult result) { PatternSet filesToDelete = fileOperations.patternSet(); result.getSourceClassesMapping().values().stream() .flatMap(Collection::stream) .forEach(className -> { filesToDelete.include(className.replace(".", "/").concat(".class")); filesToDelete.include(className.replaceAll("[.$]", "_").concat(".h"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 13.3K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts
isTransitive = false extendsFrom(manifestClasspath.get()) configureAsRuntimeJarClasspath(objects) } tasks.jar.configure { val classpath = resolveManifestClasspath.flatMap { configuration -> configuration.elements.map { classpathDependency -> classpathDependency.joinToString(" ") { it.asFile.name } } } manifest.attributes("Class-Path" to classpath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 11:35:55 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java
* the {@code Try} representing the original failure. * * Exceptions thrown by the given function are propagated. */ public abstract <U> Try<U> flatMap(Function<? super T, Try<U>> f); /** * If the represented operation was successful, returns the result of applying the given * mapping function to the value, otherwise returns
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 10.3K bytes - Viewed (0)