Remove explicit hex string casts

This commit is contained in:
Dennis Korpel 2024-03-19 14:36:26 +01:00 committed by The Dlang Bot
parent 3d909ad863
commit f6b2932268
6 changed files with 204 additions and 204 deletions

View file

@ -19,11 +19,11 @@ import std.internal.unicode_tables;
static if (size_t.sizeof == 4)
{
//23488 bytes
enum compatMappingTrieEntries = TrieEntry!(ushort, 8, 8, 5)(cast(immutable size_t[]) x"
enum compatMappingTrieEntries = TrieEntry!(ushort, 8, 8, 5)(x"
000000000000004000000540",
cast(immutable size_t[]) x"
x"
0000010000000A0000002360",
cast(immutable size_t[]) x"
x"
020201000402030202020205070602020202020208020202000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
@ -516,11 +516,11 @@ cast(immutable size_t[]) x"
00000000000000000000000000000000",
);
//12544 bytes
enum canonMappingTrieEntries = TrieEntry!(ushort, 8, 8, 5)(cast(immutable size_t[]) x"
enum canonMappingTrieEntries = TrieEntry!(ushort, 8, 8, 5)(x"
000000000000004000000440",
cast(immutable size_t[]) x"
x"
000001000000080000001000",
cast(immutable size_t[]) x"
x"
020201000302020202020204020502020202020206020202000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
@ -1636,11 +1636,11 @@ return t[];
static if (size_t.sizeof == 8)
{
//23488 bytes
enum compatMappingTrieEntries = TrieEntry!(ushort, 8, 8, 5)(cast(immutable size_t[]) x"
enum compatMappingTrieEntries = TrieEntry!(ushort, 8, 8, 5)(x"
0000000000000000000000000000002000000000000002A0",
cast(immutable size_t[]) x"
x"
00000000000001000000000000000A000000000000002360",
cast(immutable size_t[]) x"
x"
040203020202010007060202020202050802020202020202000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
@ -2133,11 +2133,11 @@ cast(immutable size_t[]) x"
00000000000000000000000000000000",
);
//12544 bytes
enum canonMappingTrieEntries = TrieEntry!(ushort, 8, 8, 5)(cast(immutable size_t[]) x"
enum canonMappingTrieEntries = TrieEntry!(ushort, 8, 8, 5)(x"
000000000000000000000000000000200000000000000220",
cast(immutable size_t[]) x"
x"
000000000000010000000000000008000000000000001000",
cast(immutable size_t[]) x"
x"
030202020202010002050202020202040602020202020202000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000