MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / load

Function load

system/lib/llvm-libc/src/string/memory_utils/utils.h:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205// Loads bytes from memory (possibly unaligned) and materializes them as
206// type.
207template <typename T> LIBC_INLINE T load(CPtr ptr) {
208 T out;
209 memcpy_inline<sizeof(T)>(&out, ptr);
210 return out;
211}
212
213// Stores a value of type T in memory (possibly unaligned).
214template <typename T> LIBC_INLINE void store(Ptr ptr, T value) {

Callers 11

_TpFunction · 0.50
atomic.hFile · 0.50
findMethod · 0.50
unsafe_insertMethod · 0.50
TMethod · 0.50
TMethod · 0.50
spin_reload_untilMethod · 0.50
try_read_lockMethod · 0.50
try_write_lockMethod · 0.50
unlockMethod · 0.50
check_for_destroyMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected