Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 265 for FlatMap (0.12 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolver/AbstractResolveReferenceTest.kt

        }
    
        protected fun collectElementsToResolve(
            carets: List<CaretMarker>,
            file: KtFile,
        ): Collection<ResolveTestCaseContext<KtReference?>> = carets.flatMap<CaretMarker, ResolveTestCaseContext<KtReference?>> { caret ->
            val marker = caret.fullTag
            val contexts: List<ResolveTestCaseContext<KtReference?>> = findReferencesAtCaret(file, caret.offset).map { reference ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 19:03:01 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    ) : Project({
        id(asDocsTestId(model, os))
        name = "Docs Test - ${testJava.version.name.toCapitalized()} ${os.asName()}"
    }) {
        val docsTests: List<BaseGradleBuildType>
    
        init {
            docsTests = testTypes.flatMap {
                listOf(
                    DocsTest(model, stage, os, testJava, 1, it, INCLUDE, listOf("org.gradle.docs.samples.Bucket1SnippetsTest=docsTest")),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/settings/SettingsBlockCheckTest.kt

                .trace
            val document = languageModel.toDocument()
            val resolution = resolutionContainer(analysisSchema, trace, document)
            return documentChecks.flatMap { it.detectFailures(document, resolution) }
        }
    
        private
        val documentChecks = listOf(SettingsBlocksCheck)
    
        private
        val pluginManagementSchema = pluginManagementEvaluationSchema()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/RemovePreviousOutputsStep.java

            if (!context.isIncrementalExecution()) {
                if (work.shouldCleanupOutputsOnNonIncrementalExecution()) {
                    boolean hasOverlappingOutputs = context.getBeforeExecutionState()
                        .flatMap(BeforeExecutionState::getDetectedOverlappingOutputs)
                        .isPresent();
                    if (hasOverlappingOutputs) {
                        cleanupOverlappingOutputs(context, work);
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/UntrackedTaskIntegrationTest.groovy

                    outputDir = project.layout.buildDirectory.dir("root")
                }
                tasks.register("consumer", Consumer) {
                    inputDir = producer.flatMap { it.outputDir }
                    outputFile = project.layout.buildDirectory.file("output.txt")
                }
            """)
    
            expect:
            succeeds("consumer", "--info")
    
            cleanup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 23 08:05:53 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

        public DefaultTypeRegistry(
                List<TypeProvider> providers, LanguageRegistry languageRegistry, LegacyArtifactHandlerManager manager) {
            this.types = nonNull(providers, "providers").stream()
                    .flatMap(p -> p.provides().stream())
                    .collect(Collectors.toMap(Type::id, identity()));
            this.languageRegistry = nonNull(languageRegistry, "languageRegistry");
            this.usedTypes = new ConcurrentHashMap<>();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

                    .let(providers::fileContents)
                    .asText
            }
        }
    
    
    fun isRunningInstallTask() =
        listOf("install", "installAll")
            .flatMap { listOf(":distributions-full:$it", "distributions-full:$it", it) }
            .any(gradle.startParameter.taskNames::contains)
    
    fun isRunningDocsTestTask() =
        setOf(":docs:docsTest", "docs:docsTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. build-logic/packaging/src/main/kotlin/gradlebuild/instrumentation/tasks/InstrumentedSuperTypesMergeTask.kt

         */
        private
        fun findInstrumentedClasses(): Set<String> {
            return instrumentationMetadataDirs
                .map { it.resolve(INSTRUMENTED_CLASSES_FILE) }
                .filter { it.exists() }
                .flatMap { it.readLines() }
                .toSet()
        }
    
        private
        fun mergeSuperTypes(): Map<String, Set<String>> {
            // Merge all super types files into a single map
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:00:26 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/codegen/FunctionSinceRepository.kt

        fun since(functionSignature: String): String? {
    
            val javaFunction = parsedJavaFunctionOf(functionSignature)
    
            val matchingType = builder.sources
                .flatMap { it.classes }
                .singleOrNull { javaFunction.typeName == it.binaryName }
                ?: throw IllegalArgumentException("Class for function '$functionSignature' not found in since repository! See FunctionSinceRepository.kt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    Factories;;
    * link:{javadocPath}/org/gradle/api/provider/Provider.html#map-org.gradle.api.Transformer-[Provider.map(Transformer)].
    * link:{javadocPath}/org/gradle/api/provider/Provider.html#flatMap-org.gradle.api.Transformer-[Provider.flatMap(Transformer)].
    * link:{javadocPath}/org/gradle/api/file/DirectoryProperty.html#file-java.lang.String-[DirectoryProperty.file(String)]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top