<commit_before>/*
 * os.h
 *
 * Sleazy OS-specific defines.
 *
 * Copyright (c) 2000 <NAME> <<EMAIL>>
 *
 * $Id: os.h,v 1.6 2002/01/07 02:13:39 dugsong Exp $
 */

#ifndef DNET_OS_H
#define DNET_OS_H

#ifdef WIN32
# include <windows.h>
# include <winsock2.h>
# include <stdint.h>
#else
# include <sys/param.h>
# include <sys/types.h>
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
# include <netdb.h>
# include <inttypes.h>
#endif

#define DNET_LIL_ENDIAN		1234
#define DNET_BIG_ENDIAN		4321

/* BSD and IRIX */
#ifdef BYTE_ORDER
#if BYTE_ORDER == LITTLE_ENDIAN
# define DNET_BYTESEX		DNET_LIL_ENDIAN
#elif BYTE_ORDER == BIG_ENDIAN
# define DNET_BYTESEX		DNET_BIG_ENDIAN
#endif
#endif

/* Linux */
#ifdef __BYTE_ORDER
#if __BYTE_ORDER == __LITTLE_ENDIAN
# define DNET_BYTESEX		DNET_LIL_ENDIAN<commit_msg>hrr, no <inttypes.h> in BSD/OS 4.x. from <NAME> <<EMAIL>>.<commit_after>/*
 * os.h
 *
 * Sleazy OS-specific defines.
 *
 * Copyright (c) 2000 <NAME> <<EMAIL>>
 *
 * $Id: os.h,v 1.7 2002/11/12 22:27:42 dugsong Exp $
 */

#ifndef DNET_OS_H
#define DNET_OS_H

#ifdef WIN32
# include <windows.h>
# include <winsock2.h>
# include <stdint.h>
#else
# include <sys/param.h>
# include <sys/types.h>
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
# include <netdb.h>
# ifdef __bsdi__
#  include <machine/types.h>
   typedef u_int8_t	uint8_t;
   typedef u_int16_t	uint16_t;
   typedef u_int32_t	uint32_t;
   typedef u_int64_t	uint64_t;
# else
#  include <inttypes.h>
# endif
#endif

#define DNET_LIL_ENDIAN		1234
#define DNET_BIG_ENDIAN		4321

/* BSD and IRIX */
#ifdef BYTE_ORDER
#if BYTE_ORDER == LITTLE_ENDIAN
# define DNET_BYTESEX		DNET_LIL_ENDIAN
#elif BYTE_ORDER == BIG_ENDIAN
# define DNET_BYTESEX		DNET_BIG_ENDIAN
#endif
#endif

/* Linux */
#ifdef __BYTE_ORDER
#if __BYTE_ORDER == __LITTLE_ENDIAN
# define DNET_BYTESEX		DNET_LIL_ENDIAN
{'fraction_non_alphanumeric': 0.131286394917946, 'fraction_numerical': 0.04076230809952356, 'mean_word_length': 4.279329608938547, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 34, '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': '63774', 'n_tokens_mistral': 912, 'n_tokens_neox': 841, 'n_words': 183}