Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for flatMap (0.19 sec)

  1. guava/src/com/google/common/collect/CollectSpliterators.java

          Spliterator<OutElementT> flatMap(
              Spliterator<InElementT> fromSpliterator,
              Function<? super InElementT, @Nullable Spliterator<OutElementT>> function,
              int topCharacteristics,
              long topSize) {
        checkArgument(
            (topCharacteristics & Spliterator.SUBSIZED) == 0,
            "flatMap does not support SUBSIZED characteristic");
        checkArgument(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/StreamsTest.java

        concatenated.close();
        assertThat(closeCountB.get()).isEqualTo(1);
      }
    
      public void testConcat_refStream_closeIsPropagated_Stream_flatMap() {
        // Just to demonstrate behavior of Stream::flatMap in the standard library
        AtomicInteger closeCountB = new AtomicInteger(0);
        Stream<String> streamB = Stream.of("b").onClose(closeCountB::incrementAndGet);
        Stream<String> concatenated =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                task.getVersion().convention(project.provider(() -> project.getVersion().toString()));
                task.getSourceFile().convention(dslDocbook.flatMap(AssembleDslDocTask::getDestFile));
                task.getLinksFile().convention(dslDocbook.flatMap(AssembleDslDocTask::getLinksFile));
    
                task.getDsldocUrl().convention("../dsl");
                task.getJavadocUrl().convention("../javadoc");
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                    )
                }
            }
    
            val firScopes = towerDataElementsIndexed.flatMap { (index, towerDataElement) ->
                val availableScopes = towerDataElement
                    .getAvailableScopes { coneType -> withSyntheticPropertiesScopeOrSelf(coneType) }
                    .flatMap { flattenFirScope(it) }
                availableScopes.map { IndexedValue(index, it) }
            }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        reportTask {
            sources.from(kotlinMainSourceSet.sourceDirectories)
        }
    }
    
    tasks.named("check") { dependsOn(reportTask) }
    
    consumableVariant("txt", reportTask.flatMap { it.textReportFile })
    consumableVariant("html", reportTask.flatMap { it.htmlReportFile })
    
    fun consumableVariant(reportType: String, artifact: Provider<RegularFile>) = configurations.create("incubatingReport${reportType.capitalize()}") {
        isVisible = false
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

            isolatedClassLoaderFor(classpath).use { loader ->
                javaProjectBuilderFor(loader)
                    .sequenceOfJavaSourcesFrom(sources)
                    .flatMap { it.classes.asSequence().filter { it.isPublic } }
                    .flatMap { it.methods.asSequence().filter { it.isPublic && it.parameterTypes.isNotEmpty() } }
                    .map { method -> fullyQualifiedSignatureOf(method) to commaSeparatedParameterNamesOf(method) }
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

            get() = PerformanceTestType.adHoc
    
        override
        val failsStage: Boolean
            get() = false
    
        val buildSpecs: List<FlameGraphGenerationBuildSpec>
            get() = scenarios.flatMap { scenario ->
                Os.values().flatMap { os ->
                    if (os == Os.WINDOWS) {
                        listOf("jprofiler")
                    } else {
                        listOf("async-profiler", "async-profiler-heap")
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Dec 13 07:00:20 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.setGroup("release notes");
                task.setDescription("Transforms generated release notes.");
    
                task.getHtmlFile().convention(releaseNotesMarkdown.flatMap(RenderMarkdown::getDestinationFile));
                task.getBaseCssFile().convention(extension.getReleaseNotes().getBaseCssFile());
                task.getReleaseNotesCssFile().convention(extension.getReleaseNotes().getReleaseNotesCssFile());
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Mar 10 11:32:18 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

        @Suppress("unused")
        @JvmStatic
        fun connectionTypes(): List<SocketMode> =
          listOf(CONSCRYPT, JSSE).flatMap { provider ->
            listOf(HTTP_1_1, HTTP_2).flatMap { protocol ->
              listOf(TLS_1_3, TLS_1_2).flatMap { tlsVersion ->
                listOf(Channel, Standard).flatMap { socketMode ->
                  listOf(DISABLED, STANDARD).map { tlsExtensionMode ->
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

            val declarationGenerators = session.extensionService.declarationGenerators
    
            val generatedTopLevelClassifiers = declarationGenerators
                .asSequence()
                .flatMap {
                    // FIXME this function should be called only once during plugin's lifetime, so this usage is not really correct (2)
                    it.getTopLevelClassIds()
                }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top