(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length)
| 256 | |
| 257 | /// Exposes SIMD APIs directly **all arrays MUST be aligned arrays** |
| 258 | public void max(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length) { |
| 259 | for (int i = offset, end = offset + length; i < end; i++) { |
| 260 | dst[i] = srcA[i] > srcB[i] ? srcA[i] : srcB[i]; |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | /// Exposes SIMD APIs directly **all arrays MUST be aligned arrays** |
| 265 | public void abs(byte[] src, byte[] dst, int offset, int length) { |
no test coverage detected