Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for combiner (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * A generic {@link Combiner} that lets you use a lambda or method reference to combine two {@link
       * ClosingFuture}s. Use {@link #whenAllSucceed(ClosingFuture, ClosingFuture)} to start this
       * combination.
       *
       * @param <V1> the type returned by the first future
       * @param <V2> the type returned by the second future
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

            Callable<C> combiner, Executor executor) {
          return new CombinedFuture<>(futures, allMustSucceed, executor, combiner);
        }
    
        /**
         * Creates the {@link ListenableFuture} which will return the result of running {@code combiner}
         * when all Futures complete. {@code combiner} will run using {@code executor}.
         *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/CollectorTester.java

            A accum = collector.supplier().get();
            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              accum = collector.combiner().apply(accum, newAccum);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators right-to-left. */
        MERGE_RIGHT_ASSOCIATIVE {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

            A accum = collector.supplier().get();
            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              accum = collector.combiner().apply(accum, newAccum);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators right-to-left. */
        MERGE_RIGHT_ASSOCIATIVE {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TopKSelector.java

       * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
       * so its return value will get used naturally.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      TopKSelector<T> combine(TopKSelector<T> other) {
        for (int i = 0; i < other.bufferSize; i++) {
          this.offer(uncheckedCastNullableTToT(other.buffer[i]));
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
         * so its return value will get used naturally.
         */
        @SuppressWarnings("CanIgnoreReturnValueSuggester")
        Builder<K, V> combine(ImmutableSortedMap.Builder<K, V> other) {
          ensureCapacity(size + other.size);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should combine referral data")
            void testCombine() {
                DfsReferralDataInternal combined = mock(DfsReferralDataInternal.class);
    
                // Test with mock
                when(mockReferralData.combine(mockDfsReferralData)).thenReturn(combined);
                DfsReferralDataInternal result = mockReferralData.combine(mockDfsReferralData);
                assertSame(combined, result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                second.setDomain("DOMAIN");
    
                // Combine
                DfsReferralDataInternal combined = first.combine(second);
    
                assertNotNull(combined);
                assertEquals("server2", combined.getServer());
                assertEquals("share2", combined.getShare());
                assertEquals("path2", combined.getPath());
                assertEquals("DOMAIN", combined.getDomain());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. android/guava-testlib/pom.xml

            <artifactId>maven-toolchains-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
                <id>default-compile</id>
                <configuration>
                  <compilerArgs combine.children="append" combine.self="append">
                    <arg>-XDignore.symbol.file</arg>
                  </compilerArgs>
                </configuration>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 17:59:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. guava/pom.xml

              </instructions>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
                <id>default-compile</id>
                <configuration>
                  <compilerArgs combine.children="append" combine.self="append">
                    <arg>-XDignore.symbol.file</arg>
                  </compilerArgs>
                </configuration>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top