MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / write_u64

Function write_u64

external/include/fast_float/fast_float.h:555–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553}
554
555fastfloat_really_inline void write_u64(uint8_t *chars, uint64_t val) {
556#if FASTFLOAT_IS_BIG_ENDIAN == 1
557 // Need to read as-if the number was in little-endian order.
558 val = byteswap(val);
559#endif
560 ::memcpy(chars, &val, sizeof(uint64_t));
561}
562
563// credit @aqrit
564fastfloat_really_inline uint32_t parse_eight_digits_unrolled(uint64_t val) {

Callers

nothing calls this directly

Calls 1

byteswapFunction · 0.85

Tested by

no test coverage detected