Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 18.216.57.57
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
dist-packages /
gyp /
[ HOME SHELL ]
Name
Size
Permission
Action
generator
[ DIR ]
drwxr-xr-x
MSVSNew.py
11.84
KB
-rw-r--r--
MSVSNew.pyc
9.11
KB
-rw-r--r--
MSVSProject.py
6.24
KB
-rw-r--r--
MSVSProject.pyc
6.88
KB
-rw-r--r--
MSVSSettings.py
44.04
KB
-rw-r--r--
MSVSSettings.pyc
34.17
KB
-rw-r--r--
MSVSSettings_test.py
64.39
KB
-rw-r--r--
MSVSSettings_test.pyc
31.01
KB
-rw-r--r--
MSVSToolFile.py
1.76
KB
-rw-r--r--
MSVSToolFile.pyc
2.12
KB
-rw-r--r--
MSVSUserFile.py
4.97
KB
-rw-r--r--
MSVSUserFile.pyc
4.68
KB
-rw-r--r--
MSVSUtil.py
9.35
KB
-rw-r--r--
MSVSUtil.pyc
7.35
KB
-rw-r--r--
MSVSVersion.py
18.68
KB
-rw-r--r--
MSVSVersion.pyc
14.82
KB
-rw-r--r--
__init__.py
21.66
KB
-rw-r--r--
__init__.pyc
15.43
KB
-rw-r--r--
common.py
19.97
KB
-rw-r--r--
common.pyc
17.37
KB
-rw-r--r--
common_test.py
1.92
KB
-rw-r--r--
common_test.pyc
3.25
KB
-rw-r--r--
easy_xml.py
4.89
KB
-rw-r--r--
easy_xml.pyc
5.01
KB
-rw-r--r--
easy_xml_test.py
3.19
KB
-rw-r--r--
easy_xml_test.pyc
3.7
KB
-rw-r--r--
flock_tool.py
1.71
KB
-rw-r--r--
flock_tool.pyc
2.2
KB
-rw-r--r--
input.py
113.53
KB
-rw-r--r--
input.pyc
60.53
KB
-rw-r--r--
input_test.py
3.13
KB
-rw-r--r--
input_test.pyc
3.73
KB
-rw-r--r--
mac_tool.py
26.42
KB
-rw-r--r--
mac_tool.pyc
24.78
KB
-rw-r--r--
msvs_emulation.py
47.36
KB
-rw-r--r--
msvs_emulation.pyc
45.31
KB
-rw-r--r--
ninja_syntax.py
5.41
KB
-rw-r--r--
ninja_syntax.pyc
5.92
KB
-rw-r--r--
ordered_dict.py
10.12
KB
-rw-r--r--
ordered_dict.pyc
9.37
KB
-rw-r--r--
simple_copy.py
1.22
KB
-rw-r--r--
simple_copy.pyc
1.95
KB
-rw-r--r--
win_tool.py
12.97
KB
-rw-r--r--
win_tool.pyc
11.71
KB
-rw-r--r--
xcode_emulation.py
71.64
KB
-rw-r--r--
xcode_emulation.pyc
63.64
KB
-rw-r--r--
xcode_ninja.py
11.05
KB
-rw-r--r--
xcode_ninja.pyc
7.73
KB
-rw-r--r--
xcodeproj_file.py
122.01
KB
-rw-r--r--
xcodeproj_file.pyc
88.21
KB
-rw-r--r--
xml_fix.py
2.12
KB
-rw-r--r--
xml_fix.pyc
2.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : input_test.py
#!/usr/bin/env python # Copyright 2013 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Unit tests for the input.py file.""" import gyp.input import unittest import sys class TestFindCycles(unittest.TestCase): def setUp(self): self.nodes = {} for x in ('a', 'b', 'c', 'd', 'e'): self.nodes[x] = gyp.input.DependencyGraphNode(x) def _create_dependency(self, dependent, dependency): dependent.dependencies.append(dependency) dependency.dependents.append(dependent) def test_no_cycle_empty_graph(self): for label, node in self.nodes.iteritems(): self.assertEquals([], node.FindCycles()) def test_no_cycle_line(self): self._create_dependency(self.nodes['a'], self.nodes['b']) self._create_dependency(self.nodes['b'], self.nodes['c']) self._create_dependency(self.nodes['c'], self.nodes['d']) for label, node in self.nodes.iteritems(): self.assertEquals([], node.FindCycles()) def test_no_cycle_dag(self): self._create_dependency(self.nodes['a'], self.nodes['b']) self._create_dependency(self.nodes['a'], self.nodes['c']) self._create_dependency(self.nodes['b'], self.nodes['c']) for label, node in self.nodes.iteritems(): self.assertEquals([], node.FindCycles()) def test_cycle_self_reference(self): self._create_dependency(self.nodes['a'], self.nodes['a']) self.assertEquals([[self.nodes['a'], self.nodes['a']]], self.nodes['a'].FindCycles()) def test_cycle_two_nodes(self): self._create_dependency(self.nodes['a'], self.nodes['b']) self._create_dependency(self.nodes['b'], self.nodes['a']) self.assertEquals([[self.nodes['a'], self.nodes['b'], self.nodes['a']]], self.nodes['a'].FindCycles()) self.assertEquals([[self.nodes['b'], self.nodes['a'], self.nodes['b']]], self.nodes['b'].FindCycles()) def test_two_cycles(self): self._create_dependency(self.nodes['a'], self.nodes['b']) self._create_dependency(self.nodes['b'], self.nodes['a']) self._create_dependency(self.nodes['b'], self.nodes['c']) self._create_dependency(self.nodes['c'], self.nodes['b']) cycles = self.nodes['a'].FindCycles() self.assertTrue( [self.nodes['a'], self.nodes['b'], self.nodes['a']] in cycles) self.assertTrue( [self.nodes['b'], self.nodes['c'], self.nodes['b']] in cycles) self.assertEquals(2, len(cycles)) def test_big_cycle(self): self._create_dependency(self.nodes['a'], self.nodes['b']) self._create_dependency(self.nodes['b'], self.nodes['c']) self._create_dependency(self.nodes['c'], self.nodes['d']) self._create_dependency(self.nodes['d'], self.nodes['e']) self._create_dependency(self.nodes['e'], self.nodes['a']) self.assertEquals([[self.nodes['a'], self.nodes['b'], self.nodes['c'], self.nodes['d'], self.nodes['e'], self.nodes['a']]], self.nodes['a'].FindCycles()) if __name__ == '__main__': unittest.main()
Close