Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 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/PerformanceTestSpec.kt

        override val failsStage: Boolean
            get() = false
    
        val buildSpecs: List<FlameGraphGenerationBuildSpec>
            get() =
                scenarios.flatMap { scenario ->
                    Os.values().flatMap { os ->
                        val arch = if (os == Os.MACOS) Arch.AARCH64 else Arch.AMD64
                        if (os == Os.WINDOWS) {
                            listOf("jprofiler")
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. .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)
  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. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      survey.printGoogleSheet()
    }
    
    fun rest(clients: List<Client>): List<SuiteId> {
      // combine all ciphers to get these near the top
      return clients.flatMap { it.enabled }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          "$prefix/samples/guide/src/main/java/okhttp3/recipes",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
      return directories.flatMap {
        it
          .listFiles()
          .orEmpty()
          .filter { f -> f.isFile }
          .toList()
      }
    }
    
    internal class MainTestProvider : SimpleProvider() {
      override fun arguments(): List<Any> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.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. tensorflow/c/c_api_internal.h

      //   sessions.size() == 0 && delete_requested == true
      //
      // TODO(b/74949947): mutations currently trigger a warning instead of a bad
      // status, this should be reverted when possible.
      tensorflow::gtl::FlatMap<TF_Session*, tensorflow::string> sessions
          TF_GUARDED_BY(mu);
      bool delete_requested TF_GUARDED_BY(mu);  // set true by TF_DeleteGraph
    
      // Used to link graphs contained in TF_WhileParams to the parent graph that
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         *
         * @return a stream containing this node and its descendants
         */
        @Nonnull
        default Stream<Node> stream() {
            return Stream.concat(Stream.of(this), getChildren().stream().flatMap(Node::stream));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top