Searched refs:CHUNK_SIZE (Results 1 - 17 of 17) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DChunkedOutputStream.java54 final static int CHUNK_SIZE = 4096; field in class:ChunkedOutputStream
59 private byte[] buf = new byte [CHUNK_SIZE+OFFSET+2];
73 if (count == CHUNK_SIZE) {
76 assert count < CHUNK_SIZE;
83 int remain = CHUNK_SIZE - count;
86 count = CHUNK_SIZE;
90 while (len >= CHUNK_SIZE) {
91 System.arraycopy (b,off,buf,OFFSET,CHUNK_SIZE);
92 len -= CHUNK_SIZE;
93 off += CHUNK_SIZE;
[all...]
/openjdk7/jdk/test/sun/net/www/http/ChunkedInputStream/
H A DChunkedEncodingTest.java94 final static int CHUNK_SIZE = 8 * 1024; field in class:ChunkedEncodingTest.SimpleHandler
95 final static int MESSAGE_LENGTH = 52 * CHUNK_SIZE;
115 dos.write(baMessage, offset, CHUNK_SIZE);
116 offset += CHUNK_SIZE;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXSDeclarationPool.java43 private static final int CHUNK_SIZE = 1 << CHUNK_SHIFT; field in class:XSDeclarationPool
45 /** Chunk mask (CHUNK_SIZE - 1). */
46 private static final int CHUNK_MASK = CHUNK_SIZE - 1;
192 fElementDecl[chunk] = new XSElementDecl[CHUNK_SIZE];
209 fParticleDecl[chunk] = new XSParticleDecl[CHUNK_SIZE];
220 fModelGroup[chunk] = new XSModelGroupImpl[CHUNK_SIZE];
243 fAttrDecl[chunk] = new XSAttributeDecl[CHUNK_SIZE];
260 fAttributeUse[chunk] = new XSAttributeUseImpl[CHUNK_SIZE];
277 fSTDecl[chunk] = new XSSimpleTypeDecl[CHUNK_SIZE];
295 fCTDecl[chunk] = new XSComplexTypeDecl[CHUNK_SIZE];
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dregmask.hpp102 enum { CHUNK_SIZE = RM_SIZE*_WordBits }; enumerator in enum:VALUE_OBJ_CLASS_SPEC::__anon358
149 assert( reg < CHUNK_SIZE, "" );
164 void set_AllStack() { Insert(OptoReg::Name(CHUNK_SIZE-1)); }
277 assert( reg < CHUNK_SIZE, "" );
283 assert( reg < CHUNK_SIZE, "" );
322 return (int)reg < (int)(CHUNK_SIZE-1);
327 return (int)reg < (int)(CHUNK_SIZE-SlotsPerVecY);
H A Dchaitin.hpp123 void Set_All() { _mask.Set_All(); debug_only(_msize_valid=1); _mask_size = RegMask::CHUNK_SIZE; }
H A Dchaitin.cpp1137 if (reg >= chunk && reg < (chunk + RegMask::CHUNK_SIZE) &&
1299 if( nreg >= chunk && nreg < chunk + RegMask::CHUNK_SIZE ) {
1341 chunk += RegMask::CHUNK_SIZE;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DByteArrayBuffer.java63 private static final int CHUNK_SIZE = 4096; field in class:ByteArrayBuffer
145 int chunk = (remaining > CHUNK_SIZE) ? CHUNK_SIZE : remaining;
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransferToChannel.java41 static int CHUNK_SIZE = 1024 * 9; field in class:TransferToChannel
101 Math.min(CHUNK_SIZE, remainingBytes), wbc);
116 CHUNK_SIZE, out);
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6744329.java75 final static int CHUNK_SIZE = 4096; field in class:B6744329
90 byte[] first = new byte [CHUNK_SIZE * 2];
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DCaseInsensitiveMap.java31 private static int CHUNK_SIZE = (1<<CHUNK_SHIFT); field in class:CaseInsensitiveMap
32 private static int CHUNK_MASK = (CHUNK_SIZE-1);
67 caseInsensitiveMap[i] = new int[CHUNK_SIZE][];
/openjdk7/jdk/src/solaris/bin/
H A Djexec.c116 static const size_t CHUNK_SIZE = 65535; variable
309 unsigned char buf[CHUNK_SIZE];
311 ssize_t count = read(fd, buf, CHUNK_SIZE);
/openjdk7/jaxp/src/com/sun/xml/internal/stream/dtd/nonvalidating/
H A DDTDGrammar.java61 private static final int CHUNK_SIZE = (1 << CHUNK_SHIFT); field in class:DTDGrammar
63 /** Chunk mask (CHUNK_SIZE - 1). */
64 private static final int CHUNK_MASK = CHUNK_SIZE - 1;
762 fElementDeclName[chunk] = new QName[CHUNK_SIZE];
763 fElementDeclType[chunk] = new short[CHUNK_SIZE];
764 fElementDeclFirstAttributeDeclIndex[chunk] = new int[CHUNK_SIZE];
765 fElementDeclLastAttributeDeclIndex[chunk] = new int[CHUNK_SIZE];
784 fAttributeDeclName[chunk] = new QName[CHUNK_SIZE];
785 fAttributeDeclType[chunk] = new short[CHUNK_SIZE];
786 fAttributeDeclEnumeration[chunk] = new String[CHUNK_SIZE][];
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DDeferredDocumentImpl.java74 protected static final int CHUNK_SIZE = (1 << CHUNK_SHIFT); field in class:DeferredDocumentImpl
77 protected static final int CHUNK_MASK = CHUNK_SIZE - 1;
1245 RefCount c = (RefCount) fNodeValue[chunk][CHUNK_SIZE];
1427 switch (fNodeType[i][CHUNK_SIZE]) {
1439 default: { System.out.print("?"+fNodeType[i][CHUNK_SIZE]); }
1442 System.out.print(fNodeName[i][CHUNK_SIZE]);
1444 System.out.print(fNodeValue[i][CHUNK_SIZE]);
1446 System.out.print(fNodeURI[i][CHUNK_SIZE]);
1448 System.out.print(fNodeParent[i][CHUNK_SIZE]);
1450 System.out.print(fNodeLastChild[i][CHUNK_SIZE]);
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DDTDGrammar.java122 private static final int CHUNK_SIZE = (1 << CHUNK_SHIFT); field in class:DTDGrammar
124 /** Chunk mask (CHUNK_SIZE - 1). */
125 private static final int CHUNK_MASK = CHUNK_SIZE - 1;
2474 fElementDeclIsExternal[chunk] = new int[CHUNK_SIZE];
2475 fElementDeclName[chunk] = new QName[CHUNK_SIZE];
2476 fElementDeclType[chunk] = new short[CHUNK_SIZE];
2477 fElementDeclContentModelValidator[chunk] = new ContentModelValidator[CHUNK_SIZE];
2478 fElementDeclContentSpecIndex[chunk] = new int[CHUNK_SIZE];
2479 fElementDeclFirstAttributeDeclIndex[chunk] = new int[CHUNK_SIZE];
2480 fElementDeclLastAttributeDeclIndex[chunk] = new int[CHUNK_SIZE];
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/
H A DStAXSchemaParser.java62 private static final int CHUNK_SIZE = (1 << 10); field in class:StAXSchemaParser
64 /** Chunk mask (CHUNK_SIZE - 1). */
65 private static final int CHUNK_MASK = CHUNK_SIZE - 1;
68 private final char [] fCharBuffer = new char[CHUNK_SIZE];
272 /** Send characters to the validator in CHUNK_SIZE character chunks. */
289 str.getChars(i, i += CHUNK_SIZE, fCharBuffer, 0);
290 fTempString.setValues(fCharBuffer, 0, CHUNK_SIZE);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/
H A DDOMValidatorHelper.java75 private static final int CHUNK_SIZE = (1 << 10); field in class:DOMValidatorHelper
77 /** Chunk mask (CHUNK_SIZE - 1). */
78 private static final int CHUNK_MASK = CHUNK_SIZE - 1;
143 private char [] fCharBuffer = new char[CHUNK_SIZE];
466 str.getChars(i, i += CHUNK_SIZE, fCharBuffer, 0);
467 fTempString.setValues(fCharBuffer, 0, CHUNK_SIZE);
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dunpack.cpp345 enum { CHUNK_SIZE = (1<<14) }; enumerator in enum:__anon626
347 if (fetch < CHUNK_SIZE)
348 fetch = CHUNK_SIZE;

Completed in 2665 milliseconds