<commit_before>/*
 * Copyright (c) 2011 by <NAME>, Zuse Institute Berlin
 *
 * Licensed under the BSD License, see LICENSE file for details.
 *
 */

#include "cbfs/cbfs_options.h"

#include <boost/lexical_cast.hpp>
#include <boost/program_options/cmdline.hpp>
#include <boost/tokenizer.hpp>
#include <iostream>
#include <sstream>

#include "libxtreemfs/helper.h"
#include "libxtreemfs/xtreemfs_exception.h"

using namespace std;

namespace po = boost::program_options;
namespace style = boost::program_options::command_line_style;

namespace xtreemfs {

CbFSOptions::CbFSOptions() : Options(), cbfs_descriptions_("CbFS Options") {
  // CbFS options.
  helptext_usage_ =
      "mount.xtreemfs: Mounts an XtreemFS Volume.\n"
      "\n"
      "Usage: \n"
      "\tmount.xtreemfs [options] [pbrpc[g|s]://]<dir-host>[:port]/<volume-name>"
          " <mount point>\n"
      "\n"
      "  Example: mount.xtreemfs localhost/myVolume ~/xtreemfs\n";
}
<commit_msg>client: Windows: Set default async writes request size to 1 MB.<commit_after>/*
 * Copyright (c) 2012 by <NAME>, Zuse Institute Berlin
 *
 * Licensed under the BSD License, see LICENSE file for details.
 *
 */

#include "cbfs/cbfs_options.h"

#include <boost/lexical_cast.hpp>
#include <boost/program_options/cmdline.hpp>
#include <boost/tokenizer.hpp>
#include <iostream>
#include <sstream>

#include "libxtreemfs/helper.h"
#include "libxtreemfs/xtreemfs_exception.h"

using namespace std;

namespace po = boost::program_options;
namespace style = boost::program_options::command_line_style;

namespace xtreemfs {

CbFSOptions::CbFSOptions() : Options(), cbfs_descriptions_("CbFS Options") {
  // Windows Explorer copies files in 1 MB chunks and therefore more than
  // the default 128 kB.
  async_writes_max_request_size_kb = 1024 * 1024;

  // CbFS options.
  helptext_usage_ =
      "mount.xtreemfs: Mounts an XtreemFS Volume.\n"
      "\n"
      "Usage: \n"
      "\tmount.xtreemfs [options] [pbrpc[g|s]://]<dir-host>[:port]"
          "/<volume-name> <drive letter>\n"
      "\n"
      "  Example: mount.xtreemfs localhost/myVolume X:\n";
}

{'fraction_non_alphanumeric': 0.1369472182596291, 'fraction_numerical': 0.009985734664764621, 'mean_word_length': 4.033492822966507, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '2986823', 'n_tokens_mistral': 773, 'n_tokens_neox': 748, 'n_words': 172}