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_byteswap.pyo

³ò
h”Rc	@s‹ddkZddkZddkZddkZddklZddkTd„Zdeifd„ƒYZ	e
djoeiƒndS(iÿÿÿÿN(thexlify(t*cCstt|ƒƒiƒS(N(Rtbuffertupper(ts((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pytbinstTestcBsteZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
RS(cCsRtitiIJx;tdƒD]-}tƒ}t|d|dƒt|ƒqWdS(Ni si%si(tsyststderrt	byteordertrangetBITStsetattrtdump(tselftitbits((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pytX_tests
	cCsÞtidjo3|ititjƒ|itiitjƒn0|ititjƒ|itiitjƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒdS(Ntlittlei4s>ht1234s<ht3412(RR	t
failUnlesstc_shortt__ctype_le__t__ctype_be__tfailUnlessEqualRtstructtpacktvaluetc_ushort(RR((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_endian_shorts*""""cCsÞtidjo3|ititjƒ|itiitjƒn0|ititjƒ|itiitjƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒdS(	NRixV4s>it12345678s<it78563412s>Is<I(RR	Rtc_intRRRRRRRtc_uint(RR((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_endian_int3s*""""cCsÞtidjo3|ititjƒ|itiitjƒn0|ititjƒ|itiitjƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒtidƒ}|itti	ddƒƒdƒ|it|ƒdƒ|i|i
dƒdS(	NRIïÍ«xV4s>qt1234567890ABCDEFs<qtEFCDAB9078563412s>Qs<Q(RR	Rt
c_longlongRRRRRRRtc_ulonglong(RR((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_endian_longlongOs*""""cCsutidjo3|ititjƒ|itiitjƒn0|ititjƒ|itiitjƒttiƒ}|it	t
idtiƒƒt	|ƒƒ|i|i
tidƒtitiƒ}|i|i
tidƒ|it	t
idtiƒƒt	|ƒƒtitiƒ}|i|i
tidƒ|it	t
idtiƒƒt	|ƒƒdS(NRtfis<fs>f(RR	Rtc_floatRRtmathtpiRRRRtfailUnlessAlmostEqualR(RR((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_endian_floatks++cCsltidjo3|ititjƒ|itiitjƒn0|ititjƒ|itiitjƒttiƒ}|i|i	tiƒ|it
tidtiƒƒt
|ƒƒtitiƒ}|i|i	tiƒ|it
tidtiƒƒt
|ƒƒtitiƒ}|i|i	tiƒ|it
tidtiƒƒt
|ƒƒdS(NRtds<ds>d(
RR	Rtc_doubleRRR+R,RRRRR(RR((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_endian_double}s++cCsˆ|ititjƒ|ititjƒ|ititjƒ|ititjƒ|ititjƒ|ititjƒdS(N(Rtc_byteRRtc_ubytetc_char(R((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_endian_otherŽscCsbtidjo
t}nt}d|fd„ƒY}dtfdtfdtfdtfdtfd	t	fd
t
fdtfdtfd
t
fdtfdtfdtfdtdfdtdfdtdfdtdddfg}||_xhttttƒfD]Q}|id|fƒd|fd„ƒY}|itt|dd|fgƒq	WdS(NRtTcBseZRS((t__name__t
__module__(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyR6žstatbtcR/teR)tgthRtktltmtntb1itb2tb3itxcBseZRS((R7R8(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyR6·st_fields_(RR	tBigEndianStructuretLittleEndianStructureR3R2RRR!R"tc_longtc_ulongR&R'R*R0R4RGtc_wchartc_void_ptPOINTERtappendtassertRaisest	TypeErrorR(RtbaseR6RGttyp((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_struct_fields_1˜s6
														cCsrtidjo
t}nt}dtfd„ƒY}d|fd„ƒY}|itt|dd|fgƒdS(NRR6cBs eZdefdefgZRS(R9R:(R7R8R!RG(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyR6Âs	tScBseZRS((R7R8(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyRUÅsRGR(RR	RHRIt	StructureRPRQR(RRRR6RU((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_struct_struct»s
cCs’tidjot}d}n
t}d}d|fd„ƒY}|dddd	ƒ}ti|dddd	ƒ}|it|ƒt|ƒƒdS(
NRs>bxhids<bxhidRUcBs2eZdefdefdefdefgZRS(R:R>RR/(R7R8R2RR!R0RG(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyRUÖs			ii4ixV4g…ëQ¸	@(RR	RHRIRRRR(RRRtfmtRUts1ts2((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyttest_struct_fields_2És
cCsªtidjot}d}n
t}d}d|fd„ƒY}|ƒ}d|_d|_d|_d	|_ti	|dddd	ƒ}|i
t|ƒt|ƒƒdS(
NRs
>b h xi xds
<b h xi xdRUcBsJeZdZdefdefdefdefdefdefgZRS(iR:R>t_1Rt_2R/(R7R8t_pack_R2RR!R0RG(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyRUès					ii4ixV4g…ëQ¸	@(RR	RHRIR:R>RR/RRRR(RRRRXRURYRZ((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyt&test_unaligned_nonnative_struct_fieldsàs
					cCs¤tidjo
d}n
t}d}dtfd„ƒY}|ƒ}d|_d|_d|_d	|_ti	|dddd	ƒ}|i
t|ƒt|ƒƒdS(
NRs
<b h xi xds
>b h xi xdRUcBsJeZdZdefdefdefdefdefdefgZRS(iR:R>R\RR]R/(R7R8R^R2RR!R0RG(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyRUs					ii4ixV4g…ëQ¸	@(RR	RIRVR:R>RR/RRRR(RRXRRRURYRZ((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyt#test_unaligned_native_struct_fieldsüs
					(R7R8RRR#R(R.R1R5RTRWR[R_R`(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pyRs							
	#			t__main__(RtunittestRR+tbinasciiRtctypesRtTestCaseRR7tmain(((s5/usr/local/lib/python2.5/ctypes/test/test_byteswap.pys<module>s0
	
ÿ


Man Man