Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 146 for combine (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        /*
         * Futures should be collected even if combiner never runs. This is kind of a silly test, since
         * the combiner is almost certain to hold its own reference to the futures, and a real app would
         * hold a reference to the executor and thus to the combiner. What we really care about is that
         * the futures are released once the combiner is done running. But we happen to provide this
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import com.google.common.util.concurrent.ClosingFuture.Combiner;
    import com.google.common.util.concurrent.ClosingFuture.Combiner.AsyncCombiningCallable;
    import com.google.common.util.concurrent.ClosingFuture.Combiner.CombiningCallable;
    import com.google.common.util.concurrent.ClosingFuture.Combiner2.AsyncClosingFunction2;
    import com.google.common.util.concurrent.ClosingFuture.Combiner2.ClosingFunction2;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableBiMap.java

          super.orderEntriesByValue(valueComparator);
          return this;
        }
    
        @Override
        @CanIgnoreReturnValue
        Builder<K, V> combine(ImmutableMap.Builder<K, V> builder) {
          super.combine(builder);
          return this;
        }
    
        /**
         * Returns a newly-created immutable bimap. The iteration order of the returned bimap is the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/Escapers.java

            if (hiChars == null && loChars == null) {
              // We expect this to be the common code path for most escapers.
              return null;
            }
            // Combine the characters and/or escaped sequences into a single array.
            int hiCount = hiChars != null ? hiChars.length : 1;
            int loCount = loChars != null ? loChars.length : 1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Platform.java

      }
    
      private static final class JdkPatternCompiler implements PatternCompiler {
        @Override
        public CommonPattern compile(String pattern) {
          return new JdkPattern(Pattern.compile(pattern));
        }
    
        @Override
        public boolean isPcreLike() {
          return true;
        }
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashingOutputStream.java

       */
      // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a
      // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could
      // be (optionally) be combined with another if needed (with something like
      // MultiplexingOutputStream).
      public HashingOutputStream(HashFunction hashFunction, OutputStream out) {
        super(checkNotNull(out));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

        byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes();
        byte[] combined = new byte[md5Hash.length + murmur3Hash.length];
        ByteBuffer buffer = ByteBuffer.wrap(combined);
        buffer.put(md5Hash);
        buffer.put(murmur3Hash);
        HashCode expected = HashCode.fromBytes(combined);
    
        assertEquals(
            expected, Hashing.concatenating(Hashing.md5(), Hashing.murmur3_32()).hashLong(42L));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import com.google.common.util.concurrent.ClosingFuture.Combiner;
    import com.google.common.util.concurrent.ClosingFuture.Combiner.AsyncCombiningCallable;
    import com.google.common.util.concurrent.ClosingFuture.Combiner.CombiningCallable;
    import com.google.common.util.concurrent.ClosingFuture.Combiner2.AsyncClosingFunction2;
    import com.google.common.util.concurrent.ClosingFuture.Combiner2.ClosingFunction2;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  9. guava-gwt/src/com/google/common/ForceGuavaCompilationEntryPoint.java

     * limitations under the License.
     */
    
    package com.google.common;
    
    import com.google.gwt.core.client.EntryPoint;
    
    /**
     * A dummy entry point to convince Maven to compile our classes.
     *
     * @author Chris Povirk
     */
    public class ForceGuavaCompilationEntryPoint implements EntryPoint {
      @Override public void onModuleLoad() {
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 05 21:14:56 GMT 2012
    - 893 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        /*
         * Futures should be collected even if combiner never runs. This is kind of a silly test, since
         * the combiner is almost certain to hold its own reference to the futures, and a real app would
         * hold a reference to the executor and thus to the combiner. What we really care about is that
         * the futures are released once the combiner is done running. But we happen to provide this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top