Home
last modified time | relevance | path

Searched refs:MAX_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DObjectOutputStream.java1799 private static final int MAX_BLOCK_SIZE = 1024; field in ObjectOutputStream.BlockDataOutputStream
1806 private final byte[] buf = new byte[MAX_BLOCK_SIZE];
1897 if (pos >= MAX_BLOCK_SIZE) { in write()
1941 if (pos >= MAX_BLOCK_SIZE) { in write()
1944 if (len >= MAX_BLOCK_SIZE && !copy && pos == 0) { in write()
1946 writeBlockHeader(MAX_BLOCK_SIZE); in write()
1947 out.write(b, off, MAX_BLOCK_SIZE); in write()
1948 off += MAX_BLOCK_SIZE; in write()
1949 len -= MAX_BLOCK_SIZE; in write()
1951 int wlen = Math.min(len, MAX_BLOCK_SIZE - pos); in write()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectOutputStream.java458 private static final int MAX_BLOCK_SIZE = 1024; // 0x400 field in ObjectOutputStream.BlockDataOutputStream
DObjectInputStream.java522 private static final int MAX_BLOCK_SIZE = 1024; // 0x400 field in ObjectInputStream.BlockDataInputStream