diff --git a/d3/d37/unicode-inl_8h_source.html b/d3/d37/unicode-inl_8h_source.html index 910c82814..c69a2a46b 100644 --- a/d3/d37/unicode-inl_8h_source.html +++ b/d3/d37/unicode-inl_8h_source.html @@ -130,29 +130,30 @@
25 size_t i = 0;
26 for (; i + 8 <= size; i += 8) {
27 unsigned char chunk[8];
-
28 std::memcpy(&chunk, data + i, 8); // entices compiler to unconditionally process 8 characters
-
29
-
30 // Check 8 characters at once
-
31 for (size_t j = 0; j < 8; j++) {
-
32 if (character_sets::bit_at(character_set, chunk[j])) {
-
33 return i + j;
-
34 }
-
35 }
-
36 }
-
37
-
38 // Handle remaining bytes
-
39 for (; i < size; i++) {
-
40 if (character_sets::bit_at(character_set, data[i])) {
-
41 return i;
-
42 }
-
43 }
-
44
-
45 return size;
-
46}
+
28 std::memcpy(&chunk, data + i,
+
29 8); // entices compiler to unconditionally process 8 characters
+
30
+
31 // Check 8 characters at once
+
32 for (size_t j = 0; j < 8; j++) {
+
33 if (character_sets::bit_at(character_set, chunk[j])) {
+
34 return i + j;
+
35 }
+
36 }
+
37 }
+
38
+
39 // Handle remaining bytes
+
40 for (; i < size; i++) {
+
41 if (character_sets::bit_at(character_set, data[i])) {
+
42 return i;
+
43 }
+
44 }
+
45
+
46 return size;
+
47}
-
47} // namespace ada::unicode
-
48
-
49#endif // ADA_UNICODE_INL_H
+
48} // namespace ada::unicode
+
49
+
50#endif // ADA_UNICODE_INL_H
ada_really_inline
#define ada_really_inline
Definition common_defs.h:77
ada::character_sets::bit_at
ada_really_inline constexpr bool bit_at(const uint8_t a[], const uint8_t i)
Definition character_sets-inl.h:515
ada::unicode
Includes the declarations for unicode operations.