config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/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 : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_mmap.pyc

³ò
h”Rc@srddklZlZlZddkZddkZddkZeiZd„Zd„Z	eƒe	ƒdGHdS(iÿÿÿÿ(tverifytvereqtTESTFNNcaCstiitƒotitƒnttdƒ}z…|idtƒ|idƒ|idtdƒ|iƒt	i	|i
ƒdtƒ}|iƒt|ƒGHdG|i
dƒttƒGdGHt|i
dƒtƒdGt|ƒttƒGdGHtt|ƒdtƒd	Gt|d
ƒGHt|d
dƒdGt|d
d!ƒGHt|d
d!dƒd
GHd|d
<d|tdtdd+d	Gt|d
ƒGHt|d
dƒdGt|d
d!ƒGHt|d
d!dƒdGt|tdtd!ƒGHt|tdtd!dƒ|iƒtid|ƒ}|d(jo	dGHnU|id
ƒ\}}||}dG|ttƒG|GHt|tƒt|tdƒ|id
d
ƒdGHt|iƒd
ƒ|iddƒdGHt|iƒdƒ|id
dƒdGHt|iƒt|ƒƒdGHy|idƒWntj
onXtd
dƒd GHy|iddƒWntj
onXtd
dƒdGHy|it|ƒddƒWntj
onXtd
dƒd!GHy|id"ƒWntj
on·Xtt|ƒd"jd#t|ƒfƒy|id$d
ƒWntj
onXtd
d%ƒttƒ}|id
dƒt|iƒd"jd&ƒ|iƒt|iƒd"jd'ƒ|iƒWd(y|iƒWntj
onXytitƒWntj
onXXzNd)}d*G|Gd+GHttd,ƒid-|ƒd.GHttd/ƒ}t	i	|i
ƒ|d0t	iƒ}t|d-|jd1ƒd2GHyd3||(Wntj
onXtd
d4ƒd5GHyd3|d
<Wntj
onXtd
d4ƒd6GHy!|id
d
ƒ|id7ƒWntj
onXtd
d4ƒd8GHy!|id
d
ƒ|i d9ƒWntj
onXtd
d4ƒd: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bjdcƒ|
iƒ|iƒWd(titƒXt-t	ddƒozˆd)}ttd,ƒid-|ƒttd/ƒ}t	i	|i
ƒ|dRt	i*ƒ}y|idƒWntj
onXtd
deƒWd(titƒXnd(S(ps,Test mmap module on Unix systems and Windowssw+ttfooiis  Position of foo:tpagess  Length of file:s  Contents of byte 0:is  Contents of first 3 bytes:ts
  Modifying file's content...t3tbart3s  Contents of second page:iitfoobars	[A-Za-z]+s$  ERROR: regex match on mmap failed!s4  Regex match on mmap (page start, length of match):is  Seek to zeroth bytei*s  Seek to 42nd bytes  Seek to last bytes%  Try to seek to negative position...iÿÿÿÿs(expected a ValueError but did not get its#  Try to seek beyond end of mmap...s  Attempting resize()islen(m) is %d, but expecting 512isCould seek beyond the new sizesUnderlying file not truncatedsNew size not reflected in fileNi
s
  Creatingsbyte test data file.twbtas&  Opening mmap with access=ACCESS_READtrbtaccesss#Readonly memory map data incorrect.s6  Ensuring that readonly mmap can't be slice assigned.tbs$Able to write to readonly memory maps5  Ensuring that readonly mmap can't be item assigned.s2  Ensuring that readonly mmap can't be write() to.tabcs7  Ensuring that readonly mmap can't be write_byte() to.tds/  Ensuring that readonly mmap can't be resized.s"Able to resize readonly memory maps*Readonly memory map data file was modifieds   Opening mmap with size too bigsr+btwins0Opening mmap with size+1 should work on Windows.s1Opening mmap with size+1 should raise ValueError.s'  Opening mmap with access=ACCESS_WRITEs%  Modifying write-through memory map.tcs5Write-through memory map memory not updated properly.s8Write-through memory map data file not updated properly.s&  Opening mmap with access=ACCESS_COPYs%  Modifying copy-on-write memory map.s4Copy-on-write memory map data not written correctly.s4Copy-on-write test data file should not be modified.s0  Ensuring copy-on-write maps cannot be resized.s2Copy-on-write mmap resize did not raise exception.s5  Ensuring invalid access parameter raises exception.is1Invalid access code should have raised exception.tposixtflagstprots0Incompatible parameters should raise ValueError.s&  Try opening a bad file descriptor...iþÿÿÿis(expected a mmap.error but did not get ittaabaacdeefaatxitstatsK  Ensuring that passing 0 as map length sets map size to current file size.tmsrb+s Map size should equal file size.t
ABCDEabcdeit
ABCDEABCDEs'Map move should have duplicated front 5t	PROT_READsPROT_READ is not workingiiiiiiiiii(/tostpathtexistsRtunlinktopentwritetPAGESIZEtflushtmmaptfilenotclosettypetfindtfloatRtlentreprtretsearchtNonetspantseekttellt
ValueErrorRtresizetSystemErrortsizetOSErrortACCESS_READt	TypeErrort
write_bytetreadtsystplatformt
startswithttruncatetACCESS_WRITEtACCESS_COPYtnametMAP_PRIVATERterrortrangethasattrtmove(tfRtmatchtstarttendtlengthtmapsizeR=tstufftdatatntfinishtslicetmf((s*/usr/local/lib/python2.5/test/test_mmap.pyt	test_boths:


 


	







!




 


!



!

"






"
!








!cCs‰dGHtidtƒ}x+ttƒD]}t||djdƒq$Wx=ttƒD]/}t|d@ƒ||<}t|||ƒqRWdS(Ns&  anonymous mmap.mmap(-1, PAGESIZE)...iÿÿÿÿRs+anonymously mmap'ed contents should be zeroiÿ(R&R$txrangeRtchrR(RRtch((s*/usr/local/lib/python2.5/test/test_mmap.pyt	test_anons

s Test passed(
ttest.test_supportRRRR&RR.R$RURY(((s*/usr/local/lib/python2.5/test/test_mmap.pys<module>s		ÿŠ	


Man Man