Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Cook (0.15 sec)

  1. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

           * to test it.
           */
          return;
        }
    
        /*
         * Only under Windows (or hypothetically when running with some other non-POSIX, ACL-based
         * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test
         * anything interesting under most environments. Still, we can run it (except for Android, at
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
     *       suppression. This would follow the precedent of many of our annotation processors, which
     *       look for any annotation named, e.g., "GwtIncompatible," regardless of package.
     *   <li>An annotation named just "Suppress" might suggest to users that the test is suppressed
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        // TODO: move this to invariant checks once the appropriate hook exists?
        super.expectContents(expected);
        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong value for key " + entry.getKey(), entry.getValue(), getMap().get(entry.getKey()));
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Utf8.java

       * @param len the number of bytes to read from the buffer
       */
      public static boolean isWellFormed(byte[] bytes, int off, int len) {
        int end = off + len;
        checkPositionIndexes(off, end, bytes.length);
        // Look for the first non-ASCII character.
        for (int i = off; i < end; i++) {
          if (bytes[i] < 0) {
            return isWellFormedSlowPath(bytes, i, end);
          }
        }
        return true;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link UnicodeEscaper} that uses an array to quickly look up replacement characters for a given
     * code point. An additional safe range is provided that determines whether code points without
     * specific replacements are to be considered safe and left unescaped or should be escaped in a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
     *       suppression. This would follow the precedent of many of our annotation processors, which
     *       look for any annotation named, e.g., "GwtIncompatible," regardless of package.
     *   <li>An annotation named just "Suppress" might suggest to users that the test is suppressed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/StandardSystemProperty.java

      /** User's current working directory. */
      USER_DIR("user.dir");
    
      private final String key;
    
      StandardSystemProperty(String key) {
        this.key = key;
      }
    
      /** Returns the key used to look up this system property. */
      public String key() {
        return key;
      }
    
      /**
       * Returns the current value for this system property by delegating to {@link
       * System#getProperty(String)}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        if (localInputFuture != null) {
          String message = "inputFuture=[" + localInputFuture + "]";
          if (localTimer != null) {
            long delay = localTimer.getDelay(TimeUnit.MILLISECONDS);
            // Negative delays look confusing in an error message
            if (delay > 0) {
              message += ", remaining delay=[" + delay + " ms]";
            }
          }
          return message;
        }
        return null;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        // TODO: move this to invariant checks once the appropriate hook exists?
        super.expectContents(expected);
        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong value for key " + entry.getKey(), entry.getValue(), getMap().get(entry.getKey()));
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RangeMap.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * A mapping from disjoint nonempty ranges to non-null values. Queries look up the value associated
     * with the range (if any) that contains a specified key.
     *
     * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top