MCPcopy Create free account
hub / github.com/FastLED/FastLED / compare_u8_arrays

Function compare_u8_arrays

examples/SIMD/test_helpers.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12// ============================================================================
13
14bool compare_u8_arrays(const uint8_t* a, const uint8_t* b, size_t count) {
15 for (size_t i = 0; i < count; i++) {
16 if (a[i] != b[i]) {
17 return false;
18 }
19 }
20 return true;
21}
22
23bool compare_f32_arrays(const float* a, const float* b, size_t count, float epsilon) {
24 for (size_t i = 0; i < count; i++) {

Callers 13

test_load_store_u8_16Function · 0.85
test_add_sat_u8_16Function · 0.85
test_sub_sat_u8_16Function · 0.85
test_scale_u8_16Function · 0.85
test_blend_u8_16Function · 0.85
test_min_u8_16Function · 0.85
test_max_u8_16Function · 0.85
test_avg_u8_16Function · 0.85
test_avg_round_u8_16Function · 0.85
test_and_u8_16Function · 0.85
test_or_u8_16Function · 0.85
test_xor_u8_16Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected