Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Duration (0.11 sec)

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

         * @param maxGlobalAttemptsPerMinute max global attempts per minute
         * @param lockoutDuration duration to lock out account/IP
         * @param cleanupInterval interval for cleaning up old entries
         */
        public AuthenticationRateLimiter(int maxAttemptsPerAccount, int maxAttemptsPerIp, int maxGlobalAttemptsPerMinute,
                Duration lockoutDuration, Duration cleanupInterval) {
            this.maxAttemptsPerAccount = maxAttemptsPerAccount;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            rateLimiter = new AuthenticationRateLimiter(3, // max attempts per account
                    5, // max attempts per IP
                    20, // max global attempts per minute
                    Duration.ofSeconds(2), // short lockout for testing
                    Duration.ofMinutes(1) // cleanup interval
            );
        }
    
        @AfterEach
        public void tearDown() {
            if (rateLimiter != null) {
                rateLimiter.close();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    		FuncName:  fmt.Sprintf("rebalance.%s (pool-id=%d)", r.String(), poolIdx),
    		Duration:  duration,
    		Path:      path,
    		Error:     errStr,
    		Bytes:     sz,
    	}
    }
    
    func (p *rebalanceMetrics) log(r rebalanceMetric, poolIdx int, paths ...string) func(sz int64, err error) {
    	startTime := time.Now()
    	return func(sz int64, err error) {
    		duration := time.Since(startTime)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          )
    
        override fun nanoTime() = System.nanoTime()
    
        override fun coordinatorNotify(taskRunner: TaskRunner) {
          taskRunner.notify()
        }
    
        /**
         * Wait a duration in nanoseconds. Unlike [java.lang.Object.wait] this interprets 0 as
         * "don't wait" instead of "wait forever".
         */
        @Throws(InterruptedException::class)
        @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. docs/en/docs/environment-variables.md

    You can also create an environment variable only for a **specific program invocation**, that is only available to that program, and only for its duration.
    
    To do that, create it right before the program itself, on the same line:
    
    <div class="termy">
    
    ```console
    // Create an env var MY_NAME in line for this program call
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                // Performance check - should complete reasonably fast with optimized locking
                long duration = endTime - startTime;
                assertTrue(duration < 5000, "Concurrent verifies should complete within 5 seconds");
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.time.Duration;
    import java.util.List;
    import java.util.Properties;
    
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. .teamcity/performance-test-durations.json

      "durations" : [ {
        "testProject" : "largeEmptyMultiProjectDeclarativeDsl",
        "linux" : 468
      } ]
    }, {
      "scenario" : "org.gradle.performance.experiment.declarativedsl.DeclarativeDslFirstUsePerformanceTest.cold daemon",
      "durations" : [ {
        "testProject" : "largeEmptyMultiProjectDeclarativeDsl",
        "linux" : 467
      } ]
    }, {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Sep 08 06:58:31 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. .github/workflows/update-perf-test-buckets.yml

              branch-suffix: timestamp
              delete-branch: true
              title: 'Update performance test durations'
              signoff: true
              sign-commits: true
              labels: |
                in:building-gradle
                @dev-productivity
              body: |
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 04:26:32 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    		// is ready to be read.
    		//
    		// This is possible to be lock free because
    		// - xl.meta for inlined objects has already read the data
    		//   into memory, any mutation on xl.meta subsequently is
    		//   inconsequential to the overall read operation.
    		// - xl.meta metadata is still verified for quorum under lock()
    		//   however writing the response doesn't need to serialize
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top