Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 212 for peak (0.04 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       */
      @GwtIncompatible // java.lang.ref.WeakReference
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> weakKeys() {
        return setKeyStrength(Strength.WEAK);
      }
    
      @CanIgnoreReturnValue
      CacheBuilder<K, V> setKeyStrength(Strength strength) {
        checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashFunction.java

     * they end up depending on <i>other</i> existing poor-quality {@code hashCode} implementations,
     * including those in many JDK classes.
     *
     * <p>{@code Object.hashCode} implementations tend to be very fast, but have weak collision
     * prevention and <i>no</i> expectation of bit dispersion. This leaves them perfectly suitable for
     * use in hash tables, because extra collisions cause only a slight performance hit, while poor bit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/HashFunction.java

     * they end up depending on <i>other</i> existing poor-quality {@code hashCode} implementations,
     * including those in many JDK classes.
     *
     * <p>{@code Object.hashCode} implementations tend to be very fast, but have weak collision
     * prevention and <i>no</i> expectation of bit dispersion. This leaves them perfectly suitable for
     * use in hash tables, because extra collisions cause only a slight performance hit, while poor bit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
    
        assertEquals(5, queue.peek().intValue());
        assertEquals(5, consumingIterator.next().intValue());
    
        assertEquals(14, queue.peek().intValue());
        assertTrue(consumingIterator.hasNext());
        assertTrue(queue.isEmpty());
      }
    
      public void testConsumingIterable_noIteratorCall() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Response.kt

       * a modest limit on `byteCount`, such as 1 MiB.
       */
      @Throws(IOException::class)
      fun peekBody(byteCount: Long): ResponseBody {
        val peeked = body.source().peek()
        val buffer = Buffer()
        peeked.request(byteCount)
        buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
        return buffer.asResponseBody(body.contentType(), buffer.size)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

                    if ( closed ) {
                        log.trace("Remote closed connection");
                    }
                    else if ( timeout ) {
                        log.debug("socket timeout in non peek state", ex);
                    }
                    else {
                        log.debug("recv failed", ex);
                    }
    
                    synchronized ( this ) {
                        try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            return Equivalence.equals();
          }
        },
    
        SOFT {
          @Override
          Equivalence<Object> defaultEquivalence() {
            return Equivalence.identity();
          }
        },
    
        WEAK {
          @Override
          Equivalence<Object> defaultEquivalence() {
            return Equivalence.identity();
          }
        };
    
        abstract Equivalence<Object> defaultEquivalence();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          if (source.isEmpty()) {
            throw PermittedMetaException.NSEE;
          }
    
          destination.push(source.pop());
          stackWithLastReturnedElementAtTop = destination;
          return destination.peek();
        }
    
        private void throwIfInvalid(IteratorFeature methodFeature) {
          if (!features.contains(methodFeature)) {
            if (stackWithLastReturnedElementAtTop == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

     *       ImmutableList#subList} may retain a reference to the entire data set, preventing it from
     *       being garbage collected. If some of the data is no longer reachable through other means,
     *       this constitutes a memory leak. Pass the view collection to the appropriate {@code copyOf}
     *       method to obtain a correctly-sized copy.
     *   <li>The performance of using the associated {@code Builder} class can be assumed to be no
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

       */
      @GwtIncompatible // java.lang.ref.WeakReference
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> weakKeys() {
        return setKeyStrength(Strength.WEAK);
      }
    
      @CanIgnoreReturnValue
      CacheBuilder<K, V> setKeyStrength(Strength strength) {
        checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top