Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 223) sorted by relevance

123456789

/plugin/findologicxmlexport/vendor/sebastian/diff/src/
H A DDiffer.php56 $old = $this->checkIfDiffInOld($diff);
58 $end = \count($diff);
87 * @param array $diff
91 private function checkIfDiffInOld(array $diff) argument
97 foreach ($diff as $line) {
119 * @param array $diff
150 * @param array $diff
172 * @param array $diff
231 $diff = array();
234 $diff[] = array(
[all …]
H A DParser.php33 $diff = null;
39 if ($diff !== null) {
40 $this->parseFileDiff($diff, $collected);
42 $diffs[] = $diff;
46 $diff = new Diff($fromMatch['file'], $toMatch['file']);
58 if ($diff !== null && \count($collected)) {
59 $this->parseFileDiff($diff, $collected);
61 $diffs[] = $diff;
68 * @param Diff $diff
71 private function parseFileDiff(Diff $diff, array $lines) argument
[all …]
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/
H A DDiffTest.php26 $diff = new Diff($from, $to);
28 $this->assertSame($from, $diff->getFrom());
29 $this->assertSame($to, $diff->getTo());
30 … $this->assertSame(array(), $diff->getChunks(), 'Expect chunks to be default value "array()".');
39 $diff = new Diff($from, $to, $chunks);
41 $this->assertSame($from, $diff->getFrom());
42 $this->assertSame($to, $diff->getTo());
43 $this->assertSame($chunks, $diff->getChunks(), 'Expect chunks to be passed value.');
48 $diff = new Diff('line1c', 'line2c');
52 $diff->setChunks($chunks);
[all …]
H A DParserTest.php141 $diff = $diffs[0];
142 $this->assertSame('a/Test.txt', $diff->getFrom());
143 $this->assertSame('b/Test.txt', $diff->getTo());
144 $this->assertCount(1, $diff->getChunks());
146 $diff = $diffs[1];
147 $this->assertSame('a/Test2.txt', $diff->getFrom());
148 $this->assertSame('b/Test2.txt', $diff->getTo());
149 $this->assertCount(1, $diff->getChunks());
H A DDifferTest.php62 … $this->assertEquals($expected, $this->differ->diff($from, $to, new TimeEfficientImplementation));
84 …$this->assertEquals($expected, $this->differ->diff($from, $to, new MemoryEfficientImplementation));
93 $differ->diff('a', 'b')
101 $this->differ->diff(1, 2)
106 * @param string $diff
110 public function testParser($diff, array $expected) argument
113 $result = $parser->parse($diff);
373 $this->assertSame($expected, $differ->diff($from, $to));
/plugin/sincetil/
H A Dsyntax.php53 $diff = $now -> diff ($date);
55 if ($diff->y>0){
57 } elseif ($diff->m>0){
59 } elseif ($diff->d>0){
61 } elseif ($diff->h>0){
63 } elseif ($diff->i>0){
65 } elseif ($diff->s>0){
71 $renderer->doc .= $diff -> format($format);
73 if ($diff -> invert) {
/plugin/diff/
H A Dstyle.css1 /* Cascading Style Sheet for 'diff' syntax plugin - 2010-02-22
4 .diff .diff-addedline{background:#cfc none;color:#000;}
5 .diff .diff-deletedline{background:#fcc none;color:#000;}
6 .diff .diff-blockheader{background:#ccf none;color:#000;}
H A Dsyntax_plugin_diff.css16 .diff .diff-addedline {
20 .diff .diff-deletedline {
24 .diff .diff-blockheader {
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/
H A DColorModeConverter.php98 $diff = $max - $min;
101 if ($diff == 0) {
107 $s = $diff / ($max + $min);
109 $s = $diff / (2 - $max - $min);
112 $rDiff = ((($max - $r) / 6) + ($diff / 2)) / $diff;
113 $gDiff = ((($max - $g) / 6) + ($diff / 2)) / $diff;
114 $bDiff = ((($max - $b) / 6) + ($diff / 2)) / $diff;
/plugin/amcharts/assets/amcharts/plugins/export/examples/
H A Dexport.config.advanced.js124 diff = ( delay - ( Number( new Date() ) - starttime ) / 1000 );
125 label.innerHTML = "Capturing: " + ( diff < 0 ? 0 : diff ).toFixed( 2 );
127 if ( diff <= 0 ) {
160 var diff = ( delay - ( Number( new Date() ) - starttime ) / 1000 );
161 label.innerHTML = "Capturing: " + ( diff < 0 ? 0 : diff ).toFixed( 2 );
163 if ( diff <= 0 ) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/
H A DNamespaceDeclarationSniff.php72 $diff = ($tokens[$next]['line'] - $tokens[$i]['line']);
73 if ($diff === 1) {
77 if ($diff < 0) {
78 $diff = 0;
85 if ($diff === 0) {
H A DUseDeclarationSniff.php156 $diff = ($tokens[$next]['line'] - $tokens[$end]['line'] - 1);
157 if ($diff !== 1) {
158 if ($diff < 0) {
159 $diff = 0;
163 $data = array($diff);
166 if ($diff === 0) {
/plugin/tos/
H A Dstyle.less2 .tos-diff,
12 // this checkbox controls if the diff or the content shall be shown
17 .tos-diff {
21 #plugin__tos_showdiff:checked + .tos-diff {
25 #plugin__tos_showdiff:checked + .tos-diff + .tos-content {
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Extension/
H A DDate.php62 public function diff(Twig_Environment $env, $date, $now = null) function in Twig_Extensions_Extension_Date
69 $diff = $date->diff($now);
73 $count = $diff->$attribute;
76 return $this->getPluralizedInterval($count, $diff->invert, $unit);
/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/Extension/
H A DDateTest.php33 $this->assertEquals($expected, $extension->diff($this->env, $date, $now));
39 …egExp('/^[0-9]+ (second|minute|hour|day|month|year)s* ago$/', $extension->diff($this->env, '24-07-…
48 …$this->assertEquals($expected, $extension->diff($this->env, new DateTime($date), new DateTime($now…
54 …egExp('/^[0-9]+ (second|minute|hour|day|month|year)s* ago$/', $extension->diff($this->env, new Dat…
69 $extension->diff($this->env, $date, $now);
/plugin/elasticsearch/vendor/guzzlehttp/streams/src/
H A DDroppingStream.php26 $diff = $this->maxLength - $this->stream->getSize();
29 if ($diff <= 0) {
34 if (strlen($string) < $diff) {
38 $this->stream->write(substr($string, 0, $diff));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/
H A DDiff.php100 $diff = $phpcsFile->fixer->generateDiff(null, false);
102 $diff = $phpcsFile->fixer->generateDiff();
105 if ($diff === '') {
110 echo $diff.PHP_EOL;
/plugin/highlightjs/highlight/styles/
H A Dzenburn.css52 .diff .change,
59 .diff .chunk,
69 .diff .header,
82 .diff .deletion,
100 .diff .addition,
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A DScopeClosingBraceSniff.php102 $diff = ($startColumn - $braceIndent);
103 if ($diff > 0) {
104 $phpcsFile->fixer->addContentBefore($lineStart, str_repeat(' ', $diff));
106 $phpcsFile->fixer->substrToken(($lineStart - 1), 0, $diff);
/plugin/codemirror/dist/modes/
H A Ddiff.min.js.map1diff/diff.js"],"names":["mod","exports","module","require","define","amd","CodeMirror","defineMode…
/plugin/findologicxmlexport/vendor/sebastian/diff/
H A DREADME.md1 # sebastian/diff
9 composer require sebastian/diff
13 composer require --dev sebastian/diff
23 print $differ->diff('foo', 'bar');
34 The `Parser` class can be used to parse a unified diff into an object graph:
42 $diff = $git->getDiff(
49 print_r($parser->parse($diff));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/
H A DFixer.php272 $diff = shell_exec($cmd);
280 return $diff;
283 $diffLines = explode(PHP_EOL, $diff);
286 $diffLines = explode("\n", $diff);
289 $diff = array();
294 $diff[] = "\033[31m$line\033[0m";
297 $diff[] = "\033[32m$line\033[0m";
300 $diff[] = $line;
305 $diff = implode(PHP_EOL, $diff);
307 return $diff;
/plugin/snippets/
H A Dadmin.php141 $diff = array_diff($snips,$matches[1]) ;
142 if(empty($diff)) {
143 $diff = $this->getLang('finished');
145 else $diff = implode('<br />',$diff);
147 $res .= "<br><b>" . $this->getLang("remove_from_db") . "</b></br>" . $diff;
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/CodeAnalysis/
H A DJumbledIncrementerSniff.php100 $diff = array_intersect($outer, $inner);
102 if (count($diff) !== 0) {
104 $data = array(join(', ', $diff));
/plugin/freechat/phpfreechat/lib/csstidy-1.2/
H A Dclass.csstidy_print.php319 $diff = strlen($this->output_css_plain) - strlen($this->input_css);
321 if ($diff > 0) {
322 return '+' . $diff;
323 } elseif ($diff == 0) {
324 return '+-' . $diff;
327 return $diff;

123456789