Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DIntSliceOpTest.java126 private int sliceSize(int dataSize, int skip, int limit) { in sliceSize()
161 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), s), 0, limit)); in testSkipLimitOps() local
164 assertEquals(sr.size(), sliceSize(data.size(), s, limit)); in testSkipLimitOps() local
176 assertEquals(sr.size(), sliceSize(data.size(), 0, limit)); in testLimitOps() local
179 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), 0, limit), 0, limit / 2)); in testLimitOps() local
DSliceOpTest.java140 private int sliceSize(int dataSize, int skip, int limit) { in sliceSize()
/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()
78 long skip, long limit) { in sliceSpliterator()
115 long skip, long limit) { in makeRef()
/libcore/luni/src/test/java/libcore/java/util/
DRandomTest.java46 final int limit = 128; // We can't test for every element in an infinite stream. in test_ints$() local
78 final int limit = 128; // We can't test for every element in an infinite stream. in test_ints$II() local
121 final int limit = 128; // We can't test for every element in an infinite stream. in test_longs$() local
153 final int limit = 128; // We can't test for every element in an infinite stream. in test_longs$II() local
196 final int limit = 128; // We can't test for every element in an infinite stream. in test_doubles$() local
228 final int limit = 128; // We can't test for every element in an infinite stream. in test_doubles$II() local
/libcore/luni/src/main/java/java/math/
DLogical.java148 int limit = Math.min(negative.numberLength, positive.numberLength); in andDiffSigns() local
254 int limit = Math.min(val.numberLength, that.numberLength); in andNotPositive() local
302 int limit; in andNotNegativePositive() local
382 int limit; in andNotNegative() local
516 int limit; in orDiffSigns() local
630 int limit; in xorNegative() local
681 int limit; in xorDiffSigns() 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.java189 private int limit; field in Buffer
270 public final int limit() { in limit() method in Buffer
288 public Buffer limit(int newLimit) { in limit() method in Buffer
DStringCharBuffer.java56 int limit, in StringCharBuffer()
DCharBuffer.java258 int limit = limit(); in read() local
875 public Buffer limit(int newLimit) { in limit() method in CharBuffer
/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/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/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/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/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/zip/
DCRC32.java103 int limit = buffer.limit(); in update() local
DAdler32.java106 int limit = buffer.limit(); in update() local
DDeflaterInputStream.java295 public void mark(int limit) { in mark()
/libcore/ojluni/src/main/java/java/util/regex/
DPattern.java1139 public String[] split(CharSequence input, int limit) { in split()
1208 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
DMessageDigest1Test.java116 int limit = byteBuffer.limit(); in test_updateLjava_nio_ByteBuffer() 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()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DHandler.java128 int start, int limit) { in parseURL()
/libcore/ojluni/src/main/java/java/io/
DObjectOutputStream.java2133 int limit = MAX_BLOCK_SIZE - 2; in writeChars() local
2150 int limit = MAX_BLOCK_SIZE - 2; in writeShorts() local
2167 int limit = MAX_BLOCK_SIZE - 4; in writeInts() local
2184 int limit = MAX_BLOCK_SIZE - 4; in writeFloats() local
2200 int limit = MAX_BLOCK_SIZE - 8; in writeLongs() local
2217 int limit = MAX_BLOCK_SIZE - 8; in writeDoubles() local
2301 int limit = MAX_BLOCK_SIZE - 3; in writeUTFBody() local
/libcore/ojluni/src/main/java/java/text/
DBidi.java373 public static boolean requiresBidi(char[] text, int start, int limit) { in requiresBidi()

123