Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 170 for Peak (0.03 seconds)

  1. guava/src/com/google/common/collect/CollectSpliterators.java

    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.j2objc.annotations.Weak;
    import java.util.Comparator;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.function.DoubleConsumer;
    import java.util.function.Function;
    import java.util.function.IntConsumer;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  2. internal/handlers/forwarder.go

    	}
    
    	return f
    }
    
    type bufPool struct {
    	sz   int
    	pool bpool.Pool[*[]byte]
    }
    
    func (b *bufPool) Put(buf []byte) {
    	if cap(buf) < b.sz || cap(buf) > b.sz*2 {
    		// Buffer too small or will likely leak memory after being expanded.
    		// Drop it.
    		return
    	}
    	b.pool.Put(&buf)
    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get()
    	if bufp == nil || cap(*bufp) < b.sz {
    		return make([]byte, 0, b.sz)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@linkplain WeakReference weak} references
     *   <li>values automatically wrapped in {@linkplain WeakReference weak} or {@linkplain
     *       SoftReference soft} references
     *   <li>notification of evicted (or otherwise removed) entries
     *   <li>accumulation of cache access statistics
     * </ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

         * User property to configure separate reference types for cache keys.
         * This enables fine-grained analysis of cache misses caused by key vs value evictions.
         * Supported values are {@code HARD}, {@code SOFT} and {@code WEAK}.
         *
         * @since 4.1.0
         */
        public static final String MAVEN_CACHE_KEY_REFS = "maven.cache.keyValueRefs";
    
        /**
         * User property to configure separate reference types for cache values.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    
      /**
       * Test that verifies the resource leak fix for <a
       * href="https://github.com/google/guava/issues/5756">Issue #5756</a>.
       *
       * <p>This test covers a scenario where we write a smaller amount of data first, then write a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CollectSpliterators.java

    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.j2objc.annotations.Weak;
    import java.util.Comparator;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.function.DoubleConsumer;
    import java.util.function.Function;
    import java.util.function.IntConsumer;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    import com.google.common.collect.Lists;
    import com.google.common.collect.MapMaker;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.j2objc.annotations.Weak;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.EnumMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        assertThat(sepStopwatchA.get()).isNotNull();
        // Clear all references to the Stopwatch and wait for it to be gc'd.
        sepStopwatchA.set(null);
        GcFinalization.awaitClear(sepStopwatchRef.get());
        // Return a weak reference to the parallel ClassLoader. This is the reference that should
        // eventually become clear if there are no other references to the ClassLoader.
        return new WeakReference<ClassLoader>(sepLoader);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. docs/changelogs/changelog_3x.md

        edge-case regression introduced with the events cleanup in 3.14.0.
    
     *  Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would
        silently leak connections when an interceptor retries without closing the response body. With
        3.14 we detect this problem but the exception was not helpful.
    
    ## Version 3.14.0
    
    _2019-03-14_
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

            return failedTests;
        }
    
        /**
         * Class for identifying test output sources. We use this rather than Gradle's {@link TestDescriptor} as we want
         * to avoid any nasty memory leak issues that come from keeping Gradle implementation types in memory. Since we
         * use this a the key for our HashMap, it's best to control the implementation as there's no guarantee that Gradle's
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
Back to Top