补充
This commit is contained in:
17
Test/TestProject2/temp/09ba6d4617920d26.pyi
Normal file
17
Test/TestProject2/temp/09ba6d4617920d26.pyi
Normal file
@@ -0,0 +1,17 @@
|
||||
"""
|
||||
Auto-generated Python stub file from main.py
|
||||
Module: main
|
||||
"""
|
||||
|
||||
import t
|
||||
import c
|
||||
|
||||
|
||||
import stdio
|
||||
import stdint
|
||||
import zc.config as config
|
||||
import zc.test as test
|
||||
import zc.logic_test as logic
|
||||
import zc.class_test as class_test
|
||||
|
||||
def main() -> stdint.INT | t.State: pass
|
||||
67
Test/TestProject2/temp/56cdd754a8a09347.pyi
Normal file
67
Test/TestProject2/temp/56cdd754a8a09347.pyi
Normal file
@@ -0,0 +1,67 @@
|
||||
"""
|
||||
Auto-generated Python stub file from stdint.py
|
||||
Module: stdint
|
||||
"""
|
||||
|
||||
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.CLong | t.CLong
|
||||
ULONGLONG: t.CTypedef = t.CUnsignedLong | t.CLong
|
||||
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
|
||||
UINTPTR: t.CTypedef = t.CUnsignedInt | t.CPtr
|
||||
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
|
||||
28
Test/TestProject2/temp/73edbcf76e32d00b.pyi
Normal file
28
Test/TestProject2/temp/73edbcf76e32d00b.pyi
Normal file
@@ -0,0 +1,28 @@
|
||||
"""
|
||||
Auto-generated Python stub file from stdio.py
|
||||
Module: stdio
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
|
||||
def printf(fmt: t.CChar | t.CConst | t.CPtr, *args) -> t.CInt | t.CExtern | t.CExport | t.State: pass
|
||||
|
||||
def fprintf(stream: t.CVoid | t.CPtr, fmt: t.CChar | t.CConst | t.CPtr, *args) -> t.CInt | t.CExtern | t.CExport | t.State: pass
|
||||
|
||||
def sprintf(buf: t.CChar | t.CPtr, fmt: t.CChar | t.CConst | t.CPtr, *args) -> t.CInt | t.CExtern | t.CExport | t.State: pass
|
||||
|
||||
def snprintf(buf: t.CChar | t.CPtr, size: t.CSizeT, fmt: t.CChar | t.CConst | t.CPtr, *args) -> t.CInt | t.CExtern | t.CExport | t.State: pass
|
||||
|
||||
def puts(s: t.CChar | t.CConst | t.CPtr) -> t.CInt | t.CExtern | t.CExport | t.State: pass
|
||||
|
||||
def fputs(s: t.CChar | t.CConst | t.CPtr, stream: t.CVoid | t.CPtr) -> t.CInt | t.CExtern | t.CExport | t.State: pass
|
||||
|
||||
def fgets(buf: t.CChar | t.CPtr, size: t.CInt, stream: t.CVoid | t.CPtr) -> t.CChar | t.CPtr | t.CExtern | t.CExport | t.State: pass
|
||||
|
||||
def fflush(stream: t.CVoid | t.CPtr) -> t.CInt | t.CExtern | t.CExport | t.State: pass
|
||||
|
||||
|
||||
stdin: t.CExtern | t.CVoid | t.CPtr
|
||||
stdout: t.CExtern | t.CVoid | t.CPtr
|
||||
stderr: t.CExtern | t.CVoid | t.CPtr
|
||||
38
Test/TestProject2/temp/75583f20a922ab2e.pyi
Normal file
38
Test/TestProject2/temp/75583f20a922ab2e.pyi
Normal file
@@ -0,0 +1,38 @@
|
||||
"""
|
||||
Auto-generated Python stub file from zc.test.py
|
||||
Module: zc.test
|
||||
"""
|
||||
|
||||
|
||||
import config
|
||||
import t, c
|
||||
|
||||
def AboutSizeTWhileTest(length: t.CSizeT) -> t.CVoid | t.State: pass
|
||||
|
||||
def MathBasicTest(x: t.CInt, y: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def MathAdvancedTest(value: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def WhileWithElifElseTest(start: t.CInt, end: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def NestedWhileWithMacrosTest(outer_limit: t.CInt, inner_limit: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ComplexConditionTest(a: t.CInt, b: t.CInt, c_val: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def RetryLoopTest(retry_count: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def BitwiseOperationsTest(value: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def CompoundAssignmentMathTest(a: t.CInt, b: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def PowerAndModuloTest(base: t.CInt, exponent: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def MixedArithmeticTest(x: t.CInt, y: t.CInt, z: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def MathWithWhileLoopTest(start: t.CInt, count: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def ComplexNestedMathTest(a: t.CInt, b: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def ConditionalMathChainTest(value: t.CInt) -> t.CInt | t.State: pass
|
||||
|
||||
def BitManipulationMathTest(value: t.CInt) -> t.CInt | t.State: pass
|
||||
7
Test/TestProject2/temp/_sha1_map.txt
Normal file
7
Test/TestProject2/temp/_sha1_map.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
09ba6d4617920d26:main.py
|
||||
56cdd754a8a09347:includes/stdint.py
|
||||
73edbcf76e32d00b:includes/stdio.py
|
||||
75583f20a922ab2e:zc\test.py
|
||||
a7dab00d979c009c:zc\class_test.py
|
||||
cfc83b830141b00e:zc\config.py
|
||||
faec3233d98371da:zc\logic_test.py
|
||||
BIN
Test/TestProject2/temp/_shared_sym.pkl
Normal file
BIN
Test/TestProject2/temp/_shared_sym.pkl
Normal file
Binary file not shown.
66
Test/TestProject2/temp/a7dab00d979c009c.pyi
Normal file
66
Test/TestProject2/temp/a7dab00d979c009c.pyi
Normal file
@@ -0,0 +1,66 @@
|
||||
"""
|
||||
Auto-generated Python stub file from zc.class_test.py
|
||||
Module: zc.class_test
|
||||
"""
|
||||
|
||||
|
||||
import stdio
|
||||
import stdint
|
||||
import t, c
|
||||
|
||||
class SimpleData(t.Object):
|
||||
x: t.CInt
|
||||
y: t.CInt
|
||||
class Point3D(t.Object):
|
||||
x: t.CFloat
|
||||
y: t.CFloat
|
||||
z: t.CFloat
|
||||
class Student(t.Object):
|
||||
name: t.CChar | t.CPtr
|
||||
age: t.CInt
|
||||
score: t.CInt
|
||||
def __init__(self: Student, n: t.CChar | t.CPtr, a: t.CInt, s: t.CInt) -> t.CVoid | t.State: pass
|
||||
def get_age(self: Student) -> t.CInt | t.State: pass
|
||||
def get_score(self: Student) -> t.CInt | t.State: pass
|
||||
class Counter(t.Object):
|
||||
value: t.CInt
|
||||
def __init__(self: Counter, initial: t.CInt) -> t.CVoid | t.State: pass
|
||||
def increment(self: Counter) -> t.CVoid | t.State: pass
|
||||
def get_value(self: Counter) -> t.CInt | t.State: pass
|
||||
class StackObj(t.Object):
|
||||
data: t.CInt
|
||||
next_ptr: t.CVoid | t.CPtr
|
||||
|
||||
def TestBasicDataClass() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestPoint3DClass() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestStudentClass() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestCounterClass() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestStackAllocation() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestHeapAllocation() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestHeapObjectWithInit() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestMultipleStackObjects() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestImplicitInitCall() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestClassWithBitFields() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestIntArray() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestFloatArray() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestCharArray() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestNestedArray() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestArrayWithStruct() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestArrayPointer() -> t.CVoid | t.State: pass
|
||||
|
||||
def TestDynamicString() -> t.CVoid | t.State: pass
|
||||
27
Test/TestProject2/temp/cfc83b830141b00e.pyi
Normal file
27
Test/TestProject2/temp/cfc83b830141b00e.pyi
Normal file
@@ -0,0 +1,27 @@
|
||||
"""
|
||||
Auto-generated Python stub file from zc.config.py
|
||||
Module: zc.config
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
|
||||
POSMAX: t.CDefine = 100
|
||||
MAX_RETRY: t.CDefine = 5
|
||||
BUFFER_SIZE: t.CDefine = 256
|
||||
PI: t.CDefine = 3.14159
|
||||
EULER: t.CDefine = 2.71828
|
||||
TRUE: t.CDefine = 1
|
||||
FALSE: t.CDefine = 0
|
||||
NULL: t.CDefine = 0
|
||||
MATH_OFFSET: t.CDefine = 10
|
||||
MATH_SCALE: t.CDefine = 2
|
||||
THRESHOLD: t.CDefine = 50
|
||||
LOOP_LIMIT: t.CDefine = 20
|
||||
SHIFT_AMOUNT: t.CDefine = 2
|
||||
MASK_VALUE: t.CDefine = 0xFF
|
||||
BIT_RANGE: t.CDefine = 4
|
||||
EXPONENT_BASE: t.CDefine = 3
|
||||
MODULO_DIVISOR: t.CDefine = 7
|
||||
SCALE_SHIFT: t.CDefine = 4
|
||||
HALF_SCALE: t.CDefine = 0.5
|
||||
54
Test/TestProject2/temp/faec3233d98371da.pyi
Normal file
54
Test/TestProject2/temp/faec3233d98371da.pyi
Normal file
@@ -0,0 +1,54 @@
|
||||
"""
|
||||
Auto-generated Python stub file from zc.logic_test.py
|
||||
Module: zc.logic_test
|
||||
"""
|
||||
|
||||
|
||||
import config
|
||||
import t, c
|
||||
|
||||
def ForRangeBasicTest(stop: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForRangeWithStartStop(start: t.CInt, stop: t.CInt, step: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def NestedForRangeTest(rows: t.CInt, cols: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForWithIfBreakTest(data_size: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForWithIfContinueTest(n: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForWithElifBranchTest(value: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def WhileWithIfElifElseTest(iterations: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def WhileWithNestedIfTest(limit: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def WhileWithMatchCaseTest(value: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def WhileWithMatchCaseNoBreakTest(value: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ComplexForWhileMatchTest(outer_limit: t.CInt, inner_limit: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForWithCaseAndNoBreakTest(n: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def WhileWithBreakConditionTest(limit: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def NestedWhileWithMultipleBreakPoints(depth: t.CInt, width: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForWithMatchCaseInLoopTest(iterations: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ComplexLogicWithElifChains(a: t.CInt, b: t.CInt, c_val: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForRangeWithStepAndCondition(n: t.CInt, step: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def MatchCaseWithGuardConditions(value: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def WhileWithMultipleMatchCases(iterations: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForWhileMixWithBreakAndContinue(n: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ComplexCaseMatchingWithRanges(start: t.CInt, end: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def WhileWithElifInElifChain(limit: t.CInt) -> t.CVoid | t.State: pass
|
||||
|
||||
def ForWithCaseNoBreakNested(inner_limit: t.CInt) -> t.CVoid | t.State: pass
|
||||
Reference in New Issue
Block a user