<commit_before>#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H_ */

#ifndef HAVE_STRLCPY
size_t strlcpy(char *, const char *, size_t);
#endif /* ! HAVE_STRLCPY */

#ifdef HAVE_IPV6
#define KCN_INET_ADDRSTRLEN	INET6_ADDRSTRLEN
#else /* HAVE_IPV6 */
#define KCN_INET_ADDRSTRLEN	INET_ADDRSTRLEN
#endif /* HAVE_IPV6 */

#if BYTE_ORDER == LITTLE_ENDIAN
#define KCN_HTONS(v)							\
	((((unsigned int)(v) << 8) & 0xff00U) |				\<commit_msg>define a missing macro for jasson-2.4.<commit_after>#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H_ */

#ifndef HAVE_STRLCPY
size_t strlcpy(char *, const char *, size_t);
#endif /* ! HAVE_STRLCPY */

#ifdef HAVE_IPV6
#define KCN_INET_ADDRSTRLEN	INET6_ADDRSTRLEN
#else /* HAVE_IPV6 */
#define KCN_INET_ADDRSTRLEN	INET_ADDRSTRLEN
#endif /* HAVE_IPV6 */

/* for JANSSON 2.4 */
#ifndef json_array_foreach
#define json_array_foreach(a, i, v)					\
	for ((i) = 0;							\
	     (i) < json_array_size(a) &&				\
	     ((v) = json_array_get((a), (i))) != NULL;			\
	     (i)++)
#endif /* ! json_array_foreach */

#if BYTE_ORDER == LITTLE_ENDIAN
#define KCN_HTONS(v)							\
	((((unsigned int)(v) << 8) & 0xff00U) |				\
{'fraction_non_alphanumeric': 0.15084745762711865, 'fraction_numerical': 0.017796610169491526, 'mean_word_length': 3.9208333333333334, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 3, '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': '1133759', 'n_tokens_mistral': 546, 'n_tokens_neox': 504, 'n_words': 98}