Coverage Report

Created: 2025-10-26 07:13

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/rocksdb/util/data_structure.cc
Line
Count
Source
1
//  Copyright (c) Meta Platforms, Inc. and affiliates.
2
//  This source code is licensed under both the GPLv2 (found in the
3
//  COPYING file in the root directory) and Apache 2.0 License
4
//  (found in the LICENSE.Apache file in the root directory).
5
6
#include "rocksdb/data_structure.h"
7
8
#include "util/math.h"
9
10
namespace ROCKSDB_NAMESPACE::detail {
11
12
0
int CountTrailingZeroBitsForSmallEnumSet(uint64_t v) {
13
0
  return CountTrailingZeroBits(v);
14
0
}
15
16
80.4k
int BitsSetToOneForSmallEnumSet(uint64_t v) { return BitsSetToOne(v); }
17
18
}  // namespace ROCKSDB_NAMESPACE::detail