Searched refs:allocate (Results 51 - 75 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DConnectedSend.java66 ByteBuffer bb = ByteBuffer.allocate(256);
108 ByteBuffer bb = ByteBuffer.allocate(256);
H A DSelectWhenRefused.java71 n = dc.read(ByteBuffer.allocate(100));
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DShortWrite.java59 this.buf = ByteBuffer.allocate(expectedSize);
85 ByteBuffer buf = ByteBuffer.allocate(size);
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DEchoService.java66 ByteBuffer bb = ByteBuffer.allocate(1024);
95 ByteBuffer bb = ByteBuffer.allocate(1024);
H A DEchoTest.java64 ByteBuffer bb1 = ByteBuffer.allocate(size);
75 ByteBuffer bb2 = ByteBuffer.allocate(size+100);
/openjdk7/jdk/test/java/nio/charset/CharsetEncoder/
H A DFlush.java43 ByteBuffer x = ByteBuffer.allocate(2*bb.capacity()+10);
56 ByteBuffer bb = ByteBuffer.allocate(6);
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DByteBuffers.java58 ByteBuffer i0 = ByteBuffer.allocate(n + 256);
70 ByteBuffer o0 = ByteBuffer.allocate(n + 512);
/openjdk7/jdk/test/javax/crypto/CipherSpi/
H A DDirectBBRemaining.java81 ByteBuffer.allocate(size),
82 ByteBuffer.allocate(outSize),
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1AllocRegion.hpp74 // When true, indicates that allocate calls should do BOT updates.
94 static inline HeapWord* allocate(HeapRegion* alloc_region,
104 // so that noone else can allocate out of it any more.
110 // else can allocate out of it.
116 // to allocate a new region even if the max has been reached.
144 // lock. It will try to allocate lock-free out of the active region,
149 // lock. It will try to first allocate lock-free out of the active
157 // Should be called to allocate a new region even if the max of this
/openjdk7/hotspot/src/share/vm/memory/
H A DthreadLocalAllocBuffer.inline.hpp34 inline HeapWord* ThreadLocalAllocBuffer::allocate(size_t size) { function in class:ThreadLocalAllocBuffer
/openjdk7/hotspot/src/share/vm/oops/
H A DcompiledICHolderKlass.hpp46 compiledICHolderOop allocate(TRAPS);
H A DconstMethodKlass.hpp47 constMethodOop allocate(int byte_code_size, int compressed_line_number_size,
H A DconstantPoolKlass.hpp43 constantPoolOop allocate(int length, bool is_conc_safe, TRAPS);
H A DcpCacheKlass.hpp42 constantPoolCacheOop allocate(int length, TRAPS);
H A DmethodDataKlass.hpp42 methodDataOop allocate(methodHandle method, TRAPS);
H A DmethodKlass.hpp44 methodOop allocate(constMethodHandle xconst, AccessFlags access_flags,
/openjdk7/jdk/test/vm/verifier/
H A DVerifyProtectedConstructor.java124 java.nio.ByteBuffer bbuf = java.nio.ByteBuffer.allocate(arr.length * 8);
/openjdk7/jdk/src/share/instrument/
H A DUtilities.c42 allocate(jvmtiEnv * jvmtienv, size_t bytecount) { function
/openjdk7/jdk/test/sun/nio/cs/
H A DEUCJPUnderflowDecodeTest.java37 CharBuffer cc = CharBuffer.allocate(255);
H A DTest6392804.java54 CharBuffer cb = CharBuffer.allocate(1024);
H A DTestISCII91.java60 CharBuffer chars = CharBuffer.allocate(300);
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/v1_0/
H A DPerfDataBufferPrologue.java175 IntBuffer ib = IntBuffer.allocate(1);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DRequest.java239 chanbuf = ByteBuffer.allocate (BUFSIZE);
338 markBuf = ByteBuffer.allocate (readlimit);
368 buf = ByteBuffer.allocate (4096);
388 buf = ByteBuffer.allocate (2*(cap+diff));
/openjdk7/jdk/test/java/nio/Buffer/
H A DBasicChar.java123 CharBuffer c = CharBuffer.allocate(n + 7);
150 CharBuffer nondirect1 = ByteBuffer.allocate(cap).asCharBuffer();
154 CharBuffer nondirect2 = ByteBuffer.allocate(cap).asCharBuffer();
161 CharBuffer nondirect3 = ByteBuffer.allocate(cap).asCharBuffer();
162 CharBuffer nondirect4 = ByteBuffer.allocate(cap).asCharBuffer();
510 CharBuffer b2 = CharBuffer.allocate(b.capacity());
898 CharBuffer.allocate(-1);
910 test(0, CharBuffer.allocate(7 * 1024), false);
923 callReset(CharBuffer.allocate(10));
H A DBasicDouble.java123 DoubleBuffer c = DoubleBuffer.allocate(n + 7);
150 DoubleBuffer nondirect1 = ByteBuffer.allocate(cap).asDoubleBuffer();
154 DoubleBuffer nondirect2 = ByteBuffer.allocate(cap).asDoubleBuffer();
161 DoubleBuffer nondirect3 = ByteBuffer.allocate(cap).asDoubleBuffer();
162 DoubleBuffer nondirect4 = ByteBuffer.allocate(cap).asDoubleBuffer();
510 DoubleBuffer b2 = DoubleBuffer.allocate(b.capacity());
898 DoubleBuffer.allocate(-1);
910 test(0, DoubleBuffer.allocate(7 * 1024), false);
923 callReset(DoubleBuffer.allocate(10));

Completed in 78 milliseconds

1234567891011>>