Home
last modified time | relevance | path

Searched refs:remainingCapacity (Results 1 – 21 of 21) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DEvictingQueueTest.java71 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize0()
76 assertEquals(1, queue.remainingCapacity()); in testRemainingCapacity_maxSize1()
78 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize1()
83 assertEquals(3, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
85 assertEquals(2, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
87 assertEquals(1, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
89 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
95 assertEquals(1, queue.remainingCapacity()); in testEvictingAfterOne()
101 assertEquals(0, queue.remainingCapacity()); in testEvictingAfterOne()
107 assertEquals(0, queue.remainingCapacity()); in testEvictingAfterOne()
[all …]
DQueuesTest.java218 assertEquals(1, Queues.newLinkedBlockingDeque(1).remainingCapacity()); in testNewLinkedBlockingDequeCapacity()
219 assertEquals(11, Queues.newLinkedBlockingDeque(11).remainingCapacity()); in testNewLinkedBlockingDequeCapacity()
229 assertEquals(1, Queues.newLinkedBlockingQueue(1).remainingCapacity()); in testNewLinkedBlockingQueueCapacity()
230 assertEquals(11, Queues.newLinkedBlockingQueue(11).remainingCapacity()); in testNewLinkedBlockingQueueCapacity()
DForwardingBlockingDequeTest.java47 forward.remainingCapacity(); in testRemainingCapacity()
/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingBlockingQueue.java67 @Override public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingQueue
68 return delegate().remainingCapacity(); in remainingCapacity()
/external/guava/guava/src/com/google/common/collect/
DForwardingBlockingDeque.java50 public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingDeque
51 return delegate().remainingCapacity(); in remainingCapacity()
DEvictingQueue.java75 public int remainingCapacity() { in remainingCapacity() method in EvictingQueue
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DBOCSU.java138 int remainingCapacity = sink.bytes.length - sink.size; in ensureAppendCapacity() local
139 if (remainingCapacity >= minCapacity) { return; } in ensureAppendCapacity()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DBOCSU.java137 int remainingCapacity = sink.bytes.length - sink.size; in ensureAppendCapacity() local
138 if (remainingCapacity >= minCapacity) { return; } in ensureAppendCapacity()
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp176 remainingCapacity(str.getCapacity()), lastCC(0) { in ReorderingBuffer()
192 remainingCapacity=str.getCapacity()-length; in init()
242 if(remainingCapacity<2 && !resize(2, errorCode)) { in appendSupplementary()
256 remainingCapacity-=2; in appendSupplementary()
266 if(remainingCapacity<length && !resize(length, errorCode)) { in append()
269 remainingCapacity-=length; in append()
303 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
306 remainingCapacity-=cpLength; in appendZeroCC()
324 if(remainingCapacity<length && !resize(length, errorCode)) { in appendZeroCC()
329 remainingCapacity-=length; in appendZeroCC()
[all …]
Dnormalizer2impl.h145 remainingCapacity(0), lastCC(0) {} in ReorderingBuffer()
173 if(remainingCapacity==0 && !resize(1, errorCode)) { in appendBMP()
185 --remainingCapacity; in appendBMP()
193 remainingCapacity+=(int32_t)(limit-newLimit); in setReorderingLimit()
229 int32_t remainingCapacity; variable
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedPriorityBlockingQueue.java312 public int remainingCapacity() { in remainingCapacity() method in MonitorBasedPriorityBlockingQueue
DMonitorBasedArrayBlockingQueue.java388 public int remainingCapacity() { in remainingCapacity() method in MonitorBasedArrayBlockingQueue
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...