Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for flatmap (0.07 sec)

  1. 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 ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

    @GwtIncompatible
    public class ImmutableBiMapFloodingTest extends AbstractHashFloodingTest<BiMap<Object, Object>> {
      public ImmutableBiMapFloodingTest() {
        super(
            EnumSet.allOf(ConstructionPathway.class).stream()
                .flatMap(
                    path ->
                        Stream.<Construction<BiMap<Object, Object>>>of(
                            keys ->
                                path.create(transform(keys, key -> immutableEntry(key, new Object()))),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. 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> {
        val mainFiles = mainFiles()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

            String id = id(nonNull(artifact, "artifact"));
            if (session.getMavenSession().getAllProjects() != null) {
                session.getMavenSession().getAllProjects().stream()
                        .flatMap(this::getProjectArtifacts)
                        .filter(a -> Objects.equals(id, id(a)))
                        .forEach(a -> a.setFile(path != null ? path.toFile() : null));
            }
            if (path == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            this.lifecycle = lifecycle;
            this.id = lifecycle.id();
            this.phases = registry.computePhases(lifecycle).stream()
                    .flatMap(p -> Stream.of(BEFORE + p, p, AFTER + p))
                    .toList();
            this.defaultPhases = getDefaultPhases(lifecycle);
        }
    
        // <lifecycle>
        //   <id>clean</id>
        //   <phases>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         *
         * @return a stream containing this node and its descendant
         */
        @Nonnull
        default Stream<Node> stream() {
            return Stream.concat(Stream.of(this), getChildren().stream().flatMap(Node::stream));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. impl/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

         */
        Collection<Phase> phases();
    
        /**
         * Stream of phases containing all child phases recursively.
         */
        default Stream<Phase> allPhases() {
            return phases().stream().flatMap(Phase::allPhases);
        }
    
        /**
         * Collection of aliases.
         */
        Collection<Alias> aliases();
    
        /**
         * Pre-ordered list of phases.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 24 07:54:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top