Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 292 for asSeconds (1.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testUTimeReadWrite() {
            byte[] buffer = new byte[4];
            long time = System.currentTimeMillis();
            // UTime is seconds since epoch, so divide by 1000
            long unixTime = time / 1000L;
    
            // Mocking date for timezone consistency
            TimeZone original = TimeZone.getDefault();
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // Schedule periodic health checks
            scheduler.scheduleAtFixedRate(this::performHealthCheck, 10, 10, TimeUnit.SECONDS);
    
            // Schedule interface discovery
            scheduler.scheduleAtFixedRate(this::discoverInterfaces, 0, 30, TimeUnit.SECONDS);
        }
    
        /**
         * Initialize multi-channel support
         *
         * @throws IOException if initialization fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    	Cumulative float64
    
    	Max   float64
    	Avg   float64
    	Sum   float64
    	Count uint64
    }
    
    func init() {
    	interval := fmt.Sprintf("%ds", int(resourceMetricsCollectionInterval.Seconds()))
    	resourceMetricsHelpMap = map[MetricName]string{
    		interfaceRxBytes:  "Bytes received on the interface in " + interval,
    		interfaceRxErrors: "Receive errors in " + interval,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            }
        }
    
        /**
         * Shutdown the failover handler
         */
        public void shutdown() {
            executor.shutdown();
            try {
                if (!executor.awaitTermination(10, TimeUnit.SECONDS)) {
                    executor.shutdownNow();
                }
            } catch (InterruptedException e) {
                executor.shutdownNow();
                Thread.currentThread().interrupt();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

        )
    
      fun connectionCount(): Int = connectionCount.get()
    
      fun shutdown() {
        serverSocket!!.close()
        executor.shutdown()
        if (!executor.awaitTermination(5, TimeUnit.SECONDS)) {
          throw IOException("Gave up waiting for executor to shut down")
        }
      }
    
      private fun service(from: Socket) {
        val name = "SocksProxy ${from.remoteSocketAddress}"
        threadName(name) {
          try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top