相对稳定版本

This commit is contained in:
TermiNexus committed 2026-08-06 18:04:12 +08:00
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 @@
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 @@
t c stdint
@@ -0,0 +1 @@
t c string memhub stdint
@@ -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 @@
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 @@
t c stdint w32.win32process stdlib stdio string
@@ -0,0 +1 @@
t c memhub string stdint
@@ -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 @@
aa246c6e6aa30484:includes/atom.vp
6ddf430432a0e373:includes/json/__init__.vp
240a9a4157959a9f:includes/json/__parser.vp
20cd49775c100a38:includes/json/__writer.vp
f9d023d1df2bc9c5:includes/memhub.vp
c3a6aed1f1fb8b1e:includes/numpy/__init__.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
3f7c5e78d8652535:includes/vipermath.vp
6dde8fc09b24666c:includes/vipersimd.vp
fc980acec33d69a7:includes/w32/win32base.vp
bbdf3bbd4c3bc28c:includes/w32/win32console.vp
e0f0afe3caa1e486:includes/_dict.vp
7cadfe07e983fd90:includes/_list.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 @@
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 @@
t c stdint vqt6._types
@@ -0,0 +1 @@
stdint stdlib string vipermath stdio t c memhub
@@ -0,0 +1,235 @@
"""Auto-generated Python stub file"""
from stdint import *
import stdlib
import string
import vipermath
import stdio
import t, c
import memhub
MAX_NDIM: t.CDefine = 4
float64: t.CTypedef = t.CDouble
float32: t.CTypedef = t.CFloat
int64: t.CTypedef = t.CLong
int32: t.CTypedef = t.CInt
uint8: t.CTypedef = t.CUnsignedChar
pi: t.CDefine
e: t.CDefine
@t.Object
class ndarray[T]:
data: T | t.CPtr
shape: t.CArray[t.CSizeT, MAX_NDIM]
strides: t.CArray[t.CSizeT, MAX_NDIM]
ndim: t.CInt
size: t.CSizeT
owns_data: t.CInt
pool: memhub.MemManager | t.CPtr
def __new__(self, pool: memhub.MemManager | t.CPtr, n: t.CSizeT): pass
def __add__(self, other: ndarray[T] | t.CPtr) -> ndarray[T] | t.CPtr: pass
def __sub__(self, other: ndarray[T] | t.CPtr) -> ndarray[T] | t.CPtr: pass
def __mul__(self, other: ndarray[T] | t.CPtr) -> ndarray[T] | t.CPtr: pass
def __truediv__(self, other: ndarray[T] | t.CPtr) -> ndarray[T] | t.CPtr: pass
def __floordiv__(self, other: ndarray[T] | t.CPtr) -> ndarray[T] | t.CPtr: pass
def __mod__(self, other: ndarray[T] | t.CPtr) -> ndarray[T] | t.CPtr: pass
def __neg__(self) -> ndarray[T] | t.CPtr: pass
def __len__(self) -> t.CInt: pass
def at2d(self, row: t.CSizeT, col: t.CSizeT) -> T: pass
def set2d(self, row: t.CSizeT, col: t.CSizeT, val: T): pass
def delete(self): pass
def fill(self, val: T): pass
def copy(self) -> ndarray[T] | t.CPtr: pass
def reshape(self, new_shape: INTPTR, new_ndim: t.CInt) -> ndarray[T] | t.CPtr: pass
def sum(self) -> T: pass
def mean(self) -> T: pass
def min(self) -> T: pass
def max(self) -> T: pass
def argmax(self) -> t.CInt: pass
def argmin(self) -> t.CInt: pass
def dot(self, other: ndarray[T] | t.CPtr) -> T: pass
def T(self) -> ndarray[T] | t.CPtr: pass
def print_arr(self): pass
Float64Array: t.CTypedef = ndarray[t.CDouble]
Float32Array: t.CTypedef = ndarray[t.CFloat]
Int64Array: t.CTypedef = ndarray[t.CLong]
Int32Array: t.CTypedef = ndarray[t.CInt]
Uint8Array: t.CTypedef = ndarray[t.CUnsignedChar]
def _alloc_ndarray(pool: memhub.MemManager | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def _compute_strides(a: ndarray[t.CDouble] | t.CPtr): pass
def _empty_like(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def array(pool: memhub.MemManager | t.CPtr, data: t.CDouble | t.CPtr, n: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def zeros(pool: memhub.MemManager | t.CPtr, n: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def ones(pool: memhub.MemManager | t.CPtr, n: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def full(pool: memhub.MemManager | t.CPtr, n: t.CSizeT, val: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def arange(pool: memhub.MemManager | t.CPtr, start: t.CDouble, stop: t.CDouble, step: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def linspace(pool: memhub.MemManager | t.CPtr, start: t.CDouble, stop: t.CDouble, num: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def empty2d(pool: memhub.MemManager | t.CPtr, rows: t.CSizeT, cols: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def zeros2d(pool: memhub.MemManager | t.CPtr, rows: t.CSizeT, cols: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def ones2d(pool: memhub.MemManager | t.CPtr, rows: t.CSizeT, cols: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def eye(pool: memhub.MemManager | t.CPtr, n: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def diag(pool: memhub.MemManager | t.CPtr, vals: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_abs(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_sqrt(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_exp(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_log(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_sin(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_cos(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_tan(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_pow(a: ndarray[t.CDouble] | t.CPtr, p: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def add_scalar(a: ndarray[t.CDouble] | t.CPtr, s: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def mul_scalar(a: ndarray[t.CDouble] | t.CPtr, s: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def sub_scalar(a: ndarray[t.CDouble] | t.CPtr, s: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def div_scalar(a: ndarray[t.CDouble] | t.CPtr, s: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def matmul(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def dot_product(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def np_sum(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def np_mean(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def np_min(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def np_max(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def np_argmax(a: ndarray[t.CDouble] | t.CPtr) -> t.CInt: pass
def np_argmin(a: ndarray[t.CDouble] | t.CPtr) -> t.CInt: pass
def var(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def std(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def norm(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def clip(a: ndarray[t.CDouble] | t.CPtr, lo: t.CDouble, hi: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def concatenate(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def sort_arr(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def reverse(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_log10(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_log2(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_floor(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_ceil(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_round(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_sign(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_tanh(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_sinh(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_cosh(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_arcsin(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_arccos(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_arctan(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_arctan2(y: ndarray[t.CDouble] | t.CPtr, x: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_degrees(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_radians(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_isnan(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_isinf(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_maximum(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_minimum(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def cumsum(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def diff(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def flatten(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def trace(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def outer(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_where(condition: ndarray[t.CDouble] | t.CPtr, x: ndarray[t.CDouble] | t.CPtr, y: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_count_nonzero(a: ndarray[t.CDouble] | t.CPtr) -> t.CInt: pass
def np_all(a: ndarray[t.CDouble] | t.CPtr) -> t.CInt: pass
def np_any(a: ndarray[t.CDouble] | t.CPtr) -> t.CInt: pass
def np_equal(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_not_equal(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_less(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_greater(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_less_equal(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_greater_equal(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def empty(pool: memhub.MemManager | t.CPtr, n: t.CSizeT) -> ndarray[t.CDouble] | t.CPtr: pass
def full2d(pool: memhub.MemManager | t.CPtr, rows: t.CSizeT, cols: t.CSizeT, val: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def zeros_like(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def ones_like(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def arange1(pool: memhub.MemManager | t.CPtr, stop: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def linspace2(pool: memhub.MemManager | t.CPtr, start: t.CDouble, stop: t.CDouble) -> ndarray[t.CDouble] | t.CPtr: pass
def meshgrid(x: ndarray[t.CDouble] | t.CPtr, y: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def det2x2(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def inv2x2(a: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def cross3(a: ndarray[t.CDouble] | t.CPtr, b: ndarray[t.CDouble] | t.CPtr) -> ndarray[t.CDouble] | t.CPtr: pass
def np_interp(x: t.CDouble, xp: ndarray[t.CDouble] | t.CPtr, fp: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def prod(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def median(a: ndarray[t.CDouble] | t.CPtr) -> t.CDouble: pass
def percentile(a: ndarray[t.CDouble] | t.CPtr, q: t.CDouble) -> t.CDouble: pass
@@ -0,0 +1 @@
t c
@@ -0,0 +1 @@
t c stdint
@@ -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 @@
t c stdint vqt6._types
@@ -0,0 +1 @@
t
@@ -0,0 +1 @@
t c stdint memhub string ast.tokens
@@ -0,0 +1 @@
t c viperio stdarg
@@ -0,0 +1 @@
t stdint w32.win32base
@@ -0,0 +1 @@
t c stdint string platmacro stdio w32.winsock2 w32
@@ -0,0 +1 @@
t c stdint string atom viperio stdio stdlib
@@ -0,0 +1,97 @@
"""Auto-generated Python stub file"""
import t, c
from stdint import *
import string
import atom
import viperio
import stdio
import stdlib
MEMHUB_ALIGN: t.CDefine = 8
MEMSLAB_MIN_BLOCK: t.CDefine = 16
MEMSLAB_BITMAP_BYTES: t.CDefine = 256
MEMBUDDY_MIN_BLOCK: t.CDefine = 32
MEMBUDDY_MAX_ORDERS: t.CDefine = 32
MEMBUDDY_HEADER_SIZE: t.CDefine = 8
def _align_up(val: t.CSizeT, align: t.CSizeT) -> t.CSizeT: pass
def _largest_pow2_le(val: t.CSizeT) -> t.CSizeT: pass
def _block_size_at_order(order: t.CInt) -> t.CSizeT: pass
@t.CVTable
class MemManager:
__provides__: list[str]
base: t.CVoid | t.CPtr
size: t.CSizeT
def __init__(self, base: t.CVoid | t.CPtr, size: t.CSizeT): pass
def alloc(self, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
def free(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
def reset(self) -> t.CInt: pass
def calloc(self, count: t.CSizeT, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
def realloc(self, ptr: t.CVoid | t.CPtr, new_size: t.CSizeT) -> t.CVoid | t.CPtr: pass
def __enter__(self) -> 'MemManager' | t.CPtr: pass
def __exit__(self): pass
def alloc_buf(self, capacity: t.CSizeT) -> viperio.Buf | t.CPtr: pass
class MemPool(MemManager):
offset: t.CSizeT
high_water: t.CSizeT
def __init__(self, base: t.CVoid | t.CPtr, size: t.CSizeT): pass
def alloc(self, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
def free(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
def reset(self) -> t.CInt: pass
class MemSlab(MemManager):
block_size: t.CSizeT
block_count: t.CSizeT
used_count: t.CSizeT
free_list: t.CVoid | t.CPtr
alloc_map: t.CUInt8T | t.CPtr
alloc_map_size: t.CSizeT
usable: t.CVoid | t.CPtr
usable_size: t.CSizeT
def __init__(self, base: t.CVoid | t.CPtr, size: t.CSizeT, block_size: t.CSizeT): pass
def alloc(self, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
def free(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
def reset(self) -> t.CInt: pass
class MemBuddy(MemManager):
__provides__: list[str]
max_order: t.CInt
free_lists: t.CUInt64T | t.CPtr
lock_val: t.CVolatile | t.CInt
usable: t.CVoid | t.CPtr
usable_size: t.CSizeT
chk_stack: t.CUInt64T | t.CPtr
chk_cap: t.CSizeT
chk_depth: t.CSizeT
chk_base: t.CVoid | t.CPtr
def __init__(self, base: t.CVoid | t.CPtr, size: t.CSizeT): pass
def mark(self) -> t.CSizeT: pass
def reset_to(self, mark: t.CSizeT): pass
def reset_all(self): pass
def _fl_push(self, order: t.CInt, block: t.CVoid | t.CPtr): pass
def _fl_pop(self, order: t.CInt) -> t.CVoid | t.CPtr: pass
def _fl_find_and_remove(self, order: t.CInt, target: t.CVoid | t.CPtr) -> t.CInt: pass
def _buddy_of(self, block: t.CVoid | t.CPtr, order: t.CInt) -> t.CVoid | t.CPtr: pass
def _order_for_size(self, size: t.CSizeT) -> t.CInt: pass
def _split_to_order(self, to_order: t.CInt) -> t.CVoid | t.CPtr: pass
def _coalesce(self, block: t.CVoid | t.CPtr, order: t.CInt): pass
def _is_valid_ptr(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
def _lock(self): pass
def _unlock(self): pass
def alloc(self, size: t.CSizeT) -> t.CVoid | t.CPtr: pass
def free(self, ptr: t.CVoid | t.CPtr) -> t.CInt: pass
def reset(self) -> t.CInt: pass
def realloc(self, ptr: t.CVoid | t.CPtr, new_size: t.CSizeT) -> t.CVoid | t.CPtr: pass
@property
def mem_size(self) -> t.CSizeT: pass
def stats(self) -> t.CSizeT: pass
def free_count(self) -> t.CSizeT: pass
def free_bytes(self) -> t.CSizeT: pass
def used_bytes(self) -> t.CSizeT: pass
def dump_stats(self, label: t.CChar | t.CPtr): pass
def self_check(self) -> t.CInt: pass
@@ -0,0 +1 @@
t c stdint string viperlib memhub linkedlist llvmlite.__types
@@ -0,0 +1 @@
t stdint
@@ -0,0 +1 @@
t c stdint memhub string ast.tokens ast.base ast.exprs ast.stmts ast.astaux ast.lexer
@@ -0,0 +1 @@
stdint t c
@@ -0,0 +1 @@
{"stdio": "285b6aa29a34754d", "vipermath": "3f7c5e78d8652535", "stdlib": "6c658cc728d0bbf4", "vipersimd": "6dde8fc09b24666c", "testcheck": "748d0424e8976fa0", "main": "90f67f777f23b84b", "atom": "aa246c6e6aa30484", "w32.win32console": "bbdf3bbd4c3bc28c", "win32console": "bbdf3bbd4c3bc28c", "numpy.__init__": "c3a6aed1f1fb8b1e", "__init__": "c3a6aed1f1fb8b1e", "numpy": "c3a6aed1f1fb8b1e", "viperio": "c9f4be41ca1cc2b4", "stdint": "f5522571bcce7bcb", "memhub": "f9d023d1df2bc9c5", "w32.win32base": "fc980acec33d69a7", "win32base": "fc980acec33d69a7", "string": "ffaf70367668b227"}
Loaded 100 of 6310 files, more files were not shown because too many files have changed in this diff. Show more