Searched refs:chunkSize (Results 1 – 2 of 2) sorted by relevance
254 const chunkSize = 1024255 chunks := int(size / chunkSize)267 chunk := make([]byte, chunkSize)277 if frag := int(size % chunkSize); frag > 0 {309 if frag := int(size % chunkSize); frag > 0 {
641 int chunkSize; in provideJarEntry() local642 while ((chunkSize = in.read(tmpbuf)) > 0) { in provideJarEntry()643 dataSink.consume(tmpbuf, 0, chunkSize); in provideJarEntry()1011 int chunkSize; in toByteArray() local1012 while ((chunkSize = in.read(buf)) != -1) { in toByteArray()1013 result.write(buf, 0, chunkSize); in toByteArray()