403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.101
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python315/Lib/test/test_profiling/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/test/test_profiling/__pycache__/test_tracing_profiler.cpython-315.pyc
R
>lqj�1c���Qs]PHs]PHs]PHs]PHGs]PHs]PH s]QH$G
s
Gs]QH0G
s
Gs]QH<GsQQ\
2sQQ\O$2sQs-sQ	\Q
$Q\Q$Q
\Q$\Q6Xc
\2P!P!)z#Test suite for the cProfile module.)�ProfileTest�regenerate_expected_output)�assert_python_failure�assert_python_ok)�supportc�~`�\sQs]sn\O
s\sQsQs	Qs
QsQsQs
QsQsQ	sQ
sQsQsUsP!)
�CProfileTestz{built-in method builtins.max}c��[!�N)�_ProfileOutput��selfs&�>C:\Python315\\Lib\test\test_profiling\test_tracing_profiler.py�get_expected_output� CProfileTest.get_expected_outputs����c�\�]PHo[O29^tt^2oUOQ2oUO	2UO2UO
2UOUOO[2PPP2P!)%fhP!9h)�c��[!r	)�int�rr
�<lambda>�>CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda>s��3r)�_lsprofr�catch_unraisable_exception�Profiler�enable�disable�clear�assertEqual�
unraisable�exc_type�	TypeError)rr�cm�objs&   r
�test_bad_counter_during_dealloc�,CProfileTest.test_bad_counter_during_deallocsj���
�
/�
/�
1�
1�R��"�"�;�/�C��J�J�L��K�K�M��I�I�K����R�]�]�3�3�Y�?�
2�
1�
1�
1�s�A-B�B+	�#B+	c
��]PHoUO2[O21FDhoQFD^oUO	V#Q59^tt^2[V#2oUO
[29^tt^2U2PPP2PPP2J`	Jj	P!)%fhK"9h)%fhJ�9h)r)�profile�method)�_pystart_callback�_pyreturn_callback�_ccall_callback�_creturn_callback)rr�cProfile�Profile�subTest�getattr�assertRaisesr!)rrr'r(�
method_objs&    r
�test_crash_with_not_enough_args�,CProfileTest.test_crash_with_not_enough_args#s�����(�(�*�H�,<�,<�,>�?�G����\�\�'�\�A�A�!(��!9�J��*�*�9�5�5�"��6�B�A�
�@�6�5��B�A�A�s0�)B-
�8B�B-
�B*�#B*�%B-
�-B>�6B>c�`�]PHoU1QkQ2o[O29^tt^2oUOU]22nRO	2Q2RO2RO
2UOUOO[2PPP2[O29^tt^2oUOU]22nRO	2Q2RO2RO
2UOUOO[2PPP2P!)%fhK�9h)%fhP!9h)rc�6:`�\sQs]7snQsU1QksQsUsP!)�8CProfileTest.test_evil_external_timer.<locals>.EvilTimerc�"�]UmVmP!)r��count�
disable_count)rr;s&&r
�__init__�ACProfileTest.test_evil_external_timer.<locals>.EvilTimer.__init__8s����
�%2�"rc�:�U9O]*
tmUOUO6XcRO2UO!)�)r:r;r)r�profiler_with_evil_timers&�r
�__call__�ACProfileTest.test_evil_external_timer.<locals>.EvilTimer.__call__<s8����
�
�a��
��:�:��!3�!3�3�,�4�4�6��z�z�!rr9)�__name__�
__module__�__qualname__�__firstlineno__r<rA�__static_attributes__�__classdictcell__)�
__classdict__r@s@�r
�	EvilTimerr77s����
3�
"�
"rrJc��P!r	rrrr
r�7CProfileTest.test_evil_external_timer.<locals>.<lambda>H���Trc��P!r	rrrr
rrLSrMr)rrrrrrrrrr �RuntimeError)rrrJr"r@s&   @r
�test_evil_external_timer�%CProfileTest.test_evil_external_timer3s���	�		"�		"��
/�
/�
1�
1�R�'.�'7�'7�	�!��'E�$�$�+�+�-�
��$�,�,�.�$�*�*�,����R�]�]�3�3�\�B�2��
/�
/�
1�
1�R�'.�'7�'7�	�!��'E�$�$�+�+�-�
��$�,�,�.�$�*�*�,����R�]�]�3�3�\�B�2�
1�2�
1��2�
1�
1�s%�A:E�A:E'�E$	�E$	�'E8	�0E8	c��UO2oUOUO2UO2UO	[
OO[
OO2Q2UO2UO[
OO[
OO2P2P!�r-)
�
profilerclass�
addCleanuprrr�sys�
monitoring�get_tool�PROFILER_ID�assertIs�r�profs& r
�test_profile_enable_disable�(CProfileTest.test_profile_enable_disableXs����!�!�#��������%����
�����N�N�#�#�C�N�N�$>�$>�?��	M�	
�����
�
�c�n�n�-�-�c�n�n�.H�.H�I�4�Prc���UO2oUOUO2U9^tt^2oUOV2UO	[
OO[
OO2Q2PPP2UO[
OO[
OO2P2P!)%fhKY9hrS)	rTrUrrZrrVrWrXrY)rr\�"_CProfileTest__enter__return_values&  r
�test_profile_as_context_manager�,CProfileTest.test_profile_as_context_managerds����!�!�#��������%�
�T�*��M�M�$�6�
������'�'����(B�(B�C�Z�
Q�
�	
�
�
�c�n�n�-�-�c�n�n�.H�.H�I�4�P��T�s�AC!�!C1	�*C1	c��UO2oUO2oUO2UOUO2Q[O
OQ0oUO[V2O2P!)ztool z is already in use)	rTrrUrrVrWrY�assertRaisesRegex�
ValueError)r�pr�pr2�msgs&   r
�test_second_profiler�!CProfileTest.test_second_profileruse��
�
�
�
!��� � �"��
�	�	������
�
�#��c�n�n�0�0�1�1C�D�����z�3�
�
�;rc���QoUO2oUO2U2oUO[2UO	2UO2SO
[9PIc4QUOO22D%fJP	L(	P
L$QUOO22221P![cK�h9h)z?
gh-106152
generator.throw() should trigger a call in cProfile
c3� �Pw�	P!3hr	rrrr
�gen�$CProfileTest.test_throw.<locals>.gen�s����s�	c3�F�SF �DoQU]*7w�	J	P!3h)�throwr)�.0�funcs& r
�	<genexpr>�*CProfileTest.test_throw.<locals>.<genexpr>�s��?���?�4�G�t�A�w�.�?�s�!)
rTrrp�SyntaxErrorr�create_stats�
assertTrue�any�stats�keys)rrmrf�gs&   r
�
test_throw�CProfileTest.test_throw}s���	��
�
�
!��
�	�	���E��	�
�G�G�K� �	�
�
��
���������K�2�8�8�=�=�?�K����K�2�8�8�=�=�?�K�K�L�M���	��	�s�C�	C%�!C%�$C%c��``�]PHoQnU1QknU1QkoUO2oUO2[]d2FDoUU2J
	UO	2UO2P!)rc�(�UO2P!r	)r)�profilers&r
�level3�9CProfileTest.test_clear_with_nested_calls.<locals>.level3�s���N�N�rc�:�RU2P!r	r)r�r�s&�r
�level2�9CProfileTest.test_clear_with_nested_calls.<locals>.level2������8�rc�:�RU2P!r	r)r�r�s&�r
�level1�9CProfileTest.test_clear_with_nested_calls.<locals>.level1�r�r)rrr�rangerr)rrr�r��_r�r�s&    @@r
�test_clear_with_nested_calls�)CProfileTest.test_clear_with_nested_calls�s]���	�	�	�	��#�#�%�������s��A��8����������rc	��UO29^tt^2oUO[29^tt^2[O	[22PPP2PPP2P!)%fhK9h)%fhP!9hr	)rTr1r!�bytes�find�strr[s& r
�test_bad_descriptor� CProfileTest.test_bad_descriptor�sT���
�
�
!�
!�T��"�"�9�-�-��
�
�3�5�!�.�"�
!�-�-��"�
!�
!�s.�A;�A(	�A;�(A8
�1A8
�3A;�;B	�B	r)rCrDrErFr-r.rT�profilermodule�expected_max_outputrr$r3rPr]rarir|r�r�rGrH�rIs@r
rrsX�����$�$�M��N�:���
@�%� #C�J
Q�Q�"<�N�*�,"�"rrc�`�\sQs]�snQsQsQsQs\OQ\
O27Q2Q2sQs
UsP!)	�TestCommandLinec�r�[QQQQ2vqoUOU]2UOQU2P!)�-mr-z-s�demos!option -s: invalid choice: 'demo')r�
assertGreater�assertIn)r�rc�out�errs&   r
�	test_sort�TestCommandLine.test_sort�s5��,�T�:�t�V�L�������2�q�!��
�
�:�C�@rc��[OQP
Q59^tt^2oUO[OQ22UO2[
QQUO2PPP2P!)%fhP!9h)zWCheck that scripts that reference __main__ see their own namespace
when being profiled.�w+��delete_on_closez�                class Foo:
                    pass
                import __main__
                assert Foo == __main__.Foo
                r�r-)�tempfile�NamedTemporaryFile�write�textwrap�dedent�closer�name)r�fs& r
