Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| typedef struct _DateTime { | |
| uint16_t year; | |
| uint8_t month; | |
| uint8_t day; | |
| uint8_t hour; | |
| uint8_t minute; | |
| uint8_t second; | |
| } DateTime; | |
| uint8_t monthDays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; |
| export class BTreeNode { | |
| constructor(isLeaf) { | |
| /** | |
| * @type {number[]} list of values in the node | |
| */ | |
| this.values = []; | |
| /** | |
| * @type {boolean} is a leaf | |
| */ | |
| this.leaf = isLeaf; |
| import java.util.Arrays; | |
| import java.util.concurrent.locks.Lock; | |
| import java.util.concurrent.locks.ReentrantLock; | |
| import java.util.concurrent.locks.ReentrantReadWriteLock; | |
| public class Node { | |
| static final int MIN_ELEMENTS = 30, MAX_ELEMENTS = 2 * MIN_ELEMENTS; | |
| private int[] data; | |
| private int len; |
| #[derive(Copy, Clone, PartialEq, Eq, Debug)] | |
| pub struct True; | |
| #[derive(Copy, Clone, PartialEq, Eq, Debug)] | |
| pub struct False; | |
| pub trait Bool { | |
| fn new() -> Self; | |
| } | |
| impl Bool for True { |
| #[derive(Copy, Clone, PartialEq, Eq, Debug)] | |
| pub struct True; | |
| #[derive(Copy, Clone, PartialEq, Eq, Debug)] | |
| pub struct False; | |
| pub trait Bool { | |
| fn new() -> Self; | |
| } | |
| impl Bool for True { |
| # source:http://reocities.com/SiliconValley/heights/7052/opcode.txt | |
| From: [email protected] (Mark Hopkins) | |
| Newsgroups: alt.lang.asm | |
| Subject: A Summary of the 80486 Opcodes and Instructions | |
| (1) The 80x86 is an Octal Machine | |
| This is a follow-up and revision of an article posted in alt.lang.asm on | |
| 7-5-92 concerning the 80x86 instruction encoding. | |
| The only proper way to understand 80x86 coding is to realize that ALL 80x86 |
| [ | |
| { | |
| "num": 0, | |
| "name": "sys_read", | |
| "params": [ | |
| [ | |
| "unsigned int", | |
| "fd" | |
| ], | |
| [ |
| /* @flow */ | |
| const KEY_KIND_STRING = 1; | |
| const KEY_KIND_NUMBER = 2; | |
| const KEY_KIND_BOOL = 3; | |
| const KEY_KIND_RECORD = 4; | |
| type KeyKind = 1 | 2 | 3 | 4; | |
| class KeyValue<K, V> { | |
| key: ?K; |