Sha256: aaa715f6345b3e63fb96d6ddb033a1737df476f2e016ae1a8e8a29c0f31b43a3

Contents?: true

Size: 416 Bytes

Versions: 6

Compression:

Stored size: 416 Bytes

Contents

/* Copyright (c) 2022 The ANTLR Project. All rights reserved.
 * Use of this file is governed by the BSD 3-clause license that
 * can be found in the LICENSE.txt file in the project root.
 */

#pragma once

#include <cstddef>

namespace antlr4 {
namespace atn {

  inline bool cachedHashCodeEqual(size_t lhs, size_t rhs) {
    return lhs == rhs || lhs == 0 || rhs == 0;
  }

} // namespace atn
} // namespace antlr4

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
expressir-1.4.2 ext/express_parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/HashUtils.h
expressir-1.4.1 ext/express_parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/HashUtils.h
expressir-1.4.0 ext/express_parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/HashUtils.h
expressir-1.3.3 ext/express_parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/HashUtils.h
expressir-1.3.2 ext/express_parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/HashUtils.h
expressir-1.3.1 ext/express_parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/HashUtils.h