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

Function memmove

include/stringzilla/stringzilla.hpp:93–95  ·  view source on GitHub ↗

* @brief Analog to @b `std::memmove`, but with a more efficient implementation. * @param[in] target The pointer to the target memory region. * @param[in] source The pointer to the source memory region. * @param[in] n The number of bytes to copy. * @see https://en.cppreference.com/w/cpp/string/byte/memmove */

Source from the content-addressed store, hash-verified

91 * @see https://en.cppreference.com/w/cpp/string/byte/memmove
92 */
93inline void memmove(void *target, void const *source, std::size_t n) noexcept {
94 return sz_move(reinterpret_cast<sz_ptr_t>(target), reinterpret_cast<sz_cptr_t>(source), n);
95}
96
97/**
98 * @brief Analog to @b `std::memcpy`, but with a more efficient implementation.

Callers

nothing calls this directly

Calls 1

sz_moveFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…