Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for reviews (0.15 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            int result = BigIntegerMath.log2(x, mode);
            assertTrue(ZERO.setBit(result).compareTo(x) >= 0);
            assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0);
          }
        }
      }
    
      // Relies on the correctness of isPowerOfTwo(BigInteger).
      public void testLog2Exact() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          // We only expect an exception if x was not a power of 2.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            int result = BigIntegerMath.log2(x, mode);
            assertTrue(ZERO.setBit(result).compareTo(x) >= 0);
            assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0);
          }
        }
      }
    
      // Relies on the correctness of isPowerOfTwo(BigInteger).
      public void testLog2Exact() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          // We only expect an exception if x was not a power of 2.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.testers.CollectionSerializationEqualTester;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.Feature;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
      public Set<Feature<? super Multiset>> getImpliedFeatures() {
        return Collections.emptySet();
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.GENERAL_PURPOSE,
                    MultisetFeature.ENTRIES_ARE_VIEWS)
                .named("HashMultiset")
                .createTestSuite());
        suite.addTestSuite(HashMultisetTest.class);
        return suite;
      }
    
      private static TestStringMultisetGenerator hashMultisetGenerator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                    CollectionFeature.GENERAL_PURPOSE,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    CollectionFeature.ALLOWS_NULL_QUERIES,
                    MultisetFeature.ENTRIES_ARE_VIEWS)
                .named("EnumMultiset")
                .createTestSuite());
        suite.addTestSuite(EnumMultisetTest.class);
        return suite;
      }
    
      private static TestEnumMultisetGenerator enumMultisetGenerator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

            final Iterator<? extends Entry<? extends E>> iterator2 = multiset2.entrySet().iterator();
            // TODO(lowasser): consider making the entries live views
            return new AbstractIterator<Entry<E>>() {
              @Override
              @CheckForNull
              protected Entry<E> computeNext() {
                if (iterator1.hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

        Arrays.sort(array, comparator);
        return asImmutableList(array);
      }
    
      /** Views the array as an immutable list. Checks for nulls; does not copy. */
      private static <E> ImmutableList<E> construct(Object... elements) {
        return asImmutableList(checkElementsNotNull(elements));
      }
    
      /**
       * Views the array as an immutable list. Does not check for nulls; does not copy.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

     * either providing your own implementation, or delegating to the provided {@code standardAdd}
     * method.
     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top