Searched defs:block (Results 1 - 8 of 8) sorted by relevance
/libcore/luni/src/main/java/java/nio/ |
H A D | MappedByteBuffer.java | 42 MappedByteBuffer(MemoryBlock block, int capacity, MapMode mapMode) { argument 43 super(capacity, block); 55 long address = block.toLong(); 56 long size = block.getSize(); 88 Libcore.os.mlock(block.toLong(), block.getSize()); 89 Libcore.os.munlock(block.toLong(), block.getSize()); 107 Libcore.os.msync(block.toLong(), block [all...] |
H A D | Buffer.java | 95 final MemoryBlock block; field in class:Buffer 97 Buffer(int elementSizeShift, int capacity, MemoryBlock block) { argument 103 this.block = block;
|
H A D | ByteBuffer.java | 30 * <li>{@link #allocateDirect(int) Allocate} a memory block and create a direct 60 * Creates a direct byte buffer based on a newly allocated memory block. 115 ByteBuffer(int capacity, MemoryBlock block) { argument 116 super(0, capacity, block);
|
H A D | DirectByteBuffer.java | 26 // This is the offset into {@code Buffer.block} at which this buffer logically starts. 27 // TODO: rewrite this so we set 'block' to an OffsetMemoryBlock? 32 protected DirectByteBuffer(MemoryBlock block, int capacity, int offset, boolean isReadOnly, MapMode mapMode) { argument 33 super(block, capacity, mapMode); 35 long baseSize = block.getSize(); 40 this.effectiveDirectAddress = block.toLong() + offset; 52 DirectByteBuffer buf = new DirectByteBuffer(other.block, other.capacity(), other.offset, isReadOnly, other.mapMode); 79 return new DirectByteBuffer(block, remaining(), offset + position, isReadOnly, mapMode); 90 byte[] array = this.block.array(); 103 return !isReadOnly && (block [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | SelectableChannel.java | 57 * the call to this method might block depending on the implementation. 59 * @param block 66 * if {@code block} is {@code true} and this channel has been 71 public abstract SelectableChannel configureBlocking(boolean block) argument 118 * the key set of the selector and thus may again block if other threads 157 * the key set of the selector and thus may again block if other threads
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | SelectableChannelTest.java | 52 public SelectableChannel configureBlocking(boolean block) argument
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Phaser.java | 49 * do not block, but return an associated <em>arrival phase 1108 public boolean block() { method in class:Phaser.QNode
|
H A D | ForkJoinPool.java | 214 * on to try or create other queues -- they block only when 243 * block when needed. 357 * just let them block (as in Thread.join). We also cannot just 494 * (8) Static block initializing statics in minimally dependent order 1252 * to builtin monitor to block when (rarely) needed. This would be 1733 ctl == c) { // block 3125 * not necessary. Method {@code block} blocks the current thread 3130 * but don't usually, block for long periods. Similarly, they 3144 * public boolean block() { 3161 * public boolean block() throw 3184 boolean block() throws InterruptedException; method in interface:ForkJoinPool.ManagedBlocker [all...] |
Completed in 1120 milliseconds