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/21573/root/usr/lib/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/root/usr/lib/python2.4/test/test_mmap.pyc
mò
‚=5Dc@sQdklZlZlZdkZdkZdkZeiZd„ZeƒdS((sverifysvereqsTESTFNNc	CsOtiitƒotitƒnttdƒ}z…|idtƒ|idƒ|idtdƒ|i	ƒt
i
|iƒdtƒ}
|i
ƒt|
ƒGHdG|
idƒttƒGdGHt|
idƒ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|
i d"ƒWnt!j
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
ƒWnt#j
onXytitƒWnt#j
onXXzKd)}	d*G|	Gd+GHttd,ƒid-|	ƒd.GHttd/ƒ}t
i
|iƒ|	d0t
i%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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...is(expected a mmap.error but did not get ittaabaacdeefaatxis Test passed(:tostpathtexiststTESTFNtunlinktopentftwritetPAGESIZEtflushtmmaptfilenotmtclosettypetfindtfloattvereqtlentreprtretsearchtmatchtNonetspantstarttendtlengthtseekttellt
ValueErrortverifytresizetSystemErrortsizetOSErrortmapsizetACCESS_READt	TypeErrort
write_bytetreadtsystplatformt
startswithttruncatetACCESS_WRITEtstufftACCESS_COPYtnametMAP_PRIVATEt	PROT_READterrortdatatntrangetfinishtslicetmf(R0R/ROR,RMR?RNRJRR:R"RKR1RD((t$/usr/lib/python2.4/test/test_mmap.pyt	test_bothsæ


 


	







!




	 


!



!

"






"
%

(	ttest.test_supportR5R'RR RR*RRQ(R'RR5R*RQR RR((RPt?s			ÿG

Anon7 - 2021