Home
last modified time | relevance | path

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

1234567891011

/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/diagramsnet/lib/js/diagramly/
H A DDiffSync.js71 inserted[diff[EditorUi.DIFF_INSERT][i].previous] = diff[EditorUi.DIFF_INSERT][i];
228 for (var key in diff)
557 if ('value' in diff)
589 if (diff.edge != null)
617 for (var key in diff)
675 var diff = {};
729 diff[id] = pageDiff;
789 diff = (diff != null) ? diff : {};
825 return diff;
1025 var diff = {};
[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/authgooglesheets/vendor/paragonie/constant_time_encoding/src/
H A DBase64UrlSafe.php79 $diff = 0x41;
82 $diff += ((25 - $src) >> 8) & 6;
85 $diff -= ((51 - $src) >> 8) & 75;
88 $diff -= ((61 - $src) >> 8) & 13;
91 $diff += ((62 - $src) >> 8) & 49;
93 return \pack('C', $src + $diff);
H A DBase64.php254 $diff = 0x41;
257 $diff += ((25 - $src) >> 8) & 6;
260 $diff -= ((51 - $src) >> 8) & 75;
263 $diff -= ((61 - $src) >> 8) & 15;
266 $diff += ((62 - $src) >> 8) & 3;
268 return \pack('C', $src + $diff);
/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/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) {
/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/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/elasticsearch/vendor/ezimuel/guzzlestreams/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/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/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DDroppingStream.php31 $diff = $this->maxLength - $this->stream->getSize();
34 if ($diff <= 0) {
39 if (strlen($string) < $diff) {
43 return $this->stream->write(substr($string, 0, $diff));
H A DCachingStream.php69 $diff = $byte - $this->stream->getSize();
71 if ($diff > 0) {
74 while ($diff > 0 && !$this->remoteStream->eof()) {
75 $this->read($diff);
76 $diff = $byte - $this->stream->getSize();
/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/authgooglesheets/vendor/google/apiclient-services/src/PolicySimulator/
H A DGoogleCloudPolicysimulatorV1ReplayResult.php56 public function setDiff(GoogleCloudPolicysimulatorV1ReplayDiff $diff) argument
58 $this->diff = $diff;
65 return $this->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/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/highlightjs/highlight/styles/
H A Dzenburn.css52 .diff .change,
59 .diff .chunk,
69 .diff .header,
82 .diff .deletion,
100 .diff .addition,
/plugin/codemirror/dist/modes/
H A Ddiff.min.js.map1diff/diff.js"],"names":["mod","exports","module","require","define","amd","CodeMirror","defineMode…

1234567891011