Adventures in SIMD Thinking (Part 2 of 2)
} else { return -1; } } return pDst - pDstOrig; }Copyright © 2020 Bob Steagall Optimizing for ASCII 59 CppCon 2020 - Adventures in SIMD ThinkingCopyright © 2020 Bob Steagall K E W B C O M P U T I © 2020 Bob Steagall K E W B C O M P U T I N G 62 CppCon 2020 - Adventures in SIMD Thinking The ASCII-Optimized Conversion Algorithm (UTF-8 to UTF-32) KEWB_ALIGN_FN std::ptrdiff_t UtfUtils::FastConvert(char8_t Optimizing for ASCII with SSE 63 CppCon 2020 - Adventures in SIMD ThinkingCopyright © 2020 Bob Steagall K E W B C O M P U T I N G 64 CppCon 2020 - Adventures in SIMD Thinking The ASCII-Optimized Conversion0 码力 | 135 页 | 551.08 KB | 5 月前3C++高性能并行编程与优化 - 课件 - 15 C++ 系列课:字符与字符串
技术,用户自定义迭代器与算法 9. allocator ,内存管理与对象生命周期 ASCII 码 第 1 章 计算机如何表达字符 https://zh.wikipedia.org/wiki/ASCII 计算机如何表达字符 • 众所周知,计算机只能处理二进制 整数,字符要怎么办呢? • 于是就有了 ASCII 码表,他规定, 每个英文字符(包括大小写字母、 数字、特殊符号)都对应着一个整 32~126 这些整数就用于是表示这些 可显示字符 (printable character) 的。 计算机如何表达字符 • 除了可显示字符 (printable character) 外, ASCII 还规定了一 类特殊的控制字符 (control character) : • 0 表示空字符(‘ \0’ ) • 9 表示 Tab 制表符(‘ \t’ ) • 10 表示换行(‘ \n’ ) ) • 13 表示回车(‘ \r’ ) • 27 表示 ESC 键(‘ \x1b’ ) • 127 表示 DEL 键(‘ \x7f’ )等 • 0~31 和 127 这些整数,就构成了 ASCII 码中控制字符的部分。 关于控制字符的一个冷知识 • 在 Linux 命令行中启动 cat 。 • 试试按 Ctrl+R , Ctrl+E , Ctrl+C 等一系列 组合键,看到出现了什么? •0 码力 | 162 页 | 40.20 MB | 1 年前3Falcon v1.0.0 Documentation
field names in URI templates restricted to certain characters? Field names are restricted to the ASCII characters in the set [a-zA-Z_]. Using a restricted set of characters allows the framework to make stream will be left at EOF. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects destination of the link (default None). If the title includes non-ASCII characters, you will need to use title_star instead, or provide both a US-ASCII version using title and a Unicode version using title_star0 码力 | 312 页 | 368.58 KB | 1 年前3Python 标准库参考指南 3.6.15
textpad —用于 curses 程序的文本输入控件 . . . . . . . . . . . . . . . . . . . . . . . 650 16.12 curses.ascii —用于 ASCII 字符的工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651 16.13 curses.panel —curses binhex4 文件进行编码和解码 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999 19.8 binascii —二进制和 ASCII 码互转 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999 19.9 quopri —编码与解码经过 MIME help() min() setattr() all() dir() hex() next() slice() any() divmod() id() object() sorted() ascii() enumerate() input() oct() staticmethod() bin() eval() int() open() str() bool() exec() isinstance()0 码力 | 1886 页 | 8.95 MB | 9 月前3Python 标准库参考指南 3.6.15
textpad —用于 curses 程序的文本输入控件 . . . . . . . . . . . . . . . . . . . . . . . 650 16.12 curses.ascii —用于 ASCII 字符的工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651 16.13 curses.panel —curses binhex4 文件进行编码和解码 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999 19.8 binascii —二进制和 ASCII 码互转 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999 19.9 quopri —编码与解码经过 MIME help() min() setattr() all() dir() hex() next() slice() any() divmod() id() object() sorted() ascii() enumerate() input() oct() staticmethod() bin() eval() int() open() str() bool() exec() isinstance()0 码力 | 1886 页 | 8.95 MB | 9 月前3Python 标准库参考指南 3.7.13
curses.textpad --- 用于 curses 程序的文本输入控件 . . . . . . . . . . . . . . . . . . . . 626 16.12 curses.ascii --- 用于 ASCII 字符的工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . 627 16.13 curses.panel --- curses binhex4 文件进行编码和解码 . . . . . . . . . . . . . . . . . . . . . . . . . . . 988 20.8 binascii --- 二进制和 ASCII 码互转 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 989 20.9 quopri --- 编码与解码经过 MIME hash() memoryview() set() all() dict() help() min() setattr() any() dir() hex() next() slice() ascii() divmod() id() object() sorted() bin() enumerate() input() oct() staticmethod() bool() eval() int()0 码力 | 1846 页 | 9.09 MB | 9 月前3Python 标准库参考指南 3.7.13
textpad --- 用于 curses 程序的文本输入控件 . . . . . . . . . . . . . . . . . . . . . . 664 16.12 curses.ascii --- 用于 ASCII 字符的工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665 16.13 curses.panel --- 文件进行编码和解码 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1046 20.8 binascii --- 二进制和 ASCII 码互转 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047 20.9 quopri --- 编码与解码经过 hash() memoryview() set() all() dict() help() min() setattr() any() dir() hex() next() slice() ascii() divmod() id() object() sorted() bin() enumerate() input() oct() staticmethod() bool() eval() int()0 码力 | 1961 页 | 9.14 MB | 9 月前3Python 标准库参考指南 3.11.10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 758 16.12 curses.ascii --- 用于 ASCII 字符的工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . 759 16.13 curses.panel --- curses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1157 19.6 binascii --- 二进制和 ASCII 码互转 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1157 19.7 quopri --- 编码与解码经过 MIME 解析安全 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1258 21.6.3 解析 ASCII 编码字节 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1258 21.6.4 结构化解析结果 .0 码力 | 2248 页 | 11.10 MB | 9 月前3Python 标准库参考指南 3.12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781 viii 16.12 curses.ascii --- 用于 ASCII 字符的工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782 16.13 curses.panel --- 针对 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178 19.6 binascii --- 在二进制数据和 ASCII 之间进行转换 . . . . . . . . . . . . . . . . . . . . . . . 1179 19.7 quopri --- 编码与解码 MIME 转码的可打印数据 . 解析安全 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1276 21.6.3 解析 ASCII 编码字节 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1277 21.6.4 结构化解析结果 .0 码力 | 2253 页 | 11.81 MB | 9 月前3Python 标准库参考指南 3.12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781 viii 16.12 curses.ascii --- 用于 ASCII 字符的工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782 16.13 curses.panel --- 针对 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178 19.6 binascii --- 在二进制数据和 ASCII 之间进行转换 . . . . . . . . . . . . . . . . . . . . . . . 1179 19.7 quopri --- 编码与解码 MIME 转码的可打印数据 . 解析安全 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1276 21.6.3 解析 ASCII 编码字节 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1277 21.6.4 结构化解析结果 .0 码力 | 2253 页 | 11.81 MB | 9 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100