Searched refs:chunk (Results 1 - 6 of 6) sorted by relevance

/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DJarResourceExtractor.java164 int chunk = 0;
167 chunk = zis.read(b, rb, (int) size - rb);
168 if (chunk == -1) {
171 rb += chunk;
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/
H A DJkInputStream.java179 public int doWrite(ByteChunk chunk, Response res) argument
188 int len=chunk.getLength();
204 outputMsg.appendBytes( chunk.getBytes(), chunk.getOffset() + off, thisTime );
222 // Handle special first-body-chunk, but only if httpd expects it.
237 /** Receive a chunk of data. Called to implement the
246 log.info( "Receiving: getting request body chunk " + err + " " + bodyMsg.getLen() );
254 // Don't mark 'end of stream' for the first chunk.
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/
H A DPerformanceTest.java144 final byte[] chunk = new byte[chunkSize];
151 sample.uploadBytes(chunk);
152 total += chunk.length;
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/
H A DLogViewerResource.java350 int chunk = f.read(buf, size, buf.length - size);
351 if (chunk == -1) {
354 size += chunk;
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DContainerMapper.java513 ByteChunk chunk = new ByteChunk();
514 chunk.setBytes(errorBody, 0, errorBody.length);
521 res.doWrite(chunk);
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/
H A DResultDesc.java430 byte[] chunk = new byte[2000];
434 while ((read = is.read(chunk)) != -1) {
435 bos.write(chunk, 0, read);

Completed in 25 milliseconds