Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 4,000 for once (0.16 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * However it is acceptable to return the same array multiple times (even for different input
       * characters).
       *
       * @param c the character to escape
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      // TODO(dbeaumont,cpovirk): Rename this something better once refactoring done
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  2. docs/hotfixes.md

    Once the **patch** is successfully applied, developer must run tests to validate the fix that was backported by running following tests, locally.
    
    Unit tests
    
    ```
    λ make test
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 21:36:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        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);
    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-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      Just then her head struck against the roof of the hall:  in
    fact she was now more than nine feet high, and she at once took
    up the little golden key and hurried off to the garden door.
    
      Poor Alice!  It was as much as she could do, lying down on one
    side, to look through into the garden with one eye; but to get
    through was more hopeless than ever:  she sat down and began to
    cry again.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConsumingQueueIterator.java

      ConsumingQueueIterator(Queue<T> queue) {
        this.queue = checkNotNull(queue);
      }
    
      @Override
      @CheckForNull
      protected T computeNext() {
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (queue.isEmpty()) {
          return endOfData();
        }
        return queue.remove();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jan 21 14:48:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ConsumingQueueIterator.java

      ConsumingQueueIterator(Queue<T> queue) {
        this.queue = checkNotNull(queue);
      }
    
      @Override
      @CheckForNull
      protected T computeNext() {
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (queue.isEmpty()) {
          return endOfData();
        }
        return queue.remove();
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jan 21 14:48:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SpecialRandom.java

    package com.google.common.collect;
    
    import java.util.Random;
    
    /**
     * Utility class for being able to seed a {@link Random} value with a passed in seed from a
     * benchmark parameter.
     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SpecialRandom.java

    package com.google.common.collect;
    
    import java.util.Random;
    
    /**
     * Utility class for being able to seed a {@link Random} value with a passed in seed from a
     * benchmark parameter.
     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/InvalidatableSet.java

        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
        // (We could instead generate the message once, when the set is created, but zero is better.)
        if (!validator.get()) {
          throw new IllegalStateException(errorMessage.get());
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top