Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Heimes (0.36 sec)

  1. android/guava/src/com/google/common/hash/Fingerprint2011.java

     */
    @ElementTypesAreNonnullByDefault
    final class Fingerprint2011 extends AbstractNonStreamingHashFunction {
      static final HashFunction FINGERPRINT_2011 = new Fingerprint2011();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xa5b85c5e198ed849L;
      private static final long K1 = 0x8d58ac26afe12e47L;
      private static final long K2 = 0xc47b6e9e3a970ed3L;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

    import java.util.List;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    
    /** A benchmark that times how long it takes to add a given number of */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    public class SingleThreadAbstractFutureBenchmark {
      @Param Impl impl;
    
      private final Exception exception = new Exception();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jul 16 17:22:27 GMT 2019
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       testlib), but why bother?
     *   <li>Stripping code entirely might help us keep under the method limit someday. Even if it never
     *       comes to that, it may at least help with build and startup times.
     * </ul>
     */
    @Retention(CLASS)
    @Target({ANNOTATION_TYPE, CONSTRUCTOR, FIELD, METHOD, TYPE})
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
      /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
      @GwtIncompatible // concurrency
      private void runConcurrentTest(int numberOfThreads, final Callable<@Nullable Void> callable)
          throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        } finally {
          executor.shutdownNow();
        }
    
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashMultimap.java

        return new HashMultimap<>(expectedKeys, expectedValuesPerKey);
      }
    
      /**
       * Constructs a {@code HashMultimap} with the same mappings as the specified multimap. If a
       * key-value mapping appears multiple times in the input multimap, it only appears once in the
       * constructed multimap.
       *
       * <p>This method will soon be deprecated in favor of {@code
       * MultimapBuilder.hashKeys().hashSetValues().build(multimap)}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ImmutableGraph.java

       *         .putEdge(GERMANY, BELGIUM)
       *         .addNode(ICELAND)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple graphs in series. Each new graph contains all the elements of the ones created before
       * it.
       *
       * @since 28.0
       */
      public static class Builder<N> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

     *
     * <p>Future that delegates to another but will finish early (via a {@link TimeoutException} wrapped
     * in an {@link ExecutionException}) if the specified duration expires. The delegate future is
     * interrupted and cancelled if it times out.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class TimeoutFuture<V extends @Nullable Object> extends FluentFuture.TrustedFuture<V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       * bits, returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      @J2ktIncompatible
      @GwtIncompatible // Does not truncate correctly
      public UnsignedInteger times(UnsignedInteger val) {
        // TODO(lowasser): make this GWT-compatible
        return fromIntBits(value * checkNotNull(val).value);
      }
    
      /**
       * Returns the result of dividing this by {@code val}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ImmutableNetwork.java

       *         .addNode(REYKJAVIK)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple networks in series. Each new network contains all the elements of the ones created
       * before it.
       *
       * @since 28.0
       */
      public static class Builder<N, E> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
Back to top