- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 450 for memcpy (0.03 sec)
-
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* } * public void testFooLeak() { * GcFinalization.awaitClear(fooWeakRef()); * } * } * * <p>This class cannot currently be used to test soft references, since this class does not try to * create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. * * @author mike nonemacher
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
try { toolchainsWriter.write(stringWriter, null, toolchains); } catch (IOException e) { throw new IllegalStateException("Failed to serialize toolchains to memory", e); } String serializedToolchains = stringWriter.toString(); RegexBasedInterpolator interpolator = new RegexBasedInterpolator(); try {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 05 09:37:42 UTC 2025 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
* and virtual memory, this is not a problem - because it is mapped read-only, the kernel * can always page it to disk "for free". However, on systems where killing processes * happens all the time in normal conditions (i.e., android) the OS must make a tradeoff
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
* map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the * 64k limit on string literal size. In-memory strings can be much larger (2G). */ static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) { String encoded = DIRECT_JOINER.join(encodedChunks); return parseFullString(encoded);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
*/ @Override List<V> createCollection() { return new ArrayList<>(expectedValuesPerKey); } /** * Reduces the memory used by this {@code ArrayListMultimap}, if feasible. * * @deprecated For a {@link ListMultimap} that automatically trims to size, use {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 23:15:58 UTC 2025 - 6.8K bytes - Viewed (0) -
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) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* <i>deeply</i> immutable. * </ul> * * <h4>Performance notes</h4> * * <ul> * <li>Implementations can be generally assumed to prioritize memory efficiency, then speed of * access, and lastly speed of creation. * <li>The {@code copyOf} methods will sometimes recognize that the actual copy operation is
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java
*/ package org.apache.maven.project; import java.io.File; import java.util.List; import org.apache.maven.artifact.Artifact; import org.apache.maven.model.building.ModelSource; /** * Builds in-memory descriptions of projects. * * @deprecated use {@code org.apache.maven.api.services.ProjectBuilder} instead */ @Deprecated(since = "4.0.0") public interface ProjectBuilder { /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 10:13:56 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
* interned, and so does not prevent these instances from being garbage-collected. This most * likely does not perform as well as {@link #newStrongInterner}, but is the best alternative when * the memory usage of that implementation is unacceptable. */ @GwtIncompatible("java.lang.ref.WeakReference") public static <E> Interner<E> newWeakInterner() { return newBuilder().weak().build(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* <p> * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion. * <p> * <strong>Note:</strong> Actual implementations must be thread-safe. * * @see Session#getData() * @since 4.0.0 */ @Experimental @ThreadSafe @Provider public interface SessionData {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0)