b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 104.21.65.202 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / hotshot /
Filename/usr/lib64/python2.6/hotshot/log.pyo
Size5.46 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 09:46
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc @s�ddkZddkZddkZddkZddklZlZlZlZl Z l
Z
ddddgZ eZ eZ
eZddd��YZdS( iÿÿÿÿN(t
WHAT_ENTERt WHAT_EXITt WHAT_LINENOtWHAT_DEFINE_FILEtWHAT_DEFINE_FUNCt
WHAT_ADD_INFOt LogReadertENTERtEXITtLINEcBsweZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z dd �Z
d
�Z d �Z d �Z
RS(
cCs�h|_h|_ti|�|_|ii|_|ii|_d|ijo|id|_ n
d|_ g|_ |i i |_
|i i|_dS(Nscurrent-directory(t_filemapt_funcmapt_hotshott logreadert_readertnextt _nextitemtinfot_infotcwdtNonet_stacktappendt_appendtpopt_pop(tselftlogfn((s#/usr/lib64/python2.6/hotshot/log.pyt__init__s    cCs|ii�dS(N(Rtclose(R((s#/usr/lib64/python2.6/hotshot/log.pyR/scCs
|ii�S(s8Return the file descriptor of the log reader's log file.(Rtfileno(R((s#/usr/lib64/python2.6/hotshot/log.pyR2scCsdS(sòThis method is called for each additional ADD_INFO record.

This can be overridden by applications that want to receive
these events. The default implementation does not need to be
called by alternate implementations.

The initial set of ADD_INFO records do not pass through this
mechanism; this is only needed to receive notification when
new values are added. Subclasses can inspect self._info after
calling LogReader.__init__().
N((Rtkeytvalue((s#/usr/lib64/python2.6/hotshot/log.pytaddinfo6s cCs2y|i|SWntj
otd�nXdS(Nsunknown fileno(R
tKeyErrort
ValueError(RR((s#/usr/lib64/python2.6/hotshot/log.pyt get_filenameDscCs
|ii�S(N(R
tvalues(R((s#/usr/lib64/python2.6/hotshot/log.pyt
get_filenamesJscCs]tiitii|��}x/|ii�D]\}}||jo|Sq.Wtd�dS(Nsunknown filename(tostpathtnormcasetnormpathR
titemsR#(RtfilenameRtname((s#/usr/lib64/python2.6/hotshot/log.pyt
get_filenoMs  
 cCs8y|i||fSWntj
otd�nXdS(Nsunknown function location(R R"R#(RRtlineno((s#/usr/lib64/python2.6/hotshot/log.pyt get_funcnameTsic
Cs¦x�|i�\}}}}|tjoB|i||�\}}|||f}|i|�|||fS|tjo7y||i�|fSWq®tj
o
t�q®Xn|tjo-|i d\}} }||||f|fS|t
jo/t i i
t i i|��}||i|<q|tjo*|i|}||f|i||f<q|tjo.|djo
||_n|i||�qtd�qdS(Niÿÿÿÿscurrent-directorysunknown event type(RRt_decode_locationRRRt
IndexErrort
StopIterationRRRR'R(R)R*R
RR RRR!R#(
RtindextwhatttdeltaRR/R,tfuncnamettt firstlineno((s#/usr/lib64/python2.6/hotshot/log.pyR_s4









cCs|S(N((R((s#/usr/lib64/python2.6/hotshot/log.pyt__iter__�scCs·y|i||fSWn�tj
o�|i|�od}}ny|i||f\}}Wq­tj
o8|ii|�}d}||f|i||f<q­XnX||fS(N(R R"t _loadfileRR
tget(RRR/R,R7((s#/usr/lib64/python2.6/hotshot/log.pyR1�s#c Cs y|i|}Wntj
odG|GHdSX|djodStiitii|i|��}yt|�}Wnt j
odSXt
i |i ��}|i
�ti}ti}|id�g}xÈ|oÀ|i�} y| d}
Wnttfj
o
qÔnX|
|jo-|| ddf|i|| ddf<n3|
|jo%|df|i|| ddf<n|it| d��qÔWdS(NsCould not identify fileIdiiis<lambda>(R
R"RR'R(R)tjoinRtopentIOErrortparsertsuitetreadRtsymboltfuncdeftlambdefttotupleRR2t TypeErrorR textendtlist( RRR,tabsnametfptstRDREtstackttreetsym((s#/usr/lib64/python2.6/hotshot/log.pyR; s: 
$
   
-
%(t__name__t
__module__RRRR!R$R&R.R0RR:R1R;(((s#/usr/lib64/python2.6/hotshot/log.pyRs        '  ((R tos.pathR'R@RCRRRRRRt__all__RRR R(((s#/usr/lib64/python2.6/hotshot/log.pyt<module>s    .