- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 829 for heap (1 sec)
-
src/bytes/buffer.go
// return append(b, make([]byte, n)...) // This avoids unnecessary zero-ing of the first len(b) bytes of the // allocated slice, but this pattern causes b to escape onto the heap. // // Instead use the append-make pattern with a nil slice to ensure that // we allocate buffers rounded up to the closest size class. c := len(b) + n // ensure enough space for n elements if c < 2*cap(b) {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertTrue( "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(), bitArray.bitSize() > 0); // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space // BloomFilter.create(Funnels.unencodedCharsFunnel(), 244412641, 1e-11); } /** * Asserts that {@link BloomFilter#approximateElementCount} is within 1 percent of the expected * value. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 22.1K bytes - Viewed (0) -
android/pom.xml
<exclude>%regex[.*[$]\d+.class]</exclude> </excludes> <redirectTestOutputToFile>true</redirectTestOutputToFile> <runOrder>alphabetical</runOrder> <!-- Set max heap for tests. --> <!-- Catch dependencies on the default locale by setting it to hi-IN. --> <argLine>-Xmx1536M -Duser.language=hi -Duser.country=IN ${test.add.opens}</argLine> </configuration>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 03:10:05 UTC 2025 - 26.4K bytes - Viewed (0) -
pom.xml
<exclude>%regex[.*[$]\d+.class]</exclude> </excludes> <redirectTestOutputToFile>true</redirectTestOutputToFile> <runOrder>alphabetical</runOrder> <!-- Set max heap for tests. --> <!-- Catch dependencies on the default locale by setting it to hi-IN. --> <argLine>-Xmx1536M -Duser.language=hi -Duser.country=IN ${test.add.opens}</argLine> </configuration>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 03:10:05 UTC 2025 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
final long freeMemory = Runtime.getRuntime().freeMemory(); final String msg = String.format( "%d words from %d %s: {\"time\":{\"parse\":%d,\"index\":%d},\"cpu\":%f,\"mem\":{\"heap\":\"%dmb\",\"used\":\"%dmb\"}}", items.length, size, type, parseTime, indexTime, cpuLoad, maxMemory / (1024 * 1024), (maxMemory - freeMemory) / (1024 * 1024)); logger.info(msg);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 34.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
final Queue<IndexedIterator<T>> queue; MergingIterator( Iterable<? extends Iterator<? extends T>> iterators, Comparator<? super T> itemComparator) { // A comparator that's used by the heap, allowing the heap // to be sorted based on the top of each iterator, with insertion order as tiebreaker Comparator<IndexedIterator<T>> heapComparator = (o1, o2) -> ComparisonChain.start()Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* *Map variants. This class is particularly hard to benchmark, because the benefit is not only in * less allocation, but also having the GC do less work to scan the heap because of fewer * references, which is particularly hard to quantify. */ /** Creates an empty {@code CompactHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int size = stream.readInt(); init(16); // resist hostile attempts to allocate gratuitous heap Serialization.populateMap(this, stream, size); } // TODO(cpovirk): Should we have a serialVersionUID here?
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:46:34 UTC 2025 - 37.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* *Map variants. This class is particularly hard to benchmark, because the benefit is not only in * less allocation, but also having the GC do less work to scan the heap because of fewer * references, which is particularly hard to quantify. */ /** Creates an empty {@code CompactHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0)