@Override public UShortIndexer put(long i, int s) { RAW.putShort(base + checkIndex(i, size) * VALUE_BYTES, (short)s); return this; } @Override public UShortIndexer put(long i, int[] s, int offset, int length) {
@Override public ByteIndexer putShort(long i, short s) { RAW.putShort(base + checkIndex(i, size - 1), s); return this; }
@Override public ShortIndexer put(long i, short s) { RAW.putShort(base + checkIndex(i, size) * VALUE_BYTES, s); return this; } @Override public ShortIndexer put(long i, short[] s, int offset, int length) {
@Override public ByteIndexer putShort(long i, short s) { if (RAW != null) { RAW.putShort(array, checkIndex(i, array.length - 1), s); } else { getBuffer().putShort((int)i, s); } return this; }
@Override public Bfloat16Indexer put(long i, float h) { RAW.putShort(base + checkIndex(i, size) * VALUE_BYTES, (short)fromFloat(h)); return this; } @Override public Bfloat16Indexer put(long i, float[] h, int offset, int length) {
@Override public HalfIndexer put(long i, float h) { RAW.putShort(base + checkIndex(i, size) * VALUE_BYTES, (short)fromFloat(h)); return this; } @Override public HalfIndexer put(long i, float[] h, int offset, int length) {