Benign cargo Download

sse2.rs

SHA-256103bb9d555be789e678f1af5baa737e13911f60e90888d25fa2883b39a9dffce
Malecule∅

Evidence

imports core::arch::x86_64::* lines 1–9
1use core::arch::x86_64::*;
2use core::cmp;
3use core::mem::size_of;
4
5const VECTOR_SIZE: usize = size_of::<__m128i>();
6const VECTOR_ALIGN: usize = VECTOR_SIZE - 1;
7
8// The number of bytes to loop at in one iteration of memchr/memrchr.
9const LOOP_SIZE: usize = 4 * VEC …
English function-word token "and" lines 11–13
11:24… to loop at in one iteration of memchr2/memrchr2 and
12// memchr3/memrchr3. There was no observable difference between 64 and 32 bytes
13// in benchmark …
English function-word token "this" lines 20–23
20:11… ` in `haystack` if it exists. From what I know, this is the "classic"
21 // algorithm. I believe it can be found in places like glibc and Go's
22 // standard library. It appears to be well known and is elaborated on in
23 // mor …
English function-word token "with" lines 32–34
32:31… i:i+16]
33 // // Compare bytes in needle with bytes in chunk. The result is a 16
34 // // byte chunk where each byte is 0xFF if the co …
English function-word token "that" lines 46–50
46:55… of the least significant
47 // // bit that is set.
48 // return i + trailing_zeros(mask)
49 //
50 // // haystack length may …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.