Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| private static uint Adler32(string str) | |
| { | |
| const int mod = 65521; | |
| uint a = 1, b = 0; | |
| foreach (char c in str) { | |
| a = (a + c) % mod; | |
| b = (b + a) % mod; | |
| } | |
| return (b << 16) | a; | |
| } |
| from typing import ( | |
| Sequence, | |
| Iterable, | |
| Callable | |
| ) | |
| type Predicate[ T ] = Callable[ [ T ] , bool ] | |
| type Converter[ TIn , TOut ] = Callable[ [ TIn ] , TOut ] | |
| class QueryException( Exception ): |
| global using Results; | |
| global using static Results.Result; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Runtime.CompilerServices; | |
| namespace Results; |