Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 79 for Memory (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/FileBackedOutputStream.java

            // requireNonNull is safe because we always have either `file` or `memory`.
            requireNonNull(memory);
            return new ByteArrayInputStream(memory.getBuffer(), 0, memory.getCount());
          }
        }
    
        synchronized void reset() throws IOException {
          try {
            close();
          } finally {
            if (memory == null) {
              memory = new MemoryOutput();
            } else {
              memory.reset();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * class to read a response that is larger than the entire memory allocated to the current process.
     * It can even stream a response larger than the total storage on the current device, which is a
     * common requirement for video streaming applications.
     *
     * Because this class does not buffer the full response in memory, the application may not
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            // Test that constructor accepts Error as cause (verifies Throwable parameter change)
            String message = "SSO login failed due to memory error";
            OutOfMemoryError error = new OutOfMemoryError("Not enough memory for SSO login");
            SsoLoginException exception = new SsoLoginException(message, error);
    
            assertEquals(message, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  5. README.md

    - **Caching** - Bean descriptors and reflection metadata are cached for improved performance
    - **Lazy initialization** - Resources and expensive operations are initialized only when needed  
    - **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications
    - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
    
    ## 🧪 Building and Testing
    
    ### Development Setup
    ```bash
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

     * <p>This class should not be assumed to be universally superior to {@code java.util.HashSet}.
     * Generally speaking, this class reduces object allocation and memory consumption at the price of
     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Dimitris Andreou
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * response body. Call `body.source().request(1024 * 1024)` to block until either that's done, or
       * 1 MiB of response data is loaded into memory. (You could use any size here, though large values
       * risk exhausting memory.)
       *
       * This returns an empty value if the trailers are available, but have no data.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            // Test that constructor accepts Error as cause (verifies Throwable parameter change)
            String message = "SSO process failed due to OutOfMemoryError";
            OutOfMemoryError error = new OutOfMemoryError("Insufficient memory for SSO processing");
            SsoProcessException exception = new SsoProcessException(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
    - 13.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            // Test Error with abort flag
            String url = "http://example.com/critical-resource";
            String message = "Critical memory error during crawling";
            OutOfMemoryError error = new OutOfMemoryError("Cannot allocate memory");
    
            DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, error, true);
    
            assertEquals(url, exception.getUrl());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  10. 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)
Back to Top