more child-process (#18688)

Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com>
This commit is contained in:
pfg
2025-05-06 22:12:24 -07:00
committed by GitHub
parent d291b56f8b
commit 00a3cbd977
70 changed files with 2990 additions and 917 deletions

View File

@@ -3765,8 +3765,7 @@ pub fn wtf8Sequence(code_point: u32) [4]u8 {
pub inline fn wtf8ByteSequenceLength(first_byte: u8) u8 {
return switch (first_byte) {
0 => 0,
1...0x80 - 1 => 1,
0...0x80 - 1 => 1,
else => if ((first_byte & 0xE0) == 0xC0)
2
else if ((first_byte & 0xF0) == 0xE0)