/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | LongPipeline.java | 354 public final LongStream limit(long maxSize) { method in class:LongPipeline
|
H A D | LongStream.java | 231 * While {@code limit()} is generally a cheap operation on sequential 233 * especially for large values of {@code maxSize}, since {@code limit(n)} 238 * speedups of {@code limit()} in parallel pipelines, if the semantics of 241 * {@code limit()} in parallel pipelines, switching to sequential execution 248 LongStream limit(long maxSize); method in interface:LongStream
|
H A D | ReferencePipeline.java | 399 public final Stream<P_OUT> limit(long maxSize) { method in class:ReferencePipeline
|
H A D | StreamSpliterators.java | 911 UnorderedSliceSpliterator(T_SPLITR s, long skip, long limit) { argument 913 this.unlimited = limit < 0; 914 this.skipThreshold = limit >= 0 ? limit : 0; 915 this.permits = new AtomicLong(limit >= 0 ? skip + limit : skip); 932 * which is initialized as skip+limit if we are limiting, or skip only 972 // Stop splitting when there are no more limit permits 995 OfRef(Spliterator<T> s, long skip, long limit) { argument 996 super(s, skip, limit); 1070 OfPrimitive(T_SPLITR s, long skip, long limit) argument 1135 OfInt(Spliterator.OfInt s, long skip, long limit) argument 1170 OfLong(Spliterator.OfLong s, long skip, long limit) argument 1205 OfDouble(Spliterator.OfDouble s, long skip, long limit) argument [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | VMDebug.java | 255 public static int setAllocationLimit(int limit) { argument 264 public static int setGlobalAllocationLimit(int limit) { argument
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentSkipListMapTest.java | 1011 void populate(NavigableMap<Integer, Integer> map, int limit) { argument 1012 for (int i = 0, n = 2 * limit / 3; i < n; i++) { 1013 int key = rnd.nextInt(limit);
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | String.java | 2249 * <p> The <tt>limit</tt> parameter controls the number of times the 2251 * array. If the limit <i>n</i> is greater than zero then the pattern 2263 * <blockquote><table cellpadding=1 cellspacing=0 summary="Split example showing regex, limit, and result"> 2304 * @param limit 2318 public String[] split(String regex, int limit) { argument 2320 String[] fast = Pattern.fastSplit(regex, this, limit); 2325 return Pattern.compile(regex).split(this, limit); 2333 * #split(String, int) split} method with the given expression and a limit
|
H A D | Character.java | 4749 * {@code index} less than {@code limit} can be used. If 4752 * following index is less than the {@code limit}, and the 4761 * @param limit the index after the last array element that 4766 * argument is negative or not less than the {@code limit} 4767 * argument, or if the {@code limit} argument is negative or 4771 public static int codePointAt(char[] a, int index, int limit) { argument 4772 if (index >= limit || limit < 0 || limit > a.length) { 4775 return codePointAtImpl(a, index, limit); 4779 codePointAtImpl(char[] a, int index, int limit) argument [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | ArrayList.java | 230 * OutOfMemoryError: Requested array size exceeds VM limit 813 // The "limit" of this iterator. This is the size of the list at the time the 818 protected int limit = ArrayList.this.size; field in class:ArrayList.Itr 825 return cursor < limit; 833 if (i >= limit) 853 limit--; 942 limit++;
|
H A D | Vector.java | 253 * OutOfMemoryError: Requested array size exceeds VM limit 1125 // The "limit" of this iterator. This is the size of the list at the time the 1130 protected int limit = Vector.this.elementCount; field in class:Vector.Itr 1137 return cursor < limit; 1144 if (i >= limit) 1158 limit--; 1168 final int size = limit; 1241 limit++;
|
/libcore/ojluni/src/main/native/ |
H A D | zip_util.c | 194 jlong limit = ((((jlong) 1) << 31) - 1); local 195 jint count = (len < limit) ? 197 (jint) limit; 1466 jlong limit = ((((jlong) 1) << 31) - 1); local 1467 jint count = (size - pos < limit) ? 1470 (jint) limit;
|
H A D | net_util_md.c | 183 int limit = -1; local 205 limit = mid; 213 return limit; 1047 * On Solaris need to limit the suggested value for SO_SNDBUF 1048 * and SO_RCVBUF to the kernel configured limit 1118 * the value when it exceeds the system limit. 1132 /* Exceeded system limit so clamp and retry */
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlParser.java | 144 private int limit = 0; field in class:KXmlParser 477 if (position + delimiter.length > limit) { 820 if (position + 1 >= limit && !fillBuffer(2)) { 993 if (position >= limit && !fillBuffer(1)) { 1001 if (position + 3 >= limit && !fillBuffer(4)) { 1010 if ((position + 5 < limit || fillBuffer(6)) 1065 if (position >= limit && !fillBuffer(1)) { 1100 if (position >= limit && !fillBuffer(1)) { 1109 if (position >= limit && !fillBuffer(1)) { 1350 if (position >= limit) { 2149 private final int limit; field in class:KXmlParser.ContentSource 2150 ContentSource(ContentSource next, char[] buffer, int position, int limit) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentHashMap.java | 3330 Traverser(Node<K,V>[] tab, int size, int index, int limit) { argument 3334 this.baseLimit = limit; 3416 BaseIterator(Node<K,V>[] tab, int size, int index, int limit, argument 3418 super(tab, size, index, limit); 3437 KeyIterator(Node<K,V>[] tab, int index, int size, int limit, argument 3439 super(tab, index, size, limit, map); 3457 ValueIterator(Node<K,V>[] tab, int index, int size, int limit, argument 3459 super(tab, index, size, limit, map); 3477 EntryIterator(Node<K,V>[] tab, int index, int size, int limit, argument 3479 super(tab, index, size, limit, ma 3542 KeySpliterator(Node<K,V>[] tab, int size, int index, int limit, long est) argument 3581 ValueSpliterator(Node<K,V>[] tab, int size, int index, int limit, long est) argument 3620 EntrySpliterator(Node<K,V>[] tab, int size, int index, int limit, long est, ConcurrentHashMap<K,V> map) argument [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLConnectionTest.java | 2927 * Reads at most {@code limit} characters from {@code in} and asserts that 2930 private void assertContent(String expected, URLConnection connection, int limit) argument 2933 assertEquals(expected, readAscii(connection.getInputStream(), limit));
|