Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 431 for secunds (0.22 sec)

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

          }
        }
      }
    
      /* Half of a 1-second timeout in nanoseconds */
      private static final long HALF_SECOND_NANOS = NANOSECONDS.convert(1L, SECONDS) / 2;
    
      public void testShutdownAndAwaitTermination_immediateShutdown() throws Exception {
        ExecutorService service = Executors.newSingleThreadExecutor();
        assertTrue(shutdownAndAwaitTermination(service, 1L, SECONDS));
        assertTrue(service.isTerminated());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  2. internal/logger/target/http/http.go

    				continue
    			}
    
    			if h.batchSize > 1 {
    				// If we are doing batching, we should wait
    				// at least one second before sending.
    				// Even if there is nothing in the queue.
    				if time.Since(lastBatchProcess).Seconds() < 1 {
    					continue
    				}
    			}
    		}
    
    		lastBatchProcess = time.Now()
    
    	retry:
    		// If the channel reaches above half capacity
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * second" (commonly referred to as <i>QPS</i>, queries per second).
       *
       * <p>The returned {@code RateLimiter} ensures that on average no more than {@code
       * permitsPerSecond} are issued during any given second, with sustained requests being smoothly
       * spread over each second. When the incoming request rate exceeds {@code permitsPerSecond} the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

          }
        }
      }
    
      /* Half of a 1-second timeout in nanoseconds */
      private static final long HALF_SECOND_NANOS = NANOSECONDS.convert(1L, SECONDS) / 2;
    
      public void testShutdownAndAwaitTermination_immediateShutdown() throws Exception {
        ExecutorService service = Executors.newSingleThreadExecutor();
        assertTrue(shutdownAndAwaitTermination(service, 1L, SECONDS));
        assertTrue(service.isTerminated());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertTrue(limiter.tryAcquire(0, SECONDS));
        assertFalse(limiter.tryAcquire(0, SECONDS));
        assertFalse(limiter.tryAcquire(0, SECONDS));
        stopwatch.sleepMillis(100);
        assertFalse(limiter.tryAcquire(0, SECONDS));
      }
    
      public void testTryAcquire_someWaitAllowed() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        assertTrue(limiter.tryAcquire(0, SECONDS));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertTrue(limiter.tryAcquire(0, SECONDS));
        assertFalse(limiter.tryAcquire(0, SECONDS));
        assertFalse(limiter.tryAcquire(0, SECONDS));
        stopwatch.sleepMillis(100);
        assertFalse(limiter.tryAcquire(0, SECONDS));
      }
    
      public void testTryAcquire_someWaitAllowed() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        assertTrue(limiter.tryAcquire(0, SECONDS));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * How this works is best explained with an example:
       *
       * For a RateLimiter that produces 1 token per second, every second that goes by with the
       * RateLimiter being unused, we increase storedPermits by 1. Say we leave the RateLimiter unused
       * for 10 seconds (i.e., we expected a request at time X, but we are at time X + 10 seconds before
       * a request actually arrives; this is also related to the point made in the last paragraph), thus
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    		memCache:          "Cache memory on the node",
    		memAvailable:      "Available memory on the node",
    		readsPerSec:       "Reads per second on a drive",
    		writesPerSec:      "Writes per second on a drive",
    		readsKBPerSec:     "Kilobytes read per second on a drive",
    		writesKBPerSec:    "Kilobytes written per second on a drive",
    		readsAwait:        "Average time for read requests to be served on a drive",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      // This signals that the block is removed, and should not be inadvertently
      // reinserted into the cache in UpdateLRU.
      entry->second->timestamp = 0;
      lru_list_.erase(entry->second->lru_iterator);
      lra_list_.erase(entry->second->lra_iterator);
      cache_size_ -= entry->second->data.capacity();
      block_map_.erase(entry);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      //   * increase no more than 4 pods per 60 seconds
      //   * double the number of pods per 60 seconds
      // No stabilization is used.
      // +optional
      optional HPAScalingRules scaleUp = 1;
    
      // scaleDown is scaling policy for scaling Down.
      // If not set, the default value is to allow to scale down to minReplicas pods, with a
      // 300 second stabilization window (i.e., the highest recommendation for
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top