Home
last modified time | relevance | path

Searched refs:maxLength (Results 1 – 25 of 3539) sorted by relevance

12345678910>>...142

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/matcher/schema/
H A Dexpression_internal_schema_max_length_test.cpp44 ASSERT_OK(maxLength.init("a", 1)); in TEST()
53 ASSERT_OK(maxLength.init("a", 2)); in TEST()
63 ASSERT_OK(maxLength.init("a", 2)); in TEST()
65 ASSERT_TRUE(maxLength.matchesBSON(BSON("a" in TEST()
67 ASSERT_TRUE(maxLength.matchesBSON(BSON("a" in TEST()
69 ASSERT_TRUE(maxLength.matchesBSON(BSON("a" in TEST()
75 ASSERT_OK(maxLength.init("a", 0)); in TEST()
83 ASSERT_OK(maxLength.init("a", 1)); in TEST()
125 ASSERT_OK(maxLength.init("a", 1)); in TEST()
144 ASSERT_OK(maxLength.init("a.b", 2)); in TEST()
[all …]
/dports/games/wxlauncher/wxLauncher-release-0.10.0/code/controls/
H A DTruncatableChoice.cpp22 : wxChoice(parent, id), maxLength(0) { in TruncatableChoice()
25 void TruncatableChoice::SetMaxLength(const int maxLength) { in SetMaxLength() argument
26 wxCHECK_RET(maxLength >= 0, in SetMaxLength()
27 wxString::Format(_T("Invalid value %d for maxLength."), maxLength)); in SetMaxLength()
29 this->maxLength = maxLength; in SetMaxLength()
31 if ((maxLength == 0) || (this->maxLength > GetEffectiveMinSize().GetWidth())) { in SetMaxLength()
34 this->SetMinSize(wxSize(maxLength, -1)); in SetMaxLength()
39 wxASSERT(this->maxLength >= 0); in DoGetBestSize()
43 if ((this->maxLength == 0) || (this->maxLength > bestChoiceSize.GetWidth())) { in DoGetBestSize()
46 return wxSize(wxSize(maxLength, bestChoiceSize.GetHeight())); in DoGetBestSize()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/wxlauncher/code/controls/
H A DTruncatableChoice.cpp22 : wxChoice(parent, id), maxLength(0) { in TruncatableChoice()
25 void TruncatableChoice::SetMaxLength(const int maxLength) { in SetMaxLength() argument
26 wxCHECK_RET(maxLength >= 0, in SetMaxLength()
27 wxString::Format(_T("Invalid value %d for maxLength."), maxLength)); in SetMaxLength()
29 this->maxLength = maxLength; in SetMaxLength()
31 if ((maxLength == 0) || (this->maxLength > GetEffectiveMinSize().GetWidth())) { in SetMaxLength()
34 this->SetMinSize(wxSize(maxLength, -1)); in SetMaxLength()
39 wxASSERT(this->maxLength >= 0); in DoGetBestSize()
43 if ((this->maxLength == 0) || (this->maxLength > bestChoiceSize.GetWidth())) { in DoGetBestSize()
46 return wxSize(wxSize(maxLength, bestChoiceSize.GetHeight())); in DoGetBestSize()
/dports/security/cryptlib/cryptlib-3.4.3/io/
H A Dnet_trans.c170 REQUIRES_S( maxLength > 0 && maxLength < MAX_BUFFER_SIZE ); in transportDirectReadFunction()
197 REQUIRES_S( maxLength > 0 && maxLength < MAX_BUFFER_SIZE ); in transportDirectWriteFunction()
312 REQUIRES_S( maxLength > 0 && maxLength < MAX_BUFFER_SIZE );
352 *length = maxLength;
378 REQUIRES_S( maxLength > 0 && maxLength < MAX_BUFFER_SIZE );
396 *length = maxLength;
475 REQUIRES_S( maxLength > 0 && maxLength < MAX_BUFFER_SIZE ); in bufferedTransportReadFunction()
488 if( maxLength == 1 ) in bufferedTransportReadFunction()
498 *length = maxLength; in bufferedTransportReadFunction()
720 REQUIRES_S( maxLength > 0 && maxLength < MAX_BUFFER_SIZE ); in bufferedTransportWriteFunction()
[all …]
/dports/textproc/xom/XOM/src/nu/xom/samples/
H A DWrappingSerializer.java59 private int maxLength; field in WrappingSerializer
69 return this.maxLength; in getMaxLength()
94 public void setMaxLength(int maxLength) { in setMaxLength() argument
95 this.maxLength = maxLength; in setMaxLength()
144 if (this.getColumnNumber() == maxLength) { in write()
149 if (maxLength < value.length() + 2) { in write()
187 if (this.getColumnNumber() == maxLength) { in writeNamespaceDeclaration()
201 if (maxLength > 0) { in needsBreak()
268 if (maxLength < getColumnNumber() + 6) { in write()
297 if (maxLength < getColumnNumber() + 6) { in write()
[all …]
/dports/biology/abyss/abyss-2.3.1/RResolver/
H A DSequenceTree.cpp18 const int maxLength,
27 int maxLength; member in SequenceTreeNode
36 const int maxLength, in SequenceTreeNode() argument
39 , maxLength(maxLength) in SequenceTreeNode()
43 assert(maxLength > 0); in SequenceTreeNode()
122 const int maxLength, in getTreeTraces() argument
126 assert(maxLength > 0); in getTreeTraces()
142 assert(node.maxLength > 0 && node.maxLength <= maxLength); in getTreeTraces()
152 assert(child.maxLength < node.maxLength); in getTreeTraces()
175 const int maxLength, in getTreeSequences() argument
[all …]
/dports/devel/lazygit/lazygit-0.31.4/vendor/github.com/integrii/flaggy/flaggy-1.4.0/
H A DhelpValues.go81 Spacer: makeSpacer(cmd.Name, maxLength),
104 maxLength = len(versionFlagLongName)
105 if len(helpFlagLongName) > maxLength {
106 maxLength = len(helpFlagLongName)
108 maxLength = getLongestNameLength(p.subcommandContext.Flags, maxLength)
109 maxLength = getLongestNameLength(p.Flags, maxLength)
139 h.parseFlagsToHelpFlags(p.Flags, maxLength)
252 var maxLength = min
273 if length > maxLength {
274 maxLength = length
[all …]
/dports/devel/lazygit/lazygit-0.31.4/vendor/github.com/integrii/flaggy/
H A DhelpValues.go81 Spacer: makeSpacer(cmd.Name, maxLength),
104 maxLength = len(versionFlagLongName)
105 if len(helpFlagLongName) > maxLength {
106 maxLength = len(helpFlagLongName)
108 maxLength = getLongestNameLength(p.subcommandContext.Flags, maxLength)
109 maxLength = getLongestNameLength(p.Flags, maxLength)
139 h.parseFlagsToHelpFlags(p.Flags, maxLength)
252 var maxLength = min
273 if length > maxLength {
274 maxLength = length
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/
H A DRandomDataGenerator.cs289 return GetString(validPath, minLength, maxLength); in GetString()
292 public string GetString(bool validPath, int minLength, int maxLength) in GetString() argument
294 return GetString(validPath, true, true, minLength, maxLength); in GetString()
300 return GetString(validPath, allowNulls, minLength, maxLength); in GetString()
320 if (0 == minLength && 0 == maxLength) return string.Empty; in GetString()
321 if (minLength > maxLength) return null; in GetString()
325 if (minLength != maxLength) in GetString()
327 length = (GetInt32() % (maxLength - minLength)) + minLength; in GetString()
365 return GetStrings(validPath, minLength, maxLength); in GetStrings()
383 if (2 >= minLength && 2 >= maxLength || minLength > maxLength) in GetStrings()
[all …]
/dports/sysutils/bareos19-client/bareos-Release-19.2.11/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/sysutils/bareos19-traymonitor/bareos-Release-19.2.11/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/sysutils/bareos19-server/bareos-Release-19.2.11/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/sysutils/bareos18-traymonitor/bareos-Release-18.2.12/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/sysutils/bareos-server/bareos-Release-20.0.3/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/sysutils/bareos18-server/bareos-Release-18.2.12/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/sysutils/bareos-client/bareos-Release-20.0.3/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/sysutils/bareos18-client/bareos-Release-18.2.12/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/www/bareos18-webui/bareos-Release-18.2.12/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/www/bareos-webui/bareos-Release-20.0.3/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/www/bareos19-webui/bareos-Release-19.2.11/webui/vendor/zendframework/zend-console/src/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/www/zend-framework/ZendFramework-2.4.13/library/Zend/Console/Prompt/
H A DLine.php27 protected $maxLength = 2048; variable in Zend\\Console\\Prompt\\Line
34 * @param int $maxLength Maximum response length
36 … function __construct($promptText = 'Please enter value: ', $allowEmpty = false, $maxLength = 2048) argument
46 if ($maxLength !== null) {
47 $this->setMaxLength($maxLength);
60 $line = $this->getConsole()->readLine($this->maxLength);
83 * @param int $maxLength
85 public function setMaxLength($maxLength) argument
87 $this->maxLength = $maxLength;
95 return $this->maxLength;
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.Configuration_2.0/
H A DNullableStringValidator.cs39 int maxLength; field in System.Configuration.NullableStringValidator
45 maxLength = int.MaxValue; in NullableStringValidator()
48 public NullableStringValidator (int minLength, int maxLength) in NullableStringValidator() argument
51 this.maxLength = maxLength; in NullableStringValidator()
54 public NullableStringValidator (int minLength, int maxLength, string invalidCharacters) in NullableStringValidator() argument
57 this.maxLength = maxLength; in NullableStringValidator()
77 if (s.Length > maxLength) in Validate()
78 …throw new ArgumentException ("The string must be no more than " + maxLength + " characters long."); in Validate()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Configuration/System.Configuration/
H A DStringValidator.cs34 int maxLength; field in System.Configuration.StringValidator
40 maxLength = int.MaxValue; in StringValidator()
43 public StringValidator (int minLength, int maxLength) in StringValidator() argument
46 this.maxLength = maxLength; in StringValidator()
49 public StringValidator (int minLength, int maxLength, string invalidCharacters) in StringValidator() argument
52 this.maxLength = maxLength; in StringValidator()
70 if (s.Length > maxLength) in Validate()
71 …throw new ArgumentException ("The string must be no more than " + maxLength + " characters long."); in Validate()
/dports/security/cryptlib/cryptlib-3.4.3/enc_dec/
H A Dmisc_rw.h108 OUT_BUFFER_OPT( maxLength, \
112 IN_LENGTH_PKC const int maxLength );
115 OUT_BUFFER_OPT( maxLength, \
119 IN_LENGTH_PKC const int maxLength );
122 OUT_BUFFER_OPT( maxLength, \
126 IN_LENGTH_PKC const int maxLength );
148 OUT_LENGTH_BOUNDED_Z( maxLength ) \
156 OUT_LENGTH_BOUNDED_Z( maxLength ) \
159 IN_LENGTH_PKC const int maxLength );
169 IN_LENGTH_PKC const int maxLength,
[all …]

12345678910>>...142