Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.130
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python34 /
lib64 /
python3.4 /
ctypes /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
__init__.py
399
B
-rw-r--r--
2024-04-17 20:40
__main__.py
68
B
-rw-r--r--
2024-04-17 20:40
test_anon.py
2
KB
-rw-r--r--
2024-04-17 20:40
test_array_in_pointer.py
1.7
KB
-rw-r--r--
2024-04-17 20:40
test_arrays.py
5.5
KB
-rw-r--r--
2024-04-17 20:40
test_as_parameter.py
6.61
KB
-rw-r--r--
2024-04-17 20:40
test_bitfields.py
9.84
KB
-rw-r--r--
2024-04-17 20:40
test_buffers.py
2.23
KB
-rw-r--r--
2024-04-17 20:40
test_bytes.py
1.88
KB
-rw-r--r--
2024-04-17 20:40
test_byteswap.py
10.6
KB
-rw-r--r--
2024-04-17 20:40
test_callbacks.py
8.79
KB
-rw-r--r--
2024-04-17 20:40
test_cast.py
3.11
KB
-rw-r--r--
2024-04-17 20:40
test_cfuncs.py
7.5
KB
-rw-r--r--
2024-04-17 20:40
test_checkretval.py
968
B
-rw-r--r--
2024-04-17 20:40
test_delattr.py
533
B
-rw-r--r--
2024-04-17 20:40
test_errno.py
2.25
KB
-rw-r--r--
2024-04-17 20:40
test_find.py
2.77
KB
-rw-r--r--
2024-04-17 20:40
test_frombuffer.py
4.15
KB
-rw-r--r--
2024-04-17 20:40
test_funcptr.py
3.82
KB
-rw-r--r--
2024-04-17 20:40
test_functions.py
12.26
KB
-rw-r--r--
2024-04-17 20:40
test_incomplete.py
1023
B
-rw-r--r--
2024-04-17 20:40
test_init.py
1.01
KB
-rw-r--r--
2024-04-17 20:40
test_internals.py
2.57
KB
-rw-r--r--
2024-04-17 20:40
test_keeprefs.py
3.96
KB
-rw-r--r--
2024-04-17 20:40
test_libc.py
1005
B
-rw-r--r--
2024-04-17 20:40
test_loading.py
4.29
KB
-rw-r--r--
2024-04-17 20:40
test_macholib.py
1.79
KB
-rw-r--r--
2024-04-17 20:40
test_memfunctions.py
3.22
KB
-rw-r--r--
2024-04-17 20:40
test_numbers.py
9.07
KB
-rw-r--r--
2024-04-17 20:40
test_objects.py
1.64
KB
-rw-r--r--
2024-04-17 20:40
test_parameters.py
6.05
KB
-rw-r--r--
2024-04-17 20:40
test_pep3118.py
7.65
KB
-rw-r--r--
2024-04-17 20:40
test_pickling.py
2.17
KB
-rw-r--r--
2024-04-17 20:40
test_pointers.py
6.72
KB
-rw-r--r--
2024-04-17 20:40
test_prototypes.py
6.58
KB
-rw-r--r--
2024-04-17 20:40
test_python_api.py
2.8
KB
-rw-r--r--
2024-04-17 20:40
test_random_things.py
2.76
KB
-rw-r--r--
2024-04-17 20:40
test_refcounts.py
2.52
KB
-rw-r--r--
2024-04-17 20:40
test_repr.py
842
B
-rw-r--r--
2024-04-17 20:40
test_returnfuncptrs.py
2.83
KB
-rw-r--r--
2024-04-17 20:40
test_simplesubclasses.py
1.26
KB
-rw-r--r--
2024-04-17 20:40
test_sizes.py
815
B
-rw-r--r--
2024-04-17 20:40
test_slicing.py
5.87
KB
-rw-r--r--
2024-04-17 20:40
test_stringptr.py
2.48
KB
-rw-r--r--
2024-04-17 20:40
test_strings.py
6.97
KB
-rw-r--r--
2024-04-17 20:40
test_struct_fields.py
1.47
KB
-rw-r--r--
2024-04-17 20:40
test_structures.py
15.41
KB
-rw-r--r--
2024-04-17 20:40
test_unaligned_structures.py
1.19
KB
-rw-r--r--
2024-04-17 20:40
test_unicode.py
1.72
KB
-rw-r--r--
2024-04-17 20:40
test_values.py
3.42
KB
-rw-r--r--
2024-04-17 20:40
test_varsize_struct.py
1.8
KB
-rw-r--r--
2024-04-17 20:40
test_win32.py
5.16
KB
-rw-r--r--
2024-04-17 20:40
test_wintypes.py
1.43
KB
-rw-r--r--
2024-04-17 20:40
Save
Rename
import unittest import os import sys import test.support from ctypes import * from ctypes.util import find_library # On some systems, loading the OpenGL libraries needs the RTLD_GLOBAL mode. class Test_OpenGL_libs(unittest.TestCase): @classmethod def setUpClass(cls): lib_gl = lib_glu = lib_gle = None if sys.platform == "win32": lib_gl = find_library("OpenGL32") lib_glu = find_library("Glu32") elif sys.platform == "darwin": lib_gl = lib_glu = find_library("OpenGL") else: lib_gl = find_library("GL") lib_glu = find_library("GLU") lib_gle = find_library("gle") ## print, for debugging if test.support.verbose: print("OpenGL libraries:") for item in (("GL", lib_gl), ("GLU", lib_glu), ("gle", lib_gle)): print("\t", item) cls.gl = cls.glu = cls.gle = None if lib_gl: try: cls.gl = CDLL(lib_gl, mode=RTLD_GLOBAL) except OSError: pass if lib_glu: try: cls.glu = CDLL(lib_glu, RTLD_GLOBAL) except OSError: pass if lib_gle: try: cls.gle = CDLL(lib_gle) except OSError: pass @classmethod def tearDownClass(cls): cls.gl = cls.glu = cls.gle = None def test_gl(self): if self.gl is None: self.skipTest('lib_gl not available') self.gl.glClearIndex def test_glu(self): if self.glu is None: self.skipTest('lib_glu not available') self.glu.gluBeginCurve def test_gle(self): if self.gle is None: self.skipTest('lib_gle not available') self.gle.gleGetJoinStyle # On platforms where the default shared library suffix is '.so', # at least some libraries can be loaded as attributes of the cdll # object, since ctypes now tries loading the lib again # with '.so' appended of the first try fails. # # Won't work for libc, unfortunately. OTOH, it isn't # needed for libc since this is already mapped into the current # process (?) # # On MAC OSX, it won't work either, because dlopen() needs a full path, # and the default suffix is either none or '.dylib'. @unittest.skip('test disabled') @unittest.skipUnless(os.name=="posix" and sys.platform != "darwin", 'test not suitable for this platform') class LoadLibs(unittest.TestCase): def test_libm(self): import math libm = cdll.libm sqrt = libm.sqrt sqrt.argtypes = (c_double,) sqrt.restype = c_double self.assertEqual(sqrt(2), math.sqrt(2)) if __name__ == "__main__": unittest.main()