Searched refs:allocate (Results 76 - 100 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/nio/Buffer/
H A DBasicFloat.java123 FloatBuffer c = FloatBuffer.allocate(n + 7);
150 FloatBuffer nondirect1 = ByteBuffer.allocate(cap).asFloatBuffer();
154 FloatBuffer nondirect2 = ByteBuffer.allocate(cap).asFloatBuffer();
161 FloatBuffer nondirect3 = ByteBuffer.allocate(cap).asFloatBuffer();
162 FloatBuffer nondirect4 = ByteBuffer.allocate(cap).asFloatBuffer();
510 FloatBuffer b2 = FloatBuffer.allocate(b.capacity());
898 FloatBuffer.allocate(-1);
910 test(0, FloatBuffer.allocate(7 * 1024), false);
923 callReset(FloatBuffer.allocate(10));
H A DBasicInt.java123 IntBuffer c = IntBuffer.allocate(n + 7);
150 IntBuffer nondirect1 = ByteBuffer.allocate(cap).asIntBuffer();
154 IntBuffer nondirect2 = ByteBuffer.allocate(cap).asIntBuffer();
161 IntBuffer nondirect3 = ByteBuffer.allocate(cap).asIntBuffer();
162 IntBuffer nondirect4 = ByteBuffer.allocate(cap).asIntBuffer();
510 IntBuffer b2 = IntBuffer.allocate(b.capacity());
898 IntBuffer.allocate(-1);
910 test(0, IntBuffer.allocate(7 * 1024), false);
923 callReset(IntBuffer.allocate(10));
H A DBasicLong.java123 LongBuffer c = LongBuffer.allocate(n + 7);
150 LongBuffer nondirect1 = ByteBuffer.allocate(cap).asLongBuffer();
154 LongBuffer nondirect2 = ByteBuffer.allocate(cap).asLongBuffer();
161 LongBuffer nondirect3 = ByteBuffer.allocate(cap).asLongBuffer();
162 LongBuffer nondirect4 = ByteBuffer.allocate(cap).asLongBuffer();
510 LongBuffer b2 = LongBuffer.allocate(b.capacity());
898 LongBuffer.allocate(-1);
910 test(0, LongBuffer.allocate(7 * 1024), false);
923 callReset(LongBuffer.allocate(10));
H A DBasicShort.java123 ShortBuffer c = ShortBuffer.allocate(n + 7);
150 ShortBuffer nondirect1 = ByteBuffer.allocate(cap).asShortBuffer();
154 ShortBuffer nondirect2 = ByteBuffer.allocate(cap).asShortBuffer();
161 ShortBuffer nondirect3 = ByteBuffer.allocate(cap).asShortBuffer();
162 ShortBuffer nondirect4 = ByteBuffer.allocate(cap).asShortBuffer();
510 ShortBuffer b2 = ShortBuffer.allocate(b.capacity());
898 ShortBuffer.allocate(-1);
910 test(0, ShortBuffer.allocate(7 * 1024), false);
923 callReset(ShortBuffer.allocate(10));
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/
H A DHttpServer.java186 consumeBuffer = ByteBuffer.allocate (512);
308 inNetBB = ByteBuffer.allocate(netBBSize);
309 outNetBB = ByteBuffer.allocate(netBBSize);
311 inAppBB = ByteBuffer.allocate(appBBSize);
312 outAppBB = ByteBuffer.allocate(appBBSize);
665 inAppBB = ByteBuffer.allocate(needed);
701 markBuf = ByteBuffer.allocate (readlimit);
751 outAppBB = ByteBuffer.allocate (len);
758 outNetBB = ByteBuffer.allocate(needed);
/openjdk7/jdk/src/share/classes/java/nio/charset/
H A DCharset-X-Coder.java.template336 CharBuffer cb = CharBuffer.allocate((int)(bb.remaining()
777 $Otype$Buffer out = $Otype$Buffer.allocate(n);
792 $Otype$Buffer o = $Otype$Buffer.allocate(n);
927 CharBuffer cb = CharBuffer.allocate(1);
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsOldGen.hpp66 HeapWord* res = object_space()->allocate(word_size);
166 HeapWord* allocate(size_t word_size);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/events/
H A DStAXEventAllocatorBase.java41 * allows a user to register a way to allocate events given an XMLStreamReader.
71 * allows the XMLInputFactory to allocate a new instance per reader.
81 * @param streamReader The XMLStreamReader to allocate from
84 public XMLEvent allocate(XMLStreamReader streamReader) throws XMLStreamException { method in class:StAXEventAllocatorBase
94 * @param streamReader The XMLStreamReader to allocate from
97 public void allocate(XMLStreamReader streamReader, XMLEventConsumer consumer) throws XMLStreamException { method in class:StAXEventAllocatorBase
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DIdentity.java85 final ByteBuffer buf = ByteBuffer.allocate(100);
168 buf = ByteBuffer.allocate(1);
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/
H A DStressLoopback.java96 ByteBuffer.allocateDirect(size) : ByteBuffer.allocate(size);
139 ByteBuffer.allocateDirect(size) : ByteBuffer.allocate(size);
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DPread.java64 fc.read(ByteBuffer.allocate(256), -1L);
83 fc.read(ByteBuffer.allocate(256),1);
H A DAtomicAppend.java65 ByteBuffer buf = ByteBuffer.allocate(1);
H A DInterruptDeadlock.java52 ByteBuffer bb = ByteBuffer.allocate(1024);
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DVectorIO.java69 bufs[i] = ByteBuffer.allocate(source.length());
130 bufs[i] = ByteBuffer.allocate(source.length());
H A DCloseDuringWrite.java63 ByteBuffer bb = ByteBuffer.allocate(2*1024*1024);
/openjdk7/jdk/test/sun/nio/cs/
H A DJISAutoDetectTest.java49 CharBuffer output = CharBuffer.allocate(128);
50 CharBuffer expectedOutput = CharBuffer.allocate(128);
H A DTestUTF_32.java187 .decode((ByteBuffer)(ByteBuffer.allocate(4)
191 CharBuffer.allocate(1),
H A DTestX11CNS.java39 CharBuffer cbf = CharBuffer.allocate(bb.length);
57 ByteBuffer bbf = ByteBuffer.allocate(cc.length * 4);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DByteBufferPoolImpl.java69 // then allocate a a DirectByteBuffer of ORB fragment size.
72 // size, allocate a new non-direct ByteBuffer.
80 // check if there's one in the pool, if not allocate one.
96 // less expensive to check poolSize than to allocate a
111 // Just allocate a non-direct ByteBuffer
112 abb = ByteBuffer.allocate(theAskSize);
/openjdk7/hotspot/src/share/vm/oops/
H A DtypeArrayKlass.hpp60 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); } function in class:typeArrayKlass
/openjdk7/jdk/test/java/io/FileInputStream/
H A DLargeFileAvailable.java105 ByteBuffer bb = ByteBuffer.allocate(1).put((byte)1);
/openjdk7/jdk/test/java/nio/charset/coders/
H A DIsLegalReplacement.java57 CharBuffer cb = CharBuffer.allocate((int)(bb.remaining()
/openjdk7/jdk/test/vm/verifier/
H A DVerifyStackForExceptionHandlers.java126 java.nio.ByteBuffer bbuf = java.nio.ByteBuffer.allocate(arr.length * 8);
/openjdk7/jdk/test/java/security/MessageDigest/
H A DByteBuffers.java49 ByteBuffer b1 = ByteBuffer.allocate(n + 256);
/openjdk7/jdk/test/java/security/Signature/
H A DByteBuffers.java57 ByteBuffer b1 = ByteBuffer.allocate(n + 256);

Completed in 88 milliseconds

1234567891011>>