| 205 | // Loads bytes from memory (possibly unaligned) and materializes them as |
| 206 | // type. |
| 207 | template <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). |
| 214 | template <typename T> LIBC_INLINE void store(Ptr ptr, T value) { |
no outgoing calls
no test coverage detected