MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / sub

Method sub

CodenameOne/src/com/codename1/util/Simd.java:237–241  ·  view source on GitHub ↗
(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length)

Source from the content-addressed store, hash-verified

235
236 /// Exposes SIMD APIs directly **all arrays MUST be aligned arrays**
237 public void sub(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length) {
238 for (int i = offset, end = offset + length; i < end; i++) {
239 dst[i] = clampByte(srcA[i] - srcB[i]);
240 }
241 }
242
243 /// Exposes SIMD APIs directly **all arrays MUST be aligned arrays**
244 public void mul(byte[] srcA, byte[] srcB, byte[] dst, int offset, int length) {

Callers 15

rewriteFunction · 0.45
invoke8Method · 0.45
invoke9Method · 0.45
normalize_whitespaceFunction · 0.45
resolve_css_variablesFunction · 0.45
_convert_textFunction · 0.45
suggestion_for_absFunction · 0.45
absolutize_linksFunction · 0.45
render_mermaid_as_imagesFunction · 0.45
render_syndicated_bodyFunction · 0.45
submit_draftMethod · 0.45

Calls 1

clampByteMethod · 0.95

Tested by

no test coverage detected