Home | History | Annotate | Download | only in security

Lines Matching defs:CHUNK_SIZE

58     private static final int CHUNK_SIZE = 32;
328 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
337 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) {
340 dis.read(bArray, i*CHUNK_SIZE, CHUNK_SIZE) == CHUNK_SIZE);
368 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0);
377 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) {
380 dis.read(bArray, i*(CHUNK_SIZE+1), CHUNK_SIZE+1) ==
381 CHUNK_SIZE + 1);
388 MY_MESSAGE_LEN/(CHUNK_SIZE+1)*(CHUNK_SIZE+1),
389 MY_MESSAGE_LEN % (CHUNK_SIZE+1)) ==
390 (MY_MESSAGE_LEN % (CHUNK_SIZE+1)));
451 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
463 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) {
464 dis.read(bArray, i*CHUNK_SIZE, CHUNK_SIZE);