<commit_before>/*
 * Copyright (C) 2015 <NAME>
 * All rights reserved.
 */
#pragma once
#include <cstdint>
#include <enet/enet.h>
#include "external_io.h"
#include "../common/result.h"
#include "../common/null_t.h"
namespace redc
{
  namespace net
  {
    enum class Error
    {
      ENet_Init_Failed,
      Host_Init_Failed,
      Connect_Failed
    };

    // RAII wrapper for ENetHost.
    struct Host
    {
      explicit Host(ENetHost* host) noexcept;
      Host(Host&& oh) noexcept;
      Host& operator=(Host&& oh) noexcept;
      ~Host() noexcept;

      void close() noexcept;<commit_msg>Add default initializer for Host<commit_after>/*
 * Copyright (C) 2015 <NAME>
 * All rights reserved.
 */
#pragma once
#include <cstdint>
#include <enet/enet.h>
#include "external_io.h"
#include "../common/result.h"
#include "../common/null_t.h"
namespace redc
{
  namespace net
  {
    enum class Error
    {
      ENet_Init_Failed,
      Host_Init_Failed,
      Connect_Failed
    };

    // RAII wrapper for ENetHost.
    struct Host
    {
      Host() noexcept : host(nullptr) {}
      explicit Host(ENetHost* host) noexcept;
      Host(Host&& oh) noexcept;
      Host& operator=(Host&& oh) noexcept;
      ~Host() noexcept;

      void close() noexcept;
{'fraction_non_alphanumeric': 0.12818471337579618, 'fraction_numerical': 0.006369426751592357, 'mean_word_length': 2.7410714285714284, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7412639', 'n_tokens_mistral': 434, 'n_tokens_neox': 421, 'n_words': 110}