Searched refs:MAX_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
1799 private static final int MAX_BLOCK_SIZE = 1024; field in ObjectOutputStream.BlockDataOutputStream1806 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 …]
458 private static final int MAX_BLOCK_SIZE = 1024; // 0x400 field in ObjectOutputStream.BlockDataOutputStream
522 private static final int MAX_BLOCK_SIZE = 1024; // 0x400 field in ObjectInputStream.BlockDataInputStream