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_refcounts.pyo
�
P��ac@s�ddlZddlZddlZejejej�Zejejejej�ZddlZej	ej
�Zdejfd��YZ
dejfd��YZedkr�ej�ndS(i����NtRefcountTestCasecBseZd�Zd�ZRS(cCs�ddlm}tj}tj|_tjtg|_d�}|j	||�d�t|�}|j
||�d�|d|�}|j	|d�d}tj
�|j	||�d�dS(Ni����(tgetrefcountcSs|S(N((tvalue((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pytcallbacksii����i��(tsysRtdllt_testfunc_callback_i_iftctypestc_inttrestypet
MyCallbacktargtypestassertEqualt
assertGreatertNonetgctcollect(tselftgrctfRtcbtresult((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyttest_1
s		
cCs\ddlm}d�}|j||�d�t|�}|j||�d�~|j||�d�tj�|j||�d�dtj	fd��Y}|�}t|�|_
|j||�d�~|j||�d�tj�|j||�d�t|�}|j||�d�||_~tj�|j||�d�dS(Ni����(RcWsdS(N((targs((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pytfunc'sitXcBseZdefgZRS(ta(t__name__t
__module__t
OtherCallbackt_fields_(((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyR8s(RRRRR
tassertGreaterEqualRRRt	StructureRtcycle(RRRRRtx((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyt
test_refcount%s.	
	
	
(RRRR#(((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyRs	tAnotherLeakcBseZd�ZRS(cCs~ddl}tjtjtjtj�}d�}||�}|jtj�}|dd�|j|jtj�|�dS(Ni����cSs||dS(Ni((Rtb((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyRYsii(RRt	CFUNCTYPERRR(RRtprotoRRR((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyt
test_callbackUs	
(RRR((((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyR$Tst__main__(tunittestRRR&RR
tc_ulonglongRt_ctypes_testtCDLLt__file__RtTestCaseRR$Rtmain(((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyt<module>sI