Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 709 for failed (0.04 sec)

  1. ListenableFuture.java

    one of the methods in the {@link Futures#immediateFuture Futures.immediate*} L87: * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are L88: * fragile because they assume that only certain methods will be called and because they often L89: * implement subtleties of the API improperly. L90: * L91: * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you L92: * can't get by with the standard implementations, prefer...
    github.com/google/guava/futures/listenablefutur...
    Mon Jun 26 21:13:41 UTC 2023
      8K bytes
  2. ListenableFuture.java

    one of the methods in the {@link Futures#immediateFuture Futures.immediate*} L87: * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are L88: * fragile because they assume that only certain methods will be called and because they often L89: * implement subtleties of the API improperly. L90: * L91: * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you L92: * can't get by with the standard implementations, prefer...
    github.com/google/guava/guava/src/com/google/co...
    Mon Jun 26 21:13:41 UTC 2023
      8K bytes
  3. Absent.java

    (Optional<T>) INSTANCE; L33: } L34: L35: private Absent() {} L36: L37: @Override L38: public boolean isPresent() { L39: return false; L40: } L41: L42: @Override L43: public T get() { L44: throw new IllegalStateException("Optional.get() cannot be called on an absent value"); L45: } L46: L47: @Override L48: public T or(T defaultValue) { L49: return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)"); L50: } L51: L52: @SuppressWarnings("unchecked") // safe covariant...
    github.com/google/guava/android/guava/src/com/g...
    Mon May 17 14:07:47 UTC 2021
      2.5K bytes
  4. CHANGELOG.md

    consistent with major web browsers. L397: * Fix: Don't crash if Conscrypt returns a null version. L398: * Fix: Include the public suffix data as a resource in GraalVM native images. L399: * Fix: Fail fast when the cache is corrupted. L400: * Fix: Fail fast when a private key cannot be encoded. L401: * Fix: Fail fast when attempting to verify a non-ASCII hostname. L402: * Upgrade: [GraalVM 21][graalvm_21]. L403: * Upgrade: [Kotlin 1.4.20][kotlin_1_4_20]. L404: L405: L406:## Version 5.0.0-alpha.1 L407:...
    github.com/square/okhttp/CHANGELOG.md
    Thu Apr 18 01:31:39 UTC 2024
      21.4K bytes
  5. RegularImmutableBiMap.java

    L74: @Nullable ImmutableMapEntry<K, V>[] keyTable = createEntryArray(tableSize); L75: @Nullable ImmutableMapEntry<K, V>[] valueTable = createEntryArray(tableSize); L76: /* L77: * The cast is safe: n==entryArray.length means that we have filled the whole array with Entry L78: * instances, in which case it is safe to cast it from an array of nullable entries to an array L79: * of non-null entries. L80: */ L81: @SuppressWarnings("nullness") L82: Entry<K, V>[] entries = L83:...
    github.com/google/guava/guava/src/com/google/co...
    Sat Oct 19 00:05:46 UTC 2024
      11.3K bytes
  6. DescendingImmutableSortedSet.java

    UnmodifiableIterator<E> descendingIterator() { L78: return forward.iterator(); L79: } L80: L81: @Override L82: @GwtIncompatible("NavigableSet") L83: ImmutableSortedSet<E> createDescendingSet() { L84: throw new AssertionError("should never be called"); L85: } L86: L87: @Override L88: @CheckForNull L89: public E lower(E element) { L90: return forward.higher(element); L91: } L92: L93: @Override L94: @CheckForNull L95: public E floor(E element) { L96: return forward.ceiling(element);...
    github.com/google/guava/guava/src/com/google/co...
    Thu Nov 30 21:54:06 UTC 2023
      3.3K bytes
  7. RemovalListener.java

    removal L21: * resulting in notification could have occurred to an entry being manually removed or replaced, or L22: * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. L23: * L24: * <p>An instance may be called concurrently by multiple threads to process different entries. L25: * Implementations of this interface should avoid performing blocking calls or synchronizing on L26: * shared resources. L27: * L28: * @param <K> the most general type of keys this...
    github.com/google/guava/guava/src/com/google/co...
    Tue Jun 15 18:00:07 UTC 2021
      2K bytes
  8. HashFunction.java

    java.nio.ByteBuffer; L20:import java.nio.charset.Charset; L21:import org.checkerframework.checker.nullness.qual.Nullable; L22: L23:/** L24: * A hash function is a collision-averse pure function that maps an arbitrary block of data to a L25: * number called a <i>hash code</i>. L26: * L27: * <h3>Definition</h3> L28: * L29: * <p>Unpacking this definition: L30: * L31: * <ul> L32: * <li><b>block of data:</b> the input for a hash function is always, in concept, an ordered byte L33: * array. This hashing...
    github.com/google/guava/android/guava/src/com/g...
    Tue May 25 18:22:59 UTC 2021
      10.9K bytes
  9. HashFunction.java

    java.nio.ByteBuffer; L20:import java.nio.charset.Charset; L21:import org.checkerframework.checker.nullness.qual.Nullable; L22: L23:/** L24: * A hash function is a collision-averse pure function that maps an arbitrary block of data to a L25: * number called a <i>hash code</i>. L26: * L27: * <h3>Definition</h3> L28: * L29: * <p>Unpacking this definition: L30: * L31: * <ul> L32: * <li><b>block of data:</b> the input for a hash function is always, in concept, an ordered byte L33: * array. This hashing...
    github.com/google/guava/guava/src/com/google/co...
    Tue May 25 18:22:59 UTC 2021
      10.9K bytes
  10. RemovalListener.java

    removal L21: * resulting in notification could have occurred to an entry being manually removed or replaced, or L22: * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. L23: * L24: * <p>An instance may be called concurrently by multiple threads to process different entries. L25: * Implementations of this interface should avoid performing blocking calls or synchronizing on L26: * shared resources. L27: * L28: * @param <K> the most general type of keys this...
    github.com/google/guava/android/guava/src/com/g...
    Tue Jun 15 18:00:07 UTC 2021
      2K bytes
Back to top