Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 259 for guarantees (0.06 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          default:
            return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(elements));
        }
      }
    
      // Factory method that skips the null checks.  Used only when the elements
      // are guaranteed to be non-null.
      static <E> ImmutableList<E> unsafeDelegateList(List<? extends E> list) {
        switch (list.size()) {
          case 0:
            return of();
          case 1:
            return of(list.get(0));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

              releaseShared(finalState);
            } else if (getState() == COMPLETING) {
              // If some other thread is currently completing the future, block until
              // they are done so we can guarantee completion.
              acquireShared(-1);
            }
            return doCompletion;
          }
        }
    
        static CancellationException cancellationExceptionWithCause(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return ImmutableSortedSet.orderedBy(STRING_REVERSED).add(elements).build();
        }
    
        /*
         * While the current implementation returns `this`, that's not something we mean to guarantee.
         * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
         * collection.
         */
        @SuppressWarnings("CanIgnoreReturnValueSuggester")
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterables.java

       * .toString(Iterables.toArray(iterable))}). Note that for <i>most</i> implementations of {@link
       * Collection}, {@code collection.toString()} also gives the same result, but that behavior is not
       * generally guaranteed.
       */
      public static String toString(Iterable<?> iterable) {
        return Iterators.toString(iterable.iterator());
      }
    
      /**
       * Returns the single element contained in {@code iterable}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                    nonExistentParent.delete();
                }
            }
        }
    
        public void test_generate_invalid_parent_directory() throws Exception {
            // Create a path that's guaranteed to be invalid
            final File invalidParent = System.getProperty("os.name", "linux").toLowerCase().startsWith("windows")
                    ? new File("Q:\\invalid\\path\\that\\does\\not\\exist")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

                  : new DescendingImmutableSortedMultiset<E>(this);
        }
        return result;
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation is guaranteed to throw an {@link UnsupportedOperationException}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TopKSelector.java

      private void swap(int i, int j) {
        T tmp = buffer[i];
        buffer[i] = buffer[j];
        buffer[j] = tmp;
      }
    
      /*
       * While the current implementation returns `this`, that's not something we mean to guarantee.
       * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
       * so its return value will get used naturally.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.24.md

    - Pods will now post their readiness during termination. ([#110416](https://github.com/kubernetes/kubernetes/pull/110416), [@aojea](https://github.com/aojea)) [SIG Network, Node and Testing]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashCode.java

        byte[] getBytesInternal() {
          return bytes;
        }
    
        @Override
        boolean equalsSameBits(HashCode that) {
          // We don't use MessageDigest.isEqual() here because its contract does not guarantee
          // constant-time evaluation (no short-circuiting).
          if (this.bytes.length != that.getBytesInternal().length) {
            return false;
          }
    
          boolean areEqual = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMaker.java

       * instance, so it can be invoked again to create multiple independent maps.
       *
       * <p>The bulk operations {@code putAll}, {@code equals}, and {@code clear} are not guaranteed to
       * be performed atomically on the returned map. Additionally, {@code size} and {@code
       * containsValue} are implemented as bulk read operations, and thus may fail to observe concurrent
       * writes.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top