Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 175 for Timing (0.34 sec)

  1. src/test/java/jcifs/util/ResourceManagerTest.java

            // Check for leaks
            resourceManager.checkForLeaks();
    
            Map<String, Object> stats = resourceManager.getStatistics();
            // The leak counter may or may not increment depending on GC timing
            assertNotNull(stats.get("totalLeaks"));
        }
    
        private void createLeakyResource() {
            TestResource resource = new TestResource("leaky");
            resourceManager.registerResource(resource);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

    import jakarta.annotation.PreDestroy;
    
    /**
     * Helper class for managing crawler statistics and performance metrics.
     * This class provides functionality to track, record, and report statistics
     * about crawler operations including timing data, performance metrics, and
     * operational events. It uses an internal cache to maintain statistics
     * objects and provides methods to begin tracking, record events, and
     * finalize statistics collection.
     *
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

     *   <li>Thread pool management for crawler execution</li>
     *   <li>Session-based crawling with cleanup operations</li>
     *   <li>Old document deletion after successful crawling</li>
     *   <li>Crawling execution monitoring and timing</li>
     * </ul>
     */
    public class DataIndexHelper {
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(DataIndexHelper.class);
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

         */
        public void resetStatistics() {
            for (AtomicLong counter : eventCounters.values()) {
                counter.set(0);
            }
            for (AtomicLong timing : eventTimings.values()) {
                timing.set(0);
            }
        }
    
        /**
         * Enable or disable JSON logging
         *
         * @param enable true to enable JSON logging
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                final byte[] cmp = new byte[SIGNATURE_LENGTH];
                System.arraycopy(mac.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH);
    
                // Use constant-time comparison to prevent timing attacks
                if (!MessageDigest.isEqual(sig, cmp)) {
                    return false; // Signature verification failed
                }
                return true; // Signature verification succeeded
            } finally {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

              try {
                if (timer != null) {
                  long overDelayMs = Math.abs(timer.getDelay(MILLISECONDS));
                  if (overDelayMs > 10) { // Not all timing drift is worth reporting
                    message += " (timeout delayed by " + overDelayMs + " ms after scheduled time)";
                  }
                }
                message += ": " + delegate;
              } finally {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

     * including retry logic and fallback mechanisms.
     */
    public class RdmaErrorHandler {
    
        private static final Logger log = LoggerFactory.getLogger(RdmaErrorHandler.class);
    
        // Retry and timing constants (in ms)
        private static final long MAX_RETRY_DELAY = 10000; // 10 seconds maximum delay
        private static final int MAX_BACKOFF_SHIFT = 4; // Maximum 16x multiplier
    
        private final RdmaStatistics statistics;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        private final AtomicLong connectionsActive = new AtomicLong();
        private final AtomicLong memoryRegionsAllocated = new AtomicLong();
        private final AtomicLong memoryRegionsActive = new AtomicLong();
    
        // Timing statistics (in nanoseconds)
        private final AtomicLong totalReadTime = new AtomicLong();
        private final AtomicLong totalWriteTime = new AtomicLong();
        private final AtomicLong totalSendTime = new AtomicLong();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

     */
    public class DirectoryChangeNotifier {
    
        private static final Logger log = LoggerFactory.getLogger(DirectoryChangeNotifier.class);
    
        // Backoff and timing constants (in ms)
        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long MAX_POLL_INTERVAL = 30000;
        private static final long BASE_RETRY_DELAY = 1000;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        private static final SecurityAuditLogger auditLogger = SecurityAuditLogger.getInstance();
    
        /**
         * Performs constant-time comparison of two char arrays to prevent timing attacks.
         * This method always compares the full length of both arrays, regardless of when
         * differences are found, making the execution time independent of the position
         * of differing characters.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top