MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / sz_move

Function sz_move

include/stringzilla/memory.h:1444–1456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1442}
1443
1444SZ_DYNAMIC void sz_move(sz_ptr_t target, sz_cptr_t source, sz_size_t length) {
1445#if SZ_USE_SKYLAKE
1446 sz_move_skylake(target, source, length);
1447#elif SZ_USE_HASWELL
1448 sz_move_haswell(target, source, length);
1449#elif SZ_USE_SVE && SZ_ENFORCE_SVE_OVER_NEON
1450 sz_move_sve(target, source, length);
1451#elif SZ_USE_NEON
1452 sz_move_neon(target, source, length);
1453#else
1454 sz_move_serial(target, source, length);
1455#endif
1456}
1457
1458SZ_DYNAMIC void sz_fill(sz_ptr_t target, sz_size_t length, sz_u8_t value) {
1459#if SZ_USE_SKYLAKE

Callers 4

memmoveFunction · 0.70
try_replace_all_Method · 0.70
sz_string_expandFunction · 0.70
sz_string_eraseFunction · 0.70

Calls 5

sz_move_skylakeFunction · 0.85
sz_move_haswellFunction · 0.85
sz_move_sveFunction · 0.85
sz_move_neonFunction · 0.85
sz_move_serialFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…