Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for Lavoie (0.17 sec)

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

       *     the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a
       *     different kind of exception, that exception itself. To avoid hiding bugs and other
       *     unrecoverable errors, callers should prefer more specific types, avoiding {@code
       *     Throwable.class} in particular.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                  if (workerRunningState == RUNNING) {
                    // Don't want to have two workers pulling from the queue.
                    return;
                  } else {
                    // Increment the run counter to avoid the ABA problem of a submitter marking the
                    // thread as QUEUED after it already ran and exhausted the queue before returning
                    // from execute().
                    workerRunCount++;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              if (comparator == null) {
                // A sorted spliterator with no comparator is already using natural order.
                // (We could probably find a way to avoid rawtypes here if we wanted.)
                @SuppressWarnings({"unchecked", "rawtypes"})
                Comparator<? super E> naturalOrder =
                    (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        // manually add elements to avoid expansion
        int originalCount = 1024;
        InternalEntry<Object, Object, ?> entry = null;
        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = new Object();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        // manually add elements to avoid expansion
        int originalCount = 1024;
        InternalEntry<Object, Object, ?> entry = null;
        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = new Object();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          Collection<E> collection, E sampleElement) {
        Collection<E> siblingCollection = new ArrayList<>();
        siblingCollection.add(sampleElement);
    
        Collection<E> copy = new ArrayList<>();
        // Avoid copy.addAll(collection), which runs afoul of an Android bug in older versions:
        // http://b.android.com/72073 http://r.android.com/98929
        Iterators.addAll(copy, collection.iterator());
    
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Strings.java

          String objectToString =
              o.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(o));
          // Logger is created inline with fixed name to avoid forcing Proguard to create another class.
          Logger.getLogger("com.google.common.base.Strings")
              .log(WARNING, "Exception during lenientFormat for " + objectToString, e);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

          // Both a and b are odd. Assume a > b; then gcd(a - b, b) = gcd(a, b).
          // But in gcd(a - b, b), a - b is even and b is odd, so we can divide out powers of two.
    
          // We bend over backwards to avoid branching, adapting a technique from
          // http://graphics.stanford.edu/~seander/bithacks.html#IntegerMinOrMax
    
          long delta = a - b; // can't overflow, since a and b are nonnegative
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @deprecated If you must interoperate with a system that requires MD5, then use this method,
       *     despite its deprecation. But if you can choose your hash function, avoid MD5, which is
       *     neither fast nor secure. As of January 2017, we suggest:
       *     <ul>
       *       <li>For security:
       *           {@link Hashing#sha256} or a higher-level API.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
Back to top