Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 818 for max (0.34 seconds)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertFalse(entry.isComplete());
            assertTrue(entry.hasChanges());
            assertTrue(entry.getChildren().isEmpty());
        }
    
        @Test
        public void testExpiration() {
            // Set a very short max age
            entry.setMaxAge(100); // 100ms
    
            assertFalse(entry.isExpired());
            assertFalse(entry.needsRefresh());
    
            // Wait for expiration
            try {
                Thread.sleep(150);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. CLAUDE.md

    ---
    
    ## Code Conventions
    
    ### Java Style
    
    - **Formatter**: Eclipse formatter at `src/config/eclipse/formatter/java.xml`
    - **Indentation**: 4 spaces (no tabs)
    - **Line Length**: 140 characters max
    - **License Headers**: Required (use `mvn license:format`)
    
    ### Naming & Style
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum TimeoutsToUse {
        ANY(Timeout.values()),
        PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO),
        FUTURE(Timeout.SMALL, Timeout.MAX),
        SMALL(Timeout.SMALL),
        FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL),
        INFINITE(Timeout.LARGE, Timeout.MAX);
    
        final ImmutableList<Timeout> timeouts;
    
        TimeoutsToUse(Timeout... timeouts) {
          this.timeouts = ImmutableList.copyOf(timeouts);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Test zero
            FileEndOfFileInformation info2 = new FileEndOfFileInformation(0L);
            assertEquals("EndOfFileInformation[endOfFile=0]", info2.toString());
    
            // Test max value
            FileEndOfFileInformation info3 = new FileEndOfFileInformation(Long.MAX_VALUE);
            assertEquals("EndOfFileInformation[endOfFile=" + Long.MAX_VALUE + "]", info3.toString());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. cmd/speedtest.go

    	duration         time.Duration
    	autotune         bool
    	storageClass     string
    	bucketName       string
    	enableSha256     bool
    	enableMultipart  bool
    	creds            auth.Credentials
    }
    
    // Get the max throughput and iops numbers.
    func objectSpeedTest(ctx context.Context, opts speedTestOpts) chan madmin.SpeedTestResult {
    	ch := make(chan madmin.SpeedTestResult, 1)
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            assertEquals("test", list.get(1));
    
        }
    
        @Test
        public void test_setMaxGroupDepth() {
            EntraIdAuthenticator authenticator = new EntraIdAuthenticator();
    
            // Test setting different max group depths
            authenticator.setMaxGroupDepth(5);
            authenticator.setMaxGroupDepth(20);
            authenticator.setMaxGroupDepth(1);
    
            // Verify method accepts valid values without exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                        log.debug("Reusing existing lease for path: {}", path);
                        return existingKey;
                    }
                }
    
                // Check if we've reached max leases
                int maxLeases = context.getConfig().getMaxLeases();
                if (maxLeases > 0 && leases.size() >= maxLeases) {
                    // Clean up oldest leases
                    evictOldestLeases(1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

     *
     * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the
     * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE].
     */
    class Http2Reader(
      /** Creates a frame reader with max header table size of 4096. */
      private val source: BufferedSource,
      private val client: Boolean,
    ) : Closeable {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.start();
            thread.join(2000);
    
            String output = thread.getOutput();
            String[] lines = output.split("\n");
    
            assertTrue("Buffer should respect max size", lines.length <= InputStreamThread.MAX_BUFFER_SIZE + 1);
        }
    
        @Test
        public void test_getOutput_emptyStream() throws InterruptedException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

                requestCounters.put(ip, counter);
            }
    
            final long count = counter.incrementAndGet();
    
            if (logger.isDebugEnabled()) {
                logger.debug("Request count: ip={}, count={}, max={}", ip, count, maxRequests);
            }
    
            if (count > maxRequests) {
                blockedIps.put(ip, Boolean.TRUE);
                logger.info("Rate limit exceeded, IP blocked: ip={}, requestCount={}", ip, count);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top