Home | History | Annotate | Download | only in src

Lines Matching refs:put

54         shortBuf.put(myShorts, 0, 32);      // should work
56 shortBuf.put(myShorts, 16, 16); // should work
57 shortBuf.put(myShorts, 16, 16); // advance to end
60 shortBuf.put(myShorts, 0, 1); // should fail
61 System.err.println("ERROR: out-of-bounds put succeeded\n");
68 shortBuf.put(myShorts, 0, 33); // should fail
69 System.err.println("ERROR: out-of-bounds put succeeded\n");
76 shortBuf.put(myShorts, 0, 17); // should fail
77 System.err.println("ERROR: out-of-bounds put succeeded\n");
97 int1.put (data);
101 int1.put (data);
114 directBuf.put(i, (byte) 0xcc);
138 if (directBuf.put(1, byteValue).get(1) != byteValue) {
141 if (shortBuf.put(1, shortValue).get(1) != shortValue) {
144 if (charBuf.put(2, charValue).get(2) != charValue) {
147 if (intBuf.put(2, intValue).get(2) != intValue) {
150 if (floatBuf.put(3, floatValue).get(3) != floatValue) {
153 if (longBuf.put(2, longValue).get(2) != longValue) {
156 if (doubleBuf.put(3, doubleValue).get(3) != doubleValue) {