Home
last modified time | relevance | path

Searched refs:permits (Results 1 – 25 of 224) sorted by relevance

123456789

/external/guava/guava/src/com/google/common/util/concurrent/
DRateLimiter.java272 public double acquire(int permits) { in acquire() argument
273 long microsToWait = reserve(permits); in acquire()
284 final long reserve(int permits) { in reserve() argument
285 checkPermits(permits); in reserve()
287 return reserveAndGetWaitLength(permits, stopwatch.readMicros()); in reserve()
319 public boolean tryAcquire(int permits) { in tryAcquire() argument
320 return tryAcquire(permits, 0, MICROSECONDS); in tryAcquire()
349 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) { in tryAcquire() argument
351 checkPermits(permits); in tryAcquire()
358 microsToWait = reserveAndGetWaitLength(permits, nowMicros); in tryAcquire()
[all …]
DStriped.java235 public static Striped<Semaphore> semaphore(int stripes, final int permits) {
238 return new PaddedSemaphore(permits);
251 public static Striped<Semaphore> lazyWeakSemaphore(int stripes, final int permits) {
254 return new Semaphore(permits, false);
482 PaddedSemaphore(int permits) {
483 super(permits, false);
DSmoothRateLimiter.java269 private double permitsToTime(double permits) { in permitsToTime() argument
270 return stableIntervalMicros + permits * slope; in permitsToTime()
DUninterruptibles.java307 Semaphore semaphore, int permits, long timeout, TimeUnit unit) { in tryAcquireUninterruptibly() argument
316 return semaphore.tryAcquire(permits, remainingNanos, NANOSECONDS); in tryAcquireUninterruptibly()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DRateLimiterTest.java419 private long measureTotalTimeMillis(RateLimiter rateLimiter, int permits, Random random) { in measureTotalTimeMillis() argument
421 while (permits > 0) { in measureTotalTimeMillis()
422 int nextPermitsToAcquire = Math.max(1, random.nextInt(permits)); in measureTotalTimeMillis()
423 permits -= nextPermitsToAcquire; in measureTotalTimeMillis()
/external/eigen/doc/
DCustomizingEigen_CustomScalar.dox7 On x86-64 systems, \c long \c double permits to locally enforces the use of x87 registers with exte…
30 : NumTraits<double> // permits to get the epsilon, dummy_precision, lowest, highest functions
/external/libxml2/
Dlibxml.spec.in69 The libxml2-python package contains a Python 2 module that permits applications
87 The libxml2-python3 package contains a Python 3 module that permits
/external/v8/gypfiles/
Disolate.gypi31 # property of the .isolate format. This permits to define GYP variables but is
/external/mesa3d/docs/specs/
DEGL_MESA_platform_surfaceless.txt104 permits the creation of pbuffers with that config.
/external/dagger2/
DCHANGELOG.md11 * A fix to the way processor validation of types is done that permits dagger to play
/external/webrtc/webrtc/build/
Disolate.gypi47 # property of the .isolate format. This permits to define GYP variables but is
/external/webrtc/talk/build/
Disolate.gypi65 # property of the .isolate format. This permits to define GYP variables but is
/external/eigen/unsupported/Eigen/
DMPRealSupport142 …// This also permits to directly call mpfr's routines and avoid many temporaries produced by mpreal
/external/python/cpython2/Doc/library/
Djson.rst510 Since the RFC permits RFC-compliant parsers to accept input texts that are not
532 The RFC permits, but does not require, JSON deserializers to ignore an initial
621 JSON permits literal U+2028 (LINE SEPARATOR) and
Dcd.rst148 :meth:`readda` method. Best is defined as the value that permits a continuous
/external/mesa3d/src/compiler/nir/
DREADME74 - Intrinsics can be marked as side-effect free, which permits them to be
/external/python/cpython3/Doc/library/
Djson.rst549 Since the RFC permits RFC-compliant parsers to accept input texts that are not
570 The RFC permits, but does not require, JSON deserializers to ignore an initial
727 JSON permits literal U+2028 (LINE SEPARATOR) and
/external/mesa3d/src/gallium/docs/source/cso/
Drasterizer.rst80 second vertex, not the first. This permits each segment of the fan to have
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml250 * permits stuff like this:
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml250 * permits stuff like this:
/external/eigen/
DCOPYING.LGPL76 General Public License therefore permits such linking only if the
78 Public License permits more lax criteria for linking other code with
/external/kotlinc/license/third_party/
Dtrove_license.txt76 General Public License therefore permits such linking only if the
78 Public License permits more lax criteria for linking other code with
/external/libnl/
DNOTICE76 General Public License therefore permits such linking only if the
78 Public License permits more lax criteria for linking other code with
/external/fec/
Dlesser.txt76 General Public License therefore permits such linking only if the
78 Public License permits more lax criteria for linking other code with
/external/libusb/
DNOTICE76 General Public License therefore permits such linking only if the
78 Public License permits more lax criteria for linking other code with

123456789