Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for muck (0.16 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              //
              // addListener has thrown an exception! SetFuture.run can't throw any exceptions so this
              // must have been caused by addListener itself. The most likely explanation is a
              // misconfigured mock. Try to switch to Failure.
              Failure failure;
              try {
                failure = new Failure(t);
              } catch (Exception | Error oomMostLikely) { // sneaky checked exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><i>Performance notes:</i> while the cartesian product of sets of size {@code m, n, p} is a
       * set of size {@code m x n x p}, its actual memory consumption is much smaller. When the
       * cartesian set is constructed, the input sets are merely copied. Only as the resulting set is
       * iterated are the individual lists created, and these are not retained after iteration.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

        @Override
        public String toString() {
          return "Ordering.arbitrary()";
        }
    
        /*
         * We need to be able to mock identityHashCode() calls for tests, because it
         * can take 1-10 seconds to find colliding objects. Mocking frameworks that
         * can do magic to mock static method calls still can't do so for a system
         * class, so we need the indirection. In production, Hotspot should still
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultiset.java

        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        /**
         * If the specified collection is backed by an ObjectCountHashMap, it will be much more
         * efficient to iterate over it by index rather than an entry iterator, which will need to
         * allocate an object for each entry, so we check for that.
         */
        @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

        }
    
        @Override
        public @NonNull T next() {
          T result = valueOrNull;
          valueOrNull = null;
          // We put the common case first, even though it's unlikely to matter if the code is run much:
          // https://shipilev.net/jvm/anatomy-quarks/28-frequency-based-code-layout/
          if (result != null) {
            return result;
          }
          throw new NoSuchElementException();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top