Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 246 for asSeconds (0.06 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    import static java.util.concurrent.Executors.newFixedThreadPool;
    import static java.util.concurrent.Executors.newScheduledThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.base.Preconditions;
    import com.google.common.base.Stopwatch;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.TearDown;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            assertTrue(latch.await(10, TimeUnit.SECONDS));
            executor.shutdown();
        }
    
        @Test
        @DisplayName("Test invalid session ID handling")
        public void testInvalidSessionIdHandling() {
            assertThrows(CIFSException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          "ConnectionReleased",
          "CallEnd",
        )
      }
    
      @Test
      fun failedCallEventSequence() {
        server.enqueue(
          MockResponse
            .Builder()
            .headersDelay(2, TimeUnit.SECONDS)
            .build(),
        )
        client =
          client
            .newBuilder()
            .readTimeout(Duration.ofMillis(250))
            .build()
        val call =
          client.newCall(
            Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            // Load persisted handles on startup
            loadPersistedHandles();
    
            // Schedule periodic persistence and cleanup
            scheduler.scheduleAtFixedRate(this::periodicMaintenance, 30, 30, TimeUnit.SECONDS);
        }
    
        /**
         * Request a new durable handle
         * @param path the file path
         * @param type the handle type
         * @param timeout the timeout in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            Smb2LeaseKey key = leaseManager.requestLease(path, initialState);
            leaseManager.updateLease(key, initialState);
    
            // Call with default timeout (should use 60 seconds from config)
            leaseManager.handleLeaseBreakWithTimeout(key, newState);
    
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(newState, entry.getLeaseState());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

        get() {
          if (executorServiceOrNull == null) {
            executorServiceOrNull =
              ThreadPoolExecutor(
                0,
                Int.MAX_VALUE,
                60,
                TimeUnit.SECONDS,
                SynchronousQueue(),
                threadFactory("$okHttpName Dispatcher", false),
              )
          }
          return executorServiceOrNull!!
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                        }
                    });
                }
    
                executor.shutdown();
                assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout");
    
                // Analyze timing consistency across threads
                if (!timings.isEmpty()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        /** Maximum number of concurrent leases */
        protected int maxLeases = 1000;
        /** Preferred lease version (1 or 2) */
        protected int leaseVersion = 2;
        /** Lease break timeout in seconds (per MS-SMB2 spec) */
        protected int leaseBreakTimeout = 60;
        /** Whether to use NT status codes instead of DOS error codes */
        protected boolean useNtStatus = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/cors.md

    * `expose_headers` - Indicate any response headers that should be made accessible to the browser. Defaults to `[]`.
    * `max_age` - Sets a maximum time in seconds for browsers to cache CORS responses. Defaults to `600`.
    
    The middleware responds to two particular types of HTTP request...
    
    ### CORS preflight requests { #cors-preflight-requests }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/CrawlJob.java

         * -2: use system default, -1: never expire, 0 or positive: expire after specified days.
         */
        protected int documentExpires = -2;
    
        /**
         * Hot thread monitoring interval in seconds.
         * -1: disabled, positive value: enable hot thread monitoring with specified interval.
         * Used for performance analysis and debugging of the crawler process.
         */
        protected int hotThreadInterval = -1;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top