Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 163 for Memory (0.05 seconds)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            public long used;
            /** Committed non-heap memory in bytes */
            public long committed;
            /** Maximum non-heap memory in bytes */
            public long max;
            /** The percentage of non-heap memory usage. */
            public short percent;
        }
    
        /**
         * Data transfer object representing JVM buffer pool statistics.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/curl/io/ContentCache.java

        }
    
        /**
         * Returns whether the content is cached in memory.
         *
         * @return true if the content is in memory, false if it is in a file
         */
        public boolean isInMemory() {
            return data != null;
        }
    
        /**
         * Returns the content as a byte array.
         * If the content is cached in memory, a clone of the data is returned.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. CLAUDE.md

    - **`CurlException`**: Unchecked RuntimeException for HTTP errors.
    
    ### I/O Layer
    
    - **`ContentCache`**: In-memory or file-based caching. Implements `Closeable` and auto-deletes file cache on close.
    
    - **`ContentOutputStream`**: Extends `DeferredFileOutputStream`. Writes to memory until threshold (default 1MB) exceeded, then spills to temp file.
    
    ## Technical Details
    
    - **Java Version**: 17+
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jan 08 07:28:24 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    import java.util.Date;
    import java.util.Map;
    import java.util.Objects;
    
    /**
     * Utility class for memory operations and size calculations.
     */
    public final class MemoryUtil {
        private MemoryUtil() {
        }
    
        /**
         * Gets a formatted memory usage log string.
         *
         * @return formatted memory usage information
         */
        public static String getMemoryUsageLog() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableDoubleArray} 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
    - 22.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableIntArray} 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
    - 21.9K bytes
    - Click Count (0)
  9. 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)
  10. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.close();
            assertTrue(file.exists());
        }
    
        @Test
        public void testThresholdOne() throws IOException {
            // With threshold 1, writing 1 byte should stay in memory
            ContentOutputStream cos = new ContentOutputStream(1, Curl.tmpDir);
            cos.write(new byte[] { 1 });
            assertTrue(cos.isInMemory());
            assertFalse(cos.done);
            cos.close();
        }
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top