KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21585/root/usr/lib64/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/lib64/python2.4/test/test_struct.pyc
mò
‚=5Dc"@s=dklZlZlZdkZdkZeidjZ[eeiddƒde	dƒjejdƒd„Z
d„Zd	„Zd
„Z
eeidƒeidƒZed
eidƒjo
ed‚ndZdZeieƒZeieƒZed
ejo$edeed
eeef‚neeidd
ƒeeidd
d
d
ƒeeiddƒeeiddƒeeiddƒeidddƒZeeideƒeeideƒdZdZdZdZdZdZdZx[ddd d!d"d#fD]AZx8d$d%fD]*ZeeZeo
d&GeGHneieeeeeeeeƒZeieeƒ\ZZZ Z!Z"Z#Z$eejpseejpfe ejpYe!ejpLe"ejp?e%d'e#ƒe%d'eƒjpe%d'e$ƒe%d'eƒjo8ed(e&eƒe&eee e!e"e#e$fƒf‚nq+WqWd)ddddfd*dd+d+dfd,dd-d-dfd.ddddfd/d0dddfd1d0d2d2dfd3d0d4d4dfd5d0d0d0dfd6d0d7d7dfd8d0d0d9d:d0d9d:dfd;d<d=d=dfd;d>d?d?dfd@d<d=d=dfd@dAd?d?dfd2dBdCdDdfd2dEdFdGdfdHdBdCdDdfdHddBdFdGdfddIdJdKdfddLdMdNdfdOdPdJdKdfdOdQdIdMdNdfdRdIdJdKdfdRdLdMdNdfdSdPdJdKdfdSdQdIdMdNdfdTdUdVdWdfddUdXdYdfdTdZd[d\dfddZd]d^dfgZ'x\e'D]T\ZZ(Z)Z*Z+eod_ee(e)e*fGHnxd!ee)fd#ee)fd ee*fd"eeoe)pe*fgD]Ò\Z,Z-eie,e(ƒZ.e.e-joed`ee(e.e-f‚neie,ƒZ/e/e0e.ƒjo edae,e/e0e.ƒf‚neie,e.ƒdZ1e1e(joe+oedbee.e1e(f‚nq Wq¢WdZ2yeidcddƒWnei3j
o
dZ2nXeodeGe2odfpdgGHne
eidhdiƒeeidcdƒeeidhdƒdj„Z4e2oe4ƒndk5Z5dkfdl„ƒYZ6xQdmdfdndfdodpfdqdpfdrdsfgD]Z7e6e7ŒZ8e8i9ƒqùWdt„Z:e:ƒdu„Z;e;ƒdS(v(s
TestFailedsverbosesverifyNtbigs=iiis%bigendian determination appears wrongcCs#t|ƒ}|iƒdi|ƒS(Nt(tlisttstcharstreversetjoin(RR((t(/usr/lib64/python2.4/test/test_struct.pytstring_reverse
s
cCsto|Snt|ƒSdS(N(tISBIGENDIANtvalueR(R
((Rtbigendian_to_nativescGsAy||ŒWntij
onXtd|i|f‚dS(Ns%s%s did not raise struct.error(tfunctargststructterrort
TestFailedt__name__(RR
((Rt
simple_errs
cGsJy||ŒWntittfj
onXtd|i|f‚dS(Ns%s%s did not raise error(RR
RRt
OverflowErrort	TypeErrorRR(RR
((Rtany_errs
tZtiitiiisinconsistent sizestcbxxxxxxhhhhiillffdt3c3b18x12h6i6l6f3ds0inconsistent sizes (3*%r -> 3*%d = %d, %r -> %d)tfootPtdtflaptiiitaiÿiÿÿif3.1415000000000002Rt@t<t>t=t!txcbhilfdtxcBHILfdstrying:ids#unpack/pack not transitive (%s, %s)tctxctatcxtaRt0st
helloworldt1stht9st	helloworlt10st11sthelloworldt20si
ttbisiùÿÿÿsùtBiùi¼s¼s¼iDýÿÿsýDsDýtHi€,s,€s€,i€âÓûsûÓâ€s€âÓûtIl€XltltLtff2.0s@t@s@t@f-2.0sÀtÀsÀtÀs%r %r %r %rs pack(%r, %r) -> %r # expected %rs calcsize(%r) -> %d # expected %ds(unpack(%r, %r) -> (%r,) # expected (%r,)tqisPlatform has native q/Q?sYes.sNo.tQiÿÿÿÿcCs3tidƒ}xddd|fddd|fddd|fddd|dd	fddd
|>dd|fddd
|d>ddd|dffD]‰\}}}ti||ƒ}t|ƒ}t
||jd||||fƒti||ƒd}t
||jd
||||fƒq¢WdS(NRCiÿÿÿÿsÿiR7RDlisiss%r-pack of %r gave %r, not %rs%r-unpack of %r gave %r, not %r(
RtcalcsizetbytestformattinputtexpectedtpacktgotRtnative_expectedtverifytunpackt	retrieved(RLRGRFRORKRIRH((Rttest_native_qQœs“t	IntTestercBs;tZdZd„Zeieieid„Z	d„Z
RS(NtbBhHiIlLcCsÞt|ƒdjpt‚||_xBdD]:}x1|D])}||}tti	|ƒ|jƒq7Wq*W||_
|d|_|\|_|_
d|_d|id|_d|id|_d|idd|_dS(Nis<>!=iili(tlent
formatpairtAssertionErrortselft	directiontcodeRGRMRREtbytesizetbitsizetsigned_codet
unsigned_codetunsigned_mintunsigned_maxt
signed_mint
signed_max(RVRTRYRWRXRG((Rt__init__Âs	
!	
	c
Cscto&dG|iGdG|GdGt|ƒGHn|i}|i|jo
|ijno·t	|ƒ}	|djo)|	d|i>7}	|	djpt‚nt|	ƒdd!}	t
|	ƒd@od	|	}	n||	ƒ}	d
|it
|	ƒ|	}	d|}|||ƒ}t||	jd||||	fƒ|||ƒd}t||jd
||||fƒt||d|ƒd|}t|	ƒ}	|||ƒ}t||	jd||||	fƒ|||ƒd}t||jd
||||fƒt||d|ƒnQ||ijoto
dG|GHqan)t|d||ƒt|d||ƒ|i}|i|jo
|ijnod|}t	|ƒ}	t|	ƒdd!}	t
|	ƒd@od	|	}	n||	ƒ}	d
|it
|	ƒ|	}	|||ƒ}t||	jd||||	fƒ|||ƒd}t||jd
||||fƒt||d|ƒd|}t|	ƒ}	|||ƒ}t||	jd||||	fƒ|||ƒd}t||jd
||||fƒt||d|ƒnQ||ijoto
dG|GHq_n)t|d||ƒt|d||ƒdS(Ns
trying stdtons==iliiÿÿÿÿit0R7R#s'%s'-pack of %r gave %r, not %rs!'%s'-unpack of %r gave %r, not %rsR"s#Skipping buggy range check for code(tverboseRVRTtxthexR[RXR_R`tlongRIRZRURSt	unhexlifyRYRGRJRKRMRNRORRtBUGGY_RANGE_CHECKR\R]R^(
RVReRJRNRhRXRGRORKRI((Rttest_oneÑs‚&	$


	$

c
Csrdkl}g}
x,t|idƒD]}|
id|>ƒq'WxXt|iƒD]G}d}x+t|i
ƒD]}|d>|dƒB}qnW|
i|ƒqRWxt|
D]l}	xc|	|	fD]T}xKd
D]C}||}yt|ƒ}Wntj
onX|i|ƒqÅWq¸Wq¤WxWd
D]O}xF|iD];}x2ddd|fD]}tti|||ƒqEWq+WqWdS(N(s	randrangeilliiiÿÿÿÿiis<>sa stringx0.042.0(iÿÿÿÿii(trandomt	randrangetvaluestrangeRVRZtexptappendRtvalRYtjtbasetincrRetintRRjRWRTRXt	badobjectRRRJ(
RVRvRtRXRlRqRRrRWRsRmRoRe((RtrunHs>


(Rt
__module__RiRaRRJRNtbinasciiRhRjRw(((RRQºs	wtbBthHtiIitlLtqQicCsÖxÏddddddd ddddddddfgD]“\}}}}ti||ƒ}||jo td||||fƒ‚nti||ƒ\}||jo td||||fƒ‚q;q;WdS(!NtptabcR7Rt1pt2psaR t3psabtabt4psabct5psabct6psabct1000pReièsÿiçiÿs"pack(%r, %r) == %r but expected %rs$unpack(%r, %r) == %r but expected %r(RR€sR(RR€sR(R‚R€saR (RƒR€sabR„(R…R€sabcR€(R†R€sabcR€(R‡R€sabcR€(	RXRHRItexpectedbackRRJRKRRN(RXR‰RKRIRH((Rttest_p_codevs;	
 
cCsdk}x×tddƒD]Æ}d}x$||d|jo|d:}q(W||}tid|ƒ}tid|ƒd}t
||jƒtid|ƒ}t
|t|ƒjdƒtid|ƒd}t
||jƒqWdd	>d}|i|d
dƒ}tid|ƒ}tid|ƒd}t
||jƒdd>d}|i|d
d	ƒ}ytid|ƒ}Wntj
onXtd
ƒdS(Nii!f0.5f2.0s<fis>fs*>f pack should be byte-reversal of <f packiiiisexpected OverflowError(tmathRnRstdeltatsmallerRRJtpackedRNtunpackedRMt	bigpackedRRtldexpRR(RRRRRsR‹RŒRŽ((Rttest_705836‘s8	
(<ttest.test_supportRRdRMRtsyst	byteorderR	RJtchrRRRRREtsztfmttfmt3tsz3RNRR(R8R0RR<R>RtprefixRGtcptbpthptiptlptfptdpRutstrtteststargRtliltasytxfmtRotrestnRStrevt
has_native_qQRRPRyRQR
ttRwRŠR’(1R«RdRŸR™R›R¥R	RœRžRR¦RMR˜RRŠR RRRQR¡R¤RoRGR§RRR
R”RRPRRšR’R¢R¨R—R(R8RR¬R>RR0R<RªRRyR­R©((Rt?s®		(					

$


$'ƒ@ÿÿ@#I
 %		°4		&

Anon7 - 2021