Skip to content

Commit ae25d41

Browse files
committed
Fixed bad arrows
1 parent 969288a commit ae25d41

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CodenameOne/src/com/codename1/util/Base64.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public static int encodeNoNewlineSimd(byte[] in, int inOffset, int inLength, byt
518518
int si = inOffset;
519519
int di = outOffset;
520520

521-
// Process 16 triplets (48 input bytes 64 output bytes) per iteration
521+
// Process 16 triplets (48 input bytes -> 64 output bytes) per iteration
522522
int simdEnd = end3 - 48 + 1;
523523
while (si < simdEnd) {
524524
// 1. Scatter input bytes into 3 int stripes (b0, b1, b2)
@@ -551,19 +551,19 @@ public static int encodeNoNewlineSimd(byte[] in, int inOffset, int inLength, byt
551551
// Initialize offset accumulator [112..175] with '/' offset (-16)
552552
System.arraycopy(ec, ENC_OFF_SLASH, scratch, 112, 64);
553553

554-
// eq62 use '+' offset
554+
// eq62 -> use '+' offset
555555
simd.cmpEq(scratch, 48, ec, ENC_K62, mask, 0, 64);
556556
simd.select(mask, 0, ec, ENC_OFF_PLUS, scratch, 112, scratch, 112, 64);
557557

558-
// lt62 use '0'-'9' offset
558+
// lt62 -> use '0'-'9' offset
559559
simd.cmpLt(scratch, 48, ec, ENC_K62, mask, 0, 64);
560560
simd.select(mask, 0, ec, ENC_OFF_09, scratch, 112, scratch, 112, 64);
561561

562-
// lt52 use 'a'-'z' offset
562+
// lt52 -> use 'a'-'z' offset
563563
simd.cmpLt(scratch, 48, ec, ENC_K52, mask, 0, 64);
564564
simd.select(mask, 0, ec, ENC_OFF_az, scratch, 112, scratch, 112, 64);
565565

566-
// lt26 use 'A'-'Z' offset
566+
// lt26 -> use 'A'-'Z' offset
567567
simd.cmpLt(scratch, 48, ec, ENC_K26, mask, 0, 64);
568568
simd.select(mask, 0, ec, ENC_OFF_AZ, scratch, 112, scratch, 112, 64);
569569

@@ -666,7 +666,7 @@ public static int decodeNoWhitespaceSimd(byte[] in, int inOffset, int inLength,
666666
int si = inOffset;
667667
int di = outOffset;
668668

669-
// Process 16 quads (64 input bytes 48 output bytes) per iteration
669+
// Process 16 quads (64 input bytes -> 48 output bytes) per iteration
670670
int simdEnd = fullEnd - 64 + 1;
671671
while (si < simdEnd) {
672672
// 1. De-interleave and decode: scatter 64 input bytes into 4 stripes,

0 commit comments

Comments
 (0)