/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | FileChannel.java | 789 public static class MapMode { class in class:FileChannel 794 public static final MapMode READ_ONLY 795 = new MapMode("READ_ONLY"); 800 public static final MapMode READ_WRITE 801 = new MapMode("READ_WRITE"); 806 public static final MapMode PRIVATE 807 = new MapMode("PRIVATE"); 811 private MapMode(String name) { method in class:FileChannel.MapMode 836 * ({@link MapMode#READ_ONLY MapMode [all...] |
/openjdk7/jdk/test/java/nio/MappedByteBuffer/ |
H A D | Basic.java | 48 MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_ONLY, 0, 10); 56 mbb = fc.map(FileChannel.MapMode.READ_ONLY, 1, 10); 65 mbb = fc.map(FileChannel.MapMode.READ_ONLY, 0, 10); 73 mbb = fc.map(FileChannel.MapMode.READ_WRITE, 0, 10);
|
H A D | Force.java | 45 MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_WRITE, cut, filesize-cut);
|
H A D | ZeroMap.java | 45 MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_WRITE, cut, 0);
|
H A D | Truncate.java | 48 fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size());
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Mode.java | 49 MappedByteBuffer buff = channel.map(FileChannel.MapMode.READ_WRITE, 62 MappedByteBuffer buff = channel.map(FileChannel.MapMode.READ_ONLY,
|
H A D | Args.java | 86 fc.map(FileChannel.MapMode.READ_ONLY, -1, 0); 91 fc.map(FileChannel.MapMode.READ_ONLY, 0, -1); 96 fc.map(FileChannel.MapMode.READ_ONLY, 0,
|
H A D | MapAssertions.java | 42 fc.map(FileChannel.MapMode.READ_ONLY, 0l, fileSize);
|
H A D | MapOverEnd.java | 40 MappedByteBuffer map = fc.map(FileChannel.MapMode.READ_WRITE, 0, 2048);
|
H A D | MapReadOnly.java | 39 MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_ONLY, 0L,
|
H A D | ExpandingMap.java | 59 buffers[0] = fc.map(FileChannel.MapMode.READ_WRITE, 0, initialSize); 77 buffers[currentBuffer] = fc.map(FileChannel.MapMode.READ_WRITE, 94 buffers[currentBuffer] = fc.map(FileChannel.MapMode.READ_WRITE,
|
H A D | MapTest.java | 101 MappedByteBuffer b = c.map(FileChannel.MapMode.READ_ONLY, 0, 0); 122 MappedByteBuffer b = c.map(FileChannel.MapMode.READ_ONLY, 154 MappedByteBuffer b = c.map(FileChannel.MapMode.READ_WRITE, 180 MappedByteBuffer b = fc.map(FileChannel.MapMode.READ_WRITE,
|
H A D | Size.java | 79 fc.map(FileChannel.MapMode.READ_WRITE, testSize, 10);
|
H A D | ScatteringRead.java | 124 MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_WRITE, 0,
|
H A D | Write.java | 166 MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_ONLY, 0,
|
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/file/ |
H A D | PerfDataBuffer.java | 64 bb = fc.map(FileChannel.MapMode.READ_ONLY, 0L, (int)fc.size()); 66 bb = fc.map(FileChannel.MapMode.READ_WRITE, 0L, (int)fc.size());
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/ |
H A D | MappedReadBuffer.java | 61 buf = ch.map(FileChannel.MapMode.READ_ONLY, 0, size);
|
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/ |
H A D | PerfDataBuffer.java | 77 ByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0L,
|
/openjdk7/jdk/test/java/lang/ClassLoader/defineClass/ |
H A D | DefineClassByteBuffer.java | 92 return fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
|
/openjdk7/jdk/test/java/lang/management/BufferPoolMXBean/ |
H A D | Basic.java | 87 mbb = fc.map(FileChannel.MapMode.READ_WRITE, 10, 100);
|
/openjdk7/jdk/test/java/nio/charset/coders/ |
H A D | Check.java | 63 ByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
|
/openjdk7/jdk/test/java/security/SecureClassLoader/ |
H A D | DefineClassByteBuffer.java | 90 return fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | FileChannelImpl.java | 470 MappedByteBuffer dbb = map(MapMode.READ_ONLY, position, size); 591 MappedByteBuffer bb = src.map(MapMode.READ_ONLY, p, size); 817 public MappedByteBuffer map(MapMode mode, long position, long size) 830 if (mode == MapMode.READ_ONLY) 832 else if (mode == MapMode.READ_WRITE) 834 else if (mode == MapMode.PRIVATE) 837 if ((mode != MapMode.READ_ONLY) && !writable)
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | Type1Font.java | 206 mapBuf = fc.map(FileChannel.MapMode.READ_ONLY, 0, fileSize);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/ |
H A D | COFFFileParser.java | 68 MappedByteBuffer buf = stream.getChannel().map(FileChannel.MapMode.READ_ONLY,
|