Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 265 for FlatMap (0.12 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactory.java

                moduleIdSetsExcludes = ImmutableList.of(delegate.moduleIdSet(moduleIdSetsExcludes.stream().flatMap(e -> e.getModuleIds().stream()).collect(toSet())));
            }
            if (groupSetExcludes.size() > 1) {
                groupSetExcludes = ImmutableList.of(delegate.groupSet(groupSetExcludes.stream().flatMap(e -> e.getGroups().stream()).collect(toSet())));
            }
            if (moduleSetExcludes.size() > 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                is ErrorType -> return emptyList()
                is CapturedType -> return type.constructor.supertypes.flatMap { getUpperBounds(it) }
                is NewCapturedType -> return type.constructor.supertypes.flatMap { getUpperBounds(it) }
                is SimpleType -> {
                    val typeParameterDescriptor = TypeUtils.getTypeParameterDescriptorOrNull(type)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. .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)
  7. .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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            def transformer = Mock(Transformer)
    
            given:
            def provider = providerWithValue(someValue())
    
            when:
            def mapped = provider.flatMap(transformer)
    
            then:
            0 * _
    
            when:
            def present = mapped.present
    
            then:
            present
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
Back to top