相对稳定版本
This commit is contained in:
1 parent
a39b5da0f8
commit
2071486168
6310 files changed
+99310
-37
No files matched your search
@@ -0,0 +1 @@
|
||||
t c vipermath
|
||||
@@ -0,0 +1 @@
|
||||
t stdint w32.win32base
|
||||
@@ -0,0 +1 @@
|
||||
t stdint w32.win32base
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint vqt6._types
|
||||
@@ -0,0 +1,15 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import stdio
|
||||
import stdlib
|
||||
import string
|
||||
import memhub
|
||||
import argparse
|
||||
import testcheck
|
||||
_mbuddy: memhub.MemBuddy | t.CPtr
|
||||
@t.CExport
|
||||
def main() -> int: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint platmacro memhub string stdio w32.win32base w32 w32.win32process w32 posix
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint w32.win32base w32.win32sync
|
||||
@@ -0,0 +1 @@
|
||||
string t c
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint string memhub platmacro
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint
|
||||
@@ -0,0 +1 @@
|
||||
string t c
|
||||
@@ -0,0 +1 @@
|
||||
stdint string stdlib memhub t c
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string stdio json
|
||||
@@ -0,0 +1,19 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import memhub
|
||||
import string
|
||||
from stdio import snprintf
|
||||
from . import JsonValue, JSON_NULL, JSON_BOOL, JSON_INT, JSON_FLOAT, JSON_STRING, JSON_ARRAY, JSON_OBJECT
|
||||
def _write_char(buf: t.CChar | t.CPtr, pos: t.CSizeT, ch: t.CChar) -> t.CSizeT: pass
|
||||
|
||||
def _write_str(buf: t.CChar | t.CPtr, pos: t.CSizeT, s: t.CChar | t.CPtr) -> t.CSizeT: pass
|
||||
|
||||
def _write_string_escaped(buf: t.CChar | t.CPtr, pos: t.CSizeT, s: t.CChar | t.CPtr) -> t.CSizeT: pass
|
||||
|
||||
def _write_value(buf: t.CChar | t.CPtr, pos: t.CSizeT, val: JsonValue | t.CPtr, pool: memhub.MemManager | t.CPtr) -> t.CSizeT: pass
|
||||
|
||||
def write(pool: memhub.MemManager | t.CPtr, val: JsonValue | t.CPtr, pretty: bool) -> t.CChar | t.CPtr: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string viperlib ast.tokens
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string json
|
||||
@@ -0,0 +1,35 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import memhub
|
||||
import string
|
||||
from . import JsonValue, JSON_NULL, JSON_BOOL, JSON_INT, JSON_FLOAT, JSON_STRING, JSON_ARRAY, JSON_OBJECT, null, bool_val, int_val, float_val, string_val, array, object
|
||||
class ParseState:
|
||||
src: t.CChar | t.CPtr
|
||||
pos: t.CSizeT
|
||||
len: t.CSizeT
|
||||
pool: memhub.MemManager | t.CPtr
|
||||
def __init__(self, src: t.CChar | t.CPtr, pool: memhub.MemManager | t.CPtr): pass
|
||||
|
||||
def _peek(s: ParseState | t.CPtr) -> t.CChar: pass
|
||||
|
||||
def _advance(s: ParseState | t.CPtr) -> t.CChar: pass
|
||||
|
||||
def _skip_whitespace(s: ParseState | t.CPtr): pass
|
||||
|
||||
def _expect(s: ParseState | t.CPtr, ch: t.CChar) -> bool: pass
|
||||
|
||||
def _parse_string(s: ParseState | t.CPtr) -> t.CChar | t.CPtr: pass
|
||||
|
||||
def _parse_number(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def _parse_value(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def _parse_array(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def _parse_object(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def parse(pool: memhub.MemManager | t.CPtr, src: t.CChar | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1,20 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
def printf(fmt: t.CConst | str, *args) -> int | t.State: pass
|
||||
|
||||
def fprintf(stream: bytes, fmt: t.CConst | str, *args) -> int | t.State: pass
|
||||
|
||||
def sprintf(buf: bytes, fmt: t.CConst | str, *args) -> int | t.State: pass
|
||||
|
||||
def snprintf(buf: bytes, size: t.CSizeT, fmt: t.CConst | str, *args) -> int | t.State: pass
|
||||
|
||||
def puts(s: t.CConst | str) -> int | t.State: pass
|
||||
|
||||
def fputs(s: t.CConst | str, stream: bytes) -> int | t.State: pass
|
||||
|
||||
def fgets(buf: bytes, size: int, stream: bytes) -> bytes | t.State: pass
|
||||
|
||||
def fflush(stream: bytes) -> int | t.State: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint
|
||||
@@ -0,0 +1 @@
|
||||
t c string memhub stdint
|
||||
@@ -0,0 +1,41 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
import string
|
||||
import memhub
|
||||
from stdint import *
|
||||
_HT_EMPTY: t.CDefine = 0
|
||||
_HT_TOMBSTONE: t.CDefine = 1
|
||||
_HT_INIT_CAP: t.CDefine = 16
|
||||
_HT_SLOT_SIZE: t.CDefine = 24
|
||||
_FNV_OFFSET: t.CUInt64T = 2216829733
|
||||
_FNV_PRIME: t.CUInt64T = 435
|
||||
def _fnv1a_hash(key: str) -> t.CUInt64T: pass
|
||||
|
||||
class HashTable:
|
||||
__slots__: t.CVoid | t.CPtr
|
||||
__count__: t.CSizeT
|
||||
__capacity__: t.CSizeT
|
||||
__tombstones__: t.CSizeT
|
||||
__mbuddy__: memhub.MemBuddy | t.CPtr
|
||||
__iter_index__: t.CSizeT
|
||||
def __new__(self, mb: memhub.MemBuddy | t.CPtr) -> t.CPtr: pass
|
||||
def __init__(self, mb: memhub.MemBuddy | t.CPtr): pass
|
||||
def _slot_hash(self, idx: t.CSizeT) -> t.CUInt64T: pass
|
||||
def _slot_key(self, idx: t.CSizeT) -> str: pass
|
||||
def _slot_value(self, idx: t.CSizeT) -> t.CPtr: pass
|
||||
def _set_slot(self, idx: t.CSizeT, h: t.CUInt64T, key: str, val: t.CPtr): pass
|
||||
def _find_slot(self, key: str, h: t.CUInt64T) -> t.CSizeT: pass
|
||||
def _resize(self, new_cap: t.CSizeT): pass
|
||||
def __setitem__(self, key: str, val: t.CNeedPtr): pass
|
||||
def __getitem__(self, key: str) -> t.CPtr: pass
|
||||
def __contains__(self, key: str) -> t.CInt: pass
|
||||
def __delitem__(self, key: str) -> t.CInt: pass
|
||||
def __len__(self) -> t.CSizeT: pass
|
||||
def __iter__(self) -> HashTable | t.CPtr: pass
|
||||
def __next__(self) -> str: pass
|
||||
def get(self, key: str, default: t.CPtr) -> t.CPtr: pass
|
||||
def set_int(self, key: str, val: int): pass
|
||||
def set_str(self, key: str, val: str): pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint w32.win32base w32.win32sync
|
||||
@@ -0,0 +1 @@
|
||||
stdio t c
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string viperlib llvmlite.__types llvmlite.__values llvmlite.__function llvmlite.__module llvmlite.__builder llvmlite.__verify
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1 @@
|
||||
string
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint w32.win32base w32.win32sync
|
||||
@@ -0,0 +1 @@
|
||||
stdint zlib.zdeflate zdeflate zlib.zinflate zinflate zlib.zchecksum zchecksum zlib.zdef zdef zlib.zhuff zhuff stdlib string memhub t c
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint string stdio viperlib memhub linkedlist llvmlite.__types llvmlite.__function
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string ast.base
|
||||
@@ -0,0 +1 @@
|
||||
stdint zlib.zchecksum zchecksum zlib.zdef zdef zlib.zhuff zhuff string memhub t c
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint platmacro memhub os.path os os._win32 os os._posix os
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string ast.base
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint viperlib string memhub stdio stdlib linkedlist
|
||||
@@ -0,0 +1 @@
|
||||
t c atom
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint w32.win32base
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string ast.base
|
||||
@@ -0,0 +1 @@
|
||||
stdio
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint string viperlib memhub linkedlist llvmlite.__function llvmlite.__module
|
||||
@@ -0,0 +1 @@
|
||||
stdint t
|
||||
@@ -0,0 +1,18 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
import c
|
||||
|
||||
from stdint import *
|
||||
import t
|
||||
def malloc(size: t.CSizeT) -> t.CVoid | t.CPtr | t.State: pass
|
||||
|
||||
def calloc(nmemb: t.CSizeT, size: t.CSizeT) -> t.CVoid | t.CPtr | t.State: pass
|
||||
|
||||
def realloc(p: t.CVoid | t.CPtr, size: t.CSizeT) -> t.CVoid | t.CPtr | t.State: pass
|
||||
|
||||
def free(p: t.CVoid | t.CPtr) -> t.State: pass
|
||||
|
||||
def system(cmd: t.CConst | t.CChar | t.CPtr) -> INT | t.State: pass
|
||||
|
||||
def exit(status: int) -> t.State: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t stdint
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string viperio json.__parser json.__writer
|
||||
@@ -0,0 +1,65 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import memhub
|
||||
import string
|
||||
import viperio
|
||||
JSON_NULL: t.CDefine = 0
|
||||
JSON_BOOL: t.CDefine = 1
|
||||
JSON_INT: t.CDefine = 2
|
||||
JSON_FLOAT: t.CDefine = 3
|
||||
JSON_STRING: t.CDefine = 4
|
||||
JSON_ARRAY: t.CDefine = 5
|
||||
JSON_OBJECT: t.CDefine = 6
|
||||
class JsonValue:
|
||||
vtype: t.CInt
|
||||
bool_val: t.CInt
|
||||
int_val: t.CInt64T
|
||||
float_val: t.CDouble
|
||||
str_val: t.CChar | t.CPtr
|
||||
next: 'JsonValue' | t.CPtr
|
||||
key: t.CChar | t.CPtr
|
||||
child: 'JsonValue' | t.CPtr
|
||||
child_count: t.CSizeT
|
||||
def __new__(self, pool: memhub.MemManager | t.CPtr): pass
|
||||
def type(self) -> t.CInt: pass
|
||||
def is_null(self) -> bool: pass
|
||||
def is_bool(self) -> bool: pass
|
||||
def is_int(self) -> bool: pass
|
||||
def is_float(self) -> bool: pass
|
||||
def is_string(self) -> bool: pass
|
||||
def is_array(self) -> bool: pass
|
||||
def is_object(self) -> bool: pass
|
||||
def as_bool(self) -> bool: pass
|
||||
def as_int(self) -> t.CInt64T: pass
|
||||
def as_float(self) -> t.CDouble: pass
|
||||
def as_string(self) -> t.CChar | t.CPtr: pass
|
||||
def __len__(self) -> t.CSizeT: pass
|
||||
def __getitem__(self, key: t.CChar | t.CPtr) -> 'JsonValue' | t.CPtr: pass
|
||||
def __setitem__(self, key: t.CChar | t.CPtr, val: 'JsonValue' | t.CPtr): pass
|
||||
def get_item(self, index: t.CSizeT) -> 'JsonValue' | t.CPtr: pass
|
||||
def _pool_alloc(self, size: t.CSizeT) -> t.CChar | t.CPtr: pass
|
||||
def _append_child(self, child: 'JsonValue' | t.CPtr): pass
|
||||
|
||||
def null(pool: memhub.MemManager | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def bool_val(pool: memhub.MemManager | t.CPtr, val: bool) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def int_val(pool: memhub.MemManager | t.CPtr, val: t.CInt64T) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def float_val(pool: memhub.MemManager | t.CPtr, val: t.CDouble) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def string_val(pool: memhub.MemManager | t.CPtr, val: t.CChar | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def array(pool: memhub.MemManager | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def object(pool: memhub.MemManager | t.CPtr) -> JsonValue | t.CPtr: pass
|
||||
|
||||
def array_append(pool: memhub.MemManager | t.CPtr, arr: JsonValue | t.CPtr, item: JsonValue | t.CPtr): pass
|
||||
|
||||
def object_set(pool: memhub.MemManager | t.CPtr, obj: JsonValue | t.CPtr, key: t.CChar | t.CPtr, val: JsonValue | t.CPtr): pass
|
||||
|
||||
from .__parser import parse
|
||||
from .__writer import write
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1 @@
|
||||
t
|
||||
@@ -0,0 +1 @@
|
||||
t stdint w32.win32base
|
||||
@@ -0,0 +1 @@
|
||||
t c stdio w32.win32console
|
||||
@@ -0,0 +1,27 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
import stdio
|
||||
from w32.win32console import SetConsoleOutputCP, SetConsoleCP
|
||||
CP_UTF8: t.CDefine = 65001
|
||||
_pass_count: t.CInt = 0
|
||||
_fail_count: t.CInt = 0
|
||||
_total_pass: t.CInt = 0
|
||||
_total_fail: t.CInt = 0
|
||||
def begin(name: str): pass
|
||||
|
||||
def section(name: str): pass
|
||||
|
||||
def ok(msg: str): pass
|
||||
|
||||
def fail(msg: str): pass
|
||||
|
||||
def check(cond: t.CInt, ok_msg: str, fail_msg: str): pass
|
||||
|
||||
def info(msg: str): pass
|
||||
|
||||
def end() -> t.CInt: pass
|
||||
|
||||
def summary() -> t.CInt: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint w32.win32process stdlib stdio string
|
||||
@@ -0,0 +1 @@
|
||||
t c memhub string stdint
|
||||
@@ -0,0 +1,27 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
import memhub
|
||||
import string
|
||||
from stdint import *
|
||||
class list[T]:
|
||||
__data__: t.CVoid | t.CPtr
|
||||
__count__: t.CSizeT
|
||||
__capacity__: t.CSizeT
|
||||
__pool__: memhub.MemManager | t.CPtr
|
||||
__elem_size__: t.CSizeT
|
||||
__iter_index__: t.CSizeT
|
||||
def __new__(self, pool: memhub.MemManager | t.CPtr, elem_size: t.CSizeT): pass
|
||||
def __init__(self, pool: memhub.MemManager | t.CPtr, elem_size: t.CSizeT): pass
|
||||
def __len__(self) -> t.CSizeT: pass
|
||||
def append(self, item: T): pass
|
||||
def get(self, index: t.CSizeT) -> T: pass
|
||||
def __getitem__(self, index: t.CSizeT) -> T: pass
|
||||
def set(self, index: t.CSizeT, value: T): pass
|
||||
def __setitem__(self, index: t.CSizeT, value: T): pass
|
||||
def pop(self) -> T: pass
|
||||
def clear(self): pass
|
||||
def __iter__(self) -> list[T] | t.CPtr: pass
|
||||
def __next__(self) -> T: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint platmacro memhub string w32.win32base w32 w32.win32file w32 posix
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint string viperlib memhub stdio linkedlist llvmlite.__types
|
||||
@@ -0,0 +1 @@
|
||||
stdint t c
|
||||
@@ -0,0 +1 @@
|
||||
stdint zlib.zchecksum zchecksum zlib.zhuff zhuff zlib.zdef zdef string memhub t c
|
||||
@@ -0,0 +1 @@
|
||||
hashlib.__md5 hashlib.__sha1 hashlib.__sha256 hashlib.__sha512
|
||||
@@ -0,0 +1 @@
|
||||
t stdint vqt6._types vqt6._qtcore vqt6._qtwidgets vqt6._qtgui vqt6._qtnetwork
|
||||
@@ -0,0 +1,18 @@
|
||||
b370d93b74bf55cc:includes/argparse.vp
|
||||
aa246c6e6aa30484:includes/atom.vp
|
||||
2b77d783c41d21d1:includes/hashtable.vp
|
||||
6ddf430432a0e373:includes/json/__init__.vp
|
||||
240a9a4157959a9f:includes/json/__parser.vp
|
||||
20cd49775c100a38:includes/json/__writer.vp
|
||||
f9d023d1df2bc9c5:includes/memhub.vp
|
||||
f5522571bcce7bcb:includes/stdint.vp
|
||||
285b6aa29a34754d:includes/stdio.vp
|
||||
6c658cc728d0bbf4:includes/stdlib.vp
|
||||
ffaf70367668b227:includes/string.vp
|
||||
748d0424e8976fa0:includes/testcheck.vp
|
||||
c9f4be41ca1cc2b4:includes/viperio.vp
|
||||
fc980acec33d69a7:includes/w32/win32base.vp
|
||||
bbdf3bbd4c3bc28c:includes/w32/win32console.vp
|
||||
e0f0afe3caa1e486:includes/_dict.vp
|
||||
7cadfe07e983fd90:includes/_list.vp
|
||||
08ea5281873244fd:main.vp
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint string socket memhub stdio
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint platmacro memhub string w32.win32base w32 w32.win32file w32 w32.win32process w32 w32.win32sync w32 posix
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint w32.win32base w32 w32.win32file w32 memhub stdlib
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint string viperlib memhub stdio linkedlist llvmlite.__types llvmlite.__values llvmlite.__function
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint w32.win32base w32.win32sync
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1,22 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
ATOMIC_RELAXED: t.CDefine = 0
|
||||
ATOMIC_CONSUME: t.CDefine = 1
|
||||
ATOMIC_ACQUIRE: t.CDefine = 2
|
||||
ATOMIC_RELEASE: t.CDefine = 3
|
||||
ATOMIC_ACQ_REL: t.CDefine = 4
|
||||
ATOMIC_SEQ_CST: t.CDefine = 5
|
||||
def __atomic_test_and_set(ptr: t.CUInt64T | t.CPtr, order: t.CInt) -> t.CBool: pass
|
||||
|
||||
def __atomic_clear(ptr: t.CUInt64T | t.CPtr, order: t.CInt) -> t.CVoid: pass
|
||||
|
||||
def __atomic_thread_fence(order: t.CInt) -> t.CVoid: pass
|
||||
|
||||
def __atomic_signal_fence(order: t.CInt) -> t.CVoid: pass
|
||||
|
||||
def __atomic_always_lock_free(size: t.CSizeT, ptr: t.CVoid | t.CPtr) -> t.CBool: pass
|
||||
|
||||
def __atomic_is_lock_free(size: t.CSizeT, ptr: t.CVoid | t.CPtr) -> t.CBool: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint w32.win32base w32.win32process w32.win32sync lock event condition rwlock
|
||||
@@ -0,0 +1 @@
|
||||
t
|
||||
@@ -0,0 +1 @@
|
||||
t memhub string
|
||||
@@ -0,0 +1 @@
|
||||
t c string memhub stdio hashtable
|
||||
@@ -0,0 +1,64 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
import string
|
||||
import memhub
|
||||
import stdio
|
||||
import hashtable
|
||||
STRING: t.CDefine = 0
|
||||
INT: t.CDefine = 1
|
||||
BOOL: t.CDefine = 2
|
||||
STORE: t.CDefine = 0
|
||||
STORE_TRUE: t.CDefine = 1
|
||||
STORE_FALSE: t.CDefine = 2
|
||||
COUNT: t.CDefine = 3
|
||||
MAX_ARGS: t.CDefine = 32
|
||||
_mbuddy: memhub.MemBuddy | t.CPtr
|
||||
class Argument:
|
||||
name: str
|
||||
short_name: str
|
||||
help_text: str
|
||||
arg_type: int
|
||||
action: int
|
||||
default_int: int
|
||||
default_str: str
|
||||
required: bool
|
||||
is_positional: bool
|
||||
dest: str
|
||||
|
||||
class ParsedArgs:
|
||||
_ht: hashtable.HashTable | t.CPtr
|
||||
__mbuddy__: memhub.MemBuddy | t.CPtr
|
||||
def __new__(self, mb: memhub.MemBuddy | t.CPtr) -> t.CPtr: pass
|
||||
def __init__(self, mb: memhub.MemBuddy | t.CPtr): pass
|
||||
def get_str(self, name: str) -> str: pass
|
||||
def get_int(self, name: str) -> int: pass
|
||||
def get_bool(self, name: str) -> bool: pass
|
||||
def has(self, name: str) -> bool: pass
|
||||
def _set_str(self, name: str, val: str): pass
|
||||
def _set_int(self, name: str, val: int): pass
|
||||
def _set_bool(self, name: str, val: bool): pass
|
||||
|
||||
class ArgumentParser:
|
||||
_prog: str
|
||||
_description: str
|
||||
_args: Argument | t.CPtr
|
||||
_arg_count: int
|
||||
__mbuddy__: memhub.MemBuddy | t.CPtr
|
||||
def __new__(self, prog: str, description: str, pool: memhub.MemBuddy | t.CPtr) -> t.CPtr: pass
|
||||
def __init__(self, prog: str, description: str, pool: memhub.MemBuddy | t.CPtr): pass
|
||||
def add_argument(self, name: str, short: str, arg_type: int, default: int, default_str: str, required: bool, action: int, help: str): pass
|
||||
def _get_arg(self, idx: int) -> Argument | t.CPtr: pass
|
||||
def _find_long(self, token: str) -> int: pass
|
||||
def _find_long_prefix(self, token: str) -> int: pass
|
||||
def _find_short(self, token: str) -> int: pass
|
||||
def _find_positional(self, pos_idx: int) -> int: pass
|
||||
def _store_value(self, args: ParsedArgs | t.CPtr, arg: Argument | t.CPtr, value: str): pass
|
||||
def _apply_action(self, args: ParsedArgs | t.CPtr, arg: Argument | t.CPtr): pass
|
||||
def parse_args(self, argc: int, argv: str | t.CPtr) -> ParsedArgs | t.CPtr: pass
|
||||
def print_help(self): pass
|
||||
def print_usage(self): pass
|
||||
|
||||
def release(args: ParsedArgs | t.CPtr): pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string ast.base
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1 @@
|
||||
t stdint w32.win32base
|
||||
@@ -0,0 +1,141 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
import c
|
||||
|
||||
import t
|
||||
from stdint import *
|
||||
from w32.win32base import *
|
||||
ENABLE_PROCESSED_INPUT: t.CDefine = 1
|
||||
ENABLE_LINE_INPUT: t.CDefine = 2
|
||||
ENABLE_ECHO_INPUT: t.CDefine = 4
|
||||
ENABLE_WINDOW_INPUT: t.CDefine = 8
|
||||
ENABLE_MOUSE_INPUT: t.CDefine = 16
|
||||
ENABLE_INSERT_MODE: t.CDefine = 32
|
||||
ENABLE_QUICK_EDIT_MODE: t.CDefine = 64
|
||||
ENABLE_EXTENDED_FLAGS: t.CDefine = 128
|
||||
ENABLE_PROCESSED_OUTPUT: t.CDefine = 1
|
||||
ENABLE_WRAP_AT_EOL_OUTPUT: t.CDefine = 2
|
||||
ENABLE_VIRTUAL_TERMINAL_PROCESSING: t.CDefine = 4
|
||||
DISABLE_NEWLINE_AUTO_RETURN: t.CDefine = 8
|
||||
ENABLE_LVB_GRID_WORLDWIDE: t.CDefine = 16
|
||||
FOREGROUND_BLUE: t.CDefine = 1
|
||||
FOREGROUND_GREEN: t.CDefine = 2
|
||||
FOREGROUND_RED: t.CDefine = 4
|
||||
FOREGROUND_INTENSITY: t.CDefine = 8
|
||||
BACKGROUND_BLUE: t.CDefine = 16
|
||||
BACKGROUND_GREEN: t.CDefine = 32
|
||||
BACKGROUND_RED: t.CDefine = 64
|
||||
BACKGROUND_INTENSITY: t.CDefine = 128
|
||||
KEY_EVENT: t.CDefine = 1
|
||||
MOUSE_EVENT: t.CDefine = 2
|
||||
WINDOW_BUFFER_SIZE_EVENT: t.CDefine = 4
|
||||
MENU_EVENT: t.CDefine = 8
|
||||
FOCUS_EVENT: t.CDefine = 16
|
||||
class COORD:
|
||||
X: SHORT
|
||||
Y: SHORT
|
||||
|
||||
class SMALL_RECT:
|
||||
Left: SHORT
|
||||
Top: SHORT
|
||||
Right: SHORT
|
||||
Bottom: SHORT
|
||||
|
||||
class CONSOLE_SCREEN_BUFFER_INFO:
|
||||
dwSize: COORD
|
||||
dwCursorPosition: COORD
|
||||
wAttributes: WORD
|
||||
srWindow: SMALL_RECT
|
||||
dwMaximumWindowSize: COORD
|
||||
|
||||
class CONSOLE_CURSOR_INFO:
|
||||
dwSize: ULONG
|
||||
bVisible: BOOL
|
||||
|
||||
class CHAR_INFO:
|
||||
UnicodeChar: WCHAR
|
||||
Attributes: WORD
|
||||
|
||||
class KEY_EVENT_RECORD:
|
||||
bKeyDown: BOOL
|
||||
wRepeatCount: WORD
|
||||
wVirtualKeyCode: WORD
|
||||
wVirtualScanCode: WORD
|
||||
uChar: WCHAR
|
||||
dwControlKeyState: ULONG
|
||||
|
||||
class MOUSE_EVENT_RECORD:
|
||||
dwMousePosition: COORD
|
||||
dwButtonState: ULONG
|
||||
dwControlKeyState: ULONG
|
||||
dwEventFlags: ULONG
|
||||
|
||||
class WINDOW_BUFFER_SIZE_RECORD:
|
||||
dwSize: COORD
|
||||
|
||||
class INPUT_RECORD:
|
||||
EventType: WORD
|
||||
Event: KEY_EVENT_RECORD
|
||||
|
||||
def SetConsoleOutputCP(codepage: UINT) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleCP(codepage: UINT) -> BOOL | t.State: pass
|
||||
|
||||
def GetConsoleCP() -> UINT | t.State: pass
|
||||
|
||||
def GetConsoleOutputCP() -> UINT | t.State: pass
|
||||
|
||||
def GetConsoleScreenBufferInfo(hConsoleOutput: HANDLE, lpConsoleScreenBufferInfo: CONSOLE_SCREEN_BUFFER_INFO | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleScreenBufferSize(hConsoleOutput: HANDLE, dwSize: COORD) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleCursorPosition(hConsoleOutput: HANDLE, dwCursorPosition: COORD) -> BOOL | t.State: pass
|
||||
|
||||
def GetConsoleCursorInfo(hConsoleOutput: HANDLE, lpConsoleCursorInfo: CONSOLE_CURSOR_INFO | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleCursorInfo(hConsoleOutput: HANDLE, lpConsoleCursorInfo: CONSOLE_CURSOR_INFO | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleTextAttribute(hConsoleOutput: HANDLE, wAttributes: WORD) -> BOOL | t.State: pass
|
||||
|
||||
def FillConsoleOutputCharacterA(hConsoleOutput: HANDLE, cCharacter: t.CChar, nLength: ULONG, dwWriteCoord: COORD, lpNumberOfCharsWritten: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def FillConsoleOutputCharacterW(hConsoleOutput: HANDLE, cCharacter: WCHAR, nLength: ULONG, dwWriteCoord: COORD, lpNumberOfCharsWritten: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def FillConsoleOutputAttribute(hConsoleOutput: HANDLE, wAttribute: WORD, nLength: ULONG, dwWriteCoord: COORD, lpNumberOfAttrsWritten: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def WriteConsoleA(hConsoleOutput: HANDLE, lpBuffer: t.CConst | VOIDPTR, nNumberOfCharsToWrite: ULONG, lpNumberOfCharsWritten: ULONG | t.CPtr, lpReserved: VOIDPTR) -> BOOL | t.State: pass
|
||||
|
||||
def WriteConsoleW(hConsoleOutput: HANDLE, lpBuffer: t.CConst | VOIDPTR, nNumberOfCharsToWrite: ULONG, lpNumberOfCharsWritten: ULONG | t.CPtr, lpReserved: VOIDPTR) -> BOOL | t.State: pass
|
||||
|
||||
def ReadConsoleA(hConsoleInput: HANDLE, lpBuffer: VOIDPTR, nNumberOfCharsToRead: ULONG, lpNumberOfCharsRead: ULONG | t.CPtr, pInputControl: VOIDPTR) -> BOOL | t.State: pass
|
||||
|
||||
def ReadConsoleW(hConsoleInput: HANDLE, lpBuffer: VOIDPTR, nNumberOfCharsToRead: ULONG, lpNumberOfCharsRead: ULONG | t.CPtr, pInputControl: VOIDPTR) -> BOOL | t.State: pass
|
||||
|
||||
def GetConsoleMode(hConsoleHandle: HANDLE, lpMode: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleMode(hConsoleHandle: HANDLE, dwMode: ULONG) -> BOOL | t.State: pass
|
||||
|
||||
def ReadConsoleInputA(hConsoleInput: HANDLE, lpBuffer: INPUT_RECORD | t.CPtr, nLength: ULONG, lpNumberOfEventsRead: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def ReadConsoleInputW(hConsoleInput: HANDLE, lpBuffer: INPUT_RECORD | t.CPtr, nLength: ULONG, lpNumberOfEventsRead: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def GetNumberOfConsoleInputEvents(hConsoleInput: HANDLE, lpNumberOfEvents: ULONG | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def FlushConsoleInputBuffer(hConsoleInput: HANDLE) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleTitleA(lpConsoleTitle: LPCSTR) -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleTitleW(lpConsoleTitle: LPCWSTR) -> BOOL | t.State: pass
|
||||
|
||||
def GetConsoleTitleA(lpConsoleTitle: CHARPTR, nSize: ULONG) -> ULONG | t.State: pass
|
||||
|
||||
def GetConsoleTitleW(lpConsoleTitle: WCHARPTR, nSize: ULONG) -> ULONG | t.State: pass
|
||||
|
||||
def AllocConsole() -> BOOL | t.State: pass
|
||||
|
||||
def FreeConsole() -> BOOL | t.State: pass
|
||||
|
||||
def SetConsoleWindowInfo(hConsoleOutput: HANDLE, bAbsolute: BOOL, lpConsoleWindow: SMALL_RECT | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
def ScrollConsoleScreenBufferA(hConsoleOutput: HANDLE, lpScrollRectangle: SMALL_RECT | t.CPtr, lpClipRectangle: SMALL_RECT | t.CPtr, dwDestinationOrigin: COORD, lpFill: CHAR_INFO | t.CPtr) -> BOOL | t.State: pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint vqt6._types
|
||||
@@ -0,0 +1 @@
|
||||
stdint stdlib string vipermath stdio t c memhub
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint
|
||||
@@ -0,0 +1,19 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
class Buf:
|
||||
data: t.CChar | t.CPtr
|
||||
length: t.CSizeT
|
||||
capacity: t.CSizeT
|
||||
owned: bool
|
||||
def __init__(self, data: t.CChar | t.CPtr, capacity: t.CSizeT, length: t.CSizeT, owned: bool): pass
|
||||
def clear(self): pass
|
||||
def write(self, src: t.CChar | t.CPtr, count: t.CSizeT) -> t.CSizeT: pass
|
||||
def cstr(self) -> t.CChar | t.CPtr: pass
|
||||
def reset(self): pass
|
||||
def __enter__(self) -> 'Buf' | t.CPtr: pass
|
||||
def __exit__(self): pass
|
||||
def free(self): pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint stdio w32.win32base w32 w32.win32file w32
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint posix memhub stdlib
|
||||
@@ -0,0 +1 @@
|
||||
t c
|
||||
@@ -0,0 +1 @@
|
||||
stdint zlib.zdef zdef memhub t c
|
||||
@@ -0,0 +1 @@
|
||||
zlib.pyzlib
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint vqt6._types
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string ast.tokens ast.base ast.stmts ast.exprs ast.astaux ast.visitor ast.lexer ast.parser ast.parser
|
||||
@@ -0,0 +1 @@
|
||||
t c memhub string json stdint
|
||||
@@ -0,0 +1,49 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
|
||||
import t, c
|
||||
import memhub
|
||||
import string
|
||||
import json
|
||||
from stdint import *
|
||||
VARIANT_NONE: t.CDefine = 0
|
||||
VARIANT_INT: t.CDefine = 1
|
||||
VARIANT_FLOAT: t.CDefine = 2
|
||||
VARIANT_DOUBLE: t.CDefine = 3
|
||||
VARIANT_STR: t.CDefine = 4
|
||||
VARIANT_DICT: t.CDefine = 5
|
||||
VARIANT_LIST: t.CDefine = 6
|
||||
VARIANT_BOOL: t.CDefine = 7
|
||||
VARIANT_PTR: t.CDefine = 8
|
||||
_VARIANT_SIZE: t.CDefine = 16
|
||||
class dict:
|
||||
__keys__: t.CPtr
|
||||
__values__: t.CPtr
|
||||
__count__: t.CSizeT
|
||||
__capacity__: t.CSizeT
|
||||
__mbuddy__: memhub.MemBuddy | t.CPtr
|
||||
__iter_index__: t.CSizeT
|
||||
def __new__(self, mb: memhub.MemBuddy | t.CPtr) -> t.CPtr: pass
|
||||
def __init__(self, mb: memhub.MemBuddy | t.CPtr): pass
|
||||
def __len__(self) -> t.CSizeT: pass
|
||||
def _find(self, key: str) -> t.CSizeT: pass
|
||||
def __getitem__(self, key: str) -> t.CPtr: pass
|
||||
def __setitem__(self, key: str, val: t.CNeedPtr): pass
|
||||
def _set_variant_raw(self, key: str, vtype: t.CInt, ptr: t.CPtr): pass
|
||||
def set_int(self, key: str, val: int): pass
|
||||
def set_str(self, key: str, val: str): pass
|
||||
def set_float(self, key: str, val: float): pass
|
||||
def set_double(self, key: str, val: t.CDouble): pass
|
||||
def set_dict(self, key: str, val: dict | t.CPtr): pass
|
||||
def set_list(self, key: str, val: t.CPtr): pass
|
||||
def set_bool(self, key: str, val: t.CInt): pass
|
||||
def get_vtype(self, key: str) -> t.CInt: pass
|
||||
def get(self, key: str, default: t.CPtr) -> t.CPtr: pass
|
||||
def contains(self, key: str) -> t.CInt: pass
|
||||
def __iter__(self) -> dict | t.CPtr: pass
|
||||
def __next__(self) -> str: pass
|
||||
def to_json(self, pool: memhub.MemManager | t.CPtr) -> json.JsonValue | t.CPtr: pass
|
||||
def from_json(self, pool: memhub.MemManager | t.CPtr, root: json.JsonValue | t.CPtr): pass
|
||||
def dumps(self, pool: memhub.MemManager | t.CPtr) -> str: pass
|
||||
def loads(self, pool: memhub.MemManager | t.CPtr, json_str: str): pass
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint vqt6._types
|
||||
@@ -0,0 +1 @@
|
||||
t
|
||||
@@ -0,0 +1,95 @@
|
||||
"""Auto-generated Python stub file"""
|
||||
|
||||
import c
|
||||
|
||||
import t
|
||||
INT: t.CTypedef = t.CInt
|
||||
INTPTR: t.CTypedef = t.CInt | t.CPtr
|
||||
BOOL: t.CTypedef = t.CInt
|
||||
UINT: t.CTypedef = t.CUnsignedInt
|
||||
UINTPTR: t.CTypedef = UINT | t.CPtr
|
||||
BYTE: t.CTypedef = t.CUnsignedChar
|
||||
BYTEPTR: t.CTypedef = BYTE | t.CPtr
|
||||
WORD: t.CTypedef = t.CUInt16T
|
||||
DWORD: t.CTypedef = t.CUInt32T
|
||||
QWORD: t.CTypedef = t.CUInt64T
|
||||
TCHAR: t.CTypedef = t.CChar
|
||||
CHARLIST: t.CTypedef = str | t.CPtr
|
||||
VOID: t.CTypedef = t.CVoid
|
||||
SHORT: t.CTypedef = t.CShort
|
||||
SHORTPTR: t.CTypedef = t.CShort | t.CPtr
|
||||
USHORT: t.CTypedef = t.CUnsignedShort
|
||||
USHORTPTR: t.CTypedef = t.CUnsignedShort | t.CPtr
|
||||
LONGLONG: t.CTypedef = t.CLongLong
|
||||
ULONGLONG: t.CTypedef = t.CUnsignedLongLong
|
||||
LONG: t.CTypedef = t.CLong
|
||||
ULONG: t.CTypedef = t.CUnsignedLong
|
||||
WCHAR: t.CTypedef = WORD
|
||||
WCHARPTR: t.CTypedef = WORD | t.CPtr
|
||||
CHARPTR: t.CTypedef = t.CChar | t.CPtr
|
||||
FSIZE_t: t.CTypedef = DWORD
|
||||
LBA_t: t.CTypedef = DWORD
|
||||
VOIDPTR: t.CTypedef = t.CVoid | t.CPtr
|
||||
FLOAT: t.CTypedef = t.CFloat
|
||||
DOUBLE: t.CTypedef = t.CDouble
|
||||
FLOAT8: t.CTypedef = t.CFloat8T
|
||||
FLOAT16: t.CTypedef = t.CFloat16T
|
||||
FLOAT32: t.CTypedef = t.CFloat32T
|
||||
FLOAT64: t.CTypedef = t.CFloat64T
|
||||
FLOAT128: t.CTypedef = t.CFloat128T
|
||||
INT8: t.CTypedef = t.CInt8T
|
||||
INT16: t.CTypedef = t.CInt16T
|
||||
INT32: t.CTypedef = t.CInt32T
|
||||
INT64: t.CTypedef = t.CInt64T
|
||||
UINT8: t.CTypedef = t.CUInt8T
|
||||
UINT16: t.CTypedef = t.CUInt16T
|
||||
UINT32: t.CTypedef = t.CUInt32T
|
||||
UINT64: t.CTypedef = t.CUInt64T
|
||||
INT8PTR: t.CTypedef = t.CInt8T | t.CPtr
|
||||
INT16PTR: t.CTypedef = t.CInt16T | t.CPtr
|
||||
INT32PTR: t.CTypedef = t.CInt32T | t.CPtr
|
||||
INT64PTR: t.CTypedef = t.CInt64T | t.CPtr
|
||||
UINT8PTR: t.CTypedef = t.CUInt8T | t.CPtr
|
||||
UINT16PTR: t.CTypedef = t.CUInt16T | t.CPtr
|
||||
UINT32PTR: t.CTypedef = t.CUInt32T | t.CPtr
|
||||
UINT64PTR: t.CTypedef = t.CUInt64T | t.CPtr
|
||||
CHAR8: t.CTypedef = t.CChar8T
|
||||
CHAR16: t.CTypedef = t.CChar16T
|
||||
CHAR32: t.CTypedef = t.CChar32T
|
||||
CHAR8PTR: t.CTypedef = t.CChar8T | t.CPtr
|
||||
CHAR16PTR: t.CTypedef = t.CChar16T | t.CPtr
|
||||
CHAR32PTR: t.CTypedef = t.CChar32T | t.CPtr
|
||||
i8: t.CTypedef = t.CInt8T
|
||||
i16: t.CTypedef = t.CInt16T
|
||||
i32: t.CTypedef = t.CInt32T
|
||||
i64: t.CTypedef = t.CInt64T
|
||||
u8: t.CTypedef = t.CUInt8T
|
||||
u16: t.CTypedef = t.CUInt16T
|
||||
u32: t.CTypedef = t.CUInt32T
|
||||
u64: t.CTypedef = t.CUInt64T
|
||||
SIZE_T: t.CTypedef = t.CSizeT
|
||||
SSIZE_T: t.CTypedef = t.CPtrDiffT
|
||||
PTRDIFF_T: t.CTypedef = t.CPtrDiffT
|
||||
int8_t: t.CTypedef = t.CInt8T
|
||||
int16_t: t.CTypedef = t.CInt16T
|
||||
int32_t: t.CTypedef = t.CInt32T
|
||||
int64_t: t.CTypedef = t.CInt64T
|
||||
uint8_t: t.CTypedef = t.CUInt8T
|
||||
uint16_t: t.CTypedef = t.CUInt16T
|
||||
uint32_t: t.CTypedef = t.CUInt32T
|
||||
uint64_t: t.CTypedef = t.CUInt64T
|
||||
size_t: t.CTypedef = t.CSizeT
|
||||
ssize_t: t.CTypedef = t.CPtrDiffT
|
||||
ptrdiff_t: t.CTypedef = t.CPtrDiffT
|
||||
intptr_t: t.CTypedef = t.CIntPtrT
|
||||
uintptr_t: t.CTypedef = t.CUIntPtrT
|
||||
wchar_t: t.CTypedef = t.CWCharT
|
||||
char8_t: t.CTypedef = t.CChar8T
|
||||
char16_t: t.CTypedef = t.CChar16T
|
||||
char32_t: t.CTypedef = t.CChar32T
|
||||
float8_t: t.CTypedef = t.CFloat8T
|
||||
float16_t: t.CTypedef = t.CFloat16T
|
||||
float32_t: t.CTypedef = t.CFloat32T
|
||||
float64_t: t.CTypedef = t.CFloat64T
|
||||
float128_t: t.CTypedef = t.CFloat128T
|
||||
_Bool: t.CTypedef = t.CBool
|
||||
@@ -0,0 +1 @@
|
||||
t c stdint memhub string ast.tokens
|
||||
Loaded 100 of 6310 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user