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

12

/openjdk10/hotspot/test/gc/
H A DTestMemoryInitialization.java33 final static int CHUNK_SIZE = 1500000; field in class:TestMemoryInitialization
41 buffer = new byte[CHUNK_SIZE];
/openjdk10/jdk/src/jdk.httpserver/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...]
/openjdk10/hotspot/test/gc/stress/
H A DTestStressIHOPMultiThread.java75 private final int CHUNK_SIZE = 100000; field in class:TestStressIHOPMultiThread
118 GARBAGE.add(new byte[CHUNK_SIZE]);
119 allocated += CHUNK_SIZE;
204 garbage.add(new byte[CHUNK_SIZE]);
205 allocated += CHUNK_SIZE;
/openjdk10/hotspot/src/share/vm/opto/
H A Dregmask.hpp83 enum { CHUNK_SIZE = RM_SIZE*_WordBits }; enumerator in enum:VALUE_OBJ_CLASS_SPEC::__anon593
131 assert( reg < CHUNK_SIZE, "" );
146 void set_AllStack() { Insert(OptoReg::Name(CHUNK_SIZE-1)); }
259 assert( reg < CHUNK_SIZE, "" );
265 assert( reg < CHUNK_SIZE, "" );
304 return (int)reg < (int)(CHUNK_SIZE-1);
309 return (int)reg < (int)(CHUNK_SIZE-SlotsPerVecZ);
/openjdk10/jaxp/src/java.xml/share/classes/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...]
/openjdk10/jdk/test/sun/net/www/http/ChunkedInputStream/
H A DChunkedEncodingTest.java95 final static int CHUNK_SIZE = 8 * 1024; field in class:ChunkedEncodingTest.SimpleHandler
96 final static int MESSAGE_LENGTH = 52 * CHUNK_SIZE;
116 dos.write(baMessage, offset, CHUNK_SIZE);
117 offset += CHUNK_SIZE;
/openjdk10/hotspot/test/gc/g1/ihop/
H A DTestIHOPStatic.java168 private final static int CHUNK_SIZE = 10000; field in class:TestIHOPStatic.AppIHOP
193 for (long i = 0; i < memToFill / CHUNK_SIZE; i++) {
194 STORAGE.add(new byte[CHUNK_SIZE]);
/openjdk10/jaxws/src/java.xml.ws/share/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;
/openjdk10/jdk/test/java/nio/channels/FileChannel/
H A DTransferToChannel.java43 static int CHUNK_SIZE = 1024 * 9; field in class:TransferToChannel
103 Math.min(CHUNK_SIZE, remainingBytes), wbc);
118 CHUNK_SIZE, out);
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotJVMCIMetaAccessContext.java182 private static final int CHUNK_SIZE = 32; field in class:HotSpotJVMCIMetaAccessContext.ChunkedList
184 private static final int NEXT_CHUNK_INDEX = CHUNK_SIZE - 1;
191 head = new Object[CHUNK_SIZE];
197 Object[] newHead = new Object[CHUNK_SIZE];
/openjdk10/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];
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/xml/internal/stream/dtd/nonvalidating/
H A DDTDGrammar.java62 private static final int CHUNK_SIZE = (1 << CHUNK_SHIFT); field in class:DTDGrammar
64 /** Chunk mask (CHUNK_SIZE - 1). */
65 private static final int CHUNK_MASK = CHUNK_SIZE - 1;
767 fElementDeclName[chunk] = new QName[CHUNK_SIZE];
768 fElementDeclType[chunk] = new short[CHUNK_SIZE];
769 fElementDeclFirstAttributeDeclIndex[chunk] = new int[CHUNK_SIZE];
770 fElementDeclLastAttributeDeclIndex[chunk] = new int[CHUNK_SIZE];
789 fAttributeDeclName[chunk] = new QName[CHUNK_SIZE];
790 fAttributeDeclType[chunk] = new short[CHUNK_SIZE];
791 fAttributeDeclEnumeration[chunk] = new String[CHUNK_SIZE][];
[all...]
/openjdk10/hotspot/test/gc/arguments/
H A DTestMaxMinHeapFreeRatioFlags.java139 public static final int CHUNK_SIZE = 1024; field in class:TestMaxMinHeapFreeRatioFlags.RatioVerifier
141 public static final int ARRAY_LENGTH = CHUNK_SIZE - Unsafe.ARRAY_BYTE_BASE_OFFSET;
193 garbage.add(new byte[CHUNK_SIZE]);
194 memoryToFill -= CHUNK_SIZE;
213 memoryToFree -= CHUNK_SIZE;
H A DTestSurvivorRatioFlag.java102 public static final int CHUNK_SIZE = 10000; field in class:TestSurvivorRatioFlag.SurvivorRatioVerifier
110 AllocationHelper allocator = new AllocationHelper(MAX_ITERATIONS, ARRAY_LENGTH, CHUNK_SIZE, () -> (verifySurvivorRatio(ratio)));
H A DTestMinAndInitialSurvivorRatioFlags.java119 public static final int CHUNK_SIZE = 10000; field in class:TestMinAndInitialSurvivorRatioFlags.SurvivorRatioVerifier
143 AllocationHelper allocator = new AllocationHelper(MAX_ITERATIONS, ARRAY_LENGTH, CHUNK_SIZE,
H A DTestTargetSurvivorRatioFlag.java254 public static final int CHUNK_SIZE = 1024; field in class:TestTargetSurvivorRatioFlag.TargetSurvivorRatioVerifier
255 // Length of byte[] array that will have occupy CHUNK_SIZE bytes in heap
256 public static final int ARRAY_LENGTH = CHUNK_SIZE - Unsafe.ARRAY_BYTE_BASE_OFFSET;
285 int arrayLength = (int) (garbageSize / CHUNK_SIZE);
H A DTestNewSizeFlags.java190 public static final int CHUNK_SIZE = 1024; field in class:TestNewSizeFlags.NewSizeVerifier
207 AllocationHelper allocator = new AllocationHelper(MAX_ITERATIONS, ARRAY_LENGTH, CHUNK_SIZE, () -> (verifyNewSize(newSize, maxNewSize, initialHeapSize, maxHeapSize)));
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DCaseInsensitiveMap.java30 private static final int CHUNK_SIZE = (1<<CHUNK_SHIFT); field in class:CaseInsensitiveMap
31 private static final int CHUNK_MASK = (CHUNK_SIZE-1);
59 caseInsensitiveMap = new int[INITIAL_CHUNK_COUNT][CHUNK_SIZE][];
/openjdk10/jdk/src/java.base/unix/native/launcher/
H A Djexec.c119 static const size_t CHUNK_SIZE = 65535; variable
319 unsigned char buf[CHUNK_SIZE];
321 ssize_t count = read(fd, buf, CHUNK_SIZE);
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/
H A DDeferredDocumentImpl.java73 protected static final int CHUNK_SIZE = (1 << CHUNK_SHIFT); field in class:DeferredDocumentImpl
76 protected static final int CHUNK_MASK = CHUNK_SIZE - 1;
1211 RefCount c = (RefCount) fNodeValue[chunk][CHUNK_SIZE];
1393 switch (fNodeType[i][CHUNK_SIZE]) {
1405 default: { System.out.print("?"+fNodeType[i][CHUNK_SIZE]); }
1408 System.out.print(fNodeName[i][CHUNK_SIZE]);
1410 System.out.print(fNodeValue[i][CHUNK_SIZE]);
1412 System.out.print(fNodeURI[i][CHUNK_SIZE]);
1414 System.out.print(fNodeParent[i][CHUNK_SIZE]);
1416 System.out.print(fNodeLastChild[i][CHUNK_SIZE]);
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dtd/
H A DDTDGrammar.java81 private static final int CHUNK_SIZE = (1 << CHUNK_SHIFT); field in class:DTDGrammar
83 /** Chunk mask (CHUNK_SIZE - 1). */
84 private static final int CHUNK_MASK = CHUNK_SIZE - 1;
2436 fElementDeclIsExternal[chunk] = new int[CHUNK_SIZE];
2437 fElementDeclName[chunk] = new QName[CHUNK_SIZE];
2438 fElementDeclType[chunk] = new short[CHUNK_SIZE];
2439 fElementDeclContentModelValidator[chunk] = new ContentModelValidator[CHUNK_SIZE];
2440 fElementDeclContentSpecIndex[chunk] = new int[CHUNK_SIZE];
2441 fElementDeclFirstAttributeDeclIndex[chunk] = new int[CHUNK_SIZE];
2442 fElementDeclLastAttributeDeclIndex[chunk] = new int[CHUNK_SIZE];
[all...]
/openjdk10/jdk/test/java/net/httpclient/
H A DManyRequests.java78 + ", chunks=" + CHUNK_SIZE
101 static final int CHUNK_SIZE = Math.max(0, field in class:ManyRequests
138 byte[] buf = new byte[(i+1)*CHUNK_SIZE+i+1]; // different size bodies
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/staxex/
H A DBase64Data.java444 private static final int CHUNK_SIZE; field in class:Base64Data
455 CHUNK_SIZE = bufSize;
465 byte[] buffer = new byte[CHUNK_SIZE];
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/traversers/
H A DStAXSchemaParser.java61 private static final int CHUNK_SIZE = (1 << 10); field in class:StAXSchemaParser
63 /** Chunk mask (CHUNK_SIZE - 1). */
64 private static final int CHUNK_MASK = CHUNK_SIZE - 1;
67 private final char [] fCharBuffer = new char[CHUNK_SIZE];
271 /** Send characters to the validator in CHUNK_SIZE character chunks. */
288 str.getChars(i, i += CHUNK_SIZE, fCharBuffer, 0);
289 fTempString.setValues(fCharBuffer, 0, CHUNK_SIZE);
/openjdk10/jaxp/src/java.xml/share/classes/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);

Completed in 189 milliseconds

12