<commit_before>#ifndef __bitops_h
#define __bitops_h

#include <cat/cattypes.h>
#include <cat/archops.h>

#if CAT_USE_INLINE
#define DECL static inline
#else
#define DECL static
#endif

uint32_t compress_l32(uint32_t x, uint32_t mask);
uint32_t compress_r32(uint32_t x, uint32_t mask);
uint64_t compress_l64(uint64_t x, uint64_t mask);
uint64_t compress_r64(uint64_t x, uint64_t mask);

uint32_t SAG32(uint32_t x, uint32_t maskleft);
uint64_t SAG64(uint64_t x, uint64_t maskleft);

int arr_to_SAG_permvec32(uint8_t arr[32], uint32_t permvec[5]);
uint32_t permute32_SAG(uint32_t bits, uint32_t permvec[5]);
int arr_to_SAG_permvec64(uint8_t arr[64], uint64_t permvec[6]);
uint64_t permute64_SAG(uint64_t bits, uint64_t permvec[6]);

uint32_t bitgather32(uint32_t bits, uint8_t pos[32]);
uint64_t bitgather64(uint64_t bits, uint8_t pos[64]);

#undef DECL

#endif /* __bitops_h */<commit_msg>Removed unused inline declarations.<commit_after>#ifndef __bitops_h
#define __bitops_h

#include <cat/cattypes.h>
#include <cat/archops.h>

uint32_t compress_l32(uint32_t x, uint32_t mask);
uint32_t compress_r32(uint32_t x, uint32_t mask);
uint64_t compress_l64(uint64_t x, uint64_t mask);
uint64_t compress_r64(uint64_t x, uint64_t mask);

uint32_t SAG32(uint32_t x, uint32_t maskleft);
uint64_t SAG64(uint64_t x, uint64_t maskleft);

int arr_to_SAG_permvec32(uint8_t arr[32], uint32_t permvec[5]);
uint32_t permute32_SAG(uint32_t bits, uint32_t permvec[5]);
int arr_to_SAG_permvec64(uint8_t arr[64], uint64_t permvec[6]);
uint64_t permute64_SAG(uint64_t bits, uint64_t permvec[6]);

uint32_t bitgather32(uint32_t bits, uint8_t pos[32]);
uint64_t bitgather64(uint64_t bits, uint8_t pos[64]);

#endif /* __bitops_h */
{'fraction_non_alphanumeric': 0.10263929618768329, 'fraction_numerical': 0.11730205278592376, 'mean_word_length': 8.172043010752688, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6112905', 'n_tokens_mistral': 840, 'n_tokens_neox': 748, 'n_words': 156}