Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 171 for Lannon (0.17 sec)

  1. guava-tests/test/com/google/common/collect/FauxveridesTest.java

    /**
     * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in
     * each immutable-collection class. This ensures, for example, that a call written "{@code
     * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}.
     *
     * @author Chris Povirk
     */
    public class FauxveridesTest extends TestCase {
      @AndroidIncompatible // similar to ImmutableTableTest.testNullPointerInstance
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

    /**
     * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in
     * each immutable-collection class. This ensures, for example, that a call written "{@code
     * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}.
     *
     * @author Chris Povirk
     */
    public class FauxveridesTest extends TestCase {
      @AndroidIncompatible // similar to ImmutableTableTest.testNullPointerInstance
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DiscreteDomain.java

     * #minValue} and {@link #maxValue} should also be overridden for bounded types.
     *
     * <p>A discrete domain always represents the <i>entire</i> set of values of its type; it cannot
     * represent partial domains such as "prime integers" or "strings of length 5."
     *
     * <p>See the Guava User Guide section on <a href=
     * "https://github.com/google/guava/wiki/RangesExplained#discrete-domains">{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/InetAddressesTest.java

                IllegalArgumentException.class,
                () ->
                    InetAddresses.fromIPv4BigInteger(BigInteger.ONE.shiftLeft(32).add(BigInteger.ONE)));
        assertEquals(
            "BigInteger cannot be converted to InetAddress because it has more than 4 bytes:"
                + " 4294967297",
            expected.getMessage());
      }
    
      public void testFromIpv6BigIntegerInputTooLarge() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            if (emptyInstanceGenerated.get(type.getType()).intValue() == freshness.get()) {
              // same freshness, generate again.
              return invokeGeneratorMethod(emptyGenerate);
            } else {
              // Cannot use empty generator. Proceed with other generators.
            }
          } else {
            // never generated empty instance for this type before.
            Object emptyInstance = invokeGeneratorMethod(emptyGenerate);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

        private static final int TEMP_DIR_ATTEMPTS = 10000;
      }
    
      private static final class ThrowingCreator extends TempFileCreator {
        private static final String MESSAGE =
            "Guava cannot securely create temporary files or directories under SDK versions before"
                + " Jelly Bean. You can create one yourself, either in the insecure default directory"
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/IntMath.java

          case CEILING:
            return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1);
    
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
            // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5
            int leadingZeros = Integer.numberOfLeadingZeros(x);
            int cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros;
            // floor(2^(logFloor + 0.5))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A series of tests that support asserting that collections cannot be modified, either through
     * direct or indirect means.
     *
     * @author Robert Konigsberg
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableCollectionTests {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * ClassLoader that loaded that class from later being garbage-collected. If anything continues
       * to reference the FinalizableReferenceQueue class then its ClassLoader cannot be
       * garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself.
       * The code in FinalizableReferenceQueue goes to considerable trouble to ensure that there are
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

      private final Map<N, Object> adjacentNodeValues;
    
      /**
       * All node connections in this graph, in edge insertion order.
       *
       * <p>Note: This field and {@link #adjacentNodeValues} cannot be combined into a single
       * LinkedHashMap because one target node may be mapped to both a predecessor and a successor. A
       * LinkedHashMap combines two such edges into a single node-value pair, even though the edges may
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top