/plugin/asciidocjs/node_modules/once/ |
D | once.js | 23 if (f.called) return f.value 24 f.called = true 27 f.called = false 33 if (f.called) 35 f.called = true 40 f.called = false
|
D | README.md | 35 To check whether you function has been called, use `fn.called`. Once the 36 function is called for the first time the return value of the original 48 if (!cb.called) cb(new Error('not found')) 55 Throw an error if the function is called twice. 57 Some functions are expected to be called only once. Using `once` for them would 65 // when no name is passed, the callback is called twice 77 // once.strict will print 'Hello anonymous' and throw an error when the callback will be called the…
|
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/ |
D | FnStreamTest.php | 35 $called = false; 37 'close' => function () use (&$called) { 38 $called = true; 42 $this->assertTrue($called); 82 $called = false; 85 'read' => function ($len) use (&$called, $a) { 86 $called = true; 91 $this->assertTrue($called);
|
D | AsyncReadStreamTest.php | 95 $called = 0; 98 'pump' => function ($size) use (&$called) { 99 $called++; 105 $this->assertEquals(0, $called); 107 $this->assertEquals(1, $called); 109 $this->assertEquals(2, $called); 114 $called = 0; 117 'drain' => function (BufferStream $b) use (&$called, $buffer) { 119 $called++; 125 $this->assertEquals(0, $called); [all …]
|
D | PumpStreamTest.php | 37 $called = []; 38 $p = Stream::factory(function ($size) use (&$called) { 39 $called[] = $size; 46 $this->assertEquals([1, 9, 3], $called);
|
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Unit/ |
D | Stream.php | 254 function (Event\Bucket $bucket) use ($self, &$called) { 255 $called = true; 267 ->boolean($called) 432 …tream_set_timeout = function ($_stream, $_seconds, $_microseconds) use ($self, $stream, &$called) { 433 $called = true; 450 ->boolean($called) 512 …$this->function->stream_set_blocking = function ($_stream, $_mode) use ($self, $stream, &$called) { 513 $called = true; 528 ->boolean($called) 552 …>function->stream_set_write_buffer = function ($_stream, $_buffer) use ($self, $stream, &$called) { [all …]
|
/plugin/findologicxmlexport/vendor/hoa/exception/Test/Unit/ |
D | Error.php | 78 $this->function->restore_error_handler = function () use (&$called) { 79 $called = true; 88 ->boolean($called) 98 $this->function->set_error_handler = function ($handler) use ($self, &$called) { 99 $called = true; 131 ->boolean($called)
|
D | Idle.php | 225 $this->function->restore_exception_handler = function () use (&$called) { 226 $called = true; 235 ->boolean($called) 245 $this->function->set_exception_handler = function ($handler) use ($self, &$called) { 246 $called = true; 264 ->boolean($called)
|
D | Exception.php | 79 function (Event\Bucket $bucket) use ($self, &$called) { 80 $called = true; 94 ->boolean($called)
|
/plugin/davcal/vendor/sabre/http/tests/HTTP/ |
D | ClientTest.php | 182 $called = false; 183 $client->on('exception', function() use (&$called) { 184 $called = true; 193 $this->assertTrue($called); 223 $called = 0; 224 $client->on('doRequest', function($request, &$response) use (&$called) { 225 $called++; 226 if ($called < 3) { 242 $this->assertEquals(3, $called);
|
/plugin/asciidocjs/node_modules/wrappy/ |
D | README.md | 12 // make sure a cb is called only once 15 var called = false 17 if (called) return 18 called = true
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Extension/ |
D | SandboxTest.php | 176 $this->assertEquals(1, FooObject::$called['__toString'], 'Sandbox only calls method once'); 184 $this->assertEquals(1, FooObject::$called['__toString'], 'Sandbox only calls method once'); 216 $this->assertEquals(1, FooObject::$called['foo'], 'Sandbox only calls method once'); 255 … $this->assertEquals(2, FooObject::$called['getFooBar'], 'Sandbox only calls method once'); 330 public static $called = ['__toString' => 0, 'foo' => 0, 'getFooBar' => 0]; variable in FooObject 336 self::$called = ['__toString' => 0, 'foo' => 0, 'getFooBar' => 0]; 341 ++self::$called['__toString']; 348 ++self::$called['foo']; 355 ++self::$called['getFooBar'];
|
/plugin/asciidocjs/node_modules/promise/ |
D | Readme.md | 105 …as a false positive if `onHandled` is called. `onHandled` is only called if `onUnhandled` has alr… 121 …ould be called with a single argument. If it is called with a non-promise value then the promise … 122 …2. `reject` should be called with a single argument. The returned promise will be rejected with t… 140 Returns a promise for an array. If it is called with a single argument that `Array.isArray` then t… 194 …nRejected` will be called and they will not be called more than once. They will be passed a singl… 196 …e promise is fulfilled then `onFulfilled` is called. If the promise is rejected then `onRejected`… 198 …called returns a promise, the promise returned by `.then` takes on the state of that returned prom… 214 …r `undefined` it just returns `this`. If `callback` is a function it is called with rejection rea…
|
/plugin/swiftmail/Swift/Plugin/ |
D | ConnectionRotator.php | 42 protected $called = false; variable in Swift_Plugin_ConnectionRotator 80 if (!$this->called) 95 $this->called = true;
|
/plugin/findologicxmlexport/vendor/hoa/consistency/Test/Unit/ |
D | Autoloader.php | 180 … $this->calling($autoloader)->runAutoloaderStack = function ($entity) use ($self, &$called) { 181 $called = true; 194 ->boolean($called) 205 … $this->calling($autoloader)->runAutoloaderStack = function ($entity) use ($self, &$called) { 206 $called = true; 216 ->variable($called)
|
/plugin/findologicxmlexport/vendor/hoa/event/Test/Unit/ |
D | Listens.php | 87 $callable = function () use (&$called) { 88 $called = true; 100 ->boolean($called)
|
D | Bucket.php | 77 function (SUT $receivedBucket) use ($self, $bucket, &$called) { 78 $called = true; 90 ->boolean($called)
|
D | Listener.php | 206 function (LUT\Bucket $receivedBucket) use ($self, $bucket, $source, &$called) { 207 $called = true; 223 ->boolean($called)
|
D | Event.php | 244 function (LUT\Bucket $receivedBucket) use ($self, $source, $bucket, &$called) { 245 $called = true; 259 ->boolean($called)
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/ |
D | from.test | 9 called foobar 14 called foobar
|
/plugin/confmanager/ |
D | helper.php | 127 static $called = false; 128 if ($called) { 132 $called = true;
|
/plugin/combo/resources/ |
D | README.md | 6 These resources are called inserted in between the `HTML head tag` 10 * `Firebug` : use by [webcode](../syntax/webcode.php) called when editing the code in JsFiddle
|
/plugin/database2/ |
D | README.md | 6 …here was an existing plugin called database. Because of that and due to little creativity on my be…
|
/plugin/asciidocjs/node_modules/inflight/ |
D | README.md | 16 // which when called will call all callbacks passed to inflightk 32 // when it dings, all cbs get called
|
/plugin/topbarsyntax/ |
D | csshover3.htc | 51 // init, called once ondomcontentready via the exposed window.CSSHover function 64 // called from init, parses individual stylesheets 144 // called via the expression, patches individual nodes 209 // CSSHoverElement constructor, called via CSSHover.patch 229 // onbeforeunload, called via CSSHover.unload 251 // called via the css expression; patches individual nodes 254 // called ondomcontentready via the public:attach node
|