config root man

Current Path : /usr/local/lib/python2.5/ctypes/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/ctypes/test/test_pointers.pyc

³ò
h”Rc@s®ddkZddkTddkZeeeeeee	e
eee
egZeeeeeeeeeeeegZdeifd„ƒYZedjoeiƒndS(iÿÿÿÿN(t*tPointersTestCasecBskeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„ZRS(cCsOdttƒfd„ƒY}ttƒtdƒƒ|it|tdƒƒdS(NtAcBseZRS((t__name__t
__module__(((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyRsii!(tPOINTERtc_ulongtfailUnlessRaisest	TypeError(tselfR((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyttest_pointer_crash
scCsªttiƒ}|i}t|_tdƒ}|t|ƒƒ}|iti	|ƒi
dƒttƒ|_|t|ƒƒ}|i|i
i
dƒ|i|ddƒdS(NiNa¼i(tCDLLt_ctypes_testt__file__t
_testfunc_p_ptc_longtrestypetc_inttbyreftfailUnlessEqualtfrom_addresstvalueRtpointertcontents(R	tdlltfunctitaddresstres((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyttest_pass_pointerss		cCsÄttiƒ}|i}tdƒ}ttƒ|_ttƒf|_|t|ƒƒ}|i	|ddƒ|i	|i
idƒd|d<|i	|idƒtdƒ|_
|i	|idƒdS(NifViiIÔi!0(RRR
RRRRtargtypesRRRR(R	RRRR((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyttest_change_pointers%s	
csittttƒƒ}gˆ_‡fd†}||ƒ}ttiƒ}|i}||ƒ||ƒdS(Ncs/x(tdƒD]}ˆii||ƒq
WdS(Ni
i(trangetresulttappend(targR(R	(s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyRAs
(t	CFUNCTYPERRR!RRR
t_testfunc_callback_with_pointer(R	t	PROTOTYPERtcallbackRtdoit((R	s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyttest_callbacks_with_pointers;s		
cCs~ddkl}xgtttƒD]V\}}|dƒ}t|ƒ}|it|iƒ|jƒ|i	t
||dƒq WdS(Niÿÿÿÿ(tdelitemi*i(toperatorR*tziptctype_typestpython_typesRt
failUnlessttypeRtassertRaisesR(R	R*tcttptRtp((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyttest_basicsXscCsTddkl}|ddddddgƒ}|iƒd	}tttƒƒ}dS(
Niÿÿÿÿ(tarrayRidiÈi,iiôi(R6tbuffer_infoRR(R	R6tataddrR4((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyttest_from_addressfscCs—dtfd„ƒY}t|dddƒƒ}|i|iidƒ|i|iidƒ|i|iidƒd|i_ddkl}||=dS(	NtTablecBs)eZdefdefdefgZRS(R8tbtc(RRRt_fields_(((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyR;qs		iiii!iÿÿÿÿ(t_pointer_type_cache(	t	StructureRRRR8R<R=tctypesR?(R	R;R3R?((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyt
test_otherpscCsSttdƒƒ}|itt|ƒ|i|ddƒ|i|iidƒdS(Ni*i(RRR1RtlenRRR(R	R4((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyt
test_basicscCs~ttiƒ}|i}t|_tdƒ}tdƒ}d|d<d|d<|t|ƒ|ƒ}|djp
t|‚dS(s<Test that a character pointer-to-pointer is correctly passedithelloitworldiN(	RRR
t_testfunc_c_p_ptc_char_pRRRtAssertionError(R	RRtargvtargcR!((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyttest_charppˆs		


cCsŽtdƒ}g}x'tdƒD]}|it|ƒƒqWtdƒ}t|ƒ}t|ƒ}t|ƒ}||d<|i|ddƒdS(Nii}ii(RR R"RR(R	txtdummyRtyR4tpptq((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyttest_bug_1467852”s

cCsüttƒdjoH|itdƒitdƒiƒ|itdƒitdƒiƒnuttƒdjoa|itdƒidƒ|itdƒitdƒiƒ|itdƒitdƒiƒn|ittdƒ|itttƒƒdS(Nilÿÿiÿÿÿÿlÿÿÿÿilÿÿÿÿÿÿ?g…ëQ¸	@(tsizeoftc_void_pRRR1Rtobject(R	((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyt
test_c_void_p s(
RRR
RRR)R5R:RBRDRLRRRV(((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pyRs							
				t__main__(tunittestRARtc_bytetc_ubytetc_shorttc_ushortRtc_uintRRt
c_longlongtc_ulonglongtc_doubletc_floatR-tinttlongtfloatR.tTestCaseRRtmain(((s5/usr/local/lib/python2.5/ctypes/test/test_pointers.pys<module>s
§


Man Man