Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for flatMap (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/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 ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

            .expect("A", "B", "C", "D", "E");
      }
    
      public void testFlatMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> charactersOf(str).spliterator(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

    ) : FunctionalTestBucketProvider {
        private val objectMapper = ObjectMapper().registerKotlinModule()
        private val buckets: Map<TestCoverage, List<BuildTypeBucket>> by lazy {
            val uuidToTestCoverage = model.stages.flatMap { it.functionalTests }.associateBy { it.uuid }
            val testCoverageAndBuckets: List<Map<String, Any>> = objectMapper.readValue(testBucketsJson.readText())
            testCoverageAndBuckets.associate { testCoverageAndBucket ->
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 05:08:24 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            val pairs =
                durations.flatMap { scenarioDurations ->
                    val scenario = Scenario.fromTestId(scenarioDurations["scenario"] as String)
                    (scenarioDurations["durations"] as List<Map<String, Any>>).flatMap { duration ->
                        val testProject = duration["testProject"] as String
                        duration.entries
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

                            StageName.QUICK_FEEDBACK,
                            StageName.PULL_REQUEST_FEEDBACK,
                            StageName.READY_FOR_NIGHTLY,
                        )
                }.flatMap { it.functionalTests }
                .filter { it.os == os }
                .forEach {
                    buildType(FlakyTestQuarantine(model, stage, it))
                }
        })
    
    class FlakyTestQuarantine(
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

       * iterator supports it.
       *
       * <p><b>{@code Stream} equivalent:</b> to concatenate an arbitrary number of streams, use {@code
       * Stream.of(stream1, stream2, ...).flatMap(s -> s)}. If the sources are iterables, use {@code
       * Stream.of(iter1, iter2, ...).flatMap(Streams::stream)}.
       *
       * @throws NullPointerException if any of the provided iterables is {@code null}
       * @since 20.0
       */
      @SafeVarargs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       * iterator supports it.
       *
       * <p><b>{@code Stream} equivalent:</b> to concatenate an arbitrary number of streams, use {@code
       * Stream.of(stream1, stream2, ...).flatMap(s -> s)}. If the sources are iterables, use {@code
       * Stream.of(iter1, iter2, ...).flatMap(Streams::stream)}.
       *
       * @throws NullPointerException if any of the provided iterables is {@code null}
       * @since 20.0
       */
      @SafeVarargs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            return buildProjectClassTimes[testCoverageId] ?: if (testCoverage.testType == TestType.SOAK) {
                null
            } else {
                val testCoverages = model.stages.flatMap { it.functionalTests }
                val foundTestCoverage =
                    testCoverages.firstOrNull {
                        it.testType == TestType.PLATFORM &&
                            it.os == testCoverage.os &&
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

         *
         * @return a stream of all phases in this lifecycle, including nested phases
         */
        default Stream<Phase> allPhases() {
            return phases().stream().flatMap(Phase::allPhases);
        }
    
        /**
         * Collection of aliases for this lifecycle.
         * Aliases map Maven 3 phase names to their Maven 4 equivalents.
         *
         * @return the collection of phase aliases
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                final Stream<QueryLog> stream = Stream.of(queryLogs);
                if (parallel) {
                    stream.parallel();
                }
                final SuggestItem[] array = stream.flatMap(queryLog -> contentsParser
                        .parseQueryLog(queryLog, supportedFields, tagFieldNames, roleFieldName, readingConverter, normalizer)
                        .stream()).toArray(n -> new SuggestItem[n]);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
Back to top