Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for Food (0.17 sec)

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

        assertBasicUrlEscaper(e);
    
        /*
         * Specified as safe by RFC 2396 but not by java.net.URLEncoder. These tests will start failing
         * when the escaper is made compliant with RFC 2396, but that's a good thing (just change them
         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Stopwatch.java

       *
       * <p><b>Note:</b> the overhead of measurement can be more than a microsecond, so it is generally
       * not useful to specify {@link TimeUnit#NANOSECONDS} precision here.
       *
       * <p>It is generally not a good idea to use an ambiguous, unitless {@code long} to represent
       * elapsed time. Therefore, we recommend using {@link #elapsed()} instead, which returns a
       * strongly-typed {@code Duration} instance.
       *
    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)
  3. android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java

     *
     * @author Kurt Alfred Kluever
     */
    enum HashFunctionEnum {
      ADLER32(Hashing.adler32()),
      CRC32(Hashing.crc32()),
      GOOD_FAST_HASH_32(Hashing.goodFastHash(32)),
      GOOD_FAST_HASH_64(Hashing.goodFastHash(64)),
      GOOD_FAST_HASH_128(Hashing.goodFastHash(128)),
      GOOD_FAST_HASH_256(Hashing.goodFastHash(256)),
      MD5(Hashing.md5()),
      MURMUR3_128(Hashing.murmur3_128()),
      MURMUR3_32(Hashing.murmur3_32()),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

    public final class HostSpecifierTest extends TestCase {
    
      private static final ImmutableList<String> GOOD_IPS =
          ImmutableList.of("1.2.3.4", "2001:db8::1", "[2001:db8::1]");
    
      private static final ImmutableList<String> BAD_IPS =
          ImmutableList.of("1.2.3", "2001:db8::1::::::0", "[2001:db8::1", "[::]:80");
    
      private static final ImmutableList<String> GOOD_DOMAINS =
          ImmutableList.of("com", "google.com", "foo.co.uk");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

    final class Murmur3_128HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_128 = new Murmur3_128HashFunction(0);
    
      static final HashFunction GOOD_FAST_HASH_128 =
          new Murmur3_128HashFunction(Hashing.GOOD_FAST_HASH_SEED);
    
      // TODO(user): when the shortcuts are implemented, update BloomFilterStrategies
      private final int seed;
    
      Murmur3_128HashFunction(int seed) {
        this.seed = seed;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    import java.util.Collections;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/escape/EscapersTest.java

        assertEquals("<hello><hi><lo>", charEscaper.escape("x\uD800\uDC00"));
        assertEquals("<hello><hi><lo>", unicodeEscaper.escape("x\uD800\uDC00"));
    
        // Test that wrapped escapers acquire good Unicode semantics.
        assertEquals("<hi><hello><lo>", charEscaper.escape("\uD800x\uDC00"));
        try {
          unicodeEscaper.escape("\uD800x\uDC00");
          fail("should have failed for bad Unicode input");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertBasicUrlEscaper(e);
    
        /*
         * Specified as safe by RFC 2396 but not by java.net.URLEncoder. These tests will start failing
         * when the escaper is made compliant with RFC 2396, but that's a good thing (just change them
         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 4.9K bytes
    - Viewed (0)
Back to top