/src/Botan-3.13.0/build/include/public/botan/range_concepts.h
Line | Count | Source |
1 | | /** |
2 | | * (C) 2023 Jack Lloyd |
3 | | * 2023 René Meusel - Rohde & Schwarz Cybersecurity |
4 | | * |
5 | | * Botan is released under the Simplified BSD License (see license.txt) |
6 | | */ |
7 | | |
8 | | #ifndef BOTAN_RANGE_CONCEPTS_H_ |
9 | | #define BOTAN_RANGE_CONCEPTS_H_ |
10 | | |
11 | | #include <botan/types.h> |
12 | | #include <concepts> |
13 | | #include <ranges> |
14 | | #include <span> |
15 | | #include <utility> |
16 | | |
17 | | BOTAN_FUTURE_INTERNAL_HEADER(range_concepts.h) |
18 | | |
19 | | namespace Botan::ranges { |
20 | | |
21 | | /** |
22 | | * Models a std::ranges::contiguous_range that (optionally) restricts its |
23 | | * value_type to ValueT. In other words: a stretch of contiguous memory of |
24 | | * a certain type (optional ValueT). |
25 | | */ |
26 | | template <typename T, typename ValueT = std::ranges::range_value_t<T>> |
27 | | concept contiguous_range = std::ranges::contiguous_range<T> && std::same_as<ValueT, std::ranges::range_value_t<T>>; |
28 | | |
29 | | /** |
30 | | * Models a std::ranges::contiguous_range that satisfies |
31 | | * std::ranges::output_range with an arbitrary value_type. In other words: a |
32 | | * stretch of contiguous memory of a certain type (optional ValueT) that can be |
33 | | * written to. |
34 | | */ |
35 | | template <typename T, typename ValueT = std::ranges::range_value_t<T>> |
36 | | concept contiguous_output_range = contiguous_range<T, ValueT> && std::ranges::output_range<T, ValueT>; |
37 | | |
38 | | /** |
39 | | * Models a range that can be turned into a std::span<>. Typically, this is some |
40 | | * form of ranges::contiguous_range. |
41 | | */ |
42 | | template <typename T> |
43 | | concept spanable_range = std::constructible_from<std::span<const std::ranges::range_value_t<T>>, T>; |
44 | | |
45 | | /** |
46 | | * Models a range that can be turned into a std::span<> with a static extent. |
47 | | * Typically, this is a std::array or a std::span derived from an array. |
48 | | */ |
49 | | // clang-format off |
50 | | template <typename T> |
51 | | concept statically_spanable_range = spanable_range<T> && |
52 | | decltype(std::span{std::declval<T&>()})::extent != std::dynamic_extent; |
53 | | |
54 | | // clang-format on |
55 | | |
56 | | /** |
57 | | * Find the length in bytes of a given contiguous range @p r. |
58 | | */ |
59 | 2.35G | inline constexpr size_t size_bytes(const spanable_range auto& r) { |
60 | 2.35G | return std::span{r}.size_bytes(); |
61 | 2.35G | } Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__16vectorIhNS2_9allocatorIhEEEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayImLm4EEEEEmRKT_ Line | Count | Source | 59 | 29.1M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 29.1M | return std::span{r}.size_bytes(); | 61 | 29.1M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm32EEEEEmRKT_ Line | Count | Source | 59 | 14.5M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 14.5M | return std::span{r}.size_bytes(); | 61 | 14.5M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm2EEEEEmRKT_ Line | Count | Source | 59 | 4.87M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 4.87M | return std::span{r}.size_bytes(); | 61 | 4.87M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm4EEEEEmRKT_ Line | Count | Source | 59 | 83.6M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 83.6M | return std::span{r}.size_bytes(); | 61 | 83.6M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm8EEEEEmRKT_ Line | Count | Source | 59 | 84.0M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 84.0M | return std::span{r}.size_bytes(); | 61 | 84.0M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIjLm1EEEEEmRKT_ Line | Count | Source | 59 | 1.49G | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 1.49G | return std::span{r}.size_bytes(); | 61 | 1.49G | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanImLm1EEEEEmRKT_ Line | Count | Source | 59 | 464M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 464M | return std::span{r}.size_bytes(); | 61 | 464M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanItLm1EEEEEmRKT_ Line | Count | Source | 59 | 5.04M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 5.04M | return std::span{r}.size_bytes(); | 61 | 5.04M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__16vectorIhNS_16secure_allocatorIhEEEEEEmRKT_ Line | Count | Source | 59 | 5.18M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 5.18M | return std::span{r}.size_bytes(); | 61 | 5.18M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEEEEmRKT_ Line | Count | Source | 59 | 8.49M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 8.49M | return std::span{r}.size_bytes(); | 61 | 8.49M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanImLm18446744073709551615EEEEEmRKT_ Line | Count | Source | 59 | 2.33M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 2.33M | return std::span{r}.size_bytes(); | 61 | 2.33M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIjLm18446744073709551615EEEEEmRKT_ Line | Count | Source | 59 | 23.6M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 23.6M | return std::span{r}.size_bytes(); | 61 | 23.6M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayIjLm16EEEEEmRKT_ Line | Count | Source | 59 | 37.4M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 37.4M | return std::span{r}.size_bytes(); | 61 | 37.4M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__16vectorImNS_16secure_allocatorImEEEEEEmRKT_ Line | Count | Source | 59 | 8.46M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 8.46M | return std::span{r}.size_bytes(); | 61 | 8.46M | } |
Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanImLm3EEEEEmRKT_ Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm24EEEEEmRKT_ Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayImLm3EEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanImLm4EEEEEmRKT_ Line | Count | Source | 59 | 612k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 612k | return std::span{r}.size_bytes(); | 61 | 612k | } |
Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm48EEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanImLm6EEEEEmRKT_ Line | Count | Source | 59 | 305k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 305k | return std::span{r}.size_bytes(); | 61 | 305k | } |
Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm72EEEEEmRKT_ Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayImLm6EEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanImLm9EEEEEmRKT_ Line | Count | Source | 59 | 151k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 151k | return std::span{r}.size_bytes(); | 61 | 151k | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm66EEEEEmRKT_ Line | Count | Source | 59 | 269k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 269k | return std::span{r}.size_bytes(); | 61 | 269k | } |
Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm98EEEEEmRKT_ Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayImLm9EEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayIhLm16EEEEEmRKT_ Line | Count | Source | 59 | 721k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 721k | return std::span{r}.size_bytes(); | 61 | 721k | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayIhLm8EEEEEmRKT_ Line | Count | Source | 59 | 61.7M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 61.7M | return std::span{r}.size_bytes(); | 61 | 61.7M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayImLm7EEEEEmRKT_ Line | Count | Source | 59 | 18.6M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 18.6M | return std::span{r}.size_bytes(); | 61 | 18.6M | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm56EEEEEmRKT_ Line | Count | Source | 59 | 3.68k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 3.68k | return std::span{r}.size_bytes(); | 61 | 3.68k | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm114EEEEEmRKT_ Line | Count | Source | 59 | 7.21k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 7.21k | return std::span{r}.size_bytes(); | 61 | 7.21k | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayImLm15EEEEEmRKT_ Line | Count | Source | 59 | 3.60k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 3.60k | return std::span{r}.size_bytes(); | 61 | 3.60k | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayIhLm57EEEEEmRKT_ Line | Count | Source | 59 | 3.97k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 3.97k | return std::span{r}.size_bytes(); | 61 | 3.97k | } |
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayIhLm1EEEEEmRKT_ Line | Count | Source | 59 | 3.60k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 3.60k | return std::span{r}.size_bytes(); | 61 | 3.60k | } |
Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayIhLm56EEEEEmRKT_ Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENS_6StrongINSt3__15arrayIhLm56EEENS_9Point448_EJEEEEEmRKT_ Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENS_6StrongINSt3__15arrayIhLm56EEENS_11ScalarX448_EJEEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIiLm256EEEEEmRKT_ Line | Count | Source | 59 | 23.3k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 23.3k | return std::span{r}.size_bytes(); | 61 | 23.3k | } |
Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__16vectorIiNS2_9allocatorIiEEEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayImLm1EEEEEmRKT_ Line | Count | Source | 59 | 4.93M | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 4.93M | return std::span{r}.size_bytes(); | 61 | 4.93M | } |
Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayImLm2EEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayIhLm2EEEEEmRKT_ Line | Count | Source | 59 | 173k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 173k | return std::span{r}.size_bytes(); | 61 | 173k | } |
Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__16vectorIsNS2_9allocatorIsEEEEEEmRKT_ Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIsLm256EEEEEmRKT_ Unexecuted instantiation: _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENS_10StrongSpanINS_6StrongINSt3__16vectorIhNS_16secure_allocatorIhEEEENS_18KyberSharedSecret_EJEEEEEEEmRKT_ _ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENS_10StrongSpanINS_6StrongINSt3__16vectorIhNS4_9allocatorIhEEEENS_16SphincsTreeNode_EJEEEEEEEmRKT_ Line | Count | Source | 59 | 29.2k | inline constexpr size_t size_bytes(const spanable_range auto& r) { | 60 | 29.2k | return std::span{r}.size_bytes(); | 61 | 29.2k | } |
|
62 | | |
63 | | /** |
64 | | * Throws an exception indicating that the attempted read or write was invalid |
65 | | */ |
66 | | [[noreturn]] void BOTAN_UNSTABLE_API memory_region_size_violation(); |
67 | | |
68 | | /** |
69 | | * Check that a given range @p r has a certain statically-known byte length. If |
70 | | * the range's extent is known at compile time, this is a static check, |
71 | | * otherwise a runtime argument check will be added. |
72 | | * |
73 | | * @throws Invalid_Argument if range @p r has a dynamic extent and does not |
74 | | * feature the expected byte length. |
75 | | */ |
76 | | template <size_t expected, spanable_range R> |
77 | 4.75G | inline constexpr void assert_exact_byte_length(const R& r) { |
78 | 4.75G | const std::span s{r}; |
79 | 4.75G | if constexpr(statically_spanable_range<R>) { |
80 | 4.75G | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); |
81 | 4.75G | } else { |
82 | 102k | if(s.size_bytes() != expected) { |
83 | 0 | memory_region_size_violation(); |
84 | 0 | } |
85 | 102k | } |
86 | 4.75G | } _ZN5Botan6ranges24assert_exact_byte_lengthILm32ETkNS0_14spanable_rangeENSt3__14spanIhLm32EEEEEvRKT0_ Line | Count | Source | 77 | 12.2M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 12.2M | const std::span s{r}; | 79 | 12.2M | if constexpr(statically_spanable_range<R>) { | 80 | 12.2M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 12.2M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm32ETkNS0_14spanable_rangeENSt3__14spanIKhLm32EEEEEvRKT0_ Line | Count | Source | 77 | 19.0M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 19.0M | const std::span s{r}; | 79 | 19.0M | if constexpr(statically_spanable_range<R>) { | 80 | 19.0M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 19.0M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm32ETkNS0_14spanable_rangeENSt3__15arrayImLm4EEEEEvRKT0_ Line | Count | Source | 77 | 15.5M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 15.5M | const std::span s{r}; | 79 | 15.5M | if constexpr(statically_spanable_range<R>) { | 80 | 15.5M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 15.5M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm2ETkNS0_14spanable_rangeENSt3__14spanIhLm2EEEEEvRKT0_ Line | Count | Source | 77 | 5.04M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 5.04M | const std::span s{r}; | 79 | 5.04M | if constexpr(statically_spanable_range<R>) { | 80 | 5.04M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 5.04M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm2ETkNS0_14spanable_rangeENSt3__14spanIKtLm1EEEEEvRKT0_ Line | Count | Source | 77 | 4.87M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 4.87M | const std::span s{r}; | 79 | 4.87M | if constexpr(statically_spanable_range<R>) { | 80 | 4.87M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 4.87M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm4ETkNS0_14spanable_rangeENSt3__14spanIhLm4EEEEEvRKT0_ Line | Count | Source | 77 | 131M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 131M | const std::span s{r}; | 79 | 131M | if constexpr(statically_spanable_range<R>) { | 80 | 131M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 131M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm4ETkNS0_14spanable_rangeENSt3__14spanIKjLm1EEEEEvRKT0_ Line | Count | Source | 77 | 83.6M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 83.6M | const std::span s{r}; | 79 | 83.6M | if constexpr(statically_spanable_range<R>) { | 80 | 83.6M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 83.6M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm8ETkNS0_14spanable_rangeENSt3__14spanIhLm8EEEEEvRKT0_ Line | Count | Source | 77 | 166M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 166M | const std::span s{r}; | 79 | 166M | if constexpr(statically_spanable_range<R>) { | 80 | 166M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 166M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm8ETkNS0_14spanable_rangeENSt3__14spanIKmLm1EEEEEvRKT0_ Line | Count | Source | 77 | 84.0M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 84.0M | const std::span s{r}; | 79 | 84.0M | if constexpr(statically_spanable_range<R>) { | 80 | 84.0M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 84.0M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm4ETkNS0_14spanable_rangeENSt3__14spanIKhLm4EEEEEvRKT0_ Line | Count | Source | 77 | 2.99G | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 2.99G | const std::span s{r}; | 79 | 2.99G | if constexpr(statically_spanable_range<R>) { | 80 | 2.99G | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 2.99G | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm8ETkNS0_14spanable_rangeENSt3__14spanIKhLm8EEEEEvRKT0_ Line | Count | Source | 77 | 855M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 855M | const std::span s{r}; | 79 | 855M | if constexpr(statically_spanable_range<R>) { | 80 | 855M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 855M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm16ETkNS0_14spanable_rangeENSt3__14spanIhLm16EEEEEvRKT0_ Line | Count | Source | 77 | 14.2M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 14.2M | const std::span s{r}; | 79 | 14.2M | if constexpr(statically_spanable_range<R>) { | 80 | 14.2M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 14.2M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm16ETkNS0_14spanable_rangeENSt3__14spanIKhLm16EEEEEvRKT0_ Line | Count | Source | 77 | 3.47M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 3.47M | const std::span s{r}; | 79 | 3.47M | if constexpr(statically_spanable_range<R>) { | 80 | 3.47M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 3.47M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm2ETkNS0_14spanable_rangeENSt3__14spanIKhLm2EEEEEvRKT0_ Line | Count | Source | 77 | 9.75M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 9.75M | const std::span s{r}; | 79 | 9.75M | if constexpr(statically_spanable_range<R>) { | 80 | 9.75M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 9.75M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm64ETkNS0_14spanable_rangeENSt3__14spanIKhLm64EEEEEvRKT0_ Line | Count | Source | 77 | 164M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 164M | const std::span s{r}; | 79 | 164M | if constexpr(statically_spanable_range<R>) { | 80 | 164M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 164M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm128ETkNS0_14spanable_rangeENSt3__14spanIKhLm128EEEEEvRKT0_ Line | Count | Source | 77 | 21.7M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 21.7M | const std::span s{r}; | 79 | 21.7M | if constexpr(statically_spanable_range<R>) { | 80 | 21.7M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 21.7M | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm2ETkNS0_14spanable_rangeENSt3__15arrayItLm1EEEEEvRKT0_ Line | Count | Source | 77 | 346k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 346k | const std::span s{r}; | 79 | 346k | if constexpr(statically_spanable_range<R>) { | 80 | 346k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 346k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm1ETkNS0_14spanable_rangeENSt3__15arrayIhLm1EEEEEvRKT0_ Line | Count | Source | 77 | 8.28k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 8.28k | const std::span s{r}; | 79 | 8.28k | if constexpr(statically_spanable_range<R>) { | 80 | 8.28k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 8.28k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm1ETkNS0_14spanable_rangeENSt3__14spanIhLm1EEEEEvRKT0_ Line | Count | Source | 77 | 2.12k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 2.12k | const std::span s{r}; | 79 | 2.12k | if constexpr(statically_spanable_range<R>) { | 80 | 2.12k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 2.12k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm8ETkNS0_14spanable_rangeENSt3__15arrayIhLm8EEEEEvRKT0_ Line | Count | Source | 77 | 48.0M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 48.0M | const std::span s{r}; | 79 | 48.0M | if constexpr(statically_spanable_range<R>) { | 80 | 48.0M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 48.0M | } |
Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm24ETkNS0_14spanable_rangeENSt3__15arrayImLm3EEEEEvRKT0_ Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm24ETkNS0_14spanable_rangeENSt3__14spanIKhLm24EEEEEvRKT0_ Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm24ETkNS0_14spanable_rangeENSt3__14spanImLm3EEEEEvRKT0_ _ZN5Botan6ranges24assert_exact_byte_lengthILm8ETkNS0_14spanable_rangeENSt3__15arrayImLm1EEEEEvRKT0_ Line | Count | Source | 77 | 123M | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 123M | const std::span s{r}; | 79 | 123M | if constexpr(statically_spanable_range<R>) { | 80 | 123M | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 123M | } |
Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm32ETkNS0_14spanable_rangeENSt3__14spanImLm4EEEEEvRKT0_ Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm48ETkNS0_14spanable_rangeENSt3__14spanIKhLm48EEEEEvRKT0_ _ZN5Botan6ranges24assert_exact_byte_lengthILm48ETkNS0_14spanable_rangeENSt3__15arrayImLm6EEEEEvRKT0_ Line | Count | Source | 77 | 420k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 420k | const std::span s{r}; | 79 | 420k | if constexpr(statically_spanable_range<R>) { | 80 | 420k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 420k | } |
Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm72ETkNS0_14spanable_rangeENSt3__14spanIKhLm72EEEEEvRKT0_ Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm48ETkNS0_14spanable_rangeENSt3__14spanImLm6EEEEEvRKT0_ _ZN5Botan6ranges24assert_exact_byte_lengthILm72ETkNS0_14spanable_rangeENSt3__15arrayImLm9EEEEEvRKT0_ Line | Count | Source | 77 | 210k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 210k | const std::span s{r}; | 79 | 210k | if constexpr(statically_spanable_range<R>) { | 80 | 210k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 210k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm66ETkNS0_14spanable_rangeENSt3__14spanIKhLm66EEEEEvRKT0_ Line | Count | Source | 77 | 134k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 134k | const std::span s{r}; | 79 | 134k | if constexpr(statically_spanable_range<R>) { | 80 | 134k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 134k | } |
Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm98ETkNS0_14spanable_rangeENSt3__14spanIKhLm98EEEEEvRKT0_ Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm72ETkNS0_14spanable_rangeENSt3__14spanImLm9EEEEEvRKT0_ _ZN5Botan6ranges24assert_exact_byte_lengthILm56ETkNS0_14spanable_rangeENSt3__14spanIKhLm56EEEEEvRKT0_ Line | Count | Source | 77 | 16.8k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 16.8k | const std::span s{r}; | 79 | 16.8k | if constexpr(statically_spanable_range<R>) { | 80 | 16.8k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 16.8k | } |
Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm56ETkNS0_14spanable_rangeENSt3__15arrayImLm7EEEEEvRKT0_ _ZN5Botan6ranges24assert_exact_byte_lengthILm56ETkNS0_14spanable_rangeENSt3__14spanIKmLm7EEEEEvRKT0_ Line | Count | Source | 77 | 32.5k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 32.5k | const std::span s{r}; | 79 | 32.5k | if constexpr(statically_spanable_range<R>) { | 80 | 32.5k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 32.5k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm56ETkNS0_14spanable_rangeENSt3__14spanImLm7EEEEEvRKT0_ Line | Count | Source | 77 | 16.2k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 16.2k | const std::span s{r}; | 79 | 16.2k | if constexpr(statically_spanable_range<R>) { | 80 | 16.2k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 16.2k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm114ETkNS0_14spanable_rangeENSt3__14spanIKhLm114EEEEEvRKT0_ Line | Count | Source | 77 | 3.60k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 3.60k | const std::span s{r}; | 79 | 3.60k | if constexpr(statically_spanable_range<R>) { | 80 | 3.60k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 3.60k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm120ETkNS0_14spanable_rangeENSt3__15arrayIhLm120EEEEEvRKT0_ Line | Count | Source | 77 | 7.21k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 7.21k | const std::span s{r}; | 79 | 7.21k | if constexpr(statically_spanable_range<R>) { | 80 | 7.21k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 7.21k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm56ETkNS0_14spanable_rangeENSt3__15arrayIhLm56EEEEEvRKT0_ Line | Count | Source | 77 | 3.68k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 3.68k | const std::span s{r}; | 79 | 3.68k | if constexpr(statically_spanable_range<R>) { | 80 | 3.68k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 3.68k | } |
Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm32ETkNS0_14spanable_rangeENSt3__15arrayIhLm32EEEEEvRKT0_ _ZN5Botan6ranges24assert_exact_byte_lengthILm57ETkNS0_14spanable_rangeENSt3__14spanIKhLm57EEEEEvRKT0_ Line | Count | Source | 77 | 1.98k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 1.98k | const std::span s{r}; | 79 | 1.98k | if constexpr(statically_spanable_range<R>) { | 80 | 1.98k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 1.98k | } |
Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm56ETkNS0_14spanable_rangeENSt3__14spanIKhLm18446744073709551615EEEEEvRKT0_ Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm56ETkNS0_14spanable_rangeENSt3__16vectorIhNS_16secure_allocatorIhEEEEEEvRKT0_ _ZN5Botan6ranges24assert_exact_byte_lengthILm16ETkNS0_14spanable_rangeENSt3__15arrayImLm2EEEEEvRKT0_ Line | Count | Source | 77 | 659k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 659k | const std::span s{r}; | 79 | 659k | if constexpr(statically_spanable_range<R>) { | 80 | 659k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 659k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm16ETkNS0_14spanable_rangeENSt3__15arrayIhLm16EEEEEvRKT0_ Line | Count | Source | 77 | 102k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 102k | const std::span s{r}; | 79 | 102k | if constexpr(statically_spanable_range<R>) { | 80 | 102k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 102k | } |
_ZN5Botan6ranges24assert_exact_byte_lengthILm2ETkNS0_14spanable_rangeENSt3__15arrayIhLm2EEEEEvRKT0_ Line | Count | Source | 77 | 173k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 173k | const std::span s{r}; | 79 | 173k | if constexpr(statically_spanable_range<R>) { | 80 | 173k | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | | } else { | 82 | | if(s.size_bytes() != expected) { | 83 | | memory_region_size_violation(); | 84 | | } | 85 | | } | 86 | 173k | } |
Unexecuted instantiation: _ZN5Botan6ranges24assert_exact_byte_lengthILm4ETkNS0_14spanable_rangeENSt3__15arrayIhLm4EEEEEvRKT0_ _ZN5Botan6ranges24assert_exact_byte_lengthILm16ETkNS0_14spanable_rangeENSt3__14spanIKhLm18446744073709551615EEEEEvRKT0_ Line | Count | Source | 77 | 102k | inline constexpr void assert_exact_byte_length(const R& r) { | 78 | 102k | const std::span s{r}; | 79 | | if constexpr(statically_spanable_range<R>) { | 80 | | static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths"); | 81 | 102k | } else { | 82 | 102k | if(s.size_bytes() != expected) { | 83 | 0 | memory_region_size_violation(); | 84 | 0 | } | 85 | 102k | } | 86 | 102k | } |
|
87 | | |
88 | | /** |
89 | | * Check that a list of ranges (in @p r0 and @p rs) all have the same byte |
90 | | * lengths. If the first range's extent is known at compile time, this will be a |
91 | | * static check for all other ranges whose extents are known at compile time, |
92 | | * otherwise a runtime argument check will be added. |
93 | | * |
94 | | * @throws Invalid_Argument if any range has a dynamic extent and not all |
95 | | * ranges feature the same byte length. |
96 | | */ |
97 | | template <spanable_range R0, spanable_range... Rs> |
98 | | inline constexpr void assert_equal_byte_lengths(const R0& r0, const Rs&... rs) |
99 | | requires(sizeof...(Rs) > 0) |
100 | 2.62G | { |
101 | 2.62G | const std::span s0{r0}; |
102 | | |
103 | 2.62G | if constexpr(statically_spanable_range<R0>) { |
104 | 2.50G | constexpr size_t expected_size = s0.size_bytes(); |
105 | 2.50G | (assert_exact_byte_length<expected_size>(rs), ...); |
106 | 2.50G | } else { |
107 | 114M | const size_t expected_size = s0.size_bytes(); |
108 | 114M | const bool correct_size = |
109 | 114M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); |
110 | | |
111 | 114M | if(!correct_size) { |
112 | 0 | memory_region_size_violation(); |
113 | 0 | } |
114 | 114M | } |
115 | 2.62G | } _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm4EEETpTkNS0_14spanable_rangeEJNS2_4spanIhLm32EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 10.8M | { | 101 | 10.8M | const std::span s0{r0}; | 102 | | | 103 | 10.8M | if constexpr(statically_spanable_range<R0>) { | 104 | 10.8M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 10.8M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 10.8M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm4EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm32EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 18.3M | { | 101 | 18.3M | const std::span s0{r0}; | 102 | | | 103 | 18.3M | if constexpr(statically_spanable_range<R0>) { | 104 | 18.3M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 18.3M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 18.3M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm32EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm4EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 15.2M | { | 101 | 15.2M | const std::span s0{r0}; | 102 | | | 103 | 15.2M | if constexpr(statically_spanable_range<R0>) { | 104 | 15.2M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 15.2M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 15.2M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 23.0M | { | 101 | 23.0M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 23.0M | } else { | 107 | 23.0M | const size_t expected_size = s0.size_bytes(); | 108 | 23.0M | const bool correct_size = | 109 | 23.0M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 23.0M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 23.0M | } | 115 | 23.0M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKhLm18446744073709551615EEES6_EEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 5.68M | { | 101 | 5.68M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 5.68M | } else { | 107 | 5.68M | const size_t expected_size = s0.size_bytes(); | 108 | 5.68M | const bool correct_size = | 109 | 11.3M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 5.68M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 5.68M | } | 115 | 5.68M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm2EEETpTkNS0_14spanable_rangeEJNS3_IKtLm1EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 4.87M | { | 101 | 4.87M | const std::span s0{r0}; | 102 | | | 103 | 4.87M | if constexpr(statically_spanable_range<R0>) { | 104 | 4.87M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 4.87M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 4.87M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm4EEETpTkNS0_14spanable_rangeEJNS3_IKjLm1EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 83.6M | { | 101 | 83.6M | const std::span s0{r0}; | 102 | | | 103 | 83.6M | if constexpr(statically_spanable_range<R0>) { | 104 | 83.6M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 83.6M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 83.6M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm8EEETpTkNS0_14spanable_rangeEJNS3_IKmLm1EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 84.0M | { | 101 | 84.0M | const std::span s0{r0}; | 102 | | | 103 | 84.0M | if constexpr(statically_spanable_range<R0>) { | 104 | 84.0M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 84.0M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 84.0M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIjLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 55.4M | { | 101 | 55.4M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 55.4M | } else { | 107 | 55.4M | const size_t expected_size = s0.size_bytes(); | 108 | 55.4M | const bool correct_size = | 109 | 55.4M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 55.4M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 55.4M | } | 115 | 55.4M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIjLm1EEETpTkNS0_14spanable_rangeEJNS3_IKhLm4EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 1.49G | { | 101 | 1.49G | const std::span s0{r0}; | 102 | | | 103 | 1.49G | if constexpr(statically_spanable_range<R0>) { | 104 | 1.49G | constexpr size_t expected_size = s0.size_bytes(); | 105 | 1.49G | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 1.49G | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKjLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 8.70M | { | 101 | 8.70M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 8.70M | } else { | 107 | 8.70M | const size_t expected_size = s0.size_bytes(); | 108 | 8.70M | const bool correct_size = | 109 | 8.70M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 8.70M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 8.70M | } | 115 | 8.70M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm1EEETpTkNS0_14spanable_rangeEJNS3_IKhLm8EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 426M | { | 101 | 426M | const std::span s0{r0}; | 102 | | | 103 | 426M | if constexpr(statically_spanable_range<R0>) { | 104 | 426M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 426M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 426M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 4.74M | { | 101 | 4.74M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 4.74M | } else { | 107 | 4.74M | const size_t expected_size = s0.size_bytes(); | 108 | 4.74M | const bool correct_size = | 109 | 4.74M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 4.74M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 4.74M | } | 115 | 4.74M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanItLm1EEETpTkNS0_14spanable_rangeEJNS3_IKhLm2EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 4.87M | { | 101 | 4.87M | const std::span s0{r0}; | 102 | | | 103 | 4.87M | if constexpr(statically_spanable_range<R0>) { | 104 | 4.87M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 4.87M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 4.87M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorIhNS_16secure_allocatorIhEEEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 2.59M | { | 101 | 2.59M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 2.59M | } else { | 107 | 2.59M | const size_t expected_size = s0.size_bytes(); | 108 | 2.59M | const bool correct_size = | 109 | 2.59M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 2.59M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 2.59M | } | 115 | 2.59M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS2_6vectorIhNS_16secure_allocatorIhEEEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 2.10M | { | 101 | 2.10M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 2.10M | } else { | 107 | 2.10M | const size_t expected_size = s0.size_bytes(); | 108 | 2.10M | const bool correct_size = | 109 | 2.10M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 2.10M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 2.10M | } | 115 | 2.10M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJS4_EEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 1.87M | { | 101 | 1.87M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 1.87M | } else { | 107 | 1.87M | const size_t expected_size = s0.size_bytes(); | 108 | 1.87M | const bool correct_size = | 109 | 1.87M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 1.87M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 1.87M | } | 115 | 1.87M | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS2_6vectorIhNS2_9allocatorIhEEEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKmLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 6.19M | { | 101 | 6.19M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 6.19M | } else { | 107 | 6.19M | const size_t expected_size = s0.size_bytes(); | 108 | 6.19M | const bool correct_size = | 109 | 6.19M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 6.19M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 6.19M | } | 115 | 6.19M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIjLm16EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm64EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 136M | { | 101 | 136M | const std::span s0{r0}; | 102 | | | 103 | 136M | if constexpr(statically_spanable_range<R0>) { | 104 | 136M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 136M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 136M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIjLm16EEETpTkNS0_14spanable_rangeEJNS3_IKhLm64EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 27.3M | { | 101 | 27.3M | const std::span s0{r0}; | 102 | | | 103 | 27.3M | if constexpr(statically_spanable_range<R0>) { | 104 | 27.3M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 27.3M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 27.3M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm16EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm128EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 21.7M | { | 101 | 21.7M | const std::span s0{r0}; | 102 | | | 103 | 21.7M | if constexpr(statically_spanable_range<R0>) { | 104 | 21.7M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 21.7M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 21.7M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm2EEETpTkNS0_14spanable_rangeEJNS3_ItLm1EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 346k | { | 101 | 346k | const std::span s0{r0}; | 102 | | | 103 | 346k | if constexpr(statically_spanable_range<R0>) { | 104 | 346k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 346k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 346k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm1EEETpTkNS0_14spanable_rangeEJS4_EEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 8.28k | { | 101 | 8.28k | const std::span s0{r0}; | 102 | | | 103 | 8.28k | if constexpr(statically_spanable_range<R0>) { | 104 | 8.28k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 8.28k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 8.28k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm1EEETpTkNS0_14spanable_rangeEJNS3_IhLm8EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 38.2M | { | 101 | 38.2M | const std::span s0{r0}; | 102 | | | 103 | 38.2M | if constexpr(statically_spanable_range<R0>) { | 104 | 38.2M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 38.2M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 38.2M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKmLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 94.0k | { | 101 | 94.0k | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 94.0k | } else { | 107 | 94.0k | const size_t expected_size = s0.size_bytes(); | 108 | 94.0k | const bool correct_size = | 109 | 94.0k | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 94.0k | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 94.0k | } | 115 | 94.0k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorImNS_16secure_allocatorImEEEETpTkNS0_14spanable_rangeEJNS2_4spanImLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 4.23M | { | 101 | 4.23M | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 4.23M | } else { | 107 | 4.23M | const size_t expected_size = s0.size_bytes(); | 108 | 4.23M | const bool correct_size = | 109 | 4.23M | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 4.23M | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 4.23M | } | 115 | 4.23M | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm3EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm3EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorIhNS2_9allocatorIhEEEETpTkNS0_14spanable_rangeEJA6_mEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm24EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm3EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm24EEETpTkNS0_14spanable_rangeEJNS3_IKhLm24EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm3EEETpTkNS0_14spanable_rangeEJNS2_4spanImLm3EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm1EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm1EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm4EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm4EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 306k | { | 101 | 306k | const std::span s0{r0}; | 102 | | | 103 | 306k | if constexpr(statically_spanable_range<R0>) { | 104 | 306k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 306k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 306k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorIhNS2_9allocatorIhEEEETpTkNS0_14spanable_rangeEJA8_mEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm32EEETpTkNS0_14spanable_rangeEJNS3_IKhLm32EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm4EEETpTkNS0_14spanable_rangeEJNS2_4spanImLm4EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm48EEETpTkNS0_14spanable_rangeEJNS3_IKhLm48EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm6EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm6EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 152k | { | 101 | 152k | const std::span s0{r0}; | 102 | | | 103 | 152k | if constexpr(statically_spanable_range<R0>) { | 104 | 152k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 152k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 152k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorIhNS2_9allocatorIhEEEETpTkNS0_14spanable_rangeEJA12_mEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm48EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm6EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 267k | { | 101 | 267k | const std::span s0{r0}; | 102 | | | 103 | 267k | if constexpr(statically_spanable_range<R0>) { | 104 | 267k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 267k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 267k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm72EEETpTkNS0_14spanable_rangeEJNS3_IKhLm72EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm6EEETpTkNS0_14spanable_rangeEJNS2_4spanImLm6EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanImLm9EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm9EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 75.6k | { | 101 | 75.6k | const std::span s0{r0}; | 102 | | | 103 | 75.6k | if constexpr(statically_spanable_range<R0>) { | 104 | 75.6k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 75.6k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 75.6k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorIhNS2_9allocatorIhEEEETpTkNS0_14spanable_rangeEJA18_mEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm72EEETpTkNS0_14spanable_rangeEJNS3_ImLm9EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 134k | { | 101 | 134k | const std::span s0{r0}; | 102 | | | 103 | 134k | if constexpr(statically_spanable_range<R0>) { | 104 | 134k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 134k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 134k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm66EEETpTkNS0_14spanable_rangeEJNS3_IKhLm66EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 134k | { | 101 | 134k | const std::span s0{r0}; | 102 | | | 103 | 134k | if constexpr(statically_spanable_range<R0>) { | 104 | 134k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 134k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 134k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm98EEETpTkNS0_14spanable_rangeEJNS3_IKhLm98EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm9EEETpTkNS0_14spanable_rangeEJNS2_4spanImLm9EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm8EEETpTkNS0_14spanable_rangeEJNS3_ImLm1EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 123M | { | 101 | 123M | const std::span s0{r0}; | 102 | | | 103 | 123M | if constexpr(statically_spanable_range<R0>) { | 104 | 123M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 123M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 123M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm7EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm56EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 14.9k | { | 101 | 14.9k | const std::span s0{r0}; | 102 | | | 103 | 14.9k | if constexpr(statically_spanable_range<R0>) { | 104 | 14.9k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 14.9k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 14.9k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm56EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm7EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm7EEETpTkNS0_14spanable_rangeEJNS2_4spanIKmLm7EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 32.5k | { | 101 | 32.5k | const std::span s0{r0}; | 102 | | | 103 | 32.5k | if constexpr(statically_spanable_range<R0>) { | 104 | 32.5k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 32.5k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 32.5k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm7EEETpTkNS0_14spanable_rangeEJNS2_4spanImLm7EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 16.2k | { | 101 | 16.2k | const std::span s0{r0}; | 102 | | | 103 | 16.2k | if constexpr(statically_spanable_range<R0>) { | 104 | 16.2k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 16.2k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 16.2k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm114EEETpTkNS0_14spanable_rangeEJNS3_IKhLm114EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 3.60k | { | 101 | 3.60k | const std::span s0{r0}; | 102 | | | 103 | 3.60k | if constexpr(statically_spanable_range<R0>) { | 104 | 3.60k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 3.60k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 3.60k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm15EEETpTkNS0_14spanable_rangeEJNS3_IhLm120EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 7.21k | { | 101 | 7.21k | const std::span s0{r0}; | 102 | | | 103 | 7.21k | if constexpr(statically_spanable_range<R0>) { | 104 | 7.21k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 7.21k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 7.21k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm56EEETpTkNS0_14spanable_rangeEJNS3_IKhLm56EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 1.84k | { | 101 | 1.84k | const std::span s0{r0}; | 102 | | | 103 | 1.84k | if constexpr(statically_spanable_range<R0>) { | 104 | 1.84k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 1.84k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 1.84k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm7EEETpTkNS0_14spanable_rangeEJNS3_IhLm56EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 3.68k | { | 101 | 3.68k | const std::span s0{r0}; | 102 | | | 103 | 3.68k | if constexpr(statically_spanable_range<R0>) { | 104 | 3.68k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 3.68k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 3.68k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm4EEETpTkNS0_14spanable_rangeEJNS3_IhLm32EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm57EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm57EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 1.98k | { | 101 | 1.98k | const std::span s0{r0}; | 102 | | | 103 | 1.98k | if constexpr(statically_spanable_range<R0>) { | 104 | 1.98k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 1.98k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 1.98k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm56EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm56EEETpTkNS0_14spanable_rangeEJNS2_6vectorIhNS_16secure_allocatorIhEEEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENS_6StrongINSt3__15arrayIhLm56EEENS_9Point448_EJEEETpTkNS0_14spanable_rangeEJNS3_4spanIKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENS_6StrongINSt3__15arrayIhLm56EEENS_11ScalarX448_EJEEETpTkNS0_14spanable_rangeEJNS3_4spanIKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorIiNS2_9allocatorIiEEEETpTkNS0_14spanable_rangeEJS6_EEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm1EEETpTkNS0_14spanable_rangeEJNS3_IhLm8EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 9.87M | { | 101 | 9.87M | const std::span s0{r0}; | 102 | | | 103 | 9.87M | if constexpr(statically_spanable_range<R0>) { | 104 | 9.87M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 9.87M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 9.87M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm16EEETpTkNS0_14spanable_rangeEJNS3_ImLm2EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 102k | { | 101 | 102k | const std::span s0{r0}; | 102 | | | 103 | 102k | if constexpr(statically_spanable_range<R0>) { | 104 | 102k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 102k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 102k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm2EEETpTkNS0_14spanable_rangeEJNS3_IhLm16EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanItLm1EEETpTkNS0_14spanable_rangeEJNS3_IhLm2EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 173k | { | 101 | 173k | const std::span s0{r0}; | 102 | | | 103 | 173k | if constexpr(statically_spanable_range<R0>) { | 104 | 173k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 173k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 173k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorIsNS2_9allocatorIsEEEETpTkNS0_14spanable_rangeEJS6_EEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIjLm1EEETpTkNS0_14spanable_rangeEJNS3_IhLm4EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENS_10StrongSpanINS_6StrongINSt3__16vectorIhNS_16secure_allocatorIhEEEENS_18KyberSharedSecret_EJEEEEETpTkNS0_14spanable_rangeEJSA_EEEvRKT_DpRKT0_QgtsZT0_Li0E Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__16vectorIhNS2_9allocatorIhEEEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm18446744073709551615EEENS3_IhNS_16secure_allocatorIhEEEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENS_10StrongSpanINS_6StrongINSt3__16vectorIhNS4_9allocatorIhEEEENS_16SphincsTreeNode_EJEEEEETpTkNS0_14spanable_rangeEJSA_EEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 14.6k | { | 101 | 14.6k | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 14.6k | } else { | 107 | 14.6k | const size_t expected_size = s0.size_bytes(); | 108 | 14.6k | const bool correct_size = | 109 | 14.6k | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 14.6k | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 14.6k | } | 115 | 14.6k | } |
Unexecuted instantiation: _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS_6StrongINS2_6vectorIhNS2_9allocatorIhEEEENS_16SphincsTreeNode_EJEEEEEEvRKT_DpRKT0_QgtsZT0_Li0E _ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm2EEETpTkNS0_14spanable_rangeEJNS2_4spanIhLm16EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 556k | { | 101 | 556k | const std::span s0{r0}; | 102 | | | 103 | 556k | if constexpr(statically_spanable_range<R0>) { | 104 | 556k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 556k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 556k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayImLm2EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm16EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 2.38M | { | 101 | 2.38M | const std::span s0{r0}; | 102 | | | 103 | 2.38M | if constexpr(statically_spanable_range<R0>) { | 104 | 2.38M | constexpr size_t expected_size = s0.size_bytes(); | 105 | 2.38M | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 2.38M | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm16EEETpTkNS0_14spanable_rangeEJNS2_5arrayImLm2EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 556k | { | 101 | 556k | const std::span s0{r0}; | 102 | | | 103 | 556k | if constexpr(statically_spanable_range<R0>) { | 104 | 556k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 556k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 556k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm16EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 102k | { | 101 | 102k | const std::span s0{r0}; | 102 | | | 103 | 102k | if constexpr(statically_spanable_range<R0>) { | 104 | 102k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 102k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 102k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIhLm16EEETpTkNS0_14spanable_rangeEJS4_EEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 102k | { | 101 | 102k | const std::span s0{r0}; | 102 | | | 103 | 102k | if constexpr(statically_spanable_range<R0>) { | 104 | 102k | constexpr size_t expected_size = s0.size_bytes(); | 105 | 102k | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | | } else { | 107 | | const size_t expected_size = s0.size_bytes(); | 108 | | const bool correct_size = | 109 | | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | | if(!correct_size) { | 112 | | memory_region_size_violation(); | 113 | | } | 114 | | } | 115 | 102k | } |
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJS4_S4_EEEvRKT_DpRKT0_QgtsZT0_Li0E Line | Count | Source | 100 | 102k | { | 101 | 102k | const std::span s0{r0}; | 102 | | | 103 | | if constexpr(statically_spanable_range<R0>) { | 104 | | constexpr size_t expected_size = s0.size_bytes(); | 105 | | (assert_exact_byte_length<expected_size>(rs), ...); | 106 | 102k | } else { | 107 | 102k | const size_t expected_size = s0.size_bytes(); | 108 | 102k | const bool correct_size = | 109 | 204k | ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...); | 110 | | | 111 | 102k | if(!correct_size) { | 112 | 0 | memory_region_size_violation(); | 113 | 0 | } | 114 | 102k | } | 115 | 102k | } |
|
116 | | |
117 | | } // namespace Botan::ranges |
118 | | |
119 | | #endif |