mirror of
https://github.com/dlang/phobos.git
synced 2025-05-06 02:45:12 +03:00
Remove explicit hex string casts
This commit is contained in:
parent
3d909ad863
commit
f6b2932268
6 changed files with 204 additions and 204 deletions
|
@ -7,11 +7,11 @@ import std.internal.unicode_tables;
|
|||
static if (size_t.sizeof == 4)
|
||||
{
|
||||
//10144 bytes
|
||||
enum combiningClassTrieEntries = TrieEntry!(ubyte, 8, 8, 5)(cast(immutable size_t[]) x"
|
||||
enum combiningClassTrieEntries = TrieEntry!(ubyte, 8, 8, 5)(x"
|
||||
0000000000000040000005C0",
|
||||
cast(immutable size_t[]) x"
|
||||
x"
|
||||
0000010000000B00000010A0",
|
||||
cast(immutable size_t[]) x"
|
||||
x"
|
||||
020201000402030206020205090807020000000000000000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
|
@ -226,11 +226,11 @@ E600E6E6E6E600E600E6E6E600000000000000000000000000000000000000000000000000000000
|
|||
00000000000000000000000000000000",
|
||||
);
|
||||
enum composeIdxMask = (1 << 11) - 1, composeCntShift = 11;
|
||||
enum compositionJumpTrieEntries = TrieEntry!(ushort, 12, 9)(cast(immutable size_t[]) x"
|
||||
enum compositionJumpTrieEntries = TrieEntry!(ushort, 12, 9)(x"
|
||||
0000000000000800",
|
||||
cast(immutable size_t[]) x"
|
||||
x"
|
||||
0000100000002600",
|
||||
cast(immutable size_t[]) x"
|
||||
x"
|
||||
00010000000300020005000400070006000700080007000700090007000A0007000C000B000700070007000700070007
|
||||
0007000D0007000700070007000700070007000700070007000700070007000700070007000700070007000700070007
|
||||
000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007
|
||||
|
@ -919,11 +919,11 @@ return t[];
|
|||
static if (size_t.sizeof == 8)
|
||||
{
|
||||
//10144 bytes
|
||||
enum combiningClassTrieEntries = TrieEntry!(ubyte, 8, 8, 5)(cast(immutable size_t[]) x"
|
||||
enum combiningClassTrieEntries = TrieEntry!(ubyte, 8, 8, 5)(x"
|
||||
0000000000000000000000000000002000000000000002E0",
|
||||
cast(immutable size_t[]) x"
|
||||
x"
|
||||
00000000000001000000000000000B0000000000000010A0",
|
||||
cast(immutable size_t[]) x"
|
||||
x"
|
||||
040203020202010009080702060202050000000000000000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
|
@ -1138,11 +1138,11 @@ E6E6E6E600000000000000000007E6E6000000000000000000000000000000000000000000000000
|
|||
00000000000000000000000000000000",
|
||||
);
|
||||
enum composeIdxMask = (1 << 11) - 1, composeCntShift = 11;
|
||||
enum compositionJumpTrieEntries = TrieEntry!(ushort, 12, 9)(cast(immutable size_t[]) x"
|
||||
enum compositionJumpTrieEntries = TrieEntry!(ushort, 12, 9)(x"
|
||||
00000000000000000000000000000400",
|
||||
cast(immutable size_t[]) x"
|
||||
x"
|
||||
00000000000010000000000000002600",
|
||||
cast(immutable size_t[]) x"
|
||||
x"
|
||||
000300020001000000070006000500040007000700070008000A00070009000700070007000C000B0007000700070007
|
||||
000700070007000D00070007000700070007000700070007000700070007000700070007000700070007000700070007
|
||||
000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue