Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for dindle (0.16 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

        ByteArrayOutputStream bos = new ByteArrayOutputStream();
        ObjectOutputStream out = new ObjectOutputStream(bos);
    
        out.writeObject(original);
    
        byte[] handle = toByteArray(baseWireHandle + handleOffset);
        byte[] ref = prepended(TC_REFERENCE, handle);
        bos.write(ref);
    
        return bos.toByteArray();
      }
    
      private static byte[] prepended(byte b, byte[] array) {
        byte[] out = new byte[array.length + 1];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return (ImmutableSortedMap<K, V>) NATURAL_EMPTY_MAP;
      }
    
      /** Returns an immutable map containing a single entry. */
      public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(K k1, V v1) {
        return of(Ordering.natural(), k1, v1);
      }
    
      /** Returns an immutable map containing a single entry. */
      private static <K, V> ImmutableSortedMap<K, V> of(Comparator<? super K> comparator, K k1, V v1) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // override .get() (since it is final) and therefore this is equivalent to calling .get()
          // and unpacking the exceptions like we do below (just much faster because it is a single
          // field read instead of a read, several branches and possibly creating exceptions).
          Object v = ((AbstractFuture<?>) future).value;
          if (v instanceof Cancellation) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

       * @since 19.0 (since 1.0 as constant {@code INVISIBLE})
       */
      @Deprecated
      public static CharMatcher invisible() {
        return Invisible.INSTANCE;
      }
    
      /**
       * Determines whether a character is single-width (not double-width). When in doubt, this matcher
       * errs on the side of returning {@code false} (that is, it tends to assume a character is
       * double-width).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       *
       * <p>This must be a (2^n)-1 as it is used as a mask.
       */
      static final int DRAIN_THRESHOLD = 0x3F;
    
      /**
       * Maximum number of entries to be drained in a single cleanup run. This applies independently to
       * the cleanup queue and both reference queues.
       */
      // TODO(fry): empirically optimize this
      static final int DRAIN_MAX = 16;
    
      // Fields
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

       * @since 19.0 (since 1.0 as constant {@code INVISIBLE})
       */
      @Deprecated
      public static CharMatcher invisible() {
        return Invisible.INSTANCE;
      }
    
      /**
       * Determines whether a character is single-width (not double-width). When in doubt, this matcher
       * errs on the side of returning {@code false} (that is, it tends to assume a character is
       * double-width).
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Preconditions.java

           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       * simply use the standard method-chaining idiom, as illustrated in the documentation at top,
       * configuring a {@code CacheBuilder} and building your {@link Cache} all in a single statement.
       *
       * <p><b>Warning:</b> if you ignore the above advice, and use this {@code CacheBuilder} to build a
       * cache whose key or value type is incompatible with the weigher, you will likely experience a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Iterators.java

          if (!first) {
            sb.append(", ");
          }
          first = false;
          sb.append(iterator.next());
        }
        return sb.append(']').toString();
      }
    
      /**
       * Returns the single element contained in {@code iterator}.
       *
       * @throws NoSuchElementException if the iterator is empty
       * @throws IllegalArgumentException if the iterator contains multiple elements. The state of the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
Back to top