�"test_profile_script_importing_main�2TestCommandLine.test_profile_script_importing_main�s`���
(�
(��u�
E�
E��
�G�G�H�O�O�%��
�
�G�G�I��T�:�q�v�v�6�F�
E�
E�
E�s�A
A9�9B
	�B
	c���]
o[OQP
Q59^tt^2oUO[OQUQUQ022UO2[
QQUO2vqEoUOQU2UO[Q	U]*0Q
Q5U2UOQU2PPP2P!)%fhP!9h)
�
r�r�z�                import multiprocessing

                def worker(x):
                    print(__name__)
                    exit(x ** 2)

                if __name__ == "__main__":
                    multiprocessing.set_start_method('zH')
                    p = multiprocessing.Process(target=worker, args=(z�,))
                    p.start()
                    p.join()
                    print("p.exitcode =", p.exitcode)
                r�r-s__mp_main__zexitcode = �utf8)�encodingsCan't pickle)r�r�r�r�r�r�rr�r�r��assertNotIn)r�start_method�valr�r�r�r�s&&     r
�_test_process_run_pickle�(TestCommandLine._test_process_run_pickle�s�����
�
(�
(��u�
E�
E��
�G�G�H�O�O�7�8D�n�EF�FI�U�K�
��
�
�G�G�I�*�4��Q�V�V�D�K�A�C��M�M�.�#�.��M�M�%�+�c�1�f�X� 6��H�#�N����_�c�2�)F�
E�
E�
E�s�B"C�C!	�C!	c�*�UOQ2P!)�spawn�r�rs&r
�test_process_spawn_pickle�)TestCommandLine.test_process_spawn_pickle�s���%�%�g�.r�
forkserverz(forkserver start method is not availablec�*�UOQ2P!)r�r�rs&r
�test_process_forkserver_pickle�.TestCommandLine.test_process_forkserver_pickle�s��	
�%�%�l�3rr)rCrDrErFr�r�r�r��unittest�
skipUnless�multiprocessing�get_all_start_methodsr�rGrHr�s@r
r�r��sN����A�
7�3�0/������)N�)N�)P�P�C�E�4�E�4rr�c��Q[O7c[O2P![	[
[2P!)z-r)rV�argvr��mainr�__file__rrrr
r�r��s!���3�8�8���
�
��"�8�\�:ra�       28    0.028    0.001    0.028    0.001 profilee.py:110(__getattr__)
        1    0.270    0.270    1.000    1.000 profilee.py:25(testfunc)
     23/3    0.150    0.007    0.170    0.057 profilee.py:35(factorial)
       20    0.020    0.001    0.020    0.001 profilee.py:48(mul)
        2    0.040    0.020    0.600    0.300 profilee.py:55(helper)
        4    0.116    0.029    0.120    0.030 profilee.py:73(helper1)
        2    0.000    0.000    0.140    0.070 profilee.py:84(helper2_indirect)
        8    0.312    0.039    0.400    0.050 profilee.py:88(helper2)
        8    0.064    0.008    0.080    0.010 profilee.py:98(subhelper)�print_statsa�profilee.py:110(__getattr__)                      <-      16    0.016    0.016  profilee.py:98(subhelper)
profilee.py:25(testfunc)                          <-       1    0.270    1.000  <string>:1(<module>)
profilee.py:35(factorial)                         <-       1    0.014    0.130  profilee.py:25(testfunc)
                                                        20/3    0.130    0.147  profilee.py:35(factorial)
                                                           2    0.006    0.040  profilee.py:84(helper2_indirect)
profilee.py:48(mul)                               <-      20    0.020    0.020  profilee.py:35(factorial)
profilee.py:55(helper)                            <-       2    0.040    0.600  profilee.py:25(testfunc)
profilee.py:73(helper1)                           <-       4    0.116    0.120  profilee.py:55(helper)
profilee.py:84(helper2_indirect)                  <-       2    0.000    0.140  profilee.py:55(helper)
profilee.py:88(helper2)                           <-       6    0.234    0.300  profilee.py:55(helper)
                                                           2    0.078    0.100  profilee.py:84(helper2_indirect)
profilee.py:98(subhelper)                         <-       8    0.064    0.080  profilee.py:88(helper2)
{built-in method builtins.hasattr}                <-       4    0.000    0.004  profilee.py:73(helper1)
                                                           8    0.000    0.008  profilee.py:88(helper2)
{built-in method sys.exception}                   <-       4    0.000    0.000  profilee.py:73(helper1)
{method 'append' of 'list' objects}               <-       4    0.000    0.000  profilee.py:73(helper1)�
print_callersa;<string>:1(<module>)                              ->       1    0.270    1.000  profilee.py:25(testfunc)
profilee.py:110(__getattr__)                      ->
profilee.py:25(testfunc)                          ->       1    0.014    0.130  profilee.py:35(factorial)
                                                           2    0.040    0.600  profilee.py:55(helper)
profilee.py:35(factorial)                         ->    20/3    0.130    0.147  profilee.py:35(factorial)
                                                          20    0.020    0.020  profilee.py:48(mul)
profilee.py:48(mul)                               ->
profilee.py:55(helper)                            ->       4    0.116    0.120  profilee.py:73(helper1)
                                                           2    0.000    0.140  profilee.py:84(helper2_indirect)
                                                           6    0.234    0.300  profilee.py:88(helper2)
profilee.py:73(helper1)                           ->       4    0.000    0.004  {built-in method builtins.hasattr}
profilee.py:84(helper2_indirect)                  ->       2    0.006    0.040  profilee.py:35(factorial)
                                                           2    0.078    0.100  profilee.py:88(helper2)
profilee.py:88(helper2)                           ->       8    0.064    0.080  profilee.py:98(subhelper)
profilee.py:98(subhelper)                         ->      16    0.016    0.016  profilee.py:110(__getattr__)
{built-in method builtins.hasattr}                ->      12    0.012    0.012  profilee.py:110(__getattr__)�
print_callees�__main__)�__doc__r�rVr��profiling.tracing�tracingr-r�r��test.test_profilerr�test.support.script_helperrr�testrr�TestCaser�r�r
rCrrr
�<module>r�s���)��
��%���E�N��_"�;�_"�D34�h�'�'�34�l;���	!K��}��#k����"#p����$�z���F�r

Youez - 2016 - github.com/yon3zu
LinuXploit