- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 220 for Memory (0.07 seconds)
-
guava/src/com/google/common/collect/CompactHashing.java
static final int DEFAULT_SIZE = 3; /** * Minimum size of the hash table of a compact hash-based collection. Because small hash tables * use a byte[], any smaller size uses the same amount of memory due to object padding. */ private static final int MIN_HASH_TABLE_SIZE = 4; private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
* It's very unlikely that any loaded Futures class will see getChecked called with more * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache. * This avoids out-of-control memory consumption, and it keeps the cache from growing so * large that doing the lookup is noticeably slower than redoing the work would be. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_DURING_REQUEST_BODY)) // Limit the size of the request body that the server holds in memory to an arbitrary // 3.5 MBytes so this test can pass on devices with little memory. server.bodyLimit = 7 * 512 * 1024 val connection = server.url("/").toUrl().openConnection() as HttpURLConnection connection.setRequestMethod("POST")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
LockFreeBitArray(long bits) { checkArgument(bits > 0, "data length is zero!"); // Avoid delegating to this(long[]), since AtomicLongArray(long[]) will clone its input and // thus double memory usage. this.data = new AtomicLongArray(Ints.checkedCast(LongMath.divide(bits, 64, RoundingMode.CEILING))); this.bitCount = LongAddables.create(); } // Used by serializationCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 10.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
* a traditional {@code HashMap} implementation which stores keys and count values as map entries, * {@code ObjectCountHashMap} minimizes object allocation and reduces memory footprint. * * <p>In the absence of element deletions, this will iterate over elements in insertion order. */ @GwtCompatible @NullMarked class ObjectCountHashMap<K extends @Nullable Object> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* 2^n}, its memory usage is only {@code O(n)}. When the power set is constructed, the input set * is merely copied. Only as the power set is iterated are the individual subsets created, and * these subsets themselves occupy only a small constant amount of memory. * * @param set the set of elements to construct a power set fromCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
*/ public static void rotate(int[] array, int distance, int fromIndex, int toIndex) { // There are several well-known algorithms for rotating part of an array (or, equivalently, // exchanging two blocks of memory). This classic text by Gries and Mills mentions several: // https://ecommons.cornell.edu/bitstream/handle/1813/6292/81-452.pdf. // (1) "Reversal", the one we have here.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0) -
docs/contribute/concurrency.md
Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead. #### Framed protocols
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0) -
.teamcity/subprojects.json
"path": "platforms/ide/problems-rendering", "unitTests": true, "functionalTests": false, "crossVersionTests": false }, { "name": "process-memory-services", "path": "platforms/core-runtime/process-memory-services", "unitTests": true, "functionalTests": true, "crossVersionTests": false }, { "name": "process-services",
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 15:03:00 GMT 2026 - 42K bytes - Click Count (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java
package com.google.thirdparty.publicsuffix; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableList; import java.util.List; import org.jspecify.annotations.Nullable; /** * A memory-efficient binary trie structure for public suffix lookups. The trie is stored as a * series of 16-bit characters in a String. * * <p>The trie data is stored in a {@link CharSequence} where each node takes 3 characters: *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 9.1K bytes - Click Count (0)