Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 699 for maximum (0.05 seconds)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /**
         * Cache for storing resource file modification timestamps to enable cache busting.
         * The cache expires after 10 minutes and has a maximum size of 1000 entries.
         */
        private static LoadingCache<String, Long> resourceHashCache =
                CacheBuilder.newBuilder().maximumSize(1000).expireAfterWrite(10, TimeUnit.MINUTES).build(new CacheLoader<String, Long>() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertEquals(-1, empty.read());
      }
    
      private static InputStream newTestStream(int n) {
        return new ByteArrayInputStream(newPreFilledByteArray(n));
      }
    
      /** Stream that will skip a maximum number of bytes at a time. */
      private static class SlowSkipper extends FilterInputStream {
        private final long max;
    
        SlowSkipper(InputStream in, long max) {
          super(in);
          this.max = max;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(1, pairs.size(), "Should have one pair");
            assertTrue(pairs.get(0) instanceof AvChannelBindings, "Should be AvChannelBindings instance");
        }
    
        /**
         * Test edge case with maximum data size
         */
        @Test
        @DisplayName("Handle large data size")
        void testLargeDataSize() throws CIFSException {
            // Create a large data array
            byte[] largeData = new byte[1024];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(0L, fileFsSizeInfo.getCapacity());
                assertEquals(0L, fileFsSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should decode buffer with maximum values")
            void shouldDecodeBufferWithMaximumValues() throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(24);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 80)); // 80 + 48 > 100
            }
    
            @Test
            @DisplayName("Should handle locks with maximum values")
            void testLocksWithMaximumValues() {
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(Long.MAX_VALUE, Long.MAX_VALUE, Integer.MAX_VALUE) };
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * <p>For a version of this method that waits <i>indefinitely</i>, use {@link
       * ExecutorService#close}.
       *
       * @param service the {@code ExecutorService} to shut down
       * @param timeout the maximum time to wait for the {@code ExecutorService} to terminate
       * @return {@code true} if the {@code ExecutorService} was terminated successfully, {@code false}
       *     if the call timed out or was interrupted
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            // Default constructor
        }
    
        /** Interval for checking user information in milliseconds (default: 10 minutes). */
        protected long userCheckInterval = 10 * 60 * 1000L; // 10 min
    
        /** Maximum size of the user information cache. */
        protected int userInfoCacheSize = 10000;
    
        /** Queue for storing search logs. */
        protected Queue<SearchLog> searchLogQueue = new ConcurrentLinkedQueue<>();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/util/Encdec.java

         * Encodes a String as UTF-8 bytes.
         *
         * @param str the String to encode
         * @param dst the destination byte array
         * @param di the starting index in the destination array
         * @param dlim the maximum index in the destination array
         * @return the number of bytes written
         * @throws IOException if an encoding error occurs
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

       */
    
      // Constants
    
      /**
       * The maximum capacity, used if a higher value is implicitly specified by either of the
       * constructors with arguments. MUST be a power of two no greater than {@code 1<<30} to ensure
       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     * }
     * ```
     *
     * This technique works even better in situations where a stale response is better than no response.
     * To permit stale cached responses, use the `max-stale` directive with the maximum staleness in
     * seconds:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder()
     *         .maxStale(365, TimeUnit.DAYS)
     *         .build())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
Back to Top