Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for exhaustion (0.04 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * {@link PriorityQueue} and supplies blocking retrieval operations. While this queue is logically
     * unbounded, attempted additions may fail due to resource exhaustion (causing {@code
     * OutOfMemoryError}). This class does not permit {@code null} elements. A priority queue relying on
     * {@linkplain Comparable natural ordering} also does not permit insertion of non-comparable objects
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/StandardTable.java

           * - The only case in which rowEntry is cleared (during remove() below) happens only if the
           *   caller removed every element from columnIterator. During that process, we would have had
           *   to iterate it to exhaustion. Then we can apply the logic above about an empty
           *   columnIterator. (This assumes no concurrent modification, but behavior under concurrent
           *   modification is undefined, anyway.)
           */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                        val source = responseBody.source()
                        if (source.isOpen) {
                          source.skipAll()
                        }
                        return peek() ?: error("null trailers after exhausting response body?!")
                      }
                    },
                  ).build()
              }
            }
          if ("close".equals(response.request.header("Connection"), ignoreCase = true) ||
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.26.md

    - Fixed an ephemeral port exhaustion bug caused by improper connection management that occurred when a large number of objects were handled by `kubectl` while exec auth was in use. ([#112017](https://github.com/kubernetes/kubernetes/pull/112017), [@enj](https://github.com/enj))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * response body. Call `body.source().request(1024 * 1024)` to block until either that's done, or
       * 1 MiB of response data is loaded into memory. (You could use any size here, though large values
       * risk exhausting memory.)
       *
       * This returns an empty value if the trailers are available, but have no data.
       *
       * It is not safe to call this concurrently with code that is processing the response body.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

                  }
                });
    
        List<String> actual = newArrayList(result);
        List<String> expected = asList("1", "2", "null", "3");
        assertEquals(expected, actual);
      }
    
      // Far less exhaustive than the tests in IteratorsTest
      public void testCycle() {
        Iterable<String> cycle = Iterables.cycle("a", "b");
    
        int howManyChecked = 0;
        for (String string : cycle) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  }
                });
    
        List<String> actual = newArrayList(result);
        List<String> expected = asList("1", "2", "null", "3");
        assertEquals(expected, actual);
      }
    
      // Far less exhaustive than the tests in IteratorsTest
      public void testCycle() {
        Iterable<String> cycle = Iterables.cycle("a", "b");
    
        int howManyChecked = 0;
        for (String string : cycle) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathTesting.java

    import com.google.common.collect.Iterables;
    import com.google.common.primitives.Doubles;
    import java.math.BigInteger;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Exhaustive input sets for every integral type.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public final class MathTesting {
      static final ImmutableSet<RoundingMode> ALL_ROUNDING_MODES =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        while (read(skipBuffer, 8192) != -1L) {
          skipBuffer.clear()
        }
        true // Success! The source has been exhausted.
      } catch (_: InterruptedIOException) {
        false // We ran out of time before exhausting the source.
      } finally {
        if (originalDurationNs == Long.MAX_VALUE) {
          timeout().clearDeadline()
        } else {
          timeout().deadlineNanoTime(nowNs + originalDurationNs)
        }
      }
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

            0xf4335f23, 0x063f52dd, 0x5a26b1e2, 0xa82abc1c, 0xbbd2dcef, 0x49ded111,
            0x9c221d09, 0x6e2e10f7, 0x7dd67004, 0x8fda7dfa,
          },
        };
    
        // Value x picked so computeForWord(x) == ~0, found by exhaustive search.
        static final int INVERSE_COMPUTE_FOR_WORD_OF_ALL_1S = 0xeee3ddcd;
    
        static int computeForWord(int word) {
          return strideTable[3][word & 0xFF]
              ^ strideTable[2][(word >>> 8) & 0xFF]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top