Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for Permit (0.05 sec)

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

       */
      final long reserve(int permits) {
        checkPermits(permits);
        synchronized (mutex()) {
          return reserveAndGetWaitLength(permits, stopwatch.readMicros());
        }
      }
    
      /**
       * Acquires a permit from this {@code RateLimiter} if it can be obtained without exceeding the
       * specified {@code timeout}, or returns {@code false} immediately (without waiting) if the permit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/RateLimiter.java

      }
    
      /**
       * Acquires permits from this {@link RateLimiter} if it can be acquired immediately without delay.
       *
       * <p>This method is equivalent to {@code tryAcquire(permits, 0, anyUnit)}.
       *
       * @param permits the number of permits to acquire
       * @return {@code true} if the permits were acquired, {@code false} otherwise
       * @throws IllegalArgumentException if the requested number of permits is negative or zero
       * @since 14.0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertTrue("Unable to acquire initial permit", r.tryAcquire());
        assertFalse("Capable of acquiring secondary permit", r.tryAcquire());
      }
    
      public void testDoubleMinValueCanAcquireExactlyOnce() {
        RateLimiter r = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Unable to acquire initial permit", r.tryAcquire());
        assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertTrue("Unable to acquire initial permit", r.tryAcquire());
        assertFalse("Capable of acquiring secondary permit", r.tryAcquire());
      }
    
      public void testDoubleMinValueCanAcquireExactlyOnce() {
        RateLimiter r = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Unable to acquire initial permit", r.tryAcquire());
        assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. LICENSES/vendor/github.com/Microsoft/hnslib/LICENSE

    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Mon Oct 14 17:44:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. licenses/github.com/x448/float16/LICENSE

    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 18:30:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. internal/s3select/jstream/LICENSE

    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. licenses/github.com/fxamacker/cbor/v2/LICENSE

    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 18:30:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. licenses/github.com/felixge/httpsnoop/LICENSE.txt

     in the Software without restriction, including without limitation the rights
     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
     copies of the Software, and to permit persons to whom the Software is
     furnished to do so, subject to the following conditions:
    
     The above copyright notice and this permission notice shall be included in
     all copies or substantial portions of the Software.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 27 20:56:17 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6409434">Sun bug 6409434</a> is fixed.
       * It's unclear whether nulls were to be permitted or forbidden, but presumably the eventual fix
       * will be to permit them, as it seems more likely that code would depend on that behavior than on
       * the other. Thus, we say the bug is in add(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top