Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for period (0.2 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

         * @param initialDelay the time to delay first execution
         * @param period the period between successive executions of the task
         * @param unit the time unit of the initialDelay and period parameters
         */
        @SuppressWarnings("GoodTime") // should accept a java.time.Duration
        public static Scheduler newFixedRateSchedule(
            final long initialDelay, final long period, final TimeUnit unit) {
          checkNotNull(unit);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  2. cmd/bucket-object-lock.go

    			// When an object is locked in compliance mode, its retention mode can't
    			// be changed, and its retention period can't be shortened. Compliance mode
    			// ensures that an object version can't be overwritten or deleted for the
    			// duration of the retention period.
    			t, err := objectlock.UTCNowNTP()
    			if err != nil {
    				internalLogIf(ctx, err, logger.WarningKind)
    				return ObjectLocked{}
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K 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), and a <i>warmup period</i>,
       * during which the {@code RateLimiter} smoothly ramps up its rate, until it reaches its maximum
       * rate at the end of the period (as long as there are enough requests to saturate it). Similarly,
       * if the {@code RateLimiter} is left <i>unused</i> for a duration of {@code warmupPeriod}, it
    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/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #1
        }
        stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period
          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #1
        }
        stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period
          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
    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)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior.
         */
        fun throttleBody(
          bytesPerPeriod: Long,
          period: Long,
          unit: TimeUnit,
        ) = apply {
          throttleBytesPerPeriod = bytesPerPeriod
          throttlePeriodNanos = unit.toNanos(period)
        }
    
        /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * of the function, thus time. Thus, the RateLimiter becomes /faster/ after a period of
       * underutilization. If, on the other hand, we pick a function that goes /above/ that horizontal
       * line, then it means that the area (time) is increased, thus storedPermits are more costly than
       * fresh permits, thus the RateLimiter becomes /slower/ after a period of underutilization.
       *
    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. internal/bucket/object/lock/lock.go

    		if *retention.Days == 0 {
    			return fmt.Errorf("Default retention period must be a positive integer value for 'Days'")
    		}
    		if *retention.Days > maximumRetentionDays {
    			return fmt.Errorf("Default retention period too large for 'Days' %d", *retention.Days)
    		}
    	} else if *retention.Years == 0 {
    		return fmt.Errorf("Default retention period must be a positive integer value for 'Years'")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock_test.go

    			value:       DefaultRetention{Mode: RetGovernance, Days: &zerodays},
    			expectedErr: fmt.Errorf("Default retention period must be a positive integer value for 'Days'"),
    			expectErr:   true,
    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance, Days: &invalidDays},
    			expectedErr: fmt.Errorf("Default retention period too large for 'Days' %d", invalidDays),
    			expectErr:   true,
    		},
    	}
    	for _, tt := range tests {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. doc/asm.html

    package path followed by a period and the symbol name:
    <code>fmt.Printf</code> or <code>math/rand.Int</code>.
    Because the assembler's parser treats period and slash as punctuation,
    those strings cannot be used directly as identifier names.
    Instead, the assembler allows the middle dot character U+00B7
    and the division slash U+2215 in identifiers and rewrites them to
    plain period and slash.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top