Browse Source

Intermediate changes

robot-piglet 1 year ago
parent
commit
3715aa9254

+ 0 - 8
build/long-path.manifest

@@ -1,8 +0,0 @@
-<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
-    <asmv3:application>
-        <asmv3:windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
-            <ws2:longPathAware>true</ws2:longPathAware>
-        </asmv3:windowsSettings>
-    </asmv3:application>
-</assembly>

+ 0 - 188
build/mapping.conf.json

@@ -1,188 +0,0 @@
-{
-    "bottles": {},
-    "resources": {
-        "2214720943": "https://devtools-registry.s3.yandex.net/2214720943",
-        "2214542408": "https://devtools-registry.s3.yandex.net/2214542408",
-        "1886578148": "https://devtools-registry.s3.yandex.net/1886578148",
-        "4748237118": "https://devtools-registry.s3.yandex.net/4748237118",
-        "4748241015": "https://devtools-registry.s3.yandex.net/4748241015",
-        "4748280193": "https://devtools-registry.s3.yandex.net/4748280193",
-        "4748318935": "https://devtools-registry.s3.yandex.net/4748318935",
-        "4748341848": "https://devtools-registry.s3.yandex.net/4748341848",
-        "4597325249": "https://devtools-registry.s3.yandex.net/4597325249",
-        "4597414760": "https://devtools-registry.s3.yandex.net/4597414760",
-        "4598408410": "https://devtools-registry.s3.yandex.net/4598408410",
-        "4597592901": "https://devtools-registry.s3.yandex.net/4597592901",
-        "4597657641": "https://devtools-registry.s3.yandex.net/4597657641",
-        "2319130389": "https://devtools-registry.s3.yandex.net/2319130389",
-        "4561497708": "https://devtools-registry.s3.yandex.net/4561497708",
-        "3676726364": "https://devtools-registry.s3.yandex.net/3676726364",
-        "4561502654": "https://devtools-registry.s3.yandex.net/4561502654",
-        "3676730876": "https://devtools-registry.s3.yandex.net/3676730876",
-        "4561486916": "https://devtools-registry.s3.yandex.net/4561486916",
-        "3676221325": "https://devtools-registry.s3.yandex.net/3676221325",
-        "3989100748": "https://devtools-registry.s3.yandex.net/3989100748",
-        "3989113687": "https://devtools-registry.s3.yandex.net/3989113687",
-        "4561490451": "https://devtools-registry.s3.yandex.net/4561490451",
-        "5002675116": "https://devtools-registry.s3.yandex.net/5002675116",
-        "3676654632": "https://devtools-registry.s3.yandex.net/3676654632",
-        "5424057306": "https://devtools-registry.s3.yandex.net/5424057306",
-        "5424061624": "https://devtools-registry.s3.yandex.net/5424061624",
-        "5424033677": "https://devtools-registry.s3.yandex.net/5424033677",
-        "5424038053": "https://devtools-registry.s3.yandex.net/5424038053",
-        "5424051723": "https://devtools-registry.s3.yandex.net/5424051723",
-        "5453803895": "https://devtools-registry.s3.yandex.net/5453803895",
-        "5465946272": "https://devtools-registry.s3.yandex.net/5465946272",
-        "5463300202": "https://devtools-registry.s3.yandex.net/5463300202",
-        "5458408674": "https://devtools-registry.s3.yandex.net/5458408674",
-        "1966560555": "https://devtools-registry.s3.yandex.net/1966560555",
-        "309054781": "https://devtools-registry.s3.yandex.net/309054781",
-        "5298918458": "https://devtools-registry.s3.yandex.net/5298918458",
-        "5298901591": "https://devtools-registry.s3.yandex.net/5298901591",
-        "360916612": "https://devtools-registry.s3.yandex.net/360916612",
-        "4312064267": "https://devtools-registry.s3.yandex.net/4312064267",
-        "4312063561": "https://devtools-registry.s3.yandex.net/4312063561",
-        "2062930743": "https://devtools-registry.s3.yandex.net/2062930743",
-        "2842390994": "https://devtools-registry.s3.yandex.net/2842390994",
-        "5310288728": "https://devtools-registry.s3.yandex.net/5310288728",
-        "2989597929": "https://devtools-registry.s3.yandex.net/2989597929",
-        "2989596911": "https://devtools-registry.s3.yandex.net/2989596911",
-        "2989598506": "https://devtools-registry.s3.yandex.net/2989598506",
-        "3864777619": "https://devtools-registry.s3.yandex.net/3864777619",
-        "2989596149": "https://devtools-registry.s3.yandex.net/2989596149",
-        "2989597467": "https://devtools-registry.s3.yandex.net/2989597467",
-        "3877389803": "https://devtools-registry.s3.yandex.net/3877389803",
-        "3877389564": "https://devtools-registry.s3.yandex.net/3877389564",
-        "3877390008": "https://devtools-registry.s3.yandex.net/3877390008",
-        "3877389037": "https://devtools-registry.s3.yandex.net/3877389037",
-        "3877389242": "https://devtools-registry.s3.yandex.net/3877389242",
-        "3877388826": "https://devtools-registry.s3.yandex.net/3877388826",
-        "3961412335": "https://devtools-registry.s3.yandex.net/3961412335",
-        "3961411314": "https://devtools-registry.s3.yandex.net/3961411314",
-        "3961413236": "https://devtools-registry.s3.yandex.net/3961413236",
-        "3961410704": "https://devtools-registry.s3.yandex.net/3961410704",
-        "3961411785": "https://devtools-registry.s3.yandex.net/3961411785",
-        "3961412784": "https://devtools-registry.s3.yandex.net/3961412784",
-        "3968797422": "https://devtools-registry.s3.yandex.net/3968797422",
-        "3968796664": "https://devtools-registry.s3.yandex.net/3968796664",
-        "3968797878": "https://devtools-registry.s3.yandex.net/3968797878",
-        "3968796477": "https://devtools-registry.s3.yandex.net/3968796477",
-        "3968796981": "https://devtools-registry.s3.yandex.net/3968796981",
-        "3968797636": "https://devtools-registry.s3.yandex.net/3968797636",
-        "5471090901": "https://devtools-registry.s3.yandex.net/5471090901",
-        "5471078054": "https://devtools-registry.s3.yandex.net/5471078054",
-        "4307890075": "https://devtools-registry.s3.yandex.net/4307890075",
-        "4307901240": "https://devtools-registry.s3.yandex.net/4307901240",
-        "3833498694": "https://devtools-registry.s3.yandex.net/3833498694",
-        "3167009386": "https://devtools-registry.s3.yandex.net/3167009386",
-        "3050798466": "https://devtools-registry.s3.yandex.net/3050798466",
-        "3064614561": "https://devtools-registry.s3.yandex.net/3064614561",
-        "3166999959": "https://devtools-registry.s3.yandex.net/3166999959",
-        "5054517618": "https://devtools-registry.s3.yandex.net/5054517618",
-        "5054512910": "https://devtools-registry.s3.yandex.net/5054512910",
-        "5054518131": "https://devtools-registry.s3.yandex.net/5054518131",
-        "5054515588": "https://devtools-registry.s3.yandex.net/5054515588",
-        "5473281398": "https://devtools-registry.s3.yandex.net/5473281398",
-        "5473294395": "https://devtools-registry.s3.yandex.net/5473294395",
-        "5473274565": "https://devtools-registry.s3.yandex.net/5473274565",
-        "5443071926": "https://devtools-registry.s3.yandex.net/5443071926",
-        "5443066470": "https://devtools-registry.s3.yandex.net/5443066470",
-        "5443068824": "https://devtools-registry.s3.yandex.net/5443068824",
-        "5443067977": "https://devtools-registry.s3.yandex.net/5443067977",
-        "5443068659": "https://devtools-registry.s3.yandex.net/5443068659",
-        "2980468199": "https://devtools-registry.s3.yandex.net/2980468199"
-    },
-    "resources_descriptions": {
-        "2214720943": "Clang 11.0.0 for darwin-arm64",
-        "2214542408": "Clang 11.0.0 for darwin-x86_64 from task/828474520 with LTO and PGO",
-        "1886578148": "Clang 11.0.0 for linux-x86_64 from task/846665983 with LTO and PGO at r7671799",
-        "4748237118": "Clang 14.0.6 for darwin arm64",
-        "4748241015": "Clang 14.0.6 for darwin x86_64",
-        "4748280193": "Clang 14.0.6 for linux aarch64",
-        "4748318935": "Clang 14.0.6 for linux x86_64",
-        "4748341848": "Clang 14.0.6 for windows-x86_64",
-        "4597325249": "Clang 16.0.0 for darwin-arm64",
-        "4597414760": "Clang 16.0.0 for darwin-x86_64",
-        "4598408410": "Clang 16.0.0 for linux-aarch64",
-        "4597592901": "Clang 16.0.0 for linux-x86_64",
-        "4597657641": "Clang 16.0.0 for windows-x86_64",
-        "2319130389": "GDB 8.3 toolkit for darwin-arm64",
-        "4561497708": "JAVA_JDK_ENVIRONMENT-darwin-17.0.7+7-jdk-darwin-x86_64.yandex.tgz",
-        "3676726364": "JAVA_JDK_ENVIRONMENT-darwin-19.0.1.1-jdk-darwin-x86_64.yandex.tgz",
-        "4561502654": "JAVA_JDK_ENVIRONMENT-darwin-arm64-17.0.7+7-jdk-darwin-aarch64.yandex.tgz",
-        "3676730876": "JAVA_JDK_ENVIRONMENT-darwin-arm64-19.0.1.1-jdk-darwin-aarch64.yandex.tgz",
-        "4561486916": "JAVA_JDK_ENVIRONMENT-linux-17.0.7+7-jdk-linux-x86_64.yandex.tgz",
-        "3676221325": "JAVA_JDK_ENVIRONMENT-linux-19.0.1.1-jdk-linux-x86_64.yandex.tgz",
-        "3989100748": "JAVA_JDK_ENVIRONMENT-linux-aarch64-11.0.17-result.tar.gz",
-        "3989113687": "JAVA_JDK_ENVIRONMENT-linux-aarch64-19.0.1-result.tar.gz",
-        "4561490451": "JAVA_JDK_ENVIRONMENT-linux-arm64-17.0.7+7-jdk-linux-aarch64.yandex.tgz",
-        "5002675116": "JAVA_JDK_ENVIRONMENT-windows-17.0.7+7-jdk-windows-amd64.yandex.tgz",
-        "3676654632": "JAVA_JDK_ENVIRONMENT-windows-19.0.1.1-jdk-windows-i686.yandex.tgz",
-        "5424057306": "OTHER_RESOURCE-none-1.21.3-y_go1.21.3.darwin-amd64.tar.gz",
-        "5424061624": "OTHER_RESOURCE-none-1.21.3-y_go1.21.3.darwin-arm64.tar.gz",
-        "5424033677": "OTHER_RESOURCE-none-1.21.3-y_go1.21.3.linux-amd64.tar.gz",
-        "5424038053": "OTHER_RESOURCE-none-1.21.3-y_go1.21.3.linux-arm64.tar.gz",
-        "5424051723": "OTHER_RESOURCE-none-1.21.3-y_go1.21.3.windows-amd64.tar.gz",
-        "5453803895": "OTHER_RESOURCE-none-none-lld.tgz",
-        "5465946272": "OTHER_RESOURCE-none-none-lld.tgz",
-        "5463300202": "OTHER_RESOURCE-none-none-lld.tgz",
-        "5458408674": "OTHER_RESOURCE-none-none-lld.tgz",
-        "1966560555": "Ubuntu 14 x86-64 native SDK (patched, v3)",
-        "309054781": "Ubuntu 16 x86-64 -> Ubuntu 16 aarch64 cross SDK",
-        "5298918458": "bin-gdb-reloc-ya-linux-aarch64-62901b3b39a8b08c2d39a3bf08a1fc3a6d76eb78",
-        "5298901591": "bin-gdb-reloc-ya-linux-x86_64-62901b3b39a8b08c2d39a3bf08a1fc3a6d76eb78",
-        "360916612": "binutils 2.26 for linux_ubuntu_10.04_lucid",
-        "4312064267": "black_linter for linux",
-        "4312063561": "black_linter for linux-aarch64",
-        "2062930743": "contrib/libs/clang11/pkg-windows-x86_64.json",
-        "2842390994": "devtools jacoco agent 0.8.7 with shaded asm",
-        "5310288728": "devtools jstyle runner 10.12.4",
-        "2989597929": "devtools/huge_python/python for darwin",
-        "2989596911": "devtools/huge_python/python for darwin-arm64",
-        "2989598506": "devtools/huge_python/python for linux",
-        "3864777619": "devtools/huge_python/python for linux-aarch64",
-        "2989596149": "devtools/huge_python/python for linux-ppc64le",
-        "2989597467": "devtools/huge_python/python for win32",
-        "3877389803": "devtools/huge_python3/python3 for darwin",
-        "3877389564": "devtools/huge_python3/python3 for darwin-arm64",
-        "3877390008": "devtools/huge_python3/python3 for linux",
-        "3877389037": "devtools/huge_python3/python3 for linux-aarch64",
-        "3877389242": "devtools/huge_python3/python3 for linux-ppc64le",
-        "3877388826": "devtools/huge_python3/python3 for win32-clang-cl",
-        "3961412335": "devtools/ya/test/programs/flake8/py2/flake8 for darwin",
-        "3961411314": "devtools/ya/test/programs/flake8/py2/flake8 for darwin-arm64",
-        "3961413236": "devtools/ya/test/programs/flake8/py2/flake8 for linux",
-        "3961410704": "devtools/ya/test/programs/flake8/py2/flake8 for linux-aarch64",
-        "3961411785": "devtools/ya/test/programs/flake8/py2/flake8 for linux-ppc64le",
-        "3961412784": "devtools/ya/test/programs/flake8/py2/flake8 for win32",
-        "3968797422": "devtools/ya/test/programs/flake8/py3/flake8 for darwin",
-        "3968796664": "devtools/ya/test/programs/flake8/py3/flake8 for darwin-arm64",
-        "3968797878": "devtools/ya/test/programs/flake8/py3/flake8 for linux",
-        "3968796477": "devtools/ya/test/programs/flake8/py3/flake8 for linux-aarch64",
-        "3968796981": "devtools/ya/test/programs/flake8/py3/flake8 for linux-ppc64le",
-        "3968797636": "devtools/ya/test/programs/flake8/py3/flake8 for win32",
-        "5471090901": "devtools/ya/test/programs/test_tool/bin/test_tool for linux",
-        "5471078054": "devtools/ya/test/programs/test_tool/bin3/test_tool3 for linux",
-        "4307890075": "flake8_linter for linux",
-        "4307901240": "flake8_linter for linux-aarch64",
-        "3833498694": "gdb 11.2 for osx_10.15_catalina",
-        "3167009386": "openjdk 11.0.15 vanilla for darwin",
-        "3050798466": "openjdk 11.0.15 vanilla for darwin-arm64",
-        "3064614561": "openjdk 11.0.15 vanilla for linux",
-        "3166999959": "openjdk 11.0.15 vanilla for windows",
-        "5054517618": "ya-tc for darwin",
-        "5054512910": "ya-tc for darwin-arm64",
-        "5054518131": "ya-tc for linux",
-        "5054515588": "ya-tc for linux-aarch64",
-        "5473281398": "yexport for darwin",
-        "5473294395": "yexport for darwin-arm64",
-        "5473274565": "yexport for linux",
-        "5443071926": "ymake for darwin",
-        "5443066470": "ymake for darwin-arm64",
-        "5443068824": "ymake for linux",
-        "5443067977": "ymake for linux-aarch64",
-        "5443068659": "ymake.exe for win32-clang-cl",
-        "2980468199": "ytexec for linux"
-    },
-    "tasks": {}
-}

