Home
last modified time | relevance | path

Searched refs:generator (Results 1 – 25 of 162) sorted by relevance

1234567

/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
H A DBirthdayCalendarGeneratorTest.php37 $generator->setObjects($input);
38 $output = $generator->getResult();
96 $generator->setObjects($input);
97 $output = $generator->getResult();
156 $generator->setObjects($input);
196 $generator->setObjects($input);
259 $generator->setObjects($input);
297 $generator->setObjects($input);
335 $generator->setObjects($input);
364 $generator->setObjects($input);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/Constraint/
H A DCountTest.php67 $generator = $generatorMaker->create([1, 2, 3]);
68 $this->assertEquals(1, $generator->current());
74 $generator = $generatorMaker->create([1, 2, 3]);
75 $this->assertEquals(1, $generator->current());
76 $generator->next();
77 $this->assertEquals(2, $generator->current());
84 $this->assertEquals(1, $generator->current());
85 $generator->next();
86 $this->assertEquals(2, $generator->current());
87 $generator->next();
[all …]
/plugin/combo/vendor/hidehalo/nanoid-php/src/
H A DClient.php26 * @var GeneratorInterface $generator Random Btyes Generator
28 protected $generator; variable in Hidehalo\\Nanoid\\Client
35 * @param GeneratorInterface $generator
37 public function __construct($size = 21, GeneratorInterface $generator = null) argument
40 $this->generator = $generator?:new Generator();
57 return $this->core->random($this->generator, $size, $this->alphbet);
66 * Otherwise use the build-in default random bytes generator
68 * @param GeneratorInterface $generator
73 public function formattedId($alphabet, $size = 0, GeneratorInterface $generator argument
92 formatedId($alphabet, $size = 0, GeneratorInterface $generator = null) global() argument
[all...]
H A DCoreInterface.php10 * Secure random string generator with custom alphabet.
11 * Alphabet must contain 256 symbols or less. Otherwise, the generator
14 * @param GeneratorInterface $generator
18 public function random(GeneratorInterface $generator, $size, $alphabet = CoreInterface::SAFE_SYMBOLS); argument
H A DCore.php10 public function random(GeneratorInterface $generator, $size, $alphabet = CoreInterface::SAFE_SYMBOLS) argument
17 $bytes = $generator->random($step);
/plugin/webdav/vendor/sabre/event/lib/
H A Dcoroutine.php49 $generator = $gen();
50 if (!$generator instanceof Generator) {
65 while ($generator->valid()) {
67 $yieldedValue = $generator->current();
70 function($value) use ($generator, &$advanceGenerator, &$lastYieldResult) {
72 $generator->send($value);
75 function($reason) use ($generator, $advanceGenerator) {
77 $generator->throw($reason);
79 $generator->throw(new Exception($reason));
98 $generator->send($yieldedValue);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/
H A DGeneratorTest.php20 private $generator; variable in Framework_MockObject_GeneratorTest
24 $this->generator = new PHPUnit_Framework_MockObject_Generator;
32 $this->generator->getMock(stdClass::class, [0]);
37 $mock = $this->generator->getMock(stdClass::class, ['testFunction']);
48 $this->generator->getMock(stdClass::class, ['foo', 'bar', 'foo']);
78 $mock = $this->generator->getMockForAbstractClass(
118 $this->generator->getMockForAbstractClass('Tux');
131 $mock = $this->generator->getMockForTrait(
149 $mock = $this->generator->getMockForTrait(AbstractTrait::class);
185 $mock = $this->generator->getMock($className, ['someMethod']);
[all …]
/plugin/authfacebook/lib/PseudoRandomString/
H A DPseudoRandomStringGeneratorFactory.php39 * @param PseudoRandomStringGeneratorInterface|string|null $generator
45 public static function createPseudoRandomStringGenerator($generator) argument
47 if (!$generator) {
51 if ($generator instanceof PseudoRandomStringGeneratorInterface) {
52 return $generator;
55 if ('random_bytes' === $generator) {
58 if ('mcrypt' === $generator) {
61 if ('openssl' === $generator) {
64 if ('urandom' === $generator) {
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/
H A DClassCreator.php24 private $generator; variable in Prophecy\\Doubler\\Generator\\ClassCreator
29 * @param ClassCodeGenerator $generator
31 public function __construct(ClassCodeGenerator $generator = null) argument
33 $this->generator = $generator ?: new ClassCodeGenerator;
48 $code = $this->generator->generate($classname, $class);
/plugin/elasticsearch/vendor/ruflin/elastica/src/Suggest/
H A DPhrase.php143 public function addDirectGenerator(DirectGenerator $generator): self argument
145 return $this->addParam('candidate_generator', $generator);
153 public function addCandidateGenerator(AbstractCandidateGenerator $generator): self argument
157 return $this->addParam('candidate_generator', $generator);
172 foreach ($generators as $generator) {
173 $key = \array_key_first($generator);
174 $array[$baseName][$key][] = $generator[$key];
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Fixtures/
H A DObjectWithGenerator.php17 public $generator; variable in JMS\\Serializer\\Tests\\Fixtures\\ObjectWithGenerator
19 public function __construct(\Generator $generator) argument
21 $this->generator = $generator;
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Html/
H A DFacade.php30 private $generator; variable in SebastianBergmann\\CodeCoverage\\Report\\Html\\Facade
47 * @param string $generator
49 public function __construct($lowUpperBound = 50, $highLowerBound = 90, $generator = '') argument
51 $this->generator = $generator;
75 $this->generator,
83 $this->generator,
91 $this->generator,
H A DRenderer.php32 protected $generator; variable in SebastianBergmann\\CodeCoverage\\Report\\Html\\Renderer
58 * @param string $generator
63 public function __construct($templatePath, $generator, $date, $lowUpperBound, $highLowerBound) argument
68 $this->generator = $generator;
171 'generator' => $this->generator,
/plugin/authgooglesheets/vendor/guzzlehttp/promises/src/
H A DCoroutine.php55 private $generator; variable in GuzzleHttp\\Promise\\Coroutine
64 $this->generator = $generatorFn();
71 $this->nextCoroutine($this->generator->current());
140 $next = $this->generator->send($value);
141 if ($this->generator->valid()) {
160 $nextYield = $this->generator->throw(Create::exceptionFor($reason));
/plugin/scrape/HTMLPurifier/
H A DPrinter.php
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Constraint/
H A DCount.php80 * @param Generator $generator
84 protected function getCountOfGenerator(Generator $generator) argument
86 for ($count = 0; $generator->valid(); $generator->next()) {
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/
H A DMockBuilder.php86 private $generator; variable in PHPUnit_Framework_MockObject_MockBuilder
96 $this->generator = new PHPUnit_Framework_MockObject_Generator;
106 $object = $this->generator->getMock(
132 $object = $this->generator->getMockForAbstractClass(
155 $object = $this->generator->getMockForTrait(
198 $this->generator->getClassMethods($this->type),
/plugin/commonmark/vendor/league/commonmark/src/Extension/HeadingPermalink/
H A DHeadingPermalinkProcessor.php
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/
H A DStatic.php143 $generator = function () { yield; };
145 return $generator();
152 $generator = new PHPUnit_Framework_MockObject_Generator;
154 return $generator->getMock($this->returnType, [], [], '', false);
/plugin/ckgdoku/ckeditor/images/fileicons/
H A DREADME1 For the generator of these files see
2 https://github.com/splitbrain/file-icon-generator/blob/master/example-dokuwiki.php
/plugin/ckgedit/ckeditor/images/fileicons/
H A DREADME1 For the generator of these files see
2 https://github.com/splitbrain/file-icon-generator/blob/master/example-dokuwiki.php
/plugin/sketchcanvas/
H A Dsyntax.php29 var $generator = 1; variable in syntax_plugin_sketchcanvas
37 return array($state, array(true, $this->generator, 'bytepos_start' => $pos + strlen($match)));
40 case DOKU_LEXER_EXIT : return array($state, array(false, $this->generator++, 'bytepos_end' => $pos));
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Generator/
H A Dwsdl_class_partial.phpt11 $generator = new PHPUnit_Framework_MockObject_Generator;
13 print $generator->generateClassFromWsdl(
H A Dwsdl_class.phpt11 $generator = new PHPUnit_Framework_MockObject_Generator;
13 print $generator->generateClassFromWsdl(
H A Dwsdl_class_namespace.phpt11 $generator = new PHPUnit_Framework_MockObject_Generator;
13 print $generator->generateClassFromWsdl(

1234567