Home
last modified time | relevance | path

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

12

/external/guava/guava-tests/test/com/google/common/collect/
DEvictingQueueTest.java74 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize0()
79 assertEquals(1, queue.remainingCapacity()); in testRemainingCapacity_maxSize1()
81 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize1()
86 assertEquals(3, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
88 assertEquals(2, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
90 assertEquals(1, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
92 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
98 assertEquals(1, queue.remainingCapacity()); in testEvictingAfterOne()
104 assertEquals(0, queue.remainingCapacity()); in testEvictingAfterOne()
110 assertEquals(0, queue.remainingCapacity()); in testEvictingAfterOne()
[all …]
DQueuesTest.java248 assertEquals(1, Queues.newLinkedBlockingDeque(1).remainingCapacity()); in testNewLinkedBlockingDequeCapacity()
249 assertEquals(11, Queues.newLinkedBlockingDeque(11).remainingCapacity()); in testNewLinkedBlockingDequeCapacity()
259 assertEquals(1, Queues.newLinkedBlockingQueue(1).remainingCapacity()); in testNewLinkedBlockingQueueCapacity()
260 assertEquals(11, Queues.newLinkedBlockingQueue(11).remainingCapacity()); in testNewLinkedBlockingQueueCapacity()
/external/guava/android/guava-tests/test/com/google/common/collect/
DEvictingQueueTest.java74 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize0()
79 assertEquals(1, queue.remainingCapacity()); in testRemainingCapacity_maxSize1()
81 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize1()
86 assertEquals(3, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
88 assertEquals(2, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
90 assertEquals(1, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
92 assertEquals(0, queue.remainingCapacity()); in testRemainingCapacity_maxSize3()
98 assertEquals(1, queue.remainingCapacity()); in testEvictingAfterOne()
104 assertEquals(0, queue.remainingCapacity()); in testEvictingAfterOne()
110 assertEquals(0, queue.remainingCapacity()); in testEvictingAfterOne()
[all …]
DQueuesTest.java247 assertEquals(1, Queues.newLinkedBlockingDeque(1).remainingCapacity()); in testNewLinkedBlockingDequeCapacity()
248 assertEquals(11, Queues.newLinkedBlockingDeque(11).remainingCapacity()); in testNewLinkedBlockingDequeCapacity()
258 assertEquals(1, Queues.newLinkedBlockingQueue(1).remainingCapacity()); in testNewLinkedBlockingQueueCapacity()
259 assertEquals(11, Queues.newLinkedBlockingQueue(11).remainingCapacity()); in testNewLinkedBlockingQueueCapacity()
/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingBlockingQueue.java75 public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingQueue
76 return delegate().remainingCapacity(); in remainingCapacity()
DForwardingBlockingDeque.java57 public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingDeque
58 return delegate().remainingCapacity(); in remainingCapacity()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DForwardingBlockingQueue.java75 public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingQueue
76 return delegate().remainingCapacity(); in remainingCapacity()
DForwardingBlockingDeque.java57 public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingDeque
58 return delegate().remainingCapacity(); in remainingCapacity()
/external/guava/guava/src/com/google/common/collect/
DForwardingBlockingDeque.java59 public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingDeque
60 return delegate().remainingCapacity(); in remainingCapacity()
DEvictingQueue.java76 public int remainingCapacity() { in remainingCapacity() method in EvictingQueue
/external/guava/android/guava/src/com/google/common/collect/
DForwardingBlockingDeque.java59 public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingDeque
60 return delegate().remainingCapacity(); in remainingCapacity()
DEvictingQueue.java76 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/libicu/cts_headers/
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/icu/icu4c/source/common/
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
Dnormalizer2impl.cpp175 remainingCapacity(str.getCapacity()), lastCC(0) { in ReorderingBuffer()
191 remainingCapacity=str.getCapacity()-length; in init()
241 if(remainingCapacity<2 && !resize(2, errorCode)) { in appendSupplementary()
255 remainingCapacity-=2; in appendSupplementary()
265 if(remainingCapacity<length && !resize(length, errorCode)) { in append()
268 remainingCapacity-=length; in append()
302 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
305 remainingCapacity-=cpLength; in appendZeroCC()
323 if(remainingCapacity<length && !resize(length, errorCode)) { in appendZeroCC()
328 remainingCapacity-=length; in appendZeroCC()
[all …]
/external/zstd/tests/
Dfullbench.c386 size_t remainingCapacity = dstCapacity; in local_ZSTD_decompressContinue() local
392 size_t const decodedSize = ZSTD_decompressContinue(g_zdc, op, remainingCapacity, ip, iSize); in local_ZSTD_decompressContinue()
396 remainingCapacity -= decodedSize; in local_ZSTD_decompressContinue()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedPriorityBlockingQueue.java292 public int remainingCapacity() { in remainingCapacity() method in MonitorBasedPriorityBlockingQueue
DMonitorBasedArrayBlockingQueue.java371 public int remainingCapacity() { in remainingCapacity() method in MonitorBasedArrayBlockingQueue
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedPriorityBlockingQueue.java292 public int remainingCapacity() { in remainingCapacity() method in MonitorBasedPriorityBlockingQueue
DMonitorBasedArrayBlockingQueue.java371 public int remainingCapacity() { in remainingCapacity() method in MonitorBasedArrayBlockingQueue
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Dguava-21.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...

12