Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for iops (0.01 sec)

  1. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            double overallTimeMs = (overallEnd - overallStart) / 1_000_000.0;
            double avgThreadTimeMs = totalTime.get() / (threadCount * 1_000_000.0);
    
            System.out.printf("Connection Pool Performance: %d ops in %.2f ms (%.2f ms avg per thread)%n", successCount.get(), overallTimeMs,
                    avgThreadTimeMs);
    
            // Verify performance improvements
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        protected BadFuture(ListenableFuture<Integer> delegate) {
          super(delegate);
        }
    
        @Override
        public Integer get() {
          throw new RuntimeException("Oops");
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        protected BadFuture(ListenableFuture<Integer> delegate) {
          super(delegate);
        }
    
        @Override
        public Integer get() {
          throw new RuntimeException("Oops");
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

         */
        @Test
        @DisplayName("Message + root cause stores root cause")
        void testStringAndThrowableConstructor() {
            Throwable root = mock(Throwable.class);
            SmbException ex = new SmbException("oops", root);
            assertSame(root, ex.getRootCause());
        }
    
        /**
         * Verify that {@link #toString()} includes a stack trace when a root cause
         * is present.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val java12 = sslLabsClients.first { it.userAgent == "Java" && it.version == "12.0.1" }
      val safari12iOS = sslLabsClients.first { it.userAgent == "Safari" && it.platform == "iOS 12.3.1" }
      val safari12Osx =
        sslLabsClients.first { it.userAgent == "Safari" && it.platform == "MacOS 10.14.6 Beta" }
    
      val okhttp = currentOkHttp(ianaSuitesNew)
    
      val okHttp_4_10 = historicOkHttp("4.10")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

          fail("a call to multiset.setCount() to decrease an element's count should throw");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      // Unconditional setCount no-ops.
    
      private void assertZeroToZero() {
        assertSetCount(e3(), 0);
      }
    
      private void assertOneToOne() {
        assertSetCount(e0(), 1);
      }
    
      private void assertThreeToThree() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            byte[] buffer = new byte[10];
            assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0));
        }
    
        @Nested
        @DisplayName("read methods are no‑ops")
        class ReadMethods {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/foo");
    
            @Test
            void setup() {
                assertEquals(0, cmd.readSetupWireFormat(new byte[10], 0, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                IpAttempts ip = entry.getValue();
                return !ip.isBlocked() && ip.getLastAttempt().plus(cleanupInterval).isBefore(now);
            });
    
            log.debug("Cleaned up rate limiter entries. Accounts: {}, IPs: {}", accountAttempts.size(), ipAttempts.size());
        }
    
        /**
         * Manually unlock an account
         *
         * @param username the username to unlock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

        @Test
        public void testDifferentIpsIndependent() throws Exception {
            // Different IPs should have independent limits
            for (int i = 1; i <= 3; i++) {
                assertTrue(rateLimiter.checkAttempt("user1", "192.168.1." + i));
                rateLimiter.recordFailure("user1", "192.168.1." + i);
            }
    
            // All different IPs should still be allowed
            for (int i = 1; i <= 3; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Service.java

         * started nor stopped.
         */
        FAILED,
      }
    
      /**
       * A listener for the various state changes that a {@link Service} goes through in its lifecycle.
       *
       * <p>All methods are no-ops by default, implementors should override the ones they care about.
       *
       * @author Luke Sandberg
       * @since 15.0 (present as an interface in 13.0)
       */
      abstract class Listener {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top