| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 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 : C:/Python315/Lib/profiling/sampling/live_collector/__pycache__/ |
Upload File : |
R
>lqj� c �n � Q s ] PHs] PHs] QHGsGs Q Q\2 s Q Q\2 s Q Q\2 sP! )z@Display interface abstractions for the live profiling collector.)�ABC�abstractmethodc �� ` � \ sQ s]s n Qs\Q 2 s\Q 2 s\Q 2 s\Q 2 s \QQ k2 s
\Q 2 s\Q 2 s\Q 2 s
\Q
2 s\Q 2 s\Q 2 sQ
sU sP! )�DisplayInterfacez<Abstract interface for display operations to enable testing.c � � P! )z+Get terminal dimensions as (height, width).� ��selfs &�>C:\Python315\\Lib\profiling\sampling\live_collector\display.py�get_dimensions�DisplayInterface.get_dimensions � � �
� c � � P! )zClear the screen.r r s &r �clear�DisplayInterface.clear r r
c � � P! )z#Refresh the screen to show changes.r r s &r �refresh�DisplayInterface.refresh r r
c � � P! )zRedraw the entire window.r r s &r �redraw�DisplayInterface.redraw r r
c � � P! )z'Add a string at the specified position.r )r �line�col�text�attrs &&&&&r �add_str�DisplayInterface.add_str r r
c � � P! )zBGet a character from input (non-blocking). Returns -1 if no input.r r s &r � get_input�DisplayInterface.get_input$ r r
c � � P! )z Set non-blocking mode for input.r �r �flags &&r �set_nodelay�DisplayInterface.set_nodelay) r r
c � � P! )z"Check if terminal supports colors.r r s &r �
has_colors�DisplayInterface.has_colors. r r
c � � P! )zInitialize a color pair.r �r �pair_id�fg�bgs &&&&r �init_color_pair� DisplayInterface.init_color_pair3 r r
c � � P! )zGet a color pair attribute.r �r r+ s &&r �get_color_pair�DisplayInterface.get_color_pair8 r r
c � � P! )z>Get a display attribute by name (e.g., 'A_BOLD', 'A_REVERSE').r �r �names &&r �get_attr�DisplayInterface.get_attr= r r
r �� )�__name__�
__module__�__qualname__�__firstlineno__�__doc__r r
r r r r r r$ r'