<?php

/**
 * @file
 * Editor integration functions for openWYSIWYG.
 */

/**
 * Plugin implementation of hook_editor().
 */
function wysiwyg_openwysiwyg_editor() {
  $editor['openwysiwyg'] = array(
    'title' => 'openWYSIWYG',
    'vendor url' => 'http://www.openwebware.com',
    'download url' => 'http://www.openwebware.com/download.shtml',
    'library path' => wysiwyg_get_path('openwysiwyg') . '/scripts',
    'libraries' => array(
      'src' => array(
        'title' => 'Source',
        'files' => array('wysiwyg.js'),
      ),
    ),
    'version callback' => 'wysiwyg_openwysiwyg_version',
    'themes callback' => 'wysiwyg_openwysiwyg_themes',
    'settings callback' => 'wysiwyg_openwysiwyg_settings',
    'plugin callback' => 'wysiwyg_openwysiwyg_plugins',
    'versions' => array(
      '1.4.7' => array(
        'js files' => array('openwysiwyg.js'),
        'css files' => array('openwysiwyg.css'),
      ),
    ),
  );
  return $editor;
}

/**
 * Detect editor version.
 *
 * @param $editor
 *   An array containing editor properties as returned from hook_editor().
 *
 * @return
 *   The installed editor version.
 */
function wysiwyg_openwysiwyg_version($editor) {
  // 'library path' has '/scripts' appended already.
  $changelog = $editor['editor path'] . '/changelog';
  if (!file_exists($changelog)) {
    return;
  }
  $changelog = fopen($changelog, 'r');
  $line = fgets($changelog, 20);
  if (preg_match('@v([\d\.]+)@', $line, $version)) {
    fclose($changelog);
    return $version[1];
  }
  fclose($changelog);
}

/**
 * Determine available editor themes or check/reset a given one.
 *
 * @param $editor
 *   A processed hook_editor() array of editor properties.
 * @param $profile
 *   A wysiwyg editor profile.
 *
 * @return
 *   An array of theme names. The first returned name should be the default
 *   theme name.
 */
function wysiwyg_openwysiwyg_themes($editor, $profile) {
  return array('default');
}

/**
 * Return runtime editor settings for a given wysiwyg profile.
 *
 * @param $editor
 *   A processed hook_editor() array of editor properties.
 * @param $config
 *   An array containing wysiwyg editor profile settings.
 * @param $theme
 *   The name of a theme/GUI/skin to use.
 *
 * @return
 *   A settings array to be populated in
 *   Drupal.settings.wysiwyg.configs.{editor}
 */
function wysiwyg_openwysiwyg_settings($editor, $config, $theme) {
  $settings = array(
    'path' => base_path() . $editor['editor path'] . '/',
    'Width' => '100%',
  );

  if (isset($config['path_loc']) && $config['path_loc'] == 'none') {
    $settings['StatusBarEnabled'] = FALSE;
  }

  if (isset($config['css_setting'])) {
    if ($config['css_setting'] == 'theme') {
      $settings['CSSFile'] = reset(wysiwyg_get_css());
    }
    else if ($config['css_setting'] == 'self' && isset($config['css_path'])) {
      $settings['CSSFile'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme()));
    }
  }

  $settings['Toolbar'] = array();
  if (!empty($config['buttons'])) {
    $plugins = wysiwyg_get_plugins($editor['name']);
    foreach ($config['buttons'] as $plugin => $buttons) {
      foreach ($buttons as $button => $enabled) {
        foreach (array('buttons', 'extensions') as $type) {
          // Skip unavailable plugins.
          if (!isset($plugins[$plugin][$type][$button])) {
            continue;
          }
          // Add buttons.
          if ($type == 'buttons') {
            $settings['Toolbar'][0][] = $button;
          }
        }
      }
    }
  }

  // @todo
//  if (isset($config['block_formats'])) {
//    $settings['DropDowns']['headings']['elements'] = explode(',', $config['block_formats']);
//  }

  return $settings;
}

/**
 * Return internal plugins for this editor; semi-implementation of hook_wysiwyg_plugin().
 */
function wysiwyg_openwysiwyg_plugins($editor) {
  $plugins = array(
    'default' => array(
      'buttons' => array(
        'bold' => t('Bold'), 'italic' => t('Italic'), 'underline' => t('Underline'),
        'strikethrough' => t('Strike-through'),
        'justifyleft' => t('Align left'), 'justifycenter' => t('Align center'), 'justifyright' => t('Align right'), 'justifyfull' => t('Justify'),
        'unorderedlist' => t('Bullet list'), 'orderedlist' => t('Numbered list'),
        'outdent' => t('Outdent'), 'indent' => t('Indent'),
        'undo' => t('Undo'), 'redo' => t('Redo'),
        'createlink' => t('Link'),
        'insertimage' => t('Image'),
        'cleanup' => t('Clean-up'),
        'forecolor' => t('Forecolor'), 'backcolor' => t('Backcolor'),
        'superscript' => t('Sup'), 'subscript' => t('Sub'),
        'blockquote' => t('Blockquote'), 'viewSource' => t('Source code'),
        'hr' => t('Horizontal rule'),
        'cut' => t('Cut'), 'copy' => t('Copy'), 'paste' => t('Paste'),
        'visualaid' => t('Visual aid'),
        'removeformat' => t('Remove format'),
        'charmap' => t('Character map'),
        'headings' => t('HTML block format'), 'font' => t('Font'), 'fontsize' => t('Font size'),
        'maximize' => t('Fullscreen'),
        'preview' => t('Preview'),
        'print' => t('Print'),
        'inserttable' => t('Table'),
        'help' => t('Help'),
      ),
      'internal' => TRUE,
    ),
  );
  return $plugins;
}

{'repo_name': 'fossasia/fossasia11-drupal', 'stars': '1111', 'repo_language': 'PHP', 'file_name': 'farbtastic.js', 'mime_type': 'text/plain', 'hash': -3870361954109061398, 'source_dataset': 'data'}


!-------------------------------------------------------------------
!
! macros
!
!-------------------------------------------------------------------

! LIBXSMM for this test
#define XSMM

! macros for vectorization

! switches indexing between: array( i,j,k .. ) <-> array( ijk,1,1 .. )
#ifdef FORCE_VECTORIZATION
#  define INDEX_IJK  ijk,1,1
#else
#  define INDEX_IJK  i,j,k
#endif

! switches do-loops between: do k=1,NGLLZ; do j=1,NGLLY; do i=1,NGLLX  <-> do ijk=1,NGLLCUBE
#ifdef FORCE_VECTORIZATION
#  define DO_LOOP_IJK  do ijk=1,NGLLCUBE
#else
#  define DO_LOOP_IJK  do k=1,NGLLZ; do j=1,NGLLY; do i=1,NGLLX
#endif

! switches enddo-loops between: enddo; enddo; enddo ! NGLLZ,NGLLY,NGLLX <-> enddo ! NGLLCUBE
#ifdef FORCE_VECTORIZATION
#  define ENDDO_LOOP_IJK  enddo ! NGLLCUBE
#else
#  define ENDDO_LOOP_IJK  enddo; enddo; enddo ! NGLLZ,NGLLY,NGLLX
#endif

{'repo_name': 'IntelLabs/SkimCaffe', 'stars': '230', 'repo_language': 'C++', 'file_name': 'get_cifar10.sh', 'mime_type': 'text/plain', 'hash': 3231151504258444268, 'source_dataset': 'data'}


# -*- coding: utf-8 -*-
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Additional help about CRC32C and installing crcmod."""

from __future__ import absolute_import

from gslib.help_provider import HelpProvider

_DETAILED_HELP_TEXT = ("""
OVERVIEW
  Google Cloud Storage provides a cyclic redundancy check (CRC) header that
  allows clients to verify the integrity of object contents. For non-composite
  objects GCS also provides an MD5 header to allow clients to verify object
  integrity, but for composite objects only the CRC is available. gsutil
  automatically performs integrity checks on all uploads and downloads.
  Additionally, you can use the "gsutil hash" command to calculate a CRC for
  any local file.

  The CRC variant used by Google Cloud Storage is called CRC32C (Castagnoli),
  which is not available in the standard Python distribution. The implementation
  of CRC32C used by gsutil is provided by a third-party Python module called
  `crcmod <https://pypi.python.org/pypi/crcmod>`_.

  The crcmod module contains a pure-Python implementation of CRC32C, but using
  it results in very poor performance. A Python C extension is also provided by
  crcmod, which requires compiling into a binary module for use. gsutil ships
  with a precompiled crcmod C extension for Mac OS X; for other platforms, see
  the installation instructions below.

  At the end of each copy operation, the gsutil cp and rsync commands validate
  that the checksum of the source file/object matches the checksum of the
  destination file/object. If the checksums do not match, gsutil will delete
  the invalid copy and print a warning message. This very rarely happens, but
  if it does, please contact gs-team@google.com.

CONFIGURATION
  To determine if the compiled version of crcmod is available in your Python
  environment, you can inspect the output of the gsutil version command for the
  "compiled crcmod" entry::

    $ gsutil version -l
    ...
    compiled crcmod: True
    ...

  If your crcmod library is compiled to a native binary, this value will be
  True. If using the pure-Python version, the value will be False.

  To control gsutil's behavior in response to crcmod's status, you can set the
  "check_hashes" configuration variable. For details on this variable, see the
  surrounding comments in your gsutil configuration file. If check_hashes is not
  present in your configuration file, rerun gsutil config to regenerate the
  file.

INSTALLATION
  CentOS, RHEL, and Fedora
  ------------------------

  To compile and install crcmod:

    sudo yum install gcc python-devel python-setuptools
    sudo easy_install -U pip
    sudo pip uninstall crcmod
    sudo pip install -U crcmod

  Debian and Ubuntu
  -----------------

  To compile and install crcmod:

    sudo apt-get install gcc python-dev python-setuptools
    sudo easy_install -U pip
    sudo pip uninstall crcmod
    sudo pip install -U crcmod

  Mac OS X
  --------

  gsutil distributes a pre-compiled version of crcmod for OS X, so you shouldn't
  need to compile and install it yourself. If for some reason the pre-compiled
  version is not being detected, please let the Google Cloud Storage team know
  (see "gsutil help support").

  To compile manually on OS X, you will first need to install
  `XCode <https://developer.apple.com/xcode/>`_ and then run:

    sudo easy_install -U pip
    sudo pip install -U crcmod

  Windows
  -------

  An installer is available for the compiled version of crcmod from the Python
  Package Index (PyPi) at the following URL:

  https://pypi.python.org/pypi/crcmod/1.7

  MSI installers are available for the 32-bit versions of Python 2.6 and 2.7.

