HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyc
�
P��ac@s�ddlTddlZdejfd��YZdejfd��YZdejfd��YZd	ejfd
��YZdejfd��YZd
ejfd��YZe	dkr�ej
�ndS(i����(t*NtSimpleTestCasecBseZd�Zd�ZRS(cCs[t�}|j|jd�d|_|j|jd�td�}|j|jd�dS(Ni*ic(tc_inttassertEqualt_objectstNonetvalue(tselftx((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyt	test_cints		cCs[t�}|j|jd�d|_|j|jd�td�}|j|jd�dS(Ntabctspam(tc_char_pRRRR(RR((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyttest_ccharp
s		(t__name__t
__module__R	R
(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyRs	tStructureTestCasecBs#eZd�Zd�Zd�ZRS(cCs[dtfd��Y}|�}|j|jd�d|_d|_|j|jd�dS(NtXcBs eZdefdefgZRS(tatb(RRRt_fields_(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyRs	i*ic(t	StructureRRRRR(RRR((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyttest_cint_structs			cCsidtfd��Y}|�}|j|jd�d|_d|_|j|jidd6dd6�dS(NRcBs eZdefdefgZRS(RR(RRRR(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR"s	Rtfoot0t1(RRRRRR(RRR((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyttest_ccharp_struct!s			csdtfd��Y�dtf�fd��Y}|�}d|j_d|j_d|j_d|j_|j|jd�|�}�dd�}||_|j|jiid	6�d
|j_d|j_|j|jiid	6���|_|j|jiid	6id6�dS(
NtPOINTcBs eZdefdefgZRS(Rty(RRRR(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR-stRECTcs eZd�fd�fgZRS(tultlr(RRR((R(s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR/siiiiRii,R(RRRRRRRR(RRtrtpt((Rs5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyttest_struct_struct,s"			(RRRRR"(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyRs		t
ArrayTestCasecBseZd�ZRS(cs�td���}|j|jd�d|d<d|d<d|d<|j|jd�dtf�fd��Y}|�}d|_d|jd<d	|jd<|j|jd�||_|j|jiid
6�dS(NiiiiRcs eZdefd�fgZRS(RR(RRRR((tINTARR(s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyRNs	i�i*i`R(RRRRRRR(RtiaRR((R$s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyttest_cint_arrayDs
	


		

	(RRR&(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR#CstPointerTestCasecBseZd�ZRS(cCs6td�}t|�}|j|ji|d6�dS(Ni*R(RtpointerRR(RtiR((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyttest_p_cint[s(RRR*(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR'ZstDeletePointerTestCasecBs eZejd�d��ZRS(s
test disabledcCsdtfd��Y}|�}td�}ddlm}dG||�GHt|�|_dG||�GHx)td�D]}td	�|jd
quW|jd
GHddl}|j	�x)td�D]}td	�|jd
q�W|jd
GH|jj
GHd|jd
<dd
GH|jGHdS(NRcBseZdee�fgZRS(tp(RRtPOINTERRR(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyRcssabc defi����(tgetrefcounts2?s3?i@icis	spam spamt+i*(RRtsysR.R(R,trangeRtgctcollecttcontentsR(RRRR)tgrcR2((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyttest_Xas*	



	(RRtunittesttskipR6(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR+`stPointerToStructurecBseZd�ZRS(cs�dtfd��Y�dtf�fd��Y}|�}�dd�}t|�|_t|�|_d|jd_d	|jd_d
dlm}|�=dS(NRcBs eZdefdefgZRS(RR(RRRR(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR�sRcs,eZde��fde��fgZRS(RR(RRR-R((R(s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR�siii*iici����(t_pointer_type_cache(RR(RRRRtctypesR:(RRR tp1R:((Rs5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyttest�s	(RRR=(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyR9�st__main__(R;R7tTestCaseRRR#R'R+R9Rtmain(((s5/usr/local/lib/python2.7/ctypes/test/test_keeprefs.pyt<module>s
.