- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 220 for Memory (0.3 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt
* interfere with session-based authentication schemes that require cookies. * * As persistence, implementations of this interface must also provide storage of cookies. Simple * implementations may store cookies in memory; sophisticated ones may use the file system or * database to hold accepted cookies. The [cookie storage model][rfc_6265_53] specifies policies for * updating and expiring cookies. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
// This verifies the change from Exception to Throwable parameter String message = "Thumbnail generation failed due to OutOfMemoryError"; Error error = new OutOfMemoryError("Not enough memory"); ThumbnailGenerationException exception = new ThumbnailGenerationException(message, error); assertEquals(message, exception.getMessage()); assertNotNull(exception.getCause());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
import com.google.common.collect.CollectionBenchmarkSampleData.Element; import java.util.HashMap; import java.util.Map; import org.jspecify.annotations.NullUnmarked; /** Benchmarks for memory consumption of map implementations. */ @NullUnmarked public class MapsMemoryBenchmark { static final Map<String, MapsImplEnum> mapEnums = uniqueIndex( Iterables.<MapsImplEnum>concat(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
* proportional to the highest valued character that has a replacement. For example a replacement * map containing the single character '{@literal \}u1000' will require approximately 16K of memory. * As such sharing this data structure between escaper instances is the primary goal of this class. * * @author David Beaumont * @since 15.0 */ @GwtCompatible public final class ArrayBasedEscaperMap { /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/package-info.java
/** * {@linkplain CacheBuilder Discouraged} (in favor of <a * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>) caching utilities. * * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link * CacheLoader}. Statistics about cache performance are exposed using {@link CacheStats}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 03 19:02:39 GMT 2025 - 1.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
*/ package okhttp3.internal.tls import java.security.cert.X509Certificate import javax.security.auth.x500.X500Principal /** A simple index that of trusted root certificates that have been loaded into memory. */ class BasicTrustRootIndex( vararg caCerts: X509Certificate, ) : TrustRootIndex { private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>> init {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
searchEngineClient = new SearchEngineClient() { @Override public long deleteByQuery(String index, QueryBuilder query) { throw new OutOfMemoryError("Out of memory"); } }; ComponentUtil.register(searchEngineClient, "searchEngineClient"); // OutOfMemoryError is an Error, not Exception, so it will not be caught
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* * {@snippet : * Stream.of("foo", "quux", "banana", "elephant").collect(least(2, comparingInt(String::length))) * // returns {"foo", "quux"} * } * * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n * log n) time and O(n) space. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java
import com.google.caliper.Param; import com.google.common.collect.BenchmarkHelpers.SetImpl; import org.jspecify.annotations.NullUnmarked; /** * This is meant to be used with {@code --measureMemory} to measure the memory usage of various * {@code Set} implementations. * * @author Christopher Swenson */ @NullUnmarked public class SetCreationBenchmark { @Param({Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} } /** * Reads the contents of a file into a byte array and returns it. * <p> * <strong>Note:</strong> This method loads the entire file into memory. * For files larger than {@value #MAX_BUF_SIZE} bytes (10MB), an * {@link IORuntimeException} will be thrown to prevent OutOfMemoryError. * For large files, use streaming APIs instead. * </p> *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0)