Home
last modified time | relevance | path

Searched defs:limit (Results 1 – 25 of 98) sorted by relevance

1234

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DIntSliceOpTest.java128 private int sliceSize(int dataSize, int skip, int limit) { in sliceSize()
165 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), s), 0, limit)); in testSkipLimitOps() local
168 assertEquals(sr.size(), sliceSize(data.size(), s, limit)); in testSkipLimitOps() local
181 assertEquals(sr.size(), sliceSize(data.size(), 0, limit)); in testLimitOps() local
184 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), 0, limit), 0, limit / 2)); in testLimitOps() local
/libcore/ojluni/src/test/java/util/Base64/
DTestBase64Golden.java121 int limit = srcBuf.limit(); in test0() local
123 assertEqual(srcBuf.position(), limit); in test0() local
124 assertEqual(srcBuf.limit(), limit); in test0() local
145 assertEqual(encodedBuf.position(), limit); in test0() local
146 assertEqual(encodedBuf.limit(), limit); in test0() local
/libcore/ojluni/src/main/java/java/util/stream/
DSliceOps.java52 private static long calcSize(long size, long skip, long limit) { in calcSize()
64 private static long calcSliceFence(long skip, long limit) { in calcSliceFence()
77 long skip, long limit) { in sliceSpliterator()
105 long skip, long limit) { in makeRef()
118 long skip, long limit, long sizeIfKnown) { in makeRef()
/libcore/luni/src/test/java/libcore/java/util/
DRandomTest.java68 final int limit = 128; // We can't test for every element in an infinite stream. in test_ints$() local
103 final int limit = 128; // We can't test for every element in an infinite stream. in test_ints$II() local
149 final int limit = 128; // We can't test for every element in an infinite stream. in test_longs$() local
183 final int limit = 128; // We can't test for every element in an infinite stream. in test_longs$II() local
228 final int limit = 128; // We can't test for every element in an infinite stream. in test_doubles$() local
262 final int limit = 128; // We can't test for every element in an infinite stream. in test_doubles$II() local
/libcore/ojluni/src/main/java/java/nio/
DCharBufferSpliterator.java42 private final int limit; field in CharBufferSpliterator
48 CharBufferSpliterator(CharBuffer buffer, int origin, int limit) { in CharBufferSpliterator()
DBuffer.java207 private int limit; field in Buffer
/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java50 public final int limit() { in limit() method in Buffer
54 public final java.nio.Buffer limit(int newLimit) { in limit() method in Buffer
156 private int limit; field in Buffer
/libcore/ojluni/src/test/java/lang/StackWalker/
DBasic.java127 int limit = Math.min(depth, 16); in walk() local
179 private final int limit; field in Basic.StackBuilder
182 StackBuilder(int stackDepth, int limit) { in StackBuilder()
/libcore/ojluni/src/test/java/lang/String/CompactString/
DSplit.java169 public void testSplit(String str, String regex, int limit, String[] expected) { in testSplit()
/libcore/luni/src/test/java/libcore/java/text/
DOldAttributedCharacterIteratorTest.java103 int limit = it.getRunLimit(); in test_getRunLimit() local
104 assertEquals(string.length(), limit); in test_getRunLimit() local
/libcore/ojluni/src/main/java/java/math/
DBitSieve.java166 private int sieveSearch(int limit, int start) { in sieveSearch()
184 private void sieveSingle(int limit, int start, int step) { in sieveSingle()
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java154 private int limit; // zero => no limit. field in FileHandler
353 public FileHandler(String pattern, int limit, int count) in FileHandler()
392 public FileHandler(String pattern, int limit, int count, boolean append) in FileHandler()
/libcore/ojluni/src/main/java/java/util/zip/
DChecksum.java107 int limit = buffer.limit(); in update() local
DZipCoder.java81 int limit = bb.limit(); in getBytes() local
119 int limit = cb.limit(); in checkedHash() local
DAdler32.java106 int limit = buffer.limit(); in update() local
DDeflaterInputStream.java295 public void mark(int limit) { in mark()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFileHandlerTest.java241 int limit = 120; in testFileHandler_3params() local
286 int limit = 120; in testFileHandler_4params() local
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DHandler.java53 protected void parseURL(URL u, String spec, int start, int limit) { in parseURL()
/libcore/ojluni/src/test/java/lang/String/
DStringRepeat.java69 long limit = (long)string.length() * (long)repeat; in test1() local
/libcore/ojluni/annotations/flagged_api/java/nio/
DMappedByteBuffer.annotated.java46 public final java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() method in MappedByteBuffer
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DSliceSpliteratorTest.java63 void test(int size, int skip, int limit); in test()
/libcore/ojluni/src/main/java/java/util/regex/
DPattern.java1118 public String[] split(CharSequence input, int limit) { in split()
1187 public static String[] fastSplit(String re, String input, int limit) { in fastSplit()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DMessageDigestSpiTest.java151 int limit = buf.limit(); in test_engineUpdateLjava_nio_ByteBuffer() local
/libcore/ojluni/src/test/java/math/BigDecimal/
DStringConstructor.java130 int limit = ((int)Math.log10(Long.MAX_VALUE)) + 6; in testLeadingExponentZeroTest() local
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/
DPattern.annotated.java50 …il.NonNull [] split(@libcore.util.NonNull java.lang.CharSequence input, int limit) { throw new Run… in split()

1234