https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/__pycache__/monotonic.cpython-310.pyc
o

�p`�
@sbdZddlZdZzejZWdSe�y0ddlZddlZddlZddlZddl	Z	z�ej
dkrYejddd�ZGdd	�d	ej
�ZejZeje_e�Ze�e�e��d
Zdd�Zn�ej
�d
�seej
�d�r�ej
�d�r�zejjZWney�ej�d�ZYnwejjZeedd�Zer�eje_dd�ZntejZej e_e	�!�Z"da#da$dd�Zn`zejej%�&d�dd�j'Z'Wne(y�ejej%�&d�dd�j'Z'YnwGdd�dej
�Z)ej
�d�r�dZ*n&ej
�d�r�dZ*nej
�d�r�dZ*ndej
vr�dZ*nej
�d��re�+d�Z*d d�Ze�e�dk�re,d!��WYdSe(�y/Z-ze.d"e/e-���dZ-[-www)#a
  monotonic
  ~~~~~~~~~

  This module provides a ``monotonic()`` function which returns the
  value (in fractional seconds) of a clock which never goes backwards.

  On Python 3.3 or newer, ``monotonic`` will be an alias of
  ``time.monotonic`` from the standard library. On older versions,
  it will fall back to an equivalent implementation:

  +-------------+----------------------------------------+
  | Linux, BSD  | ``clock_gettime(3)``                   |
  +-------------+----------------------------------------+
  | Windows     | ``GetTickCount`` or ``GetTickCount64`` |
  +-------------+----------------------------------------+
  | OS X        | ``mach_absolute_time``                 |
  +-------------+----------------------------------------+

  If no suitable implementation exists for the current platform,
  attempting to import this module (or to import from it) will
  cause a ``RuntimeError`` exception to be raised.


  Copyright 2014, 2015, 2016 Ori Livneh <ori@wikimedia.org>

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

�N)�	monotonic�darwinz/usr/lib/libc.dylibT)�	use_errnoc@�$eZdZdZdejfdejffZdS)�mach_timebase_info_data_tz4System timebase info. Defined in <mach/mach_time.h>.�numer�denomN)�__name__�
__module__�__qualname__�__doc__�ctypes�c_uint32�_fields_�rr�+/usr/lib/python3/dist-packages/monotonic.pyr=�
�r�e��AcCst�tjtj}|tS)�$Monotonic clock, cannot go backward.)�mach_absolute_time�timebaserr�nanoseconds_in_second)�nanosecondsrrrrIsr�win32�cygwinzkernel32.dll�GetTickCount64cCs
t�dS)r�@�@)rrrrrris
cCsZt�!t�}|tkrtd7a|atd>}|t7}|dWd�S1s&wYdS)r�� rN)�get_tick_count_lock�GetTickCount�get_tick_count_last_sample�get_tick_count_wraparounds)�current_sample�final_millisecondsrrrrvs$��c�rtc@r)�timespecz5Time specification, as described in clock_gettime(3).�tv_sec�tv_nsecN)r	r
rrr
�c_longrrrrrr'�rr'�linuxr�freebsd��sunos5�bsd��aix�
cCs>t�}ttt�|��rt��}t|t�|���|j	|j
dS)rr)r'�
clock_gettime�CLOCK_MONOTONICr
�pointer�	get_errno�OSError�os�strerrorr(r))�ts�errnorrrr�s
zmonotonic() is not monotonic!z,no suitable implementation for this system: )0r�time�__all__r�AttributeErrorr
�ctypes.utilr8�sys�	threading�platform�CDLL�libc�	Structurerr�c_uint64�restyper�mach_timebase_info�byrefr�
startswith�cdll�kernel32r7�LoadLibrary�windll�getattrr�c_ulonglongr r�Lockrr!r"�util�find_libraryr3�	Exceptionr'r4�
c_longlong�
ValueError�e�RuntimeError�reprrrrr�<module>s�'

�

�����

	����

https://t.me/RX1948 - 2025