Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 201 for timing (0.03 sec)

  1. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                int exitCode = processHelper.destroyProcess(sessionId);
                assertFalse(processHelper.isProcessRunning(sessionId));
    
                // Exit code should be 0 or -1 depending on timing
                assertTrue(exitCode == 0 || exitCode == -1);
            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    	})
    }
    
    func (f *sftpDriver) AccessKey() string {
    	return f.permissions.CriticalOptions["AccessKey"]
    }
    
    func (f *sftpDriver) Fileread(r *sftp.Request) (ra io.ReaderAt, err error) {
    	// This is not timing the actual read operation, but the time it takes to prepare the reader.
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	flags := r.Pflags()
    	if !flags.Read {
    		// sanity check
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashCode.java

       * representation to this hash code.
       *
       * <p><b>Security note:</b> this method uses a constant-time (not short-circuiting) implementation
       * to protect against <a href="http://en.wikipedia.org/wiki/Timing_attack">timing attacks</a>.
       */
      @Override
      public final boolean equals(@Nullable Object object) {
        if (object instanceof HashCode) {
          HashCode that = (HashCode) object;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K 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: Sun Sep 07 00:10:21 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING,
              TimeoutsToUse.PAST,
              // prefer responding to interrupt over timing out
              isInterruptible(method) ? Outcome.INTERRUPT : Outcome.FAILURE);
          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThat(startupTimes.get(a)).isAtLeast(150);
        // Service b startup takes at least 353 millis, but starting the timer is delayed by at least
        // 150 milliseconds. so in a perfect world the timing would be 353-150=203ms, but since either
        // of our sleep calls can be arbitrarily delayed we should just assert that there is a time
        // recorded.
        assertThat(startupTimes.get(b)).isNotNull();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
Back to top