Home
last modified time | relevance | path

Searched refs:mbb (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DMappedByteBufferTest.java217 MappedByteBuffer mbb = ch.map(MapMode.READ_WRITE, 0L, 100L); in test_position() local
220 mbb.putInt(1, 1); in test_position()
221 mbb.position(50); in test_position()
222 mbb.putInt(50); in test_position()
224 mbb.flip(); in test_position()
225 mbb.get(); in test_position()
226 assertEquals(1, mbb.getInt()); in test_position()
228 mbb.position(50); in test_position()
229 assertEquals(50, mbb.getInt()); in test_position()
/libcore/ojluni/src/test/java/nio/MappedByteBuffer/
DForceViews.java103 MappedByteBuffer mbb = fc.map(READ_WRITE, mapPosition, mapLength); in test() local
104 mbb = f.apply(mbb, new Segment(sliceIndex, sliceLength)); in test()
106 mbb.put(i, (byte)i); in test()
108 mbb.force(regionOffset, regionOffset + regionLength); in test()
119 int mbbVal = mbb.get(mbbPos + i); in test()
/libcore/ojluni/src/test/java/nio/Buffer/
DBasic-X.java.template547 Path tempFile = Files.createTempFile("mbb", null);