<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.
 */

/* kill warning on MSVC: C4800: forcing value to true or false (performance warning)
   refers to isUdpFdSet and isFdSet */
#ifdef _MSC_VER
#pragma warning(4 : 4800)
#endif

/* interface header */
#include "NetHandler.h"

// system headers
#include <errno.h>

const int udpBufSize = 128000;

bool NetHandler::initHandlers(struct sockaddr_in addr) {
  // udp socket
  int n;<commit_msg>that's one way to do it, I suppose - get rid of nasty pragma<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.
 */

/* interface header */
#include "NetHandler.h"

// system headers
#include <errno.h>

const int udpBufSize = 128000;

bool NetHandler::initHandlers(struct sockaddr_in addr) {
  // udp socket
  int n;
{'fraction_non_alphanumeric': 0.08263933376041, 'fraction_numerical': 0.02370275464445868, 'mean_word_length': 3.9745222929936306, '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': '2064269', 'n_tokens_mistral': 484, 'n_tokens_neox': 445, 'n_words': 203}