<commit_before>/* bzflag
 * Copyright (c) 1993 - 2004 <NAME>
 *
 * This package is free software;  you can redistribute it and/or
 * modify it under the terms of the license found in the file
 * named LICENSE that should have accompanied this file.
 *
 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */
 
#include "bzfs.h"
#include "CaptureReplay.h"

#ifndef _MSC_VER
# include <dirent.h>
#endif  // _MSC_VER


// Type Definitions
// ----------------

typedef uint16_t u16;

#ifndef _WIN32
typedef int64_t CRtime;
#else
#  include <time.h>
#  include <sys/types.h>
#  include <sys/stat.h>
#  include <stdio.h>
#  include <direct.h>
typedef __int64 CRtime;
#  ifndef S_ISDIR // for _WIN32
#    define S_ISDIR(m) ((m) & _S_IFDIR)
#  endif
#endif

typedef enum {
  NormalPacket = 0,
  FakedPacket  = 1
} RCPacketType;

typedef enum {
  StraightToFile    = 0,
  BufferedCapture   = 1
} CaptureType;<commit_msg>we need types and stat too for mkdir()<commit_after>/* bzflag
 * Copyright (c) 1993 - 2004 <NAME>
 *
 * This package is free software;  you can redistribute it and/or
 * modify it under the terms of the license found in the file
 * named LICENSE that should have accompanied this file.
 *
 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */
 
#include "bzfs.h"
#include "CaptureReplay.h"

#ifndef _MSC_VER
# include <dirent.h>
#endif  // _MSC_VER


// Type Definitions
// ----------------

typedef uint16_t u16;

#ifndef _WIN32
#  include <sys/types.h>
#  include <sys/stat.h>
typedef int64_t CRtime;
#else
#  include <time.h>
#  include <sys/types.h>
#  include <sys/stat.h>
#  include <stdio.h>
#  include <direct.h>
typedef __int64 CRtime;
#  ifndef S_ISDIR // for _WIN32
#    define S_ISDIR(m) ((m) & _S_IFDIR)
#  endif
#endif

typedef enum {
  NormalPacket = 0,
  FakedPacket  = 1
} RCPacketType;

typedef enum {
  StraightToFile    = 0,
  BufferedCapture   = 1
} CaptureType;
{'fraction_non_alphanumeric': 0.11475409836065574, 'fraction_numerical': 0.02185792349726776, 'mean_word_length': 3.394, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '1751328', 'n_tokens_mistral': 816, 'n_tokens_neox': 738, 'n_words': 254}