Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for tots (0.29 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
      public void testValidTopPrivateDomain() {
        InternetDomainName googleDomain = InternetDomainName.from("google.com");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilderSpec.java

     * CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}.
     *
     * @author Adam Winer
     * @since 12.0
     */
    @SuppressWarnings("GoodTime") // lots of violations (nanosecond math)
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheBuilderSpec {
      /** Parses a single value. */
      private interface ValueParser {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Suppliers.java

        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
      }
    
      @VisibleForTesting
      @SuppressWarnings("GoodTime") // lots of violations
      static class ExpiringMemoizingSupplier<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        final Supplier<T> delegate;
        final long durationNanos;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenSubtypeTest extends TestCase {
    
      public void testOwnerTypeSubtypes() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `I'm sure those are not the right words,' said poor Alice, and
    her eyes filled with tears again as she went on, `I must be Mabel
    after all, and I shall have to go and live in that poky little
    house, and have next to no toys to play with, and oh! ever so
    many lessons to learn!  No, I've made up my mind about it; if I'm
    Mabel, I'll stay down here!  It'll be no use their putting their
    heads down and saying "Come up again, dear!"  I shall only look
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          }
        }
      }
    
      /*
       * This next part consists of several sample classes that provide
       * demonstrations of conditions that cause NullPointerTester
       * to succeed/fail.
       */
    
      /** Lots of well-behaved methods. */
      @SuppressWarnings("unused") // used by reflection
      private static class PassObject extends SomeClassThatDoesNotUseNullable {
        public static void doThrow(Object arg) {
          if (arg == null) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathTesting.java

        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
          intValues.add(i);
        }
        // Now add values near 2^N for lots of values of N.
        for (int exponent : asList(2, 3, 4, 9, 15, 16, 17, 24, 25, 30)) {
          int x = 1 << exponent;
          intValues.add(x, x + 1, x - 1);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

    import java.lang.reflect.Type;
    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Unit tests of {@link TypeResolver}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeResolverTest extends TestCase {
    
      public void testWhere_noMapping() {
        Type t = aTypeVariable();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Stopwatch.java

     *        }
     *      });
     * }</pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("GoodTime") // lots of violations
    @ElementTypesAreNonnullByDefault
    public final class Stopwatch {
      private final Ticker ticker;
      private boolean isRunning;
      private long elapsedNanos;
      private long startTick;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top