Download pyreadstat/src/readstat_bits.h from Dorothydu/gitrepo_top_sample_50: direct link, hf CLI and curl.
- Browser
- Download file 564 Bytes
-
https://huggingface.co/datasets/Dorothydu/gitrepo_top_sample_50/resolve/main/pyreadstat/src/readstat_bits.h
- Command line
-
hf download hf://datasets/Dorothydu/gitrepo_top_sample_50/pyreadstat/src/readstat_bits.h
-
curl -L -o readstat_bits.h https://huggingface.co/datasets/Dorothydu/gitrepo_top_sample_50/resolve/main/pyreadstat/src/readstat_bits.h
564 Bytes
| // | |
| // readstat_bit.h - Bit-twiddling utility functions | |
| // | |
| int machine_is_little_endian(void); | |
| char ones_to_twos_complement1(char num); | |
| int16_t ones_to_twos_complement2(int16_t num); | |
| int32_t ones_to_twos_complement4(int32_t num); | |
| uint16_t byteswap2(uint16_t num); | |
| uint32_t byteswap4(uint32_t num); | |
| uint64_t byteswap8(uint64_t num); | |
| float byteswap_float(float num); | |
| double byteswap_double(double num); | |