Searched refs:block (Results 1 - 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/nio/
H A DMappedByteBuffer.java41 final MemoryBlock block; field in class:MappedByteBuffer
43 MappedByteBuffer(MemoryBlock block, int capacity, MapMode mapMode, long effectiveDirectAddress) { argument
46 this.block = block;
57 long address = block.toLong();
58 long size = block.getSize();
90 Libcore.os.mlock(block.toLong(), block.getSize());
91 Libcore.os.munlock(block.toLong(), block
[all...]
H A DDirectByteBuffer.java26 // 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, block.toLong() + offset);
35 long baseSize = block.getSize();
54 DirectByteBuffer buf = new DirectByteBuffer(other.block, other.capacity(), other.offset, isReadOnly, other.mapMode);
83 return new DirectByteBuffer(block, remaining(), offset + position, isReadOnly, mapMode);
95 byte[] array = this.block.array();
108 return !isReadOnly && (block
[all...]
H A DFileChannelImpl.java257 MemoryBlock block = MemoryBlock.mmap(fd, alignment, size + offset, mapMode);
258 return new DirectByteBuffer(block, (int) size, offset, (mapMode == MapMode.READ_ONLY), mapMode);
/libcore/luni/src/main/java/java/nio/channels/
H A DSelectableChannel.java57 * 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/tests/java/nio/channels/
H A DSelectableChannelTest.java52 public SelectableChannel configureBlocking(boolean block) argument
/libcore/luni/src/main/java/java/lang/
H A DCharacter.java561 * Represents a block of Unicode characters. This class provides constants for various
562 * well-known blocks (but not all blocks) and methods for looking up a block
569 * The Surrogates Area Unicode block.
571 * @deprecated As of Java 5, this block has been replaced by
579 /** The Basic Latin Unicode block. */
582 /** The Latin-1 Supplement Unicode block. */
585 /** The Latin Extended-A Unicode block. */
588 /** The Latin Extended-B Unicode block. */
591 /** The IPA Extensions Unicode block. */
594 /** The Spacing Modifier Letters Unicode block
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DPhaser.java47 * do not block, but return an associated <em>arrival phase
1105 public boolean block() { method in class:Phaser.QNode
H A DForkJoinPool.java216 * on to try or create other queues -- they block only when
245 * block when needed.
357 * just let them block (as in Thread.join). We also cannot just
491 * (8) Static block initializing statics in minimally dependent order
1238 * to builtin monitor to block when (rarely) needed. This would be
3034 Thread.yield(); // cannot block
3064 * not necessary. Method {@code block} blocks the current thread
3069 * may, but don't usually, block for long periods. Similarly, they
3083 * public boolean block() {
3100 * public boolean block() throw
3123 boolean block() throws InterruptedException; method in interface:ForkJoinPool.ManagedBlocker
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DForkJoinPoolTest.java100 public boolean block() { method in class:ForkJoinPoolTest.ManagedLocker
146 locker.block();

Completed in 453 milliseconds