/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/matcher/schema/ |
H A D | expression_internal_schema_min_length_test.cpp | 43 ASSERT_OK(minLength.init("a", 1)); in TEST() 52 ASSERT_OK(minLength.init("a", 2)); in TEST() 62 ASSERT_OK(minLength.init("a", 2)); in TEST() 64 ASSERT_TRUE(minLength.matchesBSON(BSON("a" in TEST() 66 ASSERT_TRUE(minLength.matchesBSON(BSON("a" in TEST() 68 ASSERT_TRUE(minLength.matchesBSON(BSON("a" in TEST() 74 ASSERT_OK(minLength.init("a", 0)); in TEST() 76 ASSERT_TRUE(minLength.matchesBSON(BSON("a" in TEST() 82 ASSERT_OK(minLength.init("a", 1)); in TEST() 124 ASSERT_OK(minLength.init("a", 1)); in TEST() [all …]
|
/dports/lang/solidity/solidity_0.8.11/tools/yulPhaser/ |
H A D | Mutations.cpp | 145 assert(minPoint <= minLength); in randomPointCrossover() 160 assert(minPoint <= minLength); in symmetricRandomPointCrossover() 222 assert(minPoint <= minLength); in randomTwoPointCrossover() 238 assert(minPoint <= minLength); in symmetricRandomTwoPointCrossover() 255 for (size_t i = 0; i < minLength; ++i) in uniformSwap() 268 if (_chromosome1.length() > minLength) in uniformSwap() 271 steps2 += _chromosome1.genes().substr(minLength, _chromosome1.length() - minLength); in uniformSwap() 273 steps1 += _chromosome1.genes().substr(minLength, _chromosome1.length() - minLength); in uniformSwap() 276 if (_chromosome2.length() > minLength) in uniformSwap() 279 steps1 += _chromosome2.genes().substr(minLength, _chromosome2.length() - minLength); in uniformSwap() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Configuration/System.Configuration/ |
H A D | StringValidator.cs | 35 int minLength; field in System.Configuration.StringValidator 37 public StringValidator (int minLength) in StringValidator() argument 39 this.minLength = minLength; in StringValidator() 43 public StringValidator (int minLength, int maxLength) in StringValidator() argument 45 this.minLength = minLength; in StringValidator() 49 public StringValidator (int minLength, int maxLength, string invalidCharacters) in StringValidator() argument 51 this.minLength = minLength; in StringValidator() 64 if (value == null && minLength <= 0) in Validate() 68 if (s == null || s.Length < minLength) in Validate() 69 throw new ArgumentException ("The string must be at least " + minLength + " characters long."); in Validate()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.Configuration_2.0/ |
H A D | NullableStringValidator.cs | 40 int minLength; field in System.Configuration.NullableStringValidator 42 public NullableStringValidator (int minLength) in NullableStringValidator() argument 44 this.minLength = minLength; in NullableStringValidator() 48 public NullableStringValidator (int minLength, int maxLength) in NullableStringValidator() argument 50 this.minLength = minLength; in NullableStringValidator() 54 public NullableStringValidator (int minLength, int maxLength, string invalidCharacters) in NullableStringValidator() argument 56 this.minLength = minLength; in NullableStringValidator() 75 if (s == null || s.Length < minLength) in Validate() 76 throw new ArgumentException ("The string must be at least " + minLength + " characters long."); in Validate()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/ |
H A D | RandomDataGenerator.cs | 289 return GetString(validPath, minLength, maxLength); in GetString() 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() 323 length = minLength; 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/java/servingxml/servingxml-1.1.2/servingxml-framework/src/main/java/com/servingxml/util/ |
H A D | LineFormatter.java | 33 private final int minLength; field in LineFormatter 37 this.minLength = length; in LineFormatter() 43 public LineFormatter(int minLength, int maxLength, Alignment alignment, char padCharacter) { in LineFormatter() argument 44 this.minLength = minLength; in LineFormatter() 55 } else if (line.length() < minLength) { in format() 56 StringBuilder buf = new StringBuilder(minLength); in format() 57 if (value.length() > minLength) { in format() 58 value = value.substring(0,minLength); in format() 61 int n = minLength - value.length(); in format()
|
/dports/security/cryptlib/cryptlib-3.4.3/enc_dec/ |
H A D | pgp_rw.c | 161 IN_LENGTH_SHORT_Z const int minLength, in pgpReadLength() argument 172 REQUIRES_S( minLength >= 0 && minLength < MAX_INTLENGTH_SHORT && \ in pgpReadLength() 173 minLength < maxLength && maxLength < MAX_INTLENGTH ); in pgpReadLength() 202 IN_LENGTH_SHORT_Z const int minLength, in readPacketHeader() argument 213 REQUIRES_S( minLength >= 0 && minLength < MAX_INTLENGTH_SHORT && \ in readPacketHeader() 262 *length = minLength; /* See comment above */ in readPacketHeader() 268 minLength, maxLength, indefOK ); in readPacketHeader() 318 IN_LENGTH_SHORT const int minLength, in pgpReadPacketHeader() argument 325 REQUIRES_S( minLength >= 0 && minLength < MAX_INTLENGTH_SHORT ); in pgpReadPacketHeader() 335 IN_LENGTH_SHORT const int minLength ) in pgpReadPacketHeaderI() argument [all …]
|
H A D | misc_rw.c | 39 IN_LENGTH_PKC const int minLength, in readInteger() argument 51 REQUIRES_S( minLength > 0 && minLength < maxLength && \ in readInteger() 76 minLength > bitsToBytes( 176 ) ) || \ in readInteger() 78 minLength > bitsToBytes( 256 ) ) ); in readInteger() 396 IN_LENGTH_PKC const int minLength, in readInteger16U() argument 409 IN_LENGTH_PKC const int minLength, in readInteger16Ubits() argument 421 IN_LENGTH_PKC const int minLength, in readInteger32() argument 451 IN_LENGTH_PKC const int minLength, in readInteger32Checked() argument 458 if( minLength == MIN_PKCSIZE_ECCPOINT && \ in readInteger32Checked() 489 REQUIRES_S( minLength > 0 && minLength < maxLength && \ in readBignumInteger() [all …]
|
/dports/www/ilias/ILIAS-5.4.25/libs/composer/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/ |
H A D | Base.php | 20 * @param mixed $minLength expect int or null 24 public static function evaluate($number, $radix, $minLength = null) argument 32 $minLength = Functions::flattenSingleValue($minLength); 34 if ($minLength === null || is_numeric($minLength)) { 40 if ($minLength !== null) { 41 $outcome = str_pad($outcome, (int) $minLength, '0', STR_PAD_LEFT); // String padding
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/media/jai/opimage/ |
H A D | ExtremaOpImage.java | 300 int minLength = 0; in accumulateStatisticsByte() local 311 minLength = 1; in accumulateStatisticsByte() 413 int minLength = 0; in accumulateStatisticsUShort() local 424 minLength = 1; in accumulateStatisticsUShort() 526 int minLength = 0; in accumulateStatisticsShort() local 537 minLength = 1; in accumulateStatisticsShort() 639 int minLength = 0; in accumulateStatisticsInt() local 650 minLength = 1; in accumulateStatisticsInt() 752 int minLength = 0; in accumulateStatisticsFloat() local 763 minLength = 1; in accumulateStatisticsFloat() [all …]
|
/dports/net/norm/norm-1.5r6/protolib/src/manet/ |
H A D | manetMsg.cpp | 16 if (numBytes < minLength) in InitIntoBuffer() 21 else if (buffer_bytes < minLength) in InitIntoBuffer() 27 pkt_length = minLength; in InitIntoBuffer() 51 pkt_length = minLength; in SetIndexRange() 61 pkt_length = minLength; in SetIndexRange() 73 pkt_length = minLength; in SetIndexRange() 521 unsigned int minLength = 2; in InitIntoBuffer() local 584 minLength -= tlen; in SetTail() 730 minLength +=1; in InitFromBuffer() 737 minLength += 1; in InitFromBuffer() [all …]
|
/dports/audio/jid3lib/jid3lib-0.5.4/src/org/farng/mp3/object/ |
H A D | ObjectNumberVariableLength.java | 14 int minLength = 1; field in ObjectNumberVariableLength 22 this.minLength = minimumSize; in ObjectNumberVariableLength() 31 this.minLength = copyObject.minLength; in ObjectNumberVariableLength() 39 return this.minLength; in getMinimumLength() 44 this.minLength = minimumSize; in setMinimumSize() 62 return (this.minLength > size) ? this.minLength : size; in getSize() 70 if (this.minLength != objectNumberVariableLength.minLength) { in equals()
|
/dports/devel/log4j/apache-log4j-1.2.17/src/main/java/org/apache/log4j/pattern/ |
H A D | FormattingInfo.java | 47 private final int minLength; field in FormattingInfo 66 final boolean leftAlign, final int minLength, final int maxLength) { in FormattingInfo() argument 68 this.minLength = minLength; in FormattingInfo() 93 return minLength; in getMinLength() 115 } else if (rawLength < minLength) { in format() 118 buffer.setLength(fieldStart + minLength); in format() 124 int padLength = minLength - rawLength; in format()
|
/dports/databases/hbase/hbase-1.2.1/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ |
H A D | ArrayUtils.java | 112 public static byte[] growIfNecessary(byte[] array, int minLength, int numAdditionalBytes) { in growIfNecessary() argument 113 if(array.length >= minLength){ in growIfNecessary() 116 return Arrays.copyOf(array, minLength + numAdditionalBytes); in growIfNecessary() 119 public static int[] growIfNecessary(int[] array, int minLength, int numAdditionalInts) { in growIfNecessary() argument 120 if(array.length >= minLength){ in growIfNecessary() 123 return Arrays.copyOf(array, minLength + numAdditionalInts); in growIfNecessary() 126 public static long[] growIfNecessary(long[] array, int minLength, int numAdditionalLongs) { in growIfNecessary() argument 127 if(array.length >= minLength){ in growIfNecessary() 130 return Arrays.copyOf(array, minLength + numAdditionalLongs); in growIfNecessary()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/pink/objects/walk/ |
H A D | walk_shortest_path.cpp | 92 double minLength = -1.0; in getLengthToNearestNeigbor() local 98 if (minLength >= 0.0) { in getLengthToNearestNeigbor() 99 if (length < minLength) in getLengthToNearestNeigbor() 100 minLength = length; in getLengthToNearestNeigbor() 102 minLength = length; in getLengthToNearestNeigbor() 106 return minLength; in getLengthToNearestNeigbor() 110 double minLength = -1.0; in findNearestNeighbor() local 117 if (minLength >= 0.0) { in findNearestNeighbor() 118 if (length < minLength) { in findNearestNeighbor() 120 minLength = length; in findNearestNeighbor() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/pink/objects/walk/ |
H A D | walk_shortest_path.cpp | 92 double minLength = -1.0; in getLengthToNearestNeigbor() local 98 if (minLength >= 0.0) { in getLengthToNearestNeigbor() 99 if (length < minLength) in getLengthToNearestNeigbor() 100 minLength = length; in getLengthToNearestNeigbor() 102 minLength = length; in getLengthToNearestNeigbor() 106 return minLength; in getLengthToNearestNeigbor() 110 double minLength = -1.0; in findNearestNeighbor() local 117 if (minLength >= 0.0) { in findNearestNeighbor() 118 if (length < minLength) { in findNearestNeighbor() 120 minLength = length; in findNearestNeighbor() [all …]
|
/dports/devel/libphonenumber/libphonenumber-8.12.39/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | FormatSpec.java | 132 int minLength = national.minLength(); in of() local 150 local.minLength(), in localFormat() 172 public abstract int minLength(); in minLength() method in FormatSpec 262 checkArgument(local.minLength() < national.minLength(), in parseLocalSpec() 428 public int minLength() { 586 public abstract int minLength(); 599 return maxLength() > minLength(); 607 return minLength() == other.minLength() && maxLength() == other.maxLength(); 611 if (maxLength() > minLength()) { 613 } else if (minLength() > 1) { [all …]
|
/dports/net/norm/norm-1.5r6/protolib/src/common/ |
H A D | protoPktIGMP.cpp | 41 minLength = OFFSET_SRC_LIST; in InitFromBuffer() 42 if (pktLength < minLength) in InitFromBuffer() 47 minLength += 4*GetNumSources(); in InitFromBuffer() 48 if (pktLength < minLength) in InitFromBuffer() 175 if (bufferBytes < minLength) in InitIntoBuffer() 181 memset(buffer_ptr, 0, minLength); in InitIntoBuffer() 183 SetLength(minLength); in InitIntoBuffer() 417 minLength += GetAuxDataLen(); in InitFromBuffer() 418 minLength += 4*GetNumSources(); in InitFromBuffer() 424 SetLength(minLength); in InitFromBuffer() [all …]
|
/dports/devel/staf/src/staf/test/ |
H A D | testbufflen2.cpp | 38 unsigned int minLength = minString.asUInt(); in main() local 41 if (minLength == 0) in main() 44 << "You specified: " << minLength << endl; in main() 55 if (maxLength < minLength) in main() 58 << "You specified <min length>: " << minLength << endl in main() 76 for (unsigned int i = 1; i < minLength; ++i) in main() 79 testString[minLength] = 0; in main() 83 for (unsigned int currLength = minLength; currLength < maxLength + 1; in main()
|
H A D | testlogbufflen2.cpp | 38 unsigned int minLength = minString.asUInt(); in main() local 41 if (minLength == 0) in main() 44 << "You specified: " << minLength << endl; in main() 55 if (maxLength < minLength) in main() 58 << "You specified <min length>: " << minLength << endl in main() 78 for (unsigned int i = 1; i < minLength; ++i) in main() 81 fillString[minLength] = 0; in main() 85 for (unsigned int currLength = minLength; currLength < maxLength + 1; in main()
|
/dports/security/nextcloud-twofactor_webauthn/twofactor_webauthn/vendor/web-auth/metadata-service/src/ |
H A D | CodeAccuracyDescriptor.php | 28 private $minLength; variable in Webauthn\\MetadataService\\CodeAccuracyDescriptor 30 …public function __construct(int $base, int $minLength, ?int $maxRetries = null, ?int $blockSlowdow… argument 33 …Assertion::greaterOrEqualThan($minLength, 0, Utils::logicException('Invalid data. The value of "mi… 35 $this->minLength = $minLength; 46 return $this->minLength; 66 'minLength' => $this->minLength,
|
/dports/www/nextcloud/nextcloud/3rdparty/web-auth/metadata-service/src/ |
H A D | CodeAccuracyDescriptor.php | 28 private $minLength; variable in Webauthn\\MetadataService\\CodeAccuracyDescriptor 30 …public function __construct(int $base, int $minLength, ?int $maxRetries = null, ?int $blockSlowdow… argument 33 …Assertion::greaterOrEqualThan($minLength, 0, Utils::logicException('Invalid data. The value of "mi… 35 $this->minLength = $minLength; 46 return $this->minLength; 66 'minLength' => $this->minLength,
|
/dports/lang/maude/maude-2.7.1/src/Utility/ |
H A D | sequencePartition.cc | 40 SequencePartition::insertPart(int minLength, int maxLength) in insertPart() argument 43 Assert(minLength >= 0, "minLength < 0"); in insertPart() 44 Assert(minLength <= maxLength, "minLength > maxLength"); in insertPart() 48 p.minLength = minLength; in insertPart() 52 minSum += minLength; in insertPart() 92 if (p.start + p.minLength < nextStart) in mainSolve() 113 Assert(nextStart - start >= p.minLength, "not enough for part " << i); in mainSolve()
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Form/Admin/Type/ |
H A D | ChangePasswordType.php | 99 * @param int|null $minLength 103 private function getLengthConstraint($maxLength, $minLength = null) argument 110 if (null !== $minLength) { 111 $options['min'] = $minLength; 112 $options['minMessage'] = $this->getMinLengthValidationMessage($minLength); 119 * @param int $minLength 123 private function getMinLengthValidationMessage($minLength) argument 127 ['%limit%' => $minLength],
|
/dports/security/keepassx-devel/keepassx-55869e8/src/gui/ |
H A D | PasswordGeneratorWidget.cpp | 179 int minLength = 0; in updateGenerator() local 182 minLength++; in updateGenerator() 185 minLength++; in updateGenerator() 188 minLength++; in updateGenerator() 191 minLength++; in updateGenerator() 194 minLength = qMax(minLength, 1); in updateGenerator() 196 if (m_ui->spinBoxLength->value() < minLength) { in updateGenerator() 198 m_ui->spinBoxLength->setValue(minLength); in updateGenerator() 199 m_ui->sliderLength->setValue(minLength); in updateGenerator() 203 m_ui->spinBoxLength->setMinimum(minLength); in updateGenerator() [all …]
|