/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
contrib/libs/antlr4_cpp_runtime/src/atn/LexerAction.cpp
15 строк
324 B
Anton Myagkov
Update ydb version to 24.4 (#4579)
07 фев 2026, 11:59
Не верифицирован
07 фев 2026, 11:59
2c21cae
Код
Авторство
О чём код?
#include "LexerAction.h" using namespace antlr4::atn; size_t LexerAction::hashCode() const { auto hash = cachedHashCode(); if (hash == 0) { hash = hashCodeImpl(); if (hash == 0) { hash = std::numeric_limits<size_t>::max(); } _hashCode.store(hash, std::memory_order_relaxed); } return hash; }