/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
library/cpp/yt/memory/tls_scratch.h
20 строк
529 B
Anton Myagkov
Update ydb version to 24.4 (#4579)
07 фев 2026, 11:59
Не верифицирован
07 фев 2026, 11:59
2c21cae
Код
Авторство
О чём код?
#pragma once #include "range.h" namespace NYT { //////////////////////////////////////////////////////////////////////////////// //! Returns a temporary buffer (stored on TLS) of a given size. //! The content is initialized with default values of T before being returned. template <class T> TMutableRange<T> GetTlsScratchBuffer(size_t size); //////////////////////////////////////////////////////////////////////////////// } // namespace NYT #define TLS_SCRATH_INL_H_ #include "tls_scratch-inl.h" #undef TLS_SCRATH_INL_H_