/usr/lib64/python2.6/site-packages/mx/Stack
NameSizeModeActions
mxStack/-0755rm
COPYRIGHT10300644editdlrm
LICENSE45870644editdlrm
README1420644editdlrm
stackbench.pyc37490644editdlrm
stackbench.pyo37100644editdlrm
UserStack.py11720644editdlrm
UserStack.pyc25420644editdlrm
UserStack.pyo25420644editdlrm
__init__.py3540644editdlrm
__init__.pyc5420644editdlrm
__init__.pyo5420644editdlrm
Edit: /usr/lib64/python2.6/site-packages/mx/Stack/stackbench.pyc (3749B)
Ñò ÛÅVHc @sqdZddkZddklZddkZddklZlZyJeedƒeedƒeedƒZ Z Z e e jpt ‚WndGHedƒnXd „Z d „Zd „Zd „Zd „Zd„Zd„Zd„ZdGe e eƒGHdGe e eƒGHdGe e eƒGHdGe e eƒGHdGe e eƒGHdGe e eƒGHdGe e eƒGHdS(s0 stackbench - stack implementation benchmark Copyright (c) 2000, Marc-Andre Lemburg; mailto:mal@lemburg.com Copyright (c) 2000-2008, eGenix.com Software GmbH; mailto:info@egenix.com See the documentation for further information on copyrights, or contact the author. All Rights Reserved. iÿÿÿÿN(tStack(targvtexitiiisGusage: stackbench.py , where >= cCs:tiƒ}xt|ƒD]}|ƒ}qWtiƒ|S(N(ttimetclocktxrange(trepstfunct start_cputitx((s9/usr/lib64/python2.6/site-packages/mx/Stack/stackbench.pyttests    cCs\g}|i}xttƒD]}|dƒqWx%ttƒD]}|d}|d=q=WdS(NtspamR iÿÿÿÿtspami(tappendtrangetpushestpops(R tpushR ttop((s9/usr/lib64/python2.6/site-packages/mx/Stack/stackbench.pytmethod1s    cCsPd}x ttƒD]}d|f}qWx ttƒD]}|\}}q6WdS(NR R R (tNoneRRR(R R R((s9/usr/lib64/python2.6/site-packages/mx/Stack/stackbench.pytmethod2(s  cCsctiƒ}|i}|i}xttƒD]}|dƒq+WxttƒD]}|ƒ}qLWdS(NR R R (RRtpopRRR(tsRRR R((s9/usr/lib64/python2.6/site-packages/mx/Stack/stackbench.pytmethod3-s     cCsItiƒ}|i}xttƒD]}|dƒq"W|itƒ}dS(NR R R (RRRRtpop_manyR(RRR tt((s9/usr/lib64/python2.6/site-packages/mx/Stack/stackbench.pytmethod3a4s    cCsYtiƒ}|i}xttƒD]}|d>q"WxttƒD]}|d?}qAWdS(NR R iR (RRRRR(RRR R((s9/usr/lib64/python2.6/site-packages/mx/Stack/stackbench.pytmethod3b:s     cCsXtiƒ}dgt}xttƒD]}d||>):s"Stack (with push_many + pop_many):s UserStack:(t__doc__RtmxRR"tsysRRtevaltnumtestsRRtAssertionErrorR RRRRRR!R#(((s9/usr/lib64/python2.6/site-packages/mx/Stack/stackbench.pyts2  2