Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for sage (0.15 sec)

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

       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <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
    - 53.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        testConcurrentLoading(CacheBuilder.newBuilder().expireAfterWrite(10, TimeUnit.SECONDS));
      }
    
      /**
       * On a successful concurrent computation, only one thread does the work, but all the threads get
       * the same result.
       */
      private static void testConcurrentLoadingDefault(CacheBuilder<Object, Object> builder)
          throws InterruptedException {
    
        int count = 10;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

          fail("Expected IAE");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCartesianProduct_hashCode() {
        // Run through the same cartesian products we tested above
    
        Set<List<Integer>> degenerate = Sets.cartesianProduct();
        checkHashCode(degenerate);
    
        checkHashCode(Sets.cartesianProduct(set(1, 2)));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

        // A few elements.
        a = asList(4, 8, 15, 16, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator()));
    
        // The same, but with nulls.
        a = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        b = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator()));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

     * java.util.Objects#requireNonNull(Object)}. Instead, use whichever of {@link
     * #checkNotNull(Object)} or {@link Verify#verifyNotNull(Object)} is appropriate to the situation.
     * (The same goes for the message-accepting overloads.)
     *
     * <h3>Only {@code %s} is supported</h3>
     *
     * <p>{@code Preconditions} uses {@link Strings#lenientFormat} to format error message template
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
          // waiter.
          // requireNonNull is safe because value is always set before TOMBSTONE.
          return getDoneValue(requireNonNull(value));
        }
        // If we get here then we have remainingNanos < SPIN_THRESHOLD_NANOS and there is no node on the
        // waiters list
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * the segment.
       */
      final transient int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
       * from also ending up in the same bucket.
       */
      final transient int segmentShift;
    
      /** The segments, each of which is a specialized hash table. */
      final transient Segment<K, V, E, S>[] segments;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       * the same exception (and the function is not invoked).
       *
       * <p>More precisely, the returned {@code Future} takes its result from a {@code Future} produced
       * by applying the given {@code AsyncFunction} to the result of the original {@code Future}.
       * Example usage:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

            result = true;
          }
        }
        return result;
      }
    
      /**
       * Determines whether two iterators contain equal elements in the same order. More specifically,
       * this method returns {@code true} if {@code iterator1} and {@code iterator2} contain the same
       * number of elements and every element of {@code iterator1} is equal to the corresponding element
       * of {@code iterator2}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top