diff options
author | qwerty <qwerty@yandex-team.ru> | 2022-02-10 16:49:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:25 +0300 |
commit | ca6b8a0150d5ee4cc8fb804d1285d9c32fb4fe88 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/lfalloc | |
parent | 34e37ee57f5837a8da2fdfaccaac9bbe6c7f02ba (diff) | |
download | ydb-ca6b8a0150d5ee4cc8fb804d1285d9c32fb4fe88.tar.gz |
Restoring authorship annotation for <qwerty@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lfalloc')
-rw-r--r-- | library/cpp/lfalloc/lf_allocX64.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/lfalloc/lf_allocX64.h b/library/cpp/lfalloc/lf_allocX64.h index 05e528b67a..fd2a906d6f 100644 --- a/library/cpp/lfalloc/lf_allocX64.h +++ b/library/cpp/lfalloc/lf_allocX64.h @@ -201,7 +201,7 @@ const int nSizeIdxToSize[N_SIZES] = { 96, 128, #endif - 192, 256, 384, 512, 768, 1024, 1536, 2048, + 192, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576, 32768, #ifdef LFALLOC_YT 49152, 65536 @@ -1115,13 +1115,13 @@ struct TThreadAllocInfo { #endif void Init(TThreadAllocInfo** pHead) { - memset(this, 0, sizeof(*this)); + memset(this, 0, sizeof(*this)); for (auto& i : FreePtrIndex) i = THREAD_BUF; #ifdef _win_ BOOL b = DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), - GetCurrentProcess(), &hThread, + GetCurrentProcess(), &hThread, 0, FALSE, DUPLICATE_SAME_ACCESS); Y_ASSERT_NOBT(b); #endif @@ -1671,7 +1671,7 @@ static void DebugTraceMMgr(const char* pszFormat, ...) // __cdecl { static char buff[20000]; va_list va; - // + // va_start(va, pszFormat); vsprintf(buff, pszFormat, va); va_end(va); |