<commit_before># include <raaz/core/endian.h>

/* Include the right header file based on the platform */
#ifdef __GNUC__
#include <byteswap.h>
uint32_t raazSwap32(uint32_t a){ return bswap_32(a);}
uint64_t raazSwap64(uint32_t a){ return bswap_64(a);}

void raazSwap32Array(uint32_t *ptr, int n)
{
    for(;n > 0; ++ptr, --n){*ptr = bswap_32(*ptr);}
}

void raazSwap64Array(uint64_t *ptr, int n)
{
    for(;n > 0;++ptr, --n){*ptr = bswap_64(*ptr);}
}

/*

Endian conversion functions. Note PDP endian architectures are not<commit_msg>wrong argument type.<commit_after># include <raaz/core/endian.h>

/* Include the right header file based on the platform */
#ifdef __GNUC__
#include <byteswap.h>
uint32_t raazSwap32(uint32_t a){ return bswap_32(a);}
uint64_t raazSwap64(uint64_t a){ return bswap_64(a);}

void raazSwap32Array(uint32_t *ptr, int n)
{
    for(;n > 0; ++ptr, --n){*ptr = bswap_32(*ptr);}
}

void raazSwap64Array(uint64_t *ptr, int n)
{
    for(;n > 0;++ptr, --n){*ptr = bswap_64(*ptr);}
}

/*

Endian conversion functions. Note PDP endian architectures are not
{'fraction_non_alphanumeric': 0.15563839701770738, 'fraction_numerical': 0.05591798695246971, 'mean_word_length': 4.9010989010989015, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '2848972', 'n_tokens_mistral': 484, 'n_tokens_neox': 444, 'n_words': 109}