""")

class CommandOptions(HelpProvider):
  """Additional help about CRC32C and installing crcmod."""

  # Help specification. See help_provider.py for documentation.
  help_spec = HelpProvider.HelpSpec(
      help_name='crc32c',
      help_name_aliases=['crc32', 'crc', 'crcmod'],
      help_type='additional_help',
      help_one_line_summary='CRC32C and Installing crcmod',
      help_text=_DETAILED_HELP_TEXT,
      subcommand_help_text={},
  )

{'repo_name': 'meduza-corp/interstellar', 'stars': '131', 'repo_language': 'Python', 'file_name': 'secrets.yml.example', 'mime_type': 'text/plain', 'hash': -3075733192401511028, 'source_dataset': 'data'}


{##}

{{- stylesheet ? include(stylesheet) -}}

{{- config.text|default('

This is an example of
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.	Rich text and HTML
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.	In a three column layout
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

')|raw -}}

{'repo_name': 'GibbonEdu/core', 'stars': '232', 'repo_language': 'PHP', 'file_name': 'installerFunctions.php', 'mime_type': 'text/x-php', 'hash': -4945349913445895035, 'source_dataset': 'data'}


<?php

namespace AppBundle\EventListener;

use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Security\Http\Event\DeauthenticatedEvent;

class DeauthenticatedListener
{
    private $session;
    private $sessionKeyName;

    public function __construct(SessionInterface $session, string $sessionKeyName)
    {
        $this->session = $session;
        $this->sessionKeyName = $sessionKeyName;
    }

    public function logoutOnChange(DeauthenticatedEvent $event)
    {
        $this->session->remove('restaurantId');
        $this->session->remove($this->sessionKeyName);
    }
}

{'repo_name': 'coopcycle/coopcycle-web', 'stars': '329', 'repo_language': 'PHP', 'file_name': 'config.yml', 'mime_type': 'text/plain', 'hash': -5720714596213532827, 'source_dataset': 'data'}


/*
 * Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the Apache License 2.0 (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#include <stdlib.h>
#include <string.h>
#include <openssl/crypto.h>

#include "crypto/poly1305.h"

size_t Poly1305_ctx_size(void)
{
    return sizeof(struct poly1305_context);
}

/* pick 32-bit unsigned integer in little endian order */
static unsigned int U8TOU32(const unsigned char *p)
{
    return (((unsigned int)(p[0] & 0xff)) |
            ((unsigned int)(p[1] & 0xff) << 8) |
            ((unsigned int)(p[2] & 0xff) << 16) |
            ((unsigned int)(p[3] & 0xff) << 24));
}

/*
 * Implementations can be classified by amount of significant bits in
 * words making up the multi-precision value, or in other words radix
 * or base of numerical representation, e.g. base 2^64, base 2^32,
 * base 2^26. Complementary characteristic is how wide is the result of
 * multiplication of pair of digits, e.g. it would take 128 bits to
 * accommodate multiplication result in base 2^64 case. These are used
 * interchangeably. To describe implementation that is. But interface
 * is designed to isolate this so that low-level primitives implemented
 * in assembly can be self-contained/self-coherent.
 */
#ifndef POLY1305_ASM
/*
 * Even though there is __int128 reference implementation targeting
 * 64-bit platforms provided below, it's not obvious that it's optimal
 * choice for every one of them. Depending on instruction set overall
 * amount of instructions can be comparable to one in __int64
 * implementation. Amount of multiplication instructions would be lower,
 * but not necessarily overall. And in out-of-order execution context,
 * it is the latter that can be crucial...
 *
 * On related note. Poly1305 author, D. J. Bernstein, discusses and
 * provides floating-point implementations of the algorithm in question.
 * It made a lot of sense by the time of introduction, because most
 * then-modern processors didn't have pipelined integer multiplier.
 * [Not to mention that some had non-constant timing for integer
 * multiplications.] Floating-point instructions on the other hand could
 * be issued every cycle, which allowed to achieve better performance.
 * Nowadays, with SIMD and/or out-or-order execution, shared or
 * even emulated FPU, it's more complicated, and floating-point
 * implementation is not necessarily optimal choice in every situation,
 * rather contrary...
 *
 *                                              <appro@openssl.org>
 */

typedef unsigned int u32;

/*
 * poly1305_blocks processes a multiple of POLY1305_BLOCK_SIZE blocks
 * of |inp| no longer than |len|. Behaviour for |len| not divisible by
 * block size is unspecified in general case, even though in reference
 * implementation the trailing chunk is simply ignored. Per algorithm
 * specification, every input block, complete or last partial, is to be
 * padded with a bit past most significant byte. The latter kind is then
 * padded with zeros till block size. This last partial block padding
 * is caller(*)'s responsibility, and because of this the last partial
 * block is always processed with separate call with |len| set to
 * POLY1305_BLOCK_SIZE and |padbit| to 0. In all other cases |padbit|
 * should be set to 1 to perform implicit padding with 128th bit.
 * poly1305_blocks does not actually check for this constraint though,
 * it's caller(*)'s responsibility to comply.
 *
 * (*)  In the context "caller" is not application code, but higher
 *      level Poly1305_* from this very module, so that quirks are
 *      handled locally.
 */
static void
poly1305_blocks(void *ctx, const unsigned char *inp, size_t len, u32 padbit);

/*
 * Type-agnostic "rip-off" from constant_time.h
 */
# define CONSTANT_TIME_CARRY(a,b) ( \
         (a ^ ((a ^ b) | ((a - b) ^ b))) >> (sizeof(a) * 8 - 1) \
         )

# if (defined(__SIZEOF_INT128__) && __SIZEOF_INT128__==16) && \
     (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__==8)

typedef unsigned long u64;
typedef __uint128_t u128;

typedef struct {
    u64 h[3];
    u64 r[2];
} poly1305_internal;

/* pick 32-bit unsigned integer in little endian order */
static u64 U8TOU64(const unsigned char *p)
{
    return (((u64)(p[0] & 0xff)) |
            ((u64)(p[1] & 0xff) << 8) |
            ((u64)(p[2] & 0xff) << 16) |
            ((u64)(p[3] & 0xff) << 24) |
            ((u64)(p[4] & 0xff) << 32) |
            ((u64)(p[5] & 0xff) << 40) |
            ((u64)(p[6] & 0xff) << 48) |
            ((u64)(p[7] & 0xff) << 56));
}

/* store a 32-bit unsigned integer in little endian */
static void U64TO8(unsigned char *p, u64 v)
{
    p[0] = (unsigned char)((v) & 0xff);
    p[1] = (unsigned char)((v >> 8) & 0xff);
    p[2] = (unsigned char)((v >> 16) & 0xff);
    p[3] = (unsigned char)((v >> 24) & 0xff);
    p[4] = (unsigned char)((v >> 32) & 0xff);
    p[5] = (unsigned char)((v >> 40) & 0xff);
    p[6] = (unsigned char)((v >> 48) & 0xff);
    p[7] = (unsigned char)((v >> 56) & 0xff);
}

static void poly1305_init(void *ctx, const unsigned char key[16])
{
    poly1305_internal *st = (poly1305_internal *) ctx;

    /* h = 0 */
    st->h[0] = 0;
    st->h[1] = 0;
    st->h[2] = 0;

    /* r &= 0xffffffc0ffffffc0ffffffc0fffffff */
    st->r[0] = U8TOU64(&key[0]) & 0x0ffffffc0fffffff;
    st->r[1] = U8TOU64(&key[8]) & 0x0ffffffc0ffffffc;
}

static void
poly1305_blocks(void *ctx, const unsigned char *inp, size_t len, u32 padbit)
{
    poly1305_internal *st = (poly1305_internal *)ctx;
    u64 r0, r1;
    u64 s1;
    u64 h0, h1, h2, c;
    u128 d0, d1;

    r0 = st->r[0];
    r1 = st->r[1];

    s1 = r1 + (r1 >> 2);

    h0 = st->h[0];
    h1 = st->h[1];
    h2 = st->h[2];

    while (len >= POLY1305_BLOCK_SIZE) {
        /* h += m[i] */
        h0 = (u64)(d0 = (u128)h0 + U8TOU64(inp + 0));
        h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8));
        /*
         * padbit can be zero only when original len was
         * POLY1306_BLOCK_SIZE, but we don't check
         */
        h2 += (u64)(d1 >> 64) + padbit;

        /* h *= r "%" p, where "%" stands for "partial remainder" */
        d0 = ((u128)h0 * r0) +
             ((u128)h1 * s1);
        d1 = ((u128)h0 * r1) +
             ((u128)h1 * r0) +
             (h2 * s1);
        h2 = (h2 * r0);

        /* last reduction step: */
        /* a) h2:h0 = h2<<128 + d1<<64 + d0 */
        h0 = (u64)d0;
        h1 = (u64)(d1 += d0 >> 64);
        h2 += (u64)(d1 >> 64);
        /* b) (h2:h0 += (h2:h0>>130) * 5) %= 2^130 */
        c = (h2 >> 2) + (h2 & ~3UL);
        h2 &= 3;
        h0 += c;
        h1 += (c = CONSTANT_TIME_CARRY(h0,c));
        h2 += CONSTANT_TIME_CARRY(h1,c);
        /*
         * Occasional overflows to 3rd bit of h2 are taken care of
         * "naturally". If after this point we end up at the top of
         * this loop, then the overflow bit will be accounted for
         * in next iteration. If we end up in poly1305_emit, then
         * comparison to modulus below will still count as "carry
         * into 131st bit", so that properly reduced value will be
         * picked in conditional move.
         */

        inp += POLY1305_BLOCK_SIZE;
        len -= POLY1305_BLOCK_SIZE;
    }

    st->h[0] = h0;
    st->h[1] = h1;
    st->h[2] = h2;
}

static void poly1305_emit(void *ctx, unsigned char mac[16],
                          const u32 nonce[4])
{
    poly1305_internal *st = (poly1305_internal *) ctx;
    u64 h0, h1, h2;
    u64 g0, g1, g2;
    u128 t;
    u64 mask;

    h0 = st->h[0];
    h1 = st->h[1];
    h2 = st->h[2];

    /* compare to modulus by computing h + -p */
    g0 = (u64)(t = (u128)h0 + 5);
    g1 = (u64)(t = (u128)h1 + (t >> 64));
    g2 = h2 + (u64)(t >> 64);

    /* if there was carry into 131st bit, h1:h0 = g1:g0 */
    mask = 0 - (g2 >> 2);
    g0 &= mask;
    g1 &= mask;
    mask = ~mask;
    h0 = (h0 & mask) | g0;
    h1 = (h1 & mask) | g1;

    /* mac = (h + nonce) % (2^128) */
    h0 = (u64)(t = (u128)h0 + nonce[0] + ((u64)nonce[1]<<32));
    h1 = (u64)(t = (u128)h1 + nonce[2] + ((u64)nonce[3]<<32) + (t >> 64));

    U64TO8(mac + 0, h0);
    U64TO8(mac + 8, h1);
}

# else

#  if defined(_WIN32) && !defined(__MINGW32__)
typedef unsigned __int64 u64;
#  elif defined(__arch64__)
typedef unsigned long u64;
#  else
typedef unsigned long long u64;
#  endif

typedef struct {
    u32 h[5];
    u32 r[4];
} poly1305_internal;

/* store a 32-bit unsigned integer in little endian */
static void U32TO8(unsigned char *p, unsigned int v)
{
    p[0] = (unsigned char)((v) & 0xff);
    p[1] = (unsigned char)((v >> 8) & 0xff);
    p[2] = (unsigned char)((v >> 16) & 0xff);
    p[3] = (unsigned char)((v >> 24) & 0xff);
}

static void poly1305_init(void *ctx, const unsigned char key[16])
{
    poly1305_internal *st = (poly1305_internal *) ctx;

    /* h = 0 */
    st->h[0] = 0;
    st->h[1] = 0;
    st->h[2] = 0;
    st->h[3] = 0;
    st->h[4] = 0;

    /* r &= 0xffffffc0ffffffc0ffffffc0fffffff */
    st->r[0] = U8TOU32(&key[0]) & 0x0fffffff;
    st->r[1] = U8TOU32(&key[4]) & 0x0ffffffc;
    st->r[2] = U8TOU32(&key[8]) & 0x0ffffffc;
    st->r[3] = U8TOU32(&key[12]) & 0x0ffffffc;
}

static void
poly1305_blocks(void *ctx, const unsigned char *inp, size_t len, u32 padbit)
{
    poly1305_internal *st = (poly1305_internal *)ctx;
    u32 r0, r1, r2, r3;
    u32 s1, s2, s3;
    u32 h0, h1, h2, h3, h4, c;
    u64 d0, d1, d2, d3;

    r0 = st->r[0];
    r1 = st->r[1];
    r2 = st->r[2];
    r3 = st->r[3];

    s1 = r1 + (r1 >> 2);
    s2 = r2 + (r2 >> 2);
    s3 = r3 + (r3 >> 2);

    h0 = st->h[0];
    h1 = st->h[1];
    h2 = st->h[2];
    h3 = st->h[3];
    h4 = st->h[4];

    while (len >= POLY1305_BLOCK_SIZE) {
        /* h += m[i] */
        h0 = (u32)(d0 = (u64)h0 + U8TOU32(inp + 0));
        h1 = (u32)(d1 = (u64)h1 + (d0 >> 32) + U8TOU32(inp + 4));
        h2 = (u32)(d2 = (u64)h2 + (d1 >> 32) + U8TOU32(inp + 8));
        h3 = (u32)(d3 = (u64)h3 + (d2 >> 32) + U8TOU32(inp + 12));
        h4 += (u32)(d3 >> 32) + padbit;

        /* h *= r "%" p, where "%" stands for "partial remainder" */
        d0 = ((u64)h0 * r0) +
             ((u64)h1 * s3) +
             ((u64)h2 * s2) +
             ((u64)h3 * s1);
        d1 = ((u64)h0 * r1) +
             ((u64)h1 * r0) +
             ((u64)h2 * s3) +
             ((u64)h3 * s2) +
             (h4 * s1);
        d2 = ((u64)h0 * r2) +
             ((u64)h1 * r1) +
             ((u64)h2 * r0) +
             ((u64)h3 * s3) +
             (h4 * s2);
        d3 = ((u64)h0 * r3) +
             ((u64)h1 * r2) +
             ((u64)h2 * r1) +
             ((u64)h3 * r0) +
             (h4 * s3);
        h4 = (h4 * r0);

        /* last reduction step: */
        /* a) h4:h0 = h4<<128 + d3<<96 + d2<<64 + d1<<32 + d0 */
        h0 = (u32)d0;
        h1 = (u32)(d1 += d0 >> 32);
        h2 = (u32)(d2 += d1 >> 32);
        h3 = (u32)(d3 += d2 >> 32);
        h4 += (u32)(d3 >> 32);
        /* b) (h4:h0 += (h4:h0>>130) * 5) %= 2^130 */
        c = (h4 >> 2) + (h4 & ~3U);
        h4 &= 3;
        h0 += c;
        h1 += (c = CONSTANT_TIME_CARRY(h0,c));
        h2 += (c = CONSTANT_TIME_CARRY(h1,c));
        h3 += (c = CONSTANT_TIME_CARRY(h2,c));
        h4 += CONSTANT_TIME_CARRY(h3,c);
        /*
         * Occasional overflows to 3rd bit of h4 are taken care of
         * "naturally". If after this point we end up at the top of
         * this loop, then the overflow bit will be accounted for
         * in next iteration. If we end up in poly1305_emit, then
         * comparison to modulus below will still count as "carry
         * into 131st bit", so that properly reduced value will be
         * picked in conditional move.
         */

        inp += POLY1305_BLOCK_SIZE;
        len -= POLY1305_BLOCK_SIZE;
    }

    st->h[0] = h0;
    st->h[1] = h1;
    st->h[2] = h2;
    st->h[3] = h3;
    st->h[4] = h4;
}

static void poly1305_emit(void *ctx, unsigned char mac[16],
                          const u32 nonce[4])
{
    poly1305_internal *st = (poly1305_internal *) ctx;
    u32 h0, h1, h2, h3, h4;
    u32 g0, g1, g2, g3, g4;
    u64 t;
    u32 mask;

    h0 = st->h[0];
    h1 = st->h[1];
    h2 = st->h[2];
    h3 = st->h[3];
    h4 = st->h[4];

    /* compare to modulus by computing h + -p */
    g0 = (u32)(t = (u64)h0 + 5);
    g1 = (u32)(t = (u64)h1 + (t >> 32));
    g2 = (u32)(t = (u64)h2 + (t >> 32));
    g3 = (u32)(t = (u64)h3 + (t >> 32));
    g4 = h4 + (u32)(t >> 32);

    /* if there was carry into 131st bit, h3:h0 = g3:g0 */
    mask = 0 - (g4 >> 2);
    g0 &= mask;
    g1 &= mask;
    g2 &= mask;
    g3 &= mask;
    mask = ~mask;
    h0 = (h0 & mask) | g0;
    h1 = (h1 & mask) | g1;
    h2 = (h2 & mask) | g2;
    h3 = (h3 & mask) | g3;

    /* mac = (h + nonce) % (2^128) */
    h0 = (u32)(t = (u64)h0 + nonce[0]);
    h1 = (u32)(t = (u64)h1 + (t >> 32) + nonce[1]);
    h2 = (u32)(t = (u64)h2 + (t >> 32) + nonce[2]);
    h3 = (u32)(t = (u64)h3 + (t >> 32) + nonce[3]);

    U32TO8(mac + 0, h0);
    U32TO8(mac + 4, h1);
    U32TO8(mac + 8, h2);
    U32TO8(mac + 12, h3);
}
# endif
#else
int poly1305_init(void *ctx, const unsigned char key[16], void *func);
void poly1305_blocks(void *ctx, const unsigned char *inp, size_t len,
                     unsigned int padbit);
void poly1305_emit(void *ctx, unsigned char mac[16],
                   const unsigned int nonce[4]);
#endif

void Poly1305_Init(POLY1305 *ctx, const unsigned char key[32])
{
    ctx->nonce[0] = U8TOU32(&key[16]);
    ctx->nonce[1] = U8TOU32(&key[20]);
    ctx->nonce[2] = U8TOU32(&key[24]);
    ctx->nonce[3] = U8TOU32(&key[28]);

#ifndef POLY1305_ASM
    poly1305_init(ctx->opaque, key);
#else
    /*
     * Unlike reference poly1305_init assembly counterpart is expected
     * to return a value: non-zero if it initializes ctx->func, and zero
     * otherwise. Latter is to simplify assembly in cases when there no
     * multiple code paths to switch between.
     */
    if (!poly1305_init(ctx->opaque, key, &ctx->func)) {
        ctx->func.blocks = poly1305_blocks;
        ctx->func.emit = poly1305_emit;
    }
#endif

    ctx->num = 0;

}

#ifdef POLY1305_ASM
/*
 * This "eclipses" poly1305_blocks and poly1305_emit, but it's
 * conscious choice imposed by -Wshadow compiler warnings.
 */
# define poly1305_blocks (*poly1305_blocks_p)
# define poly1305_emit   (*poly1305_emit_p)
#endif

void Poly1305_Update(POLY1305 *ctx, const unsigned char *inp, size_t len)
{
#ifdef POLY1305_ASM
    /*
     * As documented, poly1305_blocks is never called with input
     * longer than single block and padbit argument set to 0. This
     * property is fluently used in assembly modules to optimize
     * padbit handling on loop boundary.
     */
    poly1305_blocks_f poly1305_blocks_p = ctx->func.blocks;
#endif
    size_t rem, num;

    if ((num = ctx->num)) {
        rem = POLY1305_BLOCK_SIZE - num;
        if (len >= rem) {
            memcpy(ctx->data + num, inp, rem);
            poly1305_blocks(ctx->opaque, ctx->data, POLY1305_BLOCK_SIZE, 1);
            inp += rem;
            len -= rem;
        } else {
            /* Still not enough data to process a block. */
            memcpy(ctx->data + num, inp, len);
            ctx->num = num + len;
            return;
        }
    }

    rem = len % POLY1305_BLOCK_SIZE;
    len -= rem;

    if (len >= POLY1305_BLOCK_SIZE) {
        poly1305_blocks(ctx->opaque, inp, len, 1);
        inp += len;
    }

    if (rem)
        memcpy(ctx->data, inp, rem);

    ctx->num = rem;
}

void Poly1305_Final(POLY1305 *ctx, unsigned char mac[16])
{
#ifdef POLY1305_ASM
    poly1305_blocks_f poly1305_blocks_p = ctx->func.blocks;
    poly1305_emit_f poly1305_emit_p = ctx->func.emit;
#endif
    size_t num;

    if ((num = ctx->num)) {
        ctx->data[num++] = 1;   /* pad bit */
        while (num < POLY1305_BLOCK_SIZE)
            ctx->data[num++] = 0;
        poly1305_blocks(ctx->opaque, ctx->data, POLY1305_BLOCK_SIZE, 0);
    }

    poly1305_emit(ctx->opaque, mac, ctx->nonce);

    /* zero out the state */
    OPENSSL_cleanse(ctx, sizeof(*ctx));
}

{'repo_name': 'openssl/openssl', 'stars': '13395', 'repo_language': 'C', 'file_name': 'extensions_srvr.c', 'mime_type': 'text/x-c', 'hash': 6906358722515421987, 'source_dataset': 'data'}


// Copyright (C) 2012 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.google.gerrit.extensions.registration;

import com.google.inject.Binder;
import com.google.inject.Key;
import com.google.inject.Provider;
import com.google.inject.ProvisionException;
import com.google.inject.Scopes;
import com.google.inject.TypeLiteral;
import com.google.inject.util.Types;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import java.util.SortedMap;
import java.util.SortedSet;
import java.util.TreeMap;
import java.util.TreeSet;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

/**
 * A map of members that can be modified as plugins reload.
 *
 *
Maps index their members by plugin name and export name.
 *
 *
DynamicMaps are always mapped as singletons in Guice. Maps store Providers internally, and
 * resolve the provider to an instance on demand. This enables registrations to decide between
 * singleton and non-singleton members.
 */
public abstract class DynamicMap<T> implements Iterable<Extension<T>> {
  /**
   * Declare a singleton {@code DynamicMap<T>} with a binder.
   *
   *
Maps must be defined in a Guice module before they can be bound:
   *
   *

   * DynamicMap.mapOf(binder(), Interface.class);
   * bind(Interface.class)
   *   .annotatedWith(Exports.named("foo"))
   *   .to(Impl.class);
   *

   *
   * @param binder a new binder created in the module.
   * @param member type of value in the map.
   */
  public static <T> void mapOf(Binder binder, Class<T> member) {
    mapOf(binder, TypeLiteral.get(member));
  }

  /**
   * Declare a singleton {@code DynamicMap<T>} with a binder.
   *
   *
Maps must be defined in a Guice module before they can be bound:
   *
   *

   * DynamicMap.mapOf(binder(), new TypeLiteral<Thing<Bar>>(){});
   * bind(new TypeLiteral<Thing<Bar>>() {})
   *   .annotatedWith(Exports.named("foo"))
   *   .to(Impl.class);
   *

   *
   * @param binder a new binder created in the module.
   * @param member type of value in the map.
   */
  public static <T> void mapOf(Binder binder, TypeLiteral<T> member) {
    @SuppressWarnings("unchecked")
    Key<DynamicMap<T>> key =
        (Key<DynamicMap<T>>)
            Key.get(Types.newParameterizedType(DynamicMap.class, member.getType()));
    binder.bind(key).toProvider(new DynamicMapProvider<>(member)).in(Scopes.SINGLETON);
  }

  /** Returns an empty DynamicMap instance * */
  public static <T> DynamicMap<T> emptyMap() {
    return new PrivateInternals_DynamicMapImpl<>();
  }

  final ConcurrentMap<NamePair, Provider<T>> items;

  DynamicMap() {
    items =
        new ConcurrentHashMap<>(
            16 /* initial size */,
            0.75f /* load factor */,
            1 /* concurrency level of 1, load/unload is single threaded */);
  }

  /**
   * Lookup an implementation by name.
   *
   * @param pluginName local name of the plugin providing the item.
   * @param exportName name the plugin exports the item as.
   * @return the implementation. Null if the plugin is not running, or if the plugin does not export
   *     this name.
   * @throws ProvisionException if the registered provider is unable to obtain an instance of the
   *     requested implementation.
   */
  public T get(String pluginName, String exportName) throws ProvisionException {
    Provider<T> p = items.get(new NamePair(pluginName, exportName));
    return p != null ? p.get() : null;
  }

  /**
   * Get the names of all running plugins supplying this type.
   *
   * @return sorted set of active plugins that supply at least one item.
   */
  public SortedSet<String> plugins() {
    SortedSet<String> r = new TreeSet<>();
    for (NamePair p : items.keySet()) {
      r.add(p.pluginName);
    }
    return Collections.unmodifiableSortedSet(r);
  }

  /**
   * Get the items exported by a single plugin.
   *
   * @param pluginName name of the plugin.
   * @return items exported by a plugin, keyed by the export name.
   */
  public SortedMap<String, Provider<T>> byPlugin(String pluginName) {
    SortedMap<String, Provider<T>> r = new TreeMap<>();
    for (Map.Entry<NamePair, Provider<T>> e : items.entrySet()) {
      if (e.getKey().pluginName.equals(pluginName)) {
        r.put(e.getKey().exportName, e.getValue());
      }
    }
    return Collections.unmodifiableSortedMap(r);
  }

  /** Iterate through all entries in an undefined order. */
  @Override
  public Iterator<Extension<T>> iterator() {
    final Iterator<Map.Entry<NamePair, Provider<T>>> i = items.entrySet().iterator();
    return new Iterator<Extension<T>>() {
      @Override
      public boolean hasNext() {
        return i.hasNext();
      }

      @Override
      public Extension<T> next() {
        Map.Entry<NamePair, Provider<T>> e = i.next();
        return new Extension<>(e.getKey().pluginName, e.getKey().exportName, e.getValue());
      }

      @Override
      public void remove() {
        throw new UnsupportedOperationException();
      }
    };
  }

  static class NamePair {
    private final String pluginName;
    private final String exportName;

    NamePair(String pn, String en) {
      pluginName = pn;
      exportName = en;
    }

    @Override
    public int hashCode() {
      return pluginName.hashCode() * 31 + exportName.hashCode();
    }

    @Override
    public boolean equals(Object other) {
      if (other instanceof NamePair) {
        NamePair np = (NamePair) other;
        return pluginName.equals(np.pluginName) && exportName.equals(np.exportName);
      }
      return false;
    }
  }
}

{'repo_name': 'GerritCodeReview/gerrit', 'stars': '357', 'repo_language': 'Java', 'file_name': 'plugins.sbt', 'mime_type': 'text/plain', 'hash': -5840426350040383921, 'source_dataset': 'data'}


function _setPrototypeOf(o, p) {
  module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
    o.__proto__ = p;
    return o;
  };

  return _setPrototypeOf(o, p);
}

module.exports = _setPrototypeOf;

{'repo_name': 'in28minutes/full-stack-with-react-and-spring-boot', 'stars': '172', 'repo_language': 'JavaScript', 'file_name': 'README.md', 'mime_type': 'text/plain', 'hash': 2823902910379764884, 'source_dataset': 'data'}


<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="DebugDll|Win32">
      <Configuration>DebugDll</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="DebugDll|x64">
      <Configuration>DebugDll</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Debug|x64">
      <Configuration>Debug</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Releasedll|Win32">
      <Configuration>Releasedll</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Releasedll|x64">
      <Configuration>Releasedll</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|x64">
      <Configuration>Release</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{6EC1F44E-6A6A-48E9-B699-D7E89B63C8DC}</ProjectGuid>
    <RootNamespace>lib_acl_cpp</RootNamespace>
    <Keyword>Win32Proj</Keyword>
    <ProjectName>lib_acl_cpp</ProjectName>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>StaticLibrary</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    <ConfigurationType>StaticLibrary</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>StaticLibrary</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    <ConfigurationType>StaticLibrary</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'">.\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'">DebugDll\</IntDir>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'">.\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'">ReleaseDll\</IntDir>
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'" />
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'" />
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'" />
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'" />
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
    <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_vc2012d</TargetName>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)_vc2012d</TargetName>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'">$(ProjectName)_d</TargetName>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">$(ProjectName)_d</TargetName>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'">$(ProjectName)</TargetName>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'">$(ProjectName)</TargetName>
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'">true</LinkIncremental>
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">true</LinkIncremental>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)_vc2012</TargetName>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectName)_vc2012</TargetName>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    <IntDir>Debug\</IntDir>
    <OutDir>.\</OutDir>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <OutDir>.\</OutDir>
    <IntDir>.\Release\</IntDir>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">
    <OutDir>.\</OutDir>
    <IntDir>DebugDll\</IntDir>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'">
    <OutDir>.\</OutDir>
    <IntDir>ReleaseDll\</IntDir>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <AdditionalIncludeDirectories>.\include;..\lib_acl\include;..\lib_protocol\include;..\include\sqlite;..\include\mysql;..\include\pgsql;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>_DEBUG;_LIB;_MT;USE_WIN_ICONV;HAS_MYSQL_DLL;HAS_SQLITE_DLL;HAS_PGSQL_DLL;HAS_ZLIB_DLL;HAS_POLARSSL_DLL;HAS_MBEDTLS_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <MinimalRebuild>true</MinimalRebuild>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>acl_stdafx.hpp</PrecompiledHeaderFile>
      <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName)_vc2012d.pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <TreatWarningAsError>true</TreatWarningAsError>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Lib>
      <OutputFile>$(OutDir)$(ProjectName)_vc2012d.lib</OutputFile>
      <TargetMachine>MachineX86</TargetMachine>
    </Lib>
    <PostBuildEvent>
      <Command>copy $(TargetName).lib ..\dist\lib\win32\$(TargetName).lib /Y
copy $(TargetName).pdb ..\dist\lib\win32\$(TargetName).pdb /Y</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <AdditionalIncludeDirectories>.\include;..\lib_acl\include;..\lib_protocol\include;..\include\sqlite;..\include\mysql;..\include\pgsql;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>_DEBUG;_LIB;_MT;USE_WIN_ICONV;HAS_MYSQL_DLL;HAS_SQLITE_DLL;HAS_PGSQL_DLL;HAS_ZLIB_DLL;HAS_POLARSSL_DLL;HAS_MBEDTLS_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>acl_stdafx.hpp</PrecompiledHeaderFile>
      <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
      <ProgramDataBaseFileName>$(ProjectName)_vc2012d.pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <TreatWarningAsError>true</TreatWarningAsError>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Lib>
      <OutputFile>$(ProjectName)_vc2012d.lib</OutputFile>
      <TargetMachine>MachineX64</TargetMachine>
    </Lib>
    <PostBuildEvent>
      <Command>copy $(TargetName).lib ..\dist\lib\win64\$(TargetName).lib /Y
copy $(TargetName).pdb ..\dist\lib\win64\$(TargetName).pdb /Y</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <AdditionalIncludeDirectories>.\include;..\lib_acl\include;..\lib_protocol\include;..\include\sqlite;..\include\mysql;..\include\pgsql;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>NDEBUG;_LIB;USE_WIN_ICONV;HAS_MYSQL_DLL;HAS_SQLITE_DLL;HAS_PGSQL_DLL;HAS_ZLIB_DLL;HAS_POLARSSL_DLL;HAS_MBEDTLS_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>acl_stdafx.hpp</PrecompiledHeaderFile>
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName)_vc2012.pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Lib>
      <OutputFile>$(OutDir)$(ProjectName)_vc2012.lib</OutputFile>
      <TargetMachine>MachineX86</TargetMachine>
    </Lib>
    <PostBuildEvent>
      <Command>copy $(TargetName).lib ..\dist\lib\win32\$(TargetName).lib /Y
copy $(TargetName).pdb ..\dist\lib\win32\$(TargetName).pdb /Y</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <ClCompile>
      <AdditionalIncludeDirectories>.\include;..\lib_acl\include;..\lib_protocol\include;..\include\sqlite;..\include\mysql;..\include\pgsql;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>NDEBUG;_LIB;USE_WIN_ICONV;HAS_MYSQL_DLL;HAS_SQLITE_DLL;HAS_PGSQL_DLL;HAS_ZLIB_DLL;HAS_POLARSSL_DLL;HAS_MBEDTLS_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>acl_stdafx.hpp</PrecompiledHeaderFile>
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName)_vc2012.pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Lib>
      <OutputFile>$(OutDir)$(ProjectName)_vc2012.lib</OutputFile>
      <TargetMachine>MachineX64</TargetMachine>
    </Lib>
    <PostBuildEvent>
      <Command>copy $(TargetName).lib ..\dist\lib\win64\$(TargetName).lib /Y
copy $(TargetName).pdb ..\dist\lib\win64\$(TargetName).pdb /Y</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <AdditionalIncludeDirectories>.\include;..\lib_acl\include;..\lib_protocol\include;..\include\sqlite;..\include\mysql;..\include\pgsql;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>_DEBUG;_LIB;_MT;ACL_DLL;ACL_CPP_DLL;ACL_CPP_EXPORTS;USE_WIN_ICONV;HAS_MYSQL_DLL;HAS_SQLITE_DLL;HAS_PGSQL_DLL;HAS_ZLIB_DLL;HAS_POLARSSL_DLL;HAS_MBEDTLS_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <MinimalRebuild>true</MinimalRebuild>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>acl_stdafx.hpp</PrecompiledHeaderFile>
      <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName)_d.pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <TreatWarningAsError>true</TreatWarningAsError>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Link>
      <AdditionalDependencies>lib_protocol_d.lib;lib_acl_d.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <OutputFile>$(OutDir)$(ProjectName)_d.dll</OutputFile>
      <AdditionalLibraryDirectories>..\lib\win32;..\dist\lib\win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <IgnoreSpecificDefaultLibraries>libcmtd;libcmt;libc</IgnoreSpecificDefaultLibraries>
      <GenerateMapFile>true</GenerateMapFile>
      <AssemblyDebug>true</AssemblyDebug>
    </Link>
    <PostBuildEvent>
      <Command>copy $(TargetName).lib ..\dist\lib\win32\$(TargetName).lib /Y
copy $(TargetName).dll ..\dist\lib\win32\$(TargetName).dll /Y
copy $(TargetName).pdb ..\dist\lib\win32\$(TargetName).pdb /Y
</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <AdditionalIncludeDirectories>.\include;..\lib_acl\include;..\lib_protocol\include;..\include\sqlite;..\include\mysql;..\include\pgsql;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>_DEBUG;_LIB;_MT;ACL_DLL;ACL_CPP_DLL;ACL_CPP_EXPORTS;USE_WIN_ICONV;HAS_MYSQL_DLL;HAS_SQLITE_DLL;HAS_PGSQL_DLL;HAS_ZLIB_DLL;HAS_POLARSSL_DLL;HAS_MBEDTLS_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>acl_stdafx.hpp</PrecompiledHeaderFile>
      <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName)_d.pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <TreatWarningAsError>true</TreatWarningAsError>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Link>
      <AdditionalDependencies>lib_protocol_d.lib;lib_acl_d.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <OutputFile>$(OutDir)$(ProjectName)_d.dll</OutputFile>
      <AdditionalLibraryDirectories>..\lib\win64;..\dist\lib\win64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <IgnoreSpecificDefaultLibraries>libcmtd;libcmt;libc</IgnoreSpecificDefaultLibraries>
      <GenerateMapFile>true</GenerateMapFile>
      <AssemblyDebug>true</AssemblyDebug>
    </Link>
    <PostBuildEvent>
      <Command>copy $(TargetName).lib ..\dist\lib\win64\$(TargetName).lib /Y
copy $(TargetName).dll ..\dist\lib\win64\$(TargetName).dll /Y
copy $(TargetName).pdb ..\dist\lib\win64\$(TargetName).pdb /Y
</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <AdditionalIncludeDirectories>.\include;..\lib_acl\include;..\lib_protocol\include;..\include\sqlite;..\include\mysql;..\include\pgsql;.\src;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>NDEBUG;_LIB;_MT;ACL_DLL;ACL_CPP_DLL;ACL_CPP_EXPORTS;USE_WIN_ICONV;HAS_MYSQL_DLL;HAS_SQLITE_DLL;HAS_PGSQL_DLL;HAS_ZLIB_DLL;HAS_POLARSSL_DLL;HAS_MBEDTLS_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <MinimalRebuild>true</MinimalRebuild>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>acl_stdafx.hpp</PrecompiledHeaderFile>
      <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <TreatWarningAsError>true</TreatWarningAsError>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Link>
      <AdditionalDependencies>lib_protocol.lib;lib_acl.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <OutputFile>$(OutDir)$(ProjectName).dll</OutputFile>
      <AdditionalLibraryDirectories>..\lib\win32;..\dist\lib\win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
      <IgnoreSpecificDefaultLibraries>libcmt;libc</IgnoreSpecificDefaultLibraries>
    </Link>
    <PostBuildEvent>
      <Command>copy $(TargetName).lib ..\dist\lib\win32\$(TargetName).lib /Y
copy $(TargetName).dll ..\dist\lib\win32\$(TargetName).dll /Y
copy $(TargetName).pdb ..\dist\lib\win32\$(TargetName).pdb /Y
</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <AdditionalIncludeDirectories>.\include;..\lib_acl\include;..\lib_protocol\include;..\include\sqlite;..\include\mysql;..\include\pgsql;.\src;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>NDEBUG;_LIB;_MT;ACL_DLL;ACL_CPP_DLL;ACL_CPP_EXPORTS;USE_WIN_ICONV;HAS_MYSQL_DLL;HAS_SQLITE_DLL;HAS_PGSQL_DLL;HAS_ZLIB_DLL;HAS_POLARSSL_DLL;HAS_MBEDTLS_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <PrecompiledHeaderFile>acl_stdafx.hpp</PrecompiledHeaderFile>
      <PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <TreatWarningAsError>true</TreatWarningAsError>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Link>
      <AdditionalDependencies>lib_protocol.lib;lib_acl.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <OutputFile>$(OutDir)$(ProjectName).dll</OutputFile>
      <AdditionalLibraryDirectories>..\lib\win64;..\dist\lib\win64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
      <IgnoreSpecificDefaultLibraries>libcmt;libc</IgnoreSpecificDefaultLibraries>
    </Link>
    <PostBuildEvent>
      <Command>copy $(TargetName).lib ..\dist\lib\win64\$(TargetName).lib /Y
copy $(TargetName).dll ..\dist\lib\win64\$(TargetName).dll /Y
copy $(TargetName).pdb ..\dist\lib\win64\$(TargetName).pdb /Y
</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="src\acl_cpp_init.cpp" />
    <ClCompile Include="src\acl_cpp_test.cpp" />
    <ClCompile Include="src\acl_stdafx.cpp">
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugDll|Win32'">Create</PrecompiledHeader>
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">Create</PrecompiledHeader>
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Releasedll|Win32'">Create</PrecompiledHeader>
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Releasedll|x64'">Create</PrecompiledHeader>
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
    </ClCompile>
    <ClCompile Include="src\beanstalk\beanstalk.cpp" />
    <ClCompile Include="src\beanstalk\beanstalk_pool.cpp" />
    <ClCompile Include="src\connpool\check_client.cpp" />
    <ClCompile Include="src\connpool\check_rpc.cpp" />
    <ClCompile Include="src\connpool\check_timer.cpp" />
    <ClCompile Include="src\connpool\connect_manager.cpp" />
    <ClCompile Include="src\connpool\connect_monitor.cpp" />
    <ClCompile Include="src\connpool\connect_pool.cpp" />
    <ClCompile Include="src\connpool\tcp_reader.cpp" />
    <ClCompile Include="src\connpool\tcp_sender.cpp" />
    <ClCompile Include="src\connpool\tcp_client.cpp" />
    <ClCompile Include="src\connpool\tcp_pool.cpp" />
    <ClCompile Include="src\connpool\tcp_manager.cpp" />
    <ClCompile Include="src\connpool\tcp_ipc.cpp" />
    <ClCompile Include="src\db\db_handle.cpp" />
    <ClCompile Include="src\db\db_mysql.cpp" />
    <ClCompile Include="src\db\db_pgsql.cpp" />
    <ClCompile Include="src\db\db_pool.cpp" />
    <ClCompile Include="src\db\mysql_conf.cpp" />
    <ClCompile Include="src\db\mysql_manager.cpp" />
    <ClCompile Include="src\db\pgsql_conf.cpp" />
    <ClCompile Include="src\db\pgsql_manager.cpp" />
    <ClCompile Include="src\db\query.cpp" />
    <ClCompile Include="src\db\db_service.cpp" />
    <ClCompile Include="src\db\db_service_mysql.cpp" />
    <ClCompile Include="src\db\db_service_sqlite.cpp" />
    <ClCompile Include="src\db\db_sqlite.cpp" />
    <ClCompile Include="src\db\mysql_pool.cpp" />
    <ClCompile Include="src\db\pgsql_pool.cpp" />
    <ClCompile Include="src\db\sqlite_cursor.cpp" />
    <ClCompile Include="src\db\sqlite_manager.cpp" />
    <ClCompile Include="src\db\sqlite_pool.cpp" />
    <ClCompile Include="src\disque\disque.cpp" />
    <ClCompile Include="src\disque\disque_cond.cpp" />
    <ClCompile Include="src\disque\disque_job.cpp" />
    <ClCompile Include="src\event\event_mutex.cpp" />
    <ClCompile Include="src\event\event_timer.cpp" />
    <ClCompile Include="src\hsocket\hsclient.cpp" />
    <ClCompile Include="src\hsocket\hserror.cpp" />
    <ClCompile Include="src\hsocket\hspool.cpp" />
    <ClCompile Include="src\hsocket\hsproto.cpp" />
    <ClCompile Include="src\hsocket\hsrow.cpp" />
    <ClCompile Include="src\hsocket\hstable.cpp" />
    <ClCompile Include="src\http\HttpCookie.cpp" />
    <ClCompile Include="src\http\HttpServlet.cpp" />
    <ClCompile Include="src\http\HttpServletRequest.cpp" />
    <ClCompile Include="src\http\HttpServletResponse.cpp" />
    <ClCompile Include="src\http\HttpSession.cpp" />
    <ClCompile Include="src\http\http_aclient.cpp" />
    <ClCompile Include="src\http\http_client.cpp" />
    <ClCompile Include="src\http\http_ctype.cpp" />
    <ClCompile Include="src\http\http_download.cpp" />
    <ClCompile Include="src\http\http_header.cpp" />
    <ClCompile Include="src\http\http_mime.cpp" />
    <ClCompile Include="src\http\http_pipe.cpp" />
    <ClCompile Include="src\http\http_request.cpp" />
    <ClCompile Include="src\http\http_request_manager.cpp" />
    <ClCompile Include="src\http\http_request_pool.cpp" />
    <ClCompile Include="src\http\http_response.cpp" />
    <ClCompile Include="src\http\http_service.cpp" />
    <ClCompile Include="src\http\http_utils.cpp" />
    <ClCompile Include="src\http\websocket.cpp" />
    <ClCompile Include="src\http\WebSocketServlet.cpp" />
    <ClCompile Include="src\ipc\ipc_client.cpp" />
    <ClCompile Include="src\ipc\ipc_server.cpp" />
    <ClCompile Include="src\ipc\ipc_service.cpp" />
    <ClCompile Include="src\ipc\rpc.cpp" />
    <ClCompile Include="src\master\master_aio.cpp" />
    <ClCompile Include="src\master\master_base.cpp" />
    <ClCompile Include="src\master\master_conf.cpp" />
    <ClCompile Include="src\master\master_proc.cpp" />
    <ClCompile Include="src\master\master_threads.cpp" />
    <ClCompile Include="src\master\master_trigger.cpp" />
    <ClCompile Include="src\master\master_udp.cpp" />
    <ClCompile Include="src\memcache\memcache.cpp" />
    <ClCompile Include="src\memcache\memcache_manager.cpp" />
    <ClCompile Include="src\memcache\memcache_pool.cpp" />
    <ClCompile Include="src\mime\internal\header_opts.cpp" />
    <ClCompile Include="src\mime\internal\header_token.cpp" />
    <ClCompile Include="src\mime\internal\is_header.cpp" />
    <ClCompile Include="src\mime\internal\mime_state.cpp" />
    <ClCompile Include="src\mime\internal\mime_state_parse.cpp" />
    <ClCompile Include="src\mime\internal\quote_821_local.cpp" />
    <ClCompile Include="src\mime\internal\quote_822_local.cpp" />
    <ClCompile Include="src\mime\internal\rec_type.cpp" />
    <ClCompile Include="src\mime\internal\tok822_find.cpp" />
    <ClCompile Include="src\mime\internal\tok822_node.cpp" />
    <ClCompile Include="src\mime\internal\tok822_parse.cpp" />
    <ClCompile Include="src\mime\internal\tok822_tree.cpp" />
    <ClCompile Include="src\mime\internal\trimblanks.cpp" />
    <ClCompile Include="src\mime\mime.cpp" />
    <ClCompile Include="src\mime\mime_attach.cpp" />
    <ClCompile Include="src\mime\mime_base64.cpp" />
    <ClCompile Include="src\mime\mime_body.cpp" />
    <ClCompile Include="src\mime\mime_code.cpp" />
    <ClCompile Include="src\mime\mime_head.cpp" />
    <ClCompile Include="src\mime\mime_image.cpp" />
    <ClCompile Include="src\mime\mime_node.cpp" />
    <ClCompile Include="src\mime\mime_quoted_printable.cpp" />
    <ClCompile Include="src\mime\mime_uucode.cpp" />
    <ClCompile Include="src\mime\mime_xxcode.cpp" />
    <ClCompile Include="src\mime\rfc2047.cpp" />
    <ClCompile Include="src\mime\rfc822.cpp" />
    <ClCompile Include="src\queue\queue_file.cpp" />
    <ClCompile Include="src\queue\queue_manager.cpp" />
    <ClCompile Include="src\redis\redis.cpp" />
    <ClCompile Include="src\redis\redis_client.cpp" />
    <ClCompile Include="src\redis\redis_client_cluster.cpp" />
    <ClCompile Include="src\redis\redis_client_pipeline.cpp" />
    <ClCompile Include="src\redis\redis_client_pool.cpp" />
    <ClCompile Include="src\redis\redis_cluster.cpp" />
    <ClCompile Include="src\redis\redis_command.cpp" />
    <ClCompile Include="src\redis\redis_connection.cpp" />
    <ClCompile Include="src\redis\redis_geo.cpp" />
    <ClCompile Include="src\redis\redis_hash.cpp" />
    <ClCompile Include="src\redis\redis_hyperloglog.cpp" />
    <ClCompile Include="src\redis\redis_key.cpp" />
    <ClCompile Include="src\redis\redis_list.cpp" />
    <ClCompile Include="src\redis\redis_master.cpp" />
    <ClCompile Include="src\redis\redis_node.cpp" />
    <ClCompile Include="src\redis\redis_pubsub.cpp" />
    <ClCompile Include="src\redis\redis_request.cpp" />
    <ClCompile Include="src\redis\redis_result.cpp" />
    <ClCompile Include="src\redis\redis_role.cpp" />
    <ClCompile Include="src\redis\redis_script.cpp" />
    <ClCompile Include="src\redis\redis_sentinel.cpp" />
    <ClCompile Include="src\redis\redis_server.cpp" />
    <ClCompile Include="src\redis\redis_set.cpp" />
    <ClCompile Include="src\redis\redis_slave.cpp" />
    <ClCompile Include="src\redis\redis_slot.cpp" />
    <ClCompile Include="src\redis\redis_string.cpp" />
    <ClCompile Include="src\redis\redis_stream.cpp" />
    <ClCompile Include="src\redis\redis_transaction.cpp" />
    <ClCompile Include="src\redis\redis_zset.cpp" />
    <ClCompile Include="src\serialize\gsoner.cpp" />
    <ClCompile Include="src\session\memcache_session.cpp" />
    <ClCompile Include="src\session\redis_session.cpp" />
    <ClCompile Include="src\session\session.cpp" />
    <ClCompile Include="src\smtp\mail_attach.cpp" />
    <ClCompile Include="src\smtp\mail_body.cpp" />
    <ClCompile Include="src\smtp\mail_message.cpp" />
    <ClCompile Include="src\smtp\smtp_client.cpp" />
    <ClCompile Include="src\stdlib\atomic.cpp" />
    <ClCompile Include="src\stdlib\bitmap.cpp" />
    <ClCompile Include="src\stdlib\charset_conv.cpp" />
    <ClCompile Include="src\stdlib\dbuf_pool.cpp" />
    <ClCompile Include="src\stdlib\dns_service.cpp" />
    <ClCompile Include="src\stdlib\diff_manager.cpp" />
    <ClCompile Include="src\stdlib\diff_object.cpp" />
    <ClCompile Include="src\stdlib\diff_string.cpp" />
    <ClCompile Include="src\stdlib\escape.cpp" />
    <ClCompile Include="src\stdlib\internal\win_iconv.cpp" />
    <ClCompile Include="src\stdlib\json.cpp" />
    <ClCompile Include="src\stdlib\locker.cpp" />
    <ClCompile Include="src\stdlib\log.cpp" />
    <ClCompile Include="src\stdlib\malloc.cpp" />
    <ClCompile Include="src\stdlib\mbox.cpp" />
    <ClCompile Include="src\stdlib\md5.cpp" />
    <ClCompile Include="src\stdlib\pipe_stream.cpp" />
    <ClCompile Include="src\stdlib\scan_dir.cpp" />
    <ClCompile Include="src\stdlib\sha1.cpp" />
    <ClCompile Include="src\stdlib\snprintf.cpp" />
    <ClCompile Include="src\stdlib\string.cpp" />
    <ClCompile Include="src\stdlib\thread.cpp" />
    <ClCompile Include="src\stdlib\thread_cond.cpp" />
    <ClCompile Include="src\stdlib\thread_mutex.cpp" />
    <ClCompile Include="src\stdlib\thread_pool.cpp" />
    <ClCompile Include="src\stdlib\thread_queue.cpp" />
    <ClCompile Include="src\stdlib\token_tree.cpp" />
    <ClCompile Include="src\stdlib\url_coder.cpp" />
    <ClCompile Include="src\stdlib\util.cpp" />
    <ClCompile Include="src\stdlib\xml.cpp" />
    <ClCompile Include="src\stdlib\xml1.cpp" />
    <ClCompile Include="src\stdlib\xml2.cpp" />
    <ClCompile Include="src\stdlib\zlib_stream.cpp" />
    <ClCompile Include="src\stream\aio_delay_free.cpp" />
    <ClCompile Include="src\stream\aio_fstream.cpp" />
    <ClCompile Include="src\stream\aio_handle.cpp" />
    <ClCompile Include="src\stream\aio_istream.cpp" />
    <ClCompile Include="src\stream\aio_listen_stream.cpp" />
    <ClCompile Include="src\stream\aio_ostream.cpp" />
    <ClCompile Include="src\stream\aio_socket_stream.cpp" />
    <ClCompile Include="src\stream\aio_stream.cpp" />
    <ClCompile Include="src\stream\aio_timer_callback.cpp" />
    <ClCompile Include="src\stream\aio_timer_delay_free.cpp" />
    <ClCompile Include="src\stream\fstream.cpp" />
    <ClCompile Include="src\stream\ifstream.cpp" />
    <ClCompile Include="src\stream\istream.cpp" />
    <ClCompile Include="src\stream\ofstream.cpp" />
    <ClCompile Include="src\stream\ostream.cpp" />
    <ClCompile Include="src\stream\mbedtls_conf.cpp" />
    <ClCompile Include="src\stream\mbedtls_io.cpp" />
    <ClCompile Include="src\stream\polarssl_conf.cpp" />
    <ClCompile Include="src\stream\polarssl_io.cpp" />
    <ClCompile Include="src\stream\server_socket.cpp" />
    <ClCompile Include="src\stream\socket_stream.cpp" />
    <ClCompile Include="src\stream\sslbase_io.cpp" />
    <ClCompile Include="src\stream\stdin_stream.cpp" />
    <ClCompile Include="src\stream\stdout_stream.cpp" />
    <ClCompile Include="src\stream\stream.cpp" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="include\acl_cpp\acl_cpp_define.hpp" />
    <ClInclude Include="include\acl_cpp\acl_cpp_init.hpp" />
    <ClInclude Include="include\acl_cpp\acl_cpp_test.hpp" />
    <ClInclude Include="include\acl_cpp\beanstalk\beanstalk.hpp" />
    <ClInclude Include="include\acl_cpp\beanstalk\beanstalk_pool.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\check_client.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\connect_client.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\connect_manager.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\connect_monitor.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\connect_pool.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\tcp_reader.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\tcp_sender.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\tcp_client.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\tcp_pool.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\tcp_manager.hpp" />
    <ClInclude Include="include\acl_cpp\connpool\tcp_ipc.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_cursor.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_handle.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_mysql.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_pgsql.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_pool.hpp" />
    <ClInclude Include="include\acl_cpp\db\mysql_conf.hpp" />
    <ClInclude Include="include\acl_cpp\db\mysql_manager.hpp" />
    <ClInclude Include="include\acl_cpp\db\pgsql_conf.hpp" />
    <ClInclude Include="include\acl_cpp\db\pgsql_manager.hpp" />
    <ClInclude Include="include\acl_cpp\db\query.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_service.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_service_mysql.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_service_sqlite.hpp" />
    <ClInclude Include="include\acl_cpp\db\db_sqlite.hpp" />
    <ClInclude Include="include\acl_cpp\db\mysql_pool.hpp" />
    <ClInclude Include="include\acl_cpp\db\pgsql_pool.hpp" />
    <ClInclude Include="include\acl_cpp\db\sqlite_cursor.hpp" />
    <ClInclude Include="include\acl_cpp\db\sqlite_manager.hpp" />
    <ClInclude Include="include\acl_cpp\db\sqlite_pool.hpp" />
    <ClInclude Include="include\acl_cpp\disque\disque.hpp" />
    <ClInclude Include="include\acl_cpp\disque\disque_cond.hpp" />
    <ClInclude Include="include\acl_cpp\disque\disque_job.hpp" />
    <ClInclude Include="include\acl_cpp\disque\disque_node.hpp" />
    <ClInclude Include="include\acl_cpp\event\event_mutex.hpp" />
    <ClInclude Include="include\acl_cpp\event\event_timer.hpp" />
    <ClInclude Include="include\acl_cpp\hsocket\hsclient.hpp" />
    <ClInclude Include="include\acl_cpp\hsocket\hserror.hpp" />
    <ClInclude Include="include\acl_cpp\hsocket\hspool.hpp" />
    <ClInclude Include="include\acl_cpp\hsocket\hsproto.hpp" />
    <ClInclude Include="include\acl_cpp\hsocket\hsrow.hpp" />
    <ClInclude Include="include\acl_cpp\hsocket\hstable.hpp" />
    <ClInclude Include="include\acl_cpp\http\HttpCookie.hpp" />
    <ClInclude Include="include\acl_cpp\http\HttpServlet.hpp" />
    <ClInclude Include="include\acl_cpp\http\HttpServletRequest.hpp" />
    <ClInclude Include="include\acl_cpp\http\HttpServletResponse.hpp" />
    <ClInclude Include="include\acl_cpp\http\HttpSession.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_aclient.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_client.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_ctype.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_download.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_header.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_mime.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_pipe.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_request.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_request_manager.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_request_pool.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_response.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_service.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_type.hpp" />
    <ClInclude Include="include\acl_cpp\http\http_utils.hpp" />
    <ClInclude Include="include\acl_cpp\http\websocket.hpp" />
    <ClInclude Include="include\acl_cpp\http\WebSocketServlet.hpp" />
    <ClInclude Include="include\acl_cpp\ipc\ipc_client.hpp" />
    <ClInclude Include="include\acl_cpp\ipc\ipc_server.hpp" />
    <ClInclude Include="include\acl_cpp\ipc\ipc_service.hpp" />
    <ClInclude Include="include\acl_cpp\ipc\rpc.hpp" />
    <ClInclude Include="include\acl_cpp\lib_acl.hpp" />
    <ClInclude Include="include\acl_cpp\master\master_aio.hpp" />
    <ClInclude Include="include\acl_cpp\master\master_base.hpp" />
    <ClInclude Include="include\acl_cpp\master\master_conf.hpp" />
    <ClInclude Include="include\acl_cpp\master\master_proc.hpp" />
    <ClInclude Include="include\acl_cpp\master\master_threads.hpp" />
    <ClInclude Include="include\acl_cpp\master\master_trigger.hpp" />
    <ClInclude Include="include\acl_cpp\master\master_udp.hpp" />
    <ClInclude Include="include\acl_cpp\memcache\memcache.hpp" />
    <ClInclude Include="include\acl_cpp\memcache\memcache_manager.hpp" />
    <ClInclude Include="include\acl_cpp\memcache\memcache_pool.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_attach.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_base64.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_body.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_code.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_define.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_head.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_image.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_node.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_quoted_printable.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_uucode.hpp" />
    <ClInclude Include="include\acl_cpp\mime\mime_xxcode.hpp" />
    <ClInclude Include="include\acl_cpp\mime\rfc2047.hpp" />
    <ClInclude Include="include\acl_cpp\mime\rfc822.hpp" />
    <ClInclude Include="include\acl_cpp\queue\queue_file.hpp" />
    <ClInclude Include="include\acl_cpp\queue\queue_manager.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_client.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_client_cluster.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_client_pipeline.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_client_pool.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_cluster.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_command.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_connection.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_geo.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_hash.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_hyperloglog.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_key.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_list.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_master.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_node.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_pubsub.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_result.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_role.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_script.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_sentinel.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_server.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_set.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_slave.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_slot.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_string.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_stream.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_transaction.hpp" />
    <ClInclude Include="include\acl_cpp\redis\redis_zset.hpp" />
    <ClInclude Include="include\acl_cpp\serialize\gsoner.hpp" />
    <ClInclude Include="include\acl_cpp\session\memcache_session.hpp" />
    <ClInclude Include="include\acl_cpp\session\redis_session.hpp" />
    <ClInclude Include="include\acl_cpp\session\session.hpp" />
    <ClInclude Include="include\acl_cpp\smtp\mail_attach.hpp" />
    <ClInclude Include="include\acl_cpp\smtp\mail_body.hpp" />
    <ClInclude Include="include\acl_cpp\smtp\mail_message.hpp" />
    <ClInclude Include="include\acl_cpp\smtp\smtp_client.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\atomic.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\bitmap.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\charset_conv.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\dbuf_pool.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\dns_service.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\diff_manager.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\diff_object.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\diff_string.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\escape.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\final_tpl.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\json.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\locker.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\log.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\malloc.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\mbox.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\md5.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\noncopyable.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\pipe_stream.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\scan_dir.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\singleton.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\sha1.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\snprintf.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\string.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\tbox.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\thread.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\thread_cond.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\thread_mutex.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\thread_pool.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\thread_queue.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\token_tree.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\trigger.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\url_coder.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\util.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\vld.h" />
    <ClInclude Include="include\acl_cpp\stdlib\xml.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\xml1.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\xml2.hpp" />
    <ClInclude Include="include\acl_cpp\stdlib\zlib_stream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_delay_free.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_fstream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_handle.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_istream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_listen_stream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_ostream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_socket_stream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_stream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\aio_timer_callback.hpp" />
    <ClInclude Include="include\acl_cpp\stream\fstream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\ifstream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\istream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\ofstream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\ostream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\mbedtls_conf.hpp" />
    <ClInclude Include="include\acl_cpp\stream\mbedtls_io.hpp" />
    <ClInclude Include="include\acl_cpp\stream\polarssl_conf.hpp" />
    <ClInclude Include="include\acl_cpp\stream\polarssl_io.hpp" />
    <ClInclude Include="include\acl_cpp\stream\server_socket.hpp" />
    <ClInclude Include="include\acl_cpp\stream\socket_stream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\sslbase_conf.hpp" />
    <ClInclude Include="include\acl_cpp\stream\sslbase_io.hpp" />
    <ClInclude Include="include\acl_cpp\stream\stdin_stream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\stdout_stream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\stream.hpp" />
    <ClInclude Include="include\acl_cpp\stream\stream_hook.hpp" />
    <ClInclude Include="resource_vc2012.h" />
    <ClInclude Include="src\acl_stdafx.hpp" />
    <ClInclude Include="src\connpool\check_rpc.hpp" />
    <ClInclude Include="src\connpool\check_timer.hpp" />
    <ClInclude Include="src\mime\internal\header_opts.hpp" />
    <ClInclude Include="src\mime\internal\header_token.hpp" />
    <ClInclude Include="src\mime\internal\is_header.hpp" />
    <ClInclude Include="src\mime\internal\lex_822.hpp" />
    <ClInclude Include="src\mime\internal\mime_state.hpp" />
    <ClInclude Include="src\mime\internal\quote_821_local.hpp" />
    <ClInclude Include="src\mime\internal\quote_822_local.hpp" />
    <ClInclude Include="src\mime\internal\quote_flags.hpp" />
    <ClInclude Include="src\mime\internal\rec_type.hpp" />
    <ClInclude Include="src\mime\internal\tok822.hpp" />
    <ClInclude Include="src\mime\internal\trimblanks.hpp" />
    <ClInclude Include="src\redis\redis_request.hpp" />
    <ClInclude Include="src\stdlib\internal\win_iconv.hpp" />
    <ClInclude Include="src\stream\aio_timer_delay_free.hpp" />
  </ItemGroup>
  <ItemGroup>
    <None Include="changes.txt" />
    <None Include="ReadMe.txt" />
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="lib_acl_cpp_vc2012.rc" />
  </ItemGroup>
  <ItemGroup>
    <Text Include="todo.txt" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>

{'repo_name': 'acl-dev/acl', 'stars': '1717', 'repo_language': 'C', 'file_name': 'stdafx.h', 'mime_type': 'text/x-c', 'hash': 8640564199503269208, 'source_dataset': 'data'}


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:fitsSystemWindows="true"
    tools:context=".mvp.ui.activity.FeedBackActivity">

    <include
        layout="@layout/common_toolbar"/>

    <FrameLayout
        android:id="@+id/container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

</LinearLayout>

{'repo_name': 'yezhidong/Memo', 'stars': '306', 'repo_language': 'Java', 'file_name': 'ExampleUnitTest.java', 'mime_type': 'text/x-java', 'hash': 8040105152252503323, 'source_dataset': 'data'}


{'repo_name': 'OpenGenus/cosmos', 'stars': '12171', 'repo_language': 'C++', 'file_name': 'namanager_settings.json', 'mime_type': 'text/plain', 'hash': -1014259316984782732, 'source_dataset': 'data'}


<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright © Magento, Inc. All rights reserved.
  * See COPYING.txt for license details.
  */
-->

<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
    <test name="AdminGridSearchSelectAllTest">
        <annotations>
            <stories value="Selection should be removed during search."/>
            <title value="Selection should be removed during search."/>
            <description value="Empty selected before and after search, like it works for filter"/>
            <testCaseId value="MC-37659"/>
            <severity value="CRITICAL"/>
            <group value="uI"/>
        </annotations>
        <before>
            <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
            <!--Create three customers-->
            <createData entity="Simple_US_Customer" stepKey="firstCustomer"/>
            <createData entity="Simple_US_Customer" stepKey="secondCustomer"/>
            <createData entity="Simple_US_Customer" stepKey="thirdCustomer"/>
        </before>
        <after>
            <!--Remove two created customers, third already deleted-->
            <deleteData createDataKey="firstCustomer" stepKey="deleteFirstCustomer"/>
            <deleteData createDataKey="secondCustomer" stepKey="deleteSecondCustomer"/>
            <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
        </after>
        <amOnPage url="{{AdminCustomerPage.url}}" stepKey="openCustomerPage"/>
        <!-- search Admin Data Grid By Keyword -->
        <conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/>
        <fillField selector="{{AdminDataGridHeaderSection.search}}" userInput="$$secondCustomer.email$$" stepKey="fillKeywordSearchFieldWithSecondCustomerEmail"/>
        <click selector="{{AdminDataGridHeaderSection.submitSearch}}" stepKey="clickKeywordSearch"/>
        <waitForPageLoad stepKey="waitForPageLoad"/>
        <!-- Select all from dropdown -->
        <actionGroup ref="AdminGridSelectAllActionGroup" stepKey="selectAllCustomers"/>
        <!-- Clear searching By Keyword-->
        <conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clickClearFiltersAfterSearch"/>
        <waitForPageLoad stepKey="waitForPageLoadAfterSearchRemoved"/>
        <!-- Check if selection has bee removed -->
        <dontSeeCheckboxIsChecked selector="{{AdminCustomerGridMainActionsSection.customerCheckbox($$secondCustomer.email$$)}}" stepKey="checkSecondCustomerCheckboxIsUnchecked"/>
        <!-- Check delete action -->
        <click selector="{{AdminCustomerGridMainActionsSection.customerCheckbox(($$thirdCustomer.email$$)}}" stepKey="selectThirdCustomer"/>
        <seeCheckboxIsChecked selector="{{AdminCustomerGridMainActionsSection.customerCheckbox($$thirdCustomer.email$$)}}" stepKey="checkThirdCustomerIsChecked"/>
        <!-- Use delete action for selected -->
        <click selector="{{AdminCustomerGridMainActionsSection.actions}}" stepKey="clickActions"/>
        <click selector="{{AdminCustomerGridMainActionsSection.delete}}" stepKey="clickDelete"/>
        <waitForAjaxLoad stepKey="waitForLoadConfirmation"/>
        <click selector="{{AdminConfirmationModalSection.ok}}" stepKey="confirmDelete"/>
        <!-- Check if only one record record has been deleted -->
        <see selector="{{AdminMessagesSection.success}}" userInput="A total of 1 record(s) were deleted" stepKey="seeSuccess"/>
    </test>
</tests>

{'repo_name': 'magento/magento2', 'stars': '8767', 'repo_language': 'PHP', 'file_name': 'report.phtml', 'mime_type': 'text/x-php', 'hash': -6182608643152047276, 'source_dataset': 'data'}


process.env.cloudflare = 'true'
if (process) {
    // process.env.wranglerDev = 'true' // remove this for production
}
var Proxy = require('./Proxy')
let { blockedSites, urlModify, httpprefix, serverName, port, locationReplaceMap302, regReplaceMap, siteSpecificReplace, pathReplace } = require('./config')
let { middle2req, req2middleware, middle2res, res2middleware } = require('./cf_convert2middleware')

var delay = (ms) => new Promise(resolve => setTimeout(resolve, ms))

let cookieDomainRewrite = serverName

var handleRequest = (request) => { // resolve a cf_res eventually.
    return new Promise(async (resolve, reject) => {
        let timestr = new Date().toISOString()
        let middle_req = req2middleware(request)
        /*
        let cf_proxyReq = new Request('https://www.google.com')
        console.log(`fetching: cf_proxyReq:${JSON.stringify(cf_proxyReq)}`)
        fetch(cf_proxyReq).then(cf_proxyRes => {
            let cf_res = new Response(cf_proxyRes.body, {headers: cf_proxyRes.headers})
            resolve(cf_res)
        })
        */
        try {
            middle_req.url = middle_req.url.replace('https://tutorial.cloudflareworkers.com', '')
            let myRe = new RegExp(`http[s]?://${serverName}[0-9:]*`, 'g') // match group
            middle_req.url = middle_req.url.replace(myRe, '')
            myRe = new RegExp(`/http[s]?/${serverName}[0-9:]*?`, 'g') // match group
            middle_req.url = middle_req.url.replace(myRe, '')
            console.log(`timestr:${timestr}, serverName:${serverName}, middle_req:${JSON.stringify(middle_req)}`)
            if (middle_req.url === '' || middle_req.url === '/') {
                middle_req.url = '/https/www.netptop.com'
            }
            console.log(`${timestr}: after modification, middle_req.url:${middle_req.url}`)
            let {readable, writable} = new TransformStream()
            let writer = writable.getWriter()
            let middle_res = res2middleware({cf_res: new Response(readable)})
            middle_res.write = (data) => {
                console.log(`====> middle_res.send() being called.`)
                if (!middle_res.replied) {
                    console.log(`sending response ...`)
                    middle_res.replied = true
                    let cf_res = middle2res({middle_res, readable})
                    console.log(`sent cf_res:${JSON.stringify(cf_res)}`)
                    resolve(cf_res)
                }
                if (data) {
                    console.log('before getWriter')
                    console.log('after getWriter')
                    writer.write(data) // cloudflare doesn't support writer.ready flag
                    console.log('after write data')
                }
            }
            middle_res.end = middle_res.send = (data) => { // Uint8Array
                middle_res.write(data)
                console.log('writable closed.')
                writer.close()
            }

            // res.status(200).send(`test2`)
            let global_onProxyReq
            let global_onProxyRes
            let global_router
            var ProxyMiddleware = ({target, router, protocolRewrite, cookieDomainRewrite,
                onError, onProxyRes, onProxyReq, secure=false,
                changeOrigin=true, debug=true, selfHandleResponse=true}) => {
                global_onProxyReq = onProxyReq
                global_onProxyRes = onProxyRes
                global_router = router
            }
            Proxy({ProxyMiddleware, blockedSites, urlModify, httpprefix, serverName, port, cookieDomainRewrite, locationReplaceMap302, regReplaceMap, siteSpecificReplace, pathReplace})
            console.log(`proxy called`)
            const target = global_router(middle_req) // get target: `${httpType}://${host}`
            console.log(`target:${target}`)
            let middle_proxyReq = req2middleware(new Request(target, {
                redirect: middle_req.redirect,
                method: middle_req.method,
                body: middle_req.body,
            }))
            console.log(`calling onProxyReq...`)
            global_onProxyReq(middle_proxyReq, middle_req, middle_res)
            console.log(`====> after onProxyReq, middle_proxyReq:${JSON.stringify(middle_proxyReq)}`)

            const cf_proxyReq = middle2req(target, middle_proxyReq)
            console.log(`fetching: cf_proxyReq:${JSON.stringify(cf_proxyReq)}`)
            let cf_proxyRes = await fetch(cf_proxyReq).catch(err => {
                console.log(`fetching error: ${JSON.stringify(err)}`)
            })
            /*
            cf_res = new Response(cf_proxyRes.body, {url: cf_proxyRes.url, headers:cf_proxyRes.headers})
            resolve(cf_res)
            console.log(`cf_proxyRes 4`)
            */

            let middle_proxyRes = res2middleware({cf_res:cf_proxyRes}) // no writable
            console.log(`calling onProxyRes...`)
            global_onProxyRes(middle_proxyRes, middle_req, middle_res)
            console.log(`after onProxyRes, cf_proxyRes.body:${JSON.stringify(cf_proxyRes.body)}`)
            middle_res.write(null) // send response first, then stream the body
            if (cf_proxyRes.body === null) { // no response body, no further stream for the body
                return
            }
            let reader = cf_proxyRes.body.getReader()
            while(true) {
                let {done, value} =  await reader.read() // data: Uint8Array
                // console.log(`done:${done}, valu.length:${value?value.length:0}`)
                if (value) {
                    middle_proxyRes.emit('data', value)
                    // middle_res.write(value)
                }
                if (done) {
                    // writer.close()
                    middle_proxyRes.emit('end')
                    break
                }
            }
        // onError: (err, req, res)
        } catch(e) {
            console.log(`error happened:${e}`)
        }
    })
}

addEventListener('fetch', (event) => {
    event.respondWith(handleRequest(event.request))
})

{'repo_name': 'netptop/siteproxy', 'stars': '150', 'repo_language': 'JavaScript', 'file_name': 'main.js', 'mime_type': 'text/plain', 'hash': -6301272300772451679, 'source_dataset': 'data'}