HomeSort by relevance Sort by last modified time
    Searched full:permits (Results 1 - 25 of 1237) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /art/test/708-jit-cache-churn/
info.txt 1 Tests JIT cache for page permission updates and CPU cache inconsistencies. Only runs when test runner permits JIT, e.g. --jit.
  /libcore/ojluni/src/main/java/java/util/concurrent/
Semaphore.java 43 * permits. Each {@link #acquire} blocks if necessary until a permit is
111 * available, or zero permits available. When used in this way, the
120 * guarantees about the order in which threads acquire permits. In
126 * #acquire() acquire} methods are selected to obtain permits in the order in
134 * honor the fairness setting, but will take any permits that are
145 * permits at a time. These methods are generally more efficient and
148 * thread B invokes {@code s.acquire(2)}, and two permits become
169 * to represent permits. Subclassed into fair and nonfair
175 Sync(int permits) {
176 setState(permits);
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
RateLimiter.java 36 * A rate limiter. Conceptually, a rate limiter distributes permits at a
38 * available, and then takes it. Once acquired, permits need not be released.
46 * <p>A {@code RateLimiter} is defined primarily by the rate at which permits
47 * are issued. Absent additional configuration, permits will be distributed at a
48 * fixed rate, defined in terms of permits per second. Permits will be distributed
49 * smoothly, with the delay between individual permits being adjusted to ensure
53 * period during which time the permits issued each second steadily increases until
59 * final RateLimiter rateLimiter = RateLimiter.create(2.0); // rate is "2 permits per second"
70 * a rate of 5000 permits per second
    [all...]
SmoothRateLimiter.java 38 * another 100ms. At this rate, serving 15 fresh permits (i.e. for an acquire(15) request)
62 * underutilization. So, the requested permits, by an invocation acquire(permits),
64 * - stored permits (if available)
65 * - fresh permits (for any remaining permits)
78 * using all the remaining 7.0 permits, and the remaining 3.0, we serve them by fresh permits
81 * We already know how much time it takes to serve 3 fresh permits: if the rate is
83 * stored permits? As explained above, there is no unique answer. If we are primaril
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
SemaphoreTest.java 36 PublicSemaphore(int permits) { super(permits); }
37 PublicSemaphore(int permits, boolean fair) { super(permits, fair); }
107 void acquire(Semaphore s, int permits) throws InterruptedException {
108 s.acquire(permits);
117 void acquire(Semaphore s, int permits) {
118 s.acquireUninterruptibly(permits);
127 void acquire(Semaphore s, int permits) {
128 assertTrue(s.tryAcquire(permits));
    [all...]
  /external/dng_sdk/source/
dng_globals.cpp 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_point.cpp 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_tag_types.h 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_uncopyable.h 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_bottlenecks.cpp 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_fast_module.h 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_globals.h 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_lossless_jpeg.h 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_tag_types.cpp 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_tile_iterator.h 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_tone_curve.h 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
dng_classes.h 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
  /libcore/ojluni/src/main/java/sun/security/util/
DisabledAlgorithmConstraints.java 96 final public boolean permits(Set<CryptoPrimitive> primitives, method in class:DisabledAlgorithmConstraints
112 final public boolean permits(Set<CryptoPrimitive> primitives, Key key) { method in class:DisabledAlgorithmConstraints
121 final public boolean permits(Set<CryptoPrimitive> primitives, method in class:DisabledAlgorithmConstraints
138 public final void permits(Set<CryptoPrimitive> primitives, method in class:DisabledAlgorithmConstraints
147 public final void permits(Set<CryptoPrimitive> primitives, method in class:DisabledAlgorithmConstraints
174 if (!permits(primitives, algorithm, parameters)) {
180 if (!permits(primitives, key.getAlgorithm(), null)) {
185 return algorithmConstraints.permits(key);
199 if (!permits(primitives, algorithm, null)) {
207 if (!permits(primitives, cert.getPublicKey().getAlgorithm(), null))
326 public boolean permits(Key key) { method in class:DisabledAlgorithmConstraints.Constraints
344 public void permits(CertConstraintParameters cp) method in class:DisabledAlgorithmConstraints.Constraints
415 public boolean permits(Key key) { method in class:DisabledAlgorithmConstraints.Constraint
425 public abstract void permits(CertConstraintParameters cp) method in class:DisabledAlgorithmConstraints.Constraint
443 public void permits(CertConstraintParameters cp) method in class:DisabledAlgorithmConstraints.jdkCAConstraint
516 public void permits(CertConstraintParameters cp) method in class:DisabledAlgorithmConstraints.KeySizeConstraint
532 public boolean permits(Key key) { method in class:DisabledAlgorithmConstraints.KeySizeConstraint
    [all...]
  /external/clang/test/Sema/
predef.c 15 // rdar://6097892 - GCC permits this insanity.
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
FragmentLauncher.java 23 * Interface that permits elements to display a Fragment.
  /prebuilts/go/darwin-x86/src/runtime/cgo/
mmap.go 15 // C/C++ code; this permits that code to see the Go code as normal
sigaction.go 15 // C/C++ code; this permits that code to see the Go runtime's existing signal
  /prebuilts/go/linux-x86/src/runtime/cgo/
mmap.go 15 // C/C++ code; this permits that code to see the Go code as normal
sigaction.go 15 // C/C++ code; this permits that code to see the Go runtime's existing signal
  /libcore/ojluni/src/main/java/java/security/
AlgorithmConstraints.java 69 public boolean permits(Set<CryptoPrimitive> primitives, method in interface:AlgorithmConstraints
87 public boolean permits(Set<CryptoPrimitive> primitives, Key key); method in interface:AlgorithmConstraints
105 public boolean permits(Set<CryptoPrimitive> primitives, method in interface:AlgorithmConstraints

Completed in 533 milliseconds

1 2 3 4 5 6 7 8 91011>>