Searched refs:HEADER_SIZE (Results 1 – 4 of 4) sorted by relevance
28 static final int HEADER_SIZE = 8; field in Protocol36 public static final int MAX_CONTENT_SIZE = MAX_ENVELOPE_SIZE - HEADER_SIZE;
292 int length = Protocol.HEADER_SIZE; in loop()316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) { in loop()333 length = Protocol.HEADER_SIZE; in loop()
69 private static final int HEADER_SIZE = 8; field in PersistentDataBlockService351 long maxBlockSize = getBlockDeviceSize() - HEADER_SIZE - 1;365 ByteBuffer headerAndData = ByteBuffer.allocate(data.length + HEADER_SIZE);517 long actualSize = getBlockDeviceSize() - HEADER_SIZE - 1;
49 private static final int HEADER_SIZE = 1 + 8 + 4; field in MiniThumbFile196 if (data.length > BYTES_PER_MINTHUMB - HEADER_SIZE) { in saveMiniThumbToFile()