equal
deleted
inserted
replaced
251 |
251 |
252 public $type$ get(int i) { |
252 public $type$ get(int i) { |
253 return $fromBits$($swap$(unsafe.get$Swaptype$(ix(checkIndex(i))))); |
253 return $fromBits$($swap$(unsafe.get$Swaptype$(ix(checkIndex(i))))); |
254 } |
254 } |
255 |
255 |
|
256 #if[streamableType] |
|
257 $type$ getUnchecked(int i) { |
|
258 return $fromBits$($swap$(unsafe.get$Swaptype$(ix(i)))); |
|
259 } |
|
260 #end[streamableType] |
|
261 |
256 public $Type$Buffer get($type$[] dst, int offset, int length) { |
262 public $Type$Buffer get($type$[] dst, int offset, int length) { |
257 #if[rw] |
263 #if[rw] |
258 if ((length << $LG_BYTES_PER_VALUE$) > Bits.JNI_COPY_TO_ARRAY_THRESHOLD) { |
264 if ((length << $LG_BYTES_PER_VALUE$) > Bits.JNI_COPY_TO_ARRAY_THRESHOLD) { |
259 checkBounds(offset, length, dst.length); |
265 checkBounds(offset, length, dst.length); |
260 int pos = position(); |
266 int pos = position(); |