/external/guava/guava-tests/test/com/google/common/collect/ |
D | EvictingQueueTest.java | 71 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 …]
|
D | QueuesTest.java | 218 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()
|
D | ForwardingBlockingDequeTest.java | 47 forward.remainingCapacity(); in testRemainingCapacity()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ForwardingBlockingQueue.java | 67 @Override public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingQueue 68 return delegate().remainingCapacity(); in remainingCapacity()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ForwardingBlockingDeque.java | 50 public int remainingCapacity() { in remainingCapacity() method in ForwardingBlockingDeque 51 return delegate().remainingCapacity(); in remainingCapacity()
|
D | EvictingQueue.java | 75 public int remainingCapacity() { in remainingCapacity() method in EvictingQueue
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | BOCSU.java | 138 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/ |
D | BOCSU.java | 137 int remainingCapacity = sink.bytes.length - sink.size; in ensureAppendCapacity() local 138 if (remainingCapacity >= minCapacity) { return; } in ensureAppendCapacity()
|
/external/icu/icu4c/source/common/ |
D | normalizer2impl.cpp | 176 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 …]
|
D | normalizer2impl.h | 145 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/ |
D | MonitorBasedPriorityBlockingQueue.java | 312 public int remainingCapacity() { in remainingCapacity() method in MonitorBasedPriorityBlockingQueue
|
D | MonitorBasedArrayBlockingQueue.java | 388 public int remainingCapacity() { in remainingCapacity() method in MonitorBasedArrayBlockingQueue
|