Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 286 for 30000 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

              // If warmupPermits = maxPermits - thresholdPermits then
              // warmupPeriod = (1 + coldFactor) * warmupPermits * stableInterval / 2
              long warmupMillis = (long) ((1 + coldFactor) * warmupPermits / (2.0 * qps) * 1000.0);
              RateLimiter rateLimiter =
                  RateLimiter.create(qps, warmupMillis, MILLISECONDS, coldFactor, stopwatch);
              assertEquals(warmupMillis, measureTotalTimeMillis(rateLimiter, warmupPermits, random));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

              // If warmupPermits = maxPermits - thresholdPermits then
              // warmupPeriod = (1 + coldFactor) * warmupPermits * stableInterval / 2
              long warmupMillis = (long) ((1 + coldFactor) * warmupPermits / (2.0 * qps) * 1000.0);
              RateLimiter rateLimiter =
                  RateLimiter.create(qps, warmupMillis, MILLISECONDS, coldFactor, stopwatch);
              assertEquals(warmupMillis, measureTotalTimeMillis(rateLimiter, warmupPermits, random));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractServiceTest extends TestCase {
    
      private static final long LONG_TIMEOUT_MILLIS = 10000;
      private Thread executionThread;
      private Throwable thrownByExecutionThread;
    
      public void testNoOpServiceStartStop() throws Exception {
        NoOpService service = new NoOpService();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractServiceTest extends TestCase {
    
      private static final long LONG_TIMEOUT_MILLIS = 10000;
      private Thread executionThread;
      private Throwable thrownByExecutionThread;
    
      public void testNoOpServiceStartStop() throws Exception {
        NoOpService service = new NoOpService();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/curl/CurlRequestTest.java

            final CurlRequest result = request.timeout(5000, 10000);
    
            // ## Assert ##
            assertSame(request, result);
            assertEquals(5000, request.connectTimeout);
            assertEquals(10000, request.readTimeout);
        }
    
        @Test
        public void test_TimeoutZeroValues() {
            // ## Arrange ##
            final CurlRequest request = new CurlRequest(Method.GET, "http://example.com");
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

     * cache instances created by {@code CacheBuilder} will not perform any type of eviction.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
     *           public Graph load(Key key) throws AnyException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

            final Properties p = new Properties();
            p.putAll(System.getProperties());
            p.setProperty("jcifs.smb.client.soTimeout", "600000");
            p.setProperty("jcifs.smb.client.attrExpirationPeriod", "300000");
    
            final Enumeration<String> e = getInitParameterNames();
            while (e.hasMoreElements()) {
                name = e.nextElement();
                if (name.startsWith("jcifs.")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    newThreshold = Math.min(currentThreshold + 2, 15);
                }
                // If failure rate is moderate but response time is very high, be stricter
                else if (failureRate > 0.2 && avgResponseTime > 10000) {
                    newThreshold = Math.max(currentThreshold - 1, 2);
                }
                // If system is performing well, be more lenient
                else if (failureRate < 0.1 && avgResponseTime < 1000) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
          assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        protected long userCheckInterval = 10 * 60 * 1000L; // 10 min
    
        /** Maximum size of the user information cache. */
        protected int userInfoCacheSize = 10000;
    
        /** Queue for storing search logs. */
        protected Queue<SearchLog> searchLogQueue = new ConcurrentLinkedQueue<>();
    
        /** Queue for storing click logs. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
Back to Top