Lines Matching defs:ba
856 public static void test(final short [] ba) {
859 final ShortBuffer b = ShortBuffer.wrap(ba, offset, length);
861 ck(b, b.capacity(), ba.length);
866 tryCatch(ba, IndexOutOfBoundsException.class, new Runnable() {
868 ShortBuffer.wrap(ba, -1, ba.length);
870 tryCatch(ba, IndexOutOfBoundsException.class, new Runnable() {
872 ShortBuffer.wrap(ba, ba.length + 1, ba.length);
874 tryCatch(ba, IndexOutOfBoundsException.class, new Runnable() {
876 ShortBuffer.wrap(ba, 0, -1);
878 tryCatch(ba, IndexOutOfBoundsException.class, new Runnable() {
880 ShortBuffer.wrap(ba, 0, ba.length + 1);
884 tryCatch(ba, NullPointerException.class, new Runnable() {
888 tryCatch(ba, NullPointerException.class, new Runnable() {