Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 92 for timing (3.92 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            // Mock address for testing
            Address mockAddress = Mockito.mock(Address.class);
            Mockito.when(mockAddress.getHostAddress()).thenReturn("127.0.0.1");
    
            // Start timing
            long overallStart = System.nanoTime();
    
            for (int t = 0; t < threadCount; t++) {
                executor.submit(() -> {
                    try {
                        startLatch.await();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K 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/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)
  6. 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)
  7. docs/smb3-features/01-smb3-lease-design.md

    - Async handling of lease breaks
    
    ### 9.3 Network Efficiency
    - Batch lease requests when possible
    - Implement lease key reuse for related files
    - Optimize lease break acknowledgment timing
    
    ## 10. Error Handling
    
    ### 10.1 Lease Break Timeout
    ```java
    public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState) {
        CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

        }
    
        /**
         * Creates a QueryResponseList containing the search results and metadata.
         * Wraps the document list with additional information about the search operation
         * including record counts, timing, and pagination details.
         *
         * @param documentList the list of search result documents
         * @param allRecordCount the total number of records found
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  9. MIGRATION.md

    - Use proper authentication header:
      ```bash
      curl -u admin:admin ...
      # or
      curl -H "Authorization: Basic YWRtaW46YWRtaW4=" ...
      ```
    
    #### Issue: Large bulk imports timing out
    
    **Solution**:
    - Split large files into smaller batches (e.g., 10,000 docs per file)
    - Increase timeout in `system.properties`:
      ```properties
      crawler.document.request.timeout=600000
      ```
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 12:40:11 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                    log.debug("mkdirs", e);
                    // Ignore "Cannot create a file when that file already exists." errors for now as
                    // they seem to be show up under some conditions most likely due to timing issues.
                    if (e.getNtStatus() != NtStatus.NT_STATUS_OBJECT_NAME_COLLISION) {
                        throw e;
                    }
                }
            } catch (final CIFSException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top