Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for parallel (0.7 sec)

  1. android/guava/src/com/google/common/collect/Streams.java

        boolean isParallel = false;
        int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL;
        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (Stream<? extends T> stream : streams) {
          isParallel |= stream.isParallel();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  2. docs/contribute/concurrency.md

    Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.
    
    These are the primary classes involved with establishing, sharing, and terminating connections:
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ExecutionList.java

       * note that the execution order of all listeners is ultimately chosen by the implementations of
       * the supplied executors.
       *
       * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent
       * to calling it exactly once.
       *
       * @since 10.0 (present in 1.0 as {@code run})
       */
      public void execute() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

            NetworkBuilder.undirected().allowsParallelEdges(true).allowsSelfLoops(true).build();
        undirectedNetwork.addNode(N0);
        undirectedNetwork.addEdge(N1, N2, E12);
        undirectedNetwork.addEdge(N2, N1, E12_A); // adds parallel edge, won't be in Graph edges
        undirectedNetwork.addEdge(N1, N3, E13);
        undirectedNetwork.addEdge(N4, N4, E44);
        containsExactlySanityCheck(
            undirectedNetwork.asGraph().edges(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(directedGraph.edgesConnecting(N1, N2)).isEqualTo(ImmutableSet.of(E12));
        assertThat(directedGraph.edgesConnecting(N2, N1)).isEmpty();
    
        // By default, parallel edges are not allowed.
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> directedGraph.addEdge(N1, N2, E12_A));
        assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

     * their build lifecycle, ensuring thread-safety and proper state management.
     * All implementations must be thread-safe as they may be accessed concurrently
     * during parallel builds.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.ProjectBuilder
     * @see Project
     */
    @Experimental
    public interface ProjectManager extends Service {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        multipartBody.writeTo(Buffer())
        val mixed: MediaType = MultipartBody.MIXED
        val alternative: MediaType = MultipartBody.ALTERNATIVE
        val digest: MediaType = MultipartBody.DIGEST
        val parallel: MediaType = MultipartBody.PARALLEL
        val form: MediaType = MultipartBody.FORM
      }
    
      @Test
      fun multipartBodyPart() {
        val requestBody: RequestBody = "".toRequestBody(null)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>boolean</type>
              <description>
                Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
                builds. Mojos without this annotation will make Maven output a warning when used during a parallel build
                session.
                @since Maven 3.0.
              </description>
              <defaultValue>false</defaultValue>
            </field>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

      /** Confirm that [MultipartBody] and [MultipartReader] can work together. */
      @Test fun `multipart round trip`() {
        val body =
          MultipartBody
            .Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
            .addFormDataPart("color", "Brown")
            .addFormDataPart("animal", "fox.txt", "Fox".toRequestBody())
            .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
      static final String ERROR_ADDED_PARALLEL_EDGE = "Should not be allowed to add a parallel edge.";
      static final String ERROR_ADDED_EXISTING_EDGE =
          "Reusing an existing edge to connect different nodes succeeded";
    
      /** Creates and returns an instance of the graph to be tested. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top