Merge branch 'main' into dockerize

This commit is contained in:
deadmanoz
2025-07-15 08:50:22 -07:00
committed by GitHub
196 changed files with 19187 additions and 6607 deletions
+3 -3
View File
@@ -17,14 +17,14 @@ impl XORIndex {
bytes
}
#[inline(always)]
#[inline]
pub fn byte(&mut self, mut byte: u8, xor_bytes: &XORBytes) -> u8 {
byte ^= xor_bytes[self.0];
self.increment();
byte
}
#[inline(always)]
#[inline]
pub fn increment(&mut self) {
self.0 += 1;
if self.0 == XOR_LEN {
@@ -32,7 +32,7 @@ impl XORIndex {
}
}
#[inline(always)]
#[inline]
pub fn add_assign(&mut self, i: usize) {
self.0 = (self.0 + i) % XOR_LEN;
}