Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 143 for NoSuchElementException (0.15 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val cacheEntry =
          fileSystem.allPaths
            .stream()
            .filter { e: Path -> e.name.endsWith(".0") }
            .findFirst()
            .orElseThrow { NoSuchElementException() }
        corruptCertificate(cacheEntry)
        val response2 = client.newCall(request).execute() // Not Cached!
        assertThat(response2.body.string()).isEqualTo("DEF")
        assertThat(cache.requestCount()).isEqualTo(2)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

     * under the License.
     */
    package org.apache.maven.api;
    
    import java.nio.file.Path;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashMap.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * CompactHashMap is an implementation of a Map. All optional operations (put and remove) are
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

                // has disappeared! Skip it.
              }
            }
    
            return false
          }
    
          override fun next(): String {
            if (!hasNext()) throw NoSuchElementException()
            val result = nextUrl!!
            nextUrl = null
            canRemove = true
            return result
          }
    
          override fun remove() {
            check(canRemove) { "remove() before next()" }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

                return true
              }
            }
    
            return false
          }
    
          override fun next(): Snapshot {
            if (!hasNext()) throw NoSuchElementException()
            removeSnapshot = nextSnapshot
            nextSnapshot = null
            return removeSnapshot!!
          }
    
          override fun remove() {
            val removeSnapshot = this.removeSnapshot
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

    import java.util.EnumSet;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CopyOnWriteArraySet;
    import java.util.stream.Collector;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

    ## Version 3.14.2
    
    _2019-05-19_
    
     *  Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two
        calls that failed at the same time could cause OkHttp to crash with a `NoSuchElementException`
        instead of the expected `IOException`.
    
     *  Fix: Don't crash with a `NullPointerException` when formatting an error message describing a
        truncated response from an HTTPS proxy.
    
    
    ## Version 3.14.1
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

    import java.util.Comparator;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedSet;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

    import java.util.AbstractMap;
    import java.util.AbstractMap.SimpleEntry;
    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.atomic.AtomicInteger;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        iterator.next().use {
          assertThat(it.key()).isEqualTo("c")
          it.assertValue(0, "c1")
          it.assertValue(1, "c2")
        }
        assertThat(iterator.hasNext()).isFalse()
        assertFailsWith<NoSuchElementException> {
          iterator.next()
        }
      }
    
      @Test
      fun iteratorElementsAddedDuringIterationAreOmitted() {
        set("a", "a1", "a2")
        set("b", "b1", "b2")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
Back to top