+ 0 - 10
build/prebuilt/tools/event2cpp/ya.make.induced_deps

@@ -1,10 +0,0 @@
-INDUCED_DEPS(h+cpp
-    ${ARCADIA_ROOT}/contrib/libs/protobuf/src/google/protobuf/io/printer.h
-    ${ARCADIA_ROOT}/contrib/libs/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h
-    ${ARCADIA_ROOT}/contrib/libs/protobuf/src/google/protobuf/stubs/strutil.h
-    ${ARCADIA_ROOT}/library/cpp/eventlog/event_field_output.h
-    ${ARCADIA_ROOT}/library/cpp/eventlog/event_field_printer.h
-    ${ARCADIA_ROOT}/library/cpp/eventlog/events_extension.h
-    ${ARCADIA_ROOT}/util/generic/cast.h
-    ${ARCADIA_ROOT}/util/stream/output.h
-)

+ 0 - 33
contrib/deprecated/galloc/basictypes.h

@@ -1,33 +0,0 @@
-#pragma once
-
-#include <inttypes.h>
-
-typedef signed char               schar;
-
-typedef int8_t                    int8;
-typedef int16_t                   int16;
-typedef int32_t                   int32;
-typedef int64_t                   int64;
-
-typedef uint8_t                   uint8;
-typedef uint16_t                  uint16;
-typedef uint32_t                  uint32;
-typedef uint64_t                  uint64;
-
-const uint16 kuint16max = (   (uint16) 0xFFFF);
-const uint32 kuint32max = (   (uint32) 0xFFFFFFFF);
-const uint64 kuint64max = ( (((uint64) kuint32max) << 32) | kuint32max );
-
-const  int8  kint8max   = (   (  int8) 0x7F);
-const  int16 kint16max  = (   ( int16) 0x7FFF);
-const  int32 kint32max  = (   ( int32) 0x7FFFFFFF);
-const  int64 kint64max  = ( ((( int64) kint32max) << 32) | kuint32max );
-
-const  int8  kint8min   = (   (  int8) 0x80);
-const  int16 kint16min  = (   ( int16) 0x8000);
-const  int32 kint32min  = (   ( int32) 0x80000000);
-const  int64 kint64min  = ( ((( int64) kint32min) << 32) | 0 );
-
-#define DISALLOW_EVIL_CONSTRUCTORS(TypeName)    \
-  TypeName(const TypeName&);                    \
-  void operator=(const TypeName&)

+ 0 - 111
contrib/deprecated/galloc/commandlineflags.h

@@ -1,111 +0,0 @@
-// Copyright (c) 2005, Google Inc.
-// All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-// ---
-// This file is a compatibility layer that defines Google's version of
-// command line flags that are used for configuration.
-//
-// We put flags into their own namespace.  It is purposefully
-// named in an opaque way that people should have trouble typing
-// directly.  The idea is that DEFINE puts the flag in the weird
-// namespace, and DECLARE imports the flag from there into the
-// current namespace.  The net result is to force people to use
-// DECLARE to get access to a flag, rather than saying
-//   extern bool FLAGS_logtostderr;
-// or some such instead.  We want this so we can put extra
-// functionality (like sanity-checking) in DECLARE if we want,
-// and make sure it is picked up everywhere.
-//
-// We also put the type of the variable in the namespace, so that
-// people can't DECLARE_int32 something that they DEFINE_bool'd
-// elsewhere.
-#ifndef BASE_COMMANDLINEFLAGS_H__
-#define BASE_COMMANDLINEFLAGS_H__
-
-#include <string>
-
-#include "basictypes.h"
-
-#define DECLARE_VARIABLE(type, name)                                          \
-  namespace FLAG__namespace_do_not_use_directly_use_DECLARE_##type##_instead {  \
-  extern type FLAGS_##name;                                                   \
-  }                                                                           \
-  using FLAG__namespace_do_not_use_directly_use_DECLARE_##type##_instead::FLAGS_##name
-
-#define DEFINE_VARIABLE(type, name, value, meaning) \
-  namespace FLAG__namespace_do_not_use_directly_use_DECLARE_##type##_instead {  \
-  type FLAGS_##name(value);                                                   \
-  char FLAGS_no##name;                                                        \
-  }                                                                           \
-  using FLAG__namespace_do_not_use_directly_use_DECLARE_##type##_instead::FLAGS_##name
-
-// bool specialization
-#define DECLARE_bool(name) \
-  DECLARE_VARIABLE(bool, name)
-#define DEFINE_bool(name, value, meaning) \
-  DEFINE_VARIABLE(bool, name, value, meaning)
-
-// int32 specialization
-#define DECLARE_int32(name) \
-  DECLARE_VARIABLE(int32, name)
-#define DEFINE_int32(name, value, meaning) \
-  DEFINE_VARIABLE(int32, name, value, meaning)
-
-// int64 specialization
-#define DECLARE_int64(name) \
-  DECLARE_VARIABLE(int64, name)
-#define DEFINE_int64(name, value, meaning) \
-  DEFINE_VARIABLE(int64, name, value, meaning)
-
-#define DECLARE_uint64(name) \
-  DECLARE_VARIABLE(uint64, name)
-#define DEFINE_uint64(name, value, meaning) \
-  DEFINE_VARIABLE(uint64, name, value, meaning)
-
-// double specialization
-#define DECLARE_double(name) \
-  DECLARE_VARIABLE(double, name)
-#define DEFINE_double(name, value, meaning) \
-  DEFINE_VARIABLE(double, name, value, meaning)
-
-// Special case for string, because we have to specify the namespace
-// std::string, which doesn't play nicely with our FLAG__namespace hackery.
-#define DECLARE_string(name)                                          \
-  namespace FLAG__namespace_do_not_use_directly_use_DECLARE_string_instead {  \
-  extern std::string FLAGS_##name;                                                   \
-  }                                                                           \
-  using FLAG__namespace_do_not_use_directly_use_DECLARE_string_instead::FLAGS_##name
-#define DEFINE_string(name, value, meaning) \
-  namespace FLAG__namespace_do_not_use_directly_use_DECLARE_string_instead {  \
-  std::string FLAGS_##name(value);                                                   \
-  char FLAGS_no##name;                                                        \
-  }                                                                           \
-  using FLAG__namespace_do_not_use_directly_use_DECLARE_string_instead::FLAGS_##name
-
-#endif  // BASE_COMMANDLINEFLAGS_H__

+ 0 - 55
contrib/deprecated/galloc/galloc.cpp

@@ -1,55 +0,0 @@
-#include <util/system/defaults.h>
-
-#ifndef USE_GOOGLE_ALLOCATOR
-    #define USE_GOOGLE_ALLOCATOR 1
-#endif
-
-#if defined(_MSC_VER) && !defined(__MWERKS__) && !defined (__ICL) && !defined (__COMO__)
-    #define USE_VISUALCC
-#elif defined(__INTEL_COMPILER)
-    #define USE_INTELCC
-#elif defined(__GNUC__)
-    #define USE_GNUCC
-#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
-    #define USE_SUNCC
-#else
-    //#error your compiler does not supported
-#endif
-
-#if defined(USE_INTELCC)
-    #pragma warning(disable 177)
-    #pragma warning(disable 869)
-    #pragma warning(disable 810)
-    #pragma warning(disable 967)
-    #pragma warning(disable 1599)
-    #pragma warning(disable 1469)
-#endif
-
-#if defined(_linux_) || defined(_freebsd_)
-    #define GOOGLE_ALLOCATOR_IS_USABLE
-#endif
-
-#if defined(GOOGLE_ALLOCATOR_IS_USABLE) && USE_GOOGLE_ALLOCATOR
-    #undef NDEBUG
-    #define NDEBUG
-
-    #define HAVE_INTTYPES_H 1
-    #define HAVE_MMAP 1
-    #define HAVE_MUNMAP 1
-    #define HAVE_PTHREAD 1
-    #define HAVE_SBRK 1
-    #define HAVE_UNWIND_H 1
-
-    #if defined(USE_INTELCC) || defined(USE_GNUCC)
-        #undef HAVE___ATTRIBUTE__
-        #define HAVE___ATTRIBUTE__
-    #endif
-
-    #define PRIuS PRISZT
-    #define LLU   PRIu64
-
-    #include "malloc_extension.cc"
-    #include "internal_logging.cc"
-    #include "system-alloc.cc"
-    #include "tcmalloc.cc"
-#endif

+ 0 - 20
contrib/deprecated/galloc/hack.cpp

@@ -1,20 +0,0 @@
-#include "hack.h"
-
-#include <library/cpp/deprecated/atomic/atomic.h>
-#include <util/system/spin_wait.h>
-
-#include "spinlock.h"
-
-void SPIN_L(spinlock_t* l) {
-    if (!AtomicTryLock(l)) {
-        TSpinWait sw;
-
-        while (!AtomicTryAndTryLock(l)) {
-            sw.Sleep();
-        }
-    }
-}
-
-void SPIN_U(spinlock_t* l) {
-    AtomicUnlock(l);
-}

+ 0 - 21
contrib/deprecated/galloc/hack.h

@@ -1,21 +0,0 @@
-#pragma once
-
-#include <sys/types.h>
-
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
-#define AcquireAdaptiveLockSlow AllocAcquireAdaptiveLockSlow
-#define SchedYield AllocSchedYield
-#define ThreadYield AllocThreadYield
-#define NSystemInfo NAllocSystemInfo
-
-#ifdef _MSC_VER
-#   define __restrict__ __restrict
-#   define JEMALLOC_EXPORT
-#endif
-
-#if defined(__cplusplus)
-};
-#endif

+ 0 - 67
contrib/deprecated/galloc/internal_logging.cc

@@ -1,67 +0,0 @@
-// Copyright (c) 2005, Google Inc.
-// All rights reserved.
-// 
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-// 
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-// 
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-// ---
-// Sanjay Ghemawat <opensource@google.com>
-
-#include <stdio.h>
-#include <stdarg.h>
-#include <string.h>
-
-#include "internal_logging.h"
-
-int TCMallocDebug::level;
-
-void TCMalloc_MESSAGE(const char* format, ...) {
-  va_list ap;
-  va_start(ap, format);
-  char buf[800];
-  vsnprintf(buf, sizeof(buf), format, ap);
-  va_end(ap);
-  write(STDERR_FILENO, buf, strlen(buf));
-}
-
-void TCMalloc_Printer::printf(const char* format, ...) {
-  if (left_ > 0) {
-    va_list ap;
-    va_start(ap, format);
-    const int r = vsnprintf(buf_, left_, format, ap);
-    va_end(ap);
-    if (r < 0) {
-      // Perhaps an old glibc that returns -1 on truncation?
-      left_ = 0;
-    } else if (r > left_) {
-      // Truncation
-      left_ = 0;
-    } else {
-      left_ -= r;
-      buf_ += r;
-    }
-  }
-}

+ 0 - 101
contrib/deprecated/galloc/internal_logging.h

@@ -1,101 +0,0 @@
-// Copyright (c) 2005, Google Inc.
-// All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-// ---
-// Author: Sanjay Ghemawat <opensource@google.com>
-//
-// Internal logging and related utility routines.
-
-#ifndef TCMALLOC_INTERNAL_LOGGING_H__
-#define TCMALLOC_INTERNAL_LOGGING_H__
-
-#include <stdarg.h>
-#include <stdlib.h>
-#include <unistd.h>
-
-//-------------------------------------------------------------------
-// Utility routines
-//-------------------------------------------------------------------
-
-struct TCMallocDebug {
-  static int level;
-
-  enum { kNone, kInfo, kVerbose };
-};
-
-// Safe debugging routine: we write directly to the stderr file
-// descriptor and avoid FILE buffering because that may invoke
-// malloc()
-extern void TCMalloc_MESSAGE(const char* format, ...)
-#ifdef HAVE___ATTRIBUTE__
-  __attribute__ ((__format__ (__printf__, 1, 2)))
-#endif
-;
-
-// Short form for convenience
-#define MESSAGE TCMalloc_MESSAGE
-
-// Like assert(), but executed even in NDEBUG mode
-#undef CHECK_CONDITION
-#define CHECK_CONDITION(cond)                                            \
-do {                                                                     \
-  if (!(cond)) {                                                         \
-    MESSAGE("%s:%d: assertion failed: %s\n", __FILE__, __LINE__, #cond); \
-    abort();                                                             \
-  }                                                                      \
-} while (0)
-
-// Our own version of assert() so we can avoid hanging by trying to do
-// all kinds of goofy printing while holding the malloc lock.
-#ifndef NDEBUG
-#define ASSERT(cond) CHECK_CONDITION(cond)
-#else
-#define ASSERT(cond) ((void) 0)
-#endif
-
-// Print into buffer
-class TCMalloc_Printer {
- private:
-  char* buf_;           // Where should we write next
-  int   left_;          // Space left in buffer (including space for \0)
-
- public:
-  // REQUIRES: "length > 0"
-  TCMalloc_Printer(char* buf, int length) : buf_(buf), left_(length) {
-    buf[0] = '\0';
-  }
-
-  void printf(const char* format, ...)
-#ifdef HAVE___ATTRIBUTE__
-    __attribute__ ((__format__ (__printf__, 2, 3)))
-#endif
-;
-};
-
-#endif  // TCMALLOC_INTERNAL_LOGGING_H__

Some files were not shown because too many files changed in this diff