Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/plugin/asciidocjs/node_modules/pug-filters/node_modules/yargs/lib/
Dvalidation.js3 module.exports = function (yargs, usage) { argument
13 usage.fail(demanded._.msg)
15 usage.fail('Not enough non-option arguments: got '
44 usage.fail('Missing argument value: ' + missingRequiredArgs[0])
47 usage.fail(message)
74 usage.fail('Missing required arguments: ' + Object.keys(missing).join(', ') + customMsg)
80 var descriptions = usage.getDescriptions(),
101 usage.fail('Unknown argument: ' + unknown[0])
103 usage.fail('Unknown arguments: ' + unknown.join(', '))
118 usage.fail('Argument check failed: ' + f.toString())
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Compute/
DQuota.php31 public $usage; variable in Google\\Service\\Compute\\Quota
69 public function setUsage($usage) argument
71 $this->usage = $usage;
75 return $this->usage;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Drive/
DAboutStorageQuota.php29 public $usage; variable in Google\\Service\\Drive\\AboutStorageQuota
56 public function setUsage($usage) argument
58 $this->usage = $usage;
65 return $this->usage;
/plugin/asciidocjs/node_modules/pug-filters/node_modules/yargs/
Dindex.js16 var usage = null
59 usage = Usage(self) // handle usage output.
60 validation = Validation(self, usage) // handle arg validation.
61 completion = Completion(self, usage)
109 usage.example(cmd, description)
114 usage.command(cmd, description)
136 defaultDescription = usage.functionDescription(value, defaultDescription)
195 self.usage = function (msg, opts) { function
201 usage.usage(msg)
209 usage.epilog(msg)
[all …]
DREADME.md161 .usage('Usage: $0 -w [num] -yh[num]')
291 .usage('Usage: $0 <command> [options]')
384 a value. The name of the function will be used in the usage string:
394 displaying the value in the usage instructions:
407 If `key` is a string, show the usage information and exit if `key` wasn't
426 usage information and exit.
441 Describe a `key` for the generated usage information.
495 .usage(message, opts)
498 Set a usage message to show which commands to use. Inside `message`, the string
520 .usage('npm <command>')
[all …]
/plugin/combo/ComboStrap/Meta/Field/
DPageImages.php79 $usage = null;
83 $usage = $value[PageImageUsage::PERSISTENT_NAME];
84 if (is_string($usage)) {
85 $usage = explode(",", $usage);
95 $usage = $value[PageImageUsage::PERSISTENT_NAME];
96 if (!is_array($usage)) {
97 $usage = explode(",", $usage);;
104 if ($usage !== null) {
105 $pageImage->setUsages($usage);
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/
DMemoryUsageProcessor.php27 $usage = memory_get_usage($this->realUsage);
30 $usage = $this->formatBytes($usage);
33 $record['extra']['memory_usage'] = $usage;
DMemoryPeakUsageProcessor.php27 $usage = memory_get_peak_usage($this->realUsage);
30 $usage = $this->formatBytes($usage);
33 $record['extra']['memory_peak_usage'] = $usage;
/plugin/asciidocjs/node_modules/yargs/build/lib/
Dvalidation.js6 export function validation(yargs, usage, shim) { argument
18 usage.fail(demandedCommands._.minMsg
25usage.fail(__n('Not enough non-option arguments: got %s, need at least %s', 'Not enough non-option…
30 usage.fail(demandedCommands._.maxMsg
37usage.fail(__n('Too many non-option arguments: got %s, maximum of %s', 'Too many non-option argume…
44usage.fail(__n('Not enough non-option arguments: got %s, need at least %s', 'Not enough non-option…
65usage.fail(__n('Missing required argument: %s', 'Missing required arguments: %s', Object.keys(miss…
109usage.fail(__n('Unknown argument: %s', 'Unknown arguments: %s', unknown.length, unknown.join(', ')…
127usage.fail(__n('Unknown command: %s', 'Unknown commands: %s', unknown.length, unknown.join(', ')));
162 …\n ${__('Argument: %s, Given: %s, Choices: %s', key, usage.stringifiedValues(invalid[key]), usage
[all …]
Dcompletion.js7 constructor(yargs, usage, command, shim) { argument
10 this.usage = usage;
45 this.usage.getCommands().forEach(usageCommand => {
63 … const positionalKeys = this.yargs.getGroups()[this.usage.getPositionalGroupName()] || [];
121 const descs = this.usage.getDescriptions();
192 export function completion(yargs, usage, command, shim) { argument
193 return new Completion(yargs, usage, command, shim);
/plugin/aichat/Model/Mistral/
DAbstractMistralModel.php41 if (isset($response['usage'])) {
42 $this->inputTokensUsed += $response['usage']['prompt_tokens'];
43 $this->outputTokensUsed += $response['usage']['completion_tokens'] ?? 0;
/plugin/aichat/Model/OpenAI/
DAbstractOpenAIModel.php49 if (isset($response['usage'])) {
50 $this->inputTokensUsed += $response['usage']['prompt_tokens'];
51 $this->outputTokensUsed += $response['usage']['completion_tokens'] ?? 0;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ServiceUsage/
DGoogleApiServiceusageV1ServiceConfig.php177 public function setUsage(Usage $usage) argument
179 $this->usage = $usage;
186 return $this->usage;
/plugin/aichat/Model/Groq/
DChatModel.php54 if (isset($response['usage'])) {
55 $this->inputTokensUsed += $response['usage']['prompt_tokens'];
56 $this->outputTokensUsed += $response['usage']['completion_tokens'] ?? 0;
/plugin/pwaoffline/
Dscript.js74 const perc = Math.round((estimate.usage / estimate.quota) * 100 * 100) / 100;
76 const usage = getAsStringMiB(estimate.usage);
78 const msg = 'Current storage usage on this device for this origin: ' + usage + '/' + quota;
/plugin/aichat/Model/Anthropic/
DChatModel.php70 if (isset($response['usage'])) {
71 $this->inputTokensUsed += $response['usage']['input_tokens'];
72 $this->outputTokensUsed += $response['usage']['output_tokens'];
/plugin/findologicxmlexport/vendor/hoa/protocol/Bin/
DResolve.php104 return $this->usage();
116 return $this->usage();
165 public function usage() function in Hoa\\Protocol\\Bin\\Resolve
/plugin/findologicxmlexport/vendor/hoa/compiler/Bin/
DPp.php91 return $this->usage();
119 return $this->usage();
126 return $this->usage();
250 public function usage() function in Hoa\\Compiler\\Bin\\Pp
/plugin/freechat/phpfreechat/src/commands/
Dredirect.class.php7 var $usage = "/redirect url"; variable in pfcCommand_redirect
24 $cmdp["param"] .= " (".$this->usage.")";
Ddeop.class.php7 var $usage = "/deop {nickname}"; variable in pfcCommand_deop
20 $cmdp["param"] .= " (".$this->usage.")";
Dme.class.php7 var $usage = "/me {message}"; variable in pfcCommand_me
26 $cmdp["param"] .= " (".$this->usage.")";
Dop.class.php7 var $usage = "/op {nickname}"; variable in pfcCommand_op
26 $cmdp["param"] .= " (".$this->usage.")";
/plugin/findologicxmlexport/vendor/hoa/ustring/Bin/
DFromcode.php89 return $this->usage();
107 public function usage() function in Hoa\\Ustring\\Bin\\Fromcode
DTocode.php89 return $this->usage();
107 public function usage() function in Hoa\\Ustring\\Bin\\Tocode
/plugin/aichat/Model/VoyageAI/
DEmbeddingModel.php51 if (isset($response['usage'])) {
52 $this->inputTokensUsed += $response['usage']['total_tokens'];

12345678910>>...13