mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Add comment for IPV6_MASKS_COUNT
This commit is contained in:
parent
1aaff75d9a
commit
9ce010e82c
@ -10,6 +10,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/// Result array could be indexed with all possible uint8 values without extra check.
|
||||||
|
/// For values greater than 128 we will store same value as for 128 (all bits set).
|
||||||
constexpr size_t IPV6_MASKS_COUNT = 256;
|
constexpr size_t IPV6_MASKS_COUNT = 256;
|
||||||
|
|
||||||
using RawMaskArray = std::array<uint8_t, IPV6_BINARY_LENGTH>;
|
using RawMaskArray = std::array<uint8_t, IPV6_BINARY_LENGTH>;
|
||||||
|
Loading…
Reference in New Issue
Block a user