Home
last modified time | relevance | path

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

/art/test/070-nio-buffer/src/
DMain.java44 ShortBuffer shortBuf = directBuf.asShortBuffer(); in basicShortTest() local
53 shortBuf.position(0); in basicShortTest()
54 shortBuf.put(myShorts, 0, 32); // should work in basicShortTest()
55 shortBuf.position(0); in basicShortTest()
56 shortBuf.put(myShorts, 16, 16); // should work in basicShortTest()
57 shortBuf.put(myShorts, 16, 16); // advance to end in basicShortTest()
60 shortBuf.put(myShorts, 0, 1); // should fail in basicShortTest()
67 shortBuf.position(0); in basicShortTest()
68 shortBuf.put(myShorts, 0, 33); // should fail in basicShortTest()
75 shortBuf.position(16); in basicShortTest()
[all …]