/dports/net-im/libsignal-client/libsignal-client-0.9.6/java/java/src/main/java/org/whispersystems/libsignal/util/ |
H A D | ByteUtil.java | 28 public static byte[][] split(byte[] input, int firstLength, int secondLength) { in split() argument 31 parts[0] = new byte[firstLength]; in split() 32 System.arraycopy(input, 0, parts[0], 0, firstLength); in split() 35 System.arraycopy(input, firstLength, parts[1], 0, secondLength); in split() 40 public static byte[][] split(byte[] input, int firstLength, int secondLength, int thirdLength) in split() argument 43 if (input == null || firstLength < 0 || secondLength < 0 || thirdLength < 0 || in split() 44 input.length < firstLength + secondLength + thirdLength) in split() 51 parts[0] = new byte[firstLength]; in split() 52 System.arraycopy(input, 0, parts[0], 0, firstLength); in split() 55 System.arraycopy(input, firstLength, parts[1], 0, secondLength); in split() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.FileSystem/tests/FileStream/ |
H A D | LockUnlock.cs | 78 …onOverlappingRegions_Success(long fileLength, long firstPosition, long firstLength, long secondPos… in NonOverlappingRegions_Success() argument 89 fs1.Lock(firstPosition, firstLength); in NonOverlappingRegions_Success() 91 fs1.Unlock(firstPosition, firstLength); in NonOverlappingRegions_Success() 98 fs2.Lock(firstPosition, firstLength); in NonOverlappingRegions_Success() 101 fs2.Unlock(firstPosition, firstLength); in NonOverlappingRegions_Success() 123 fs1.Lock(firstPosition, firstLength); in OverlappingRegionsFromSameProcess_ThrowsExceptionOnWindows() 125 fs1.Unlock(firstPosition, firstLength); in OverlappingRegionsFromSameProcess_ThrowsExceptionOnWindows() 149 fs1.Lock(firstPosition, firstLength); in OverlappingRegionsFromSameProcess_AllowedOnUnix() 151 fs1.Unlock(firstPosition, firstLength); in OverlappingRegionsFromSameProcess_AllowedOnUnix() 172 fs1.Lock(firstPosition, firstLength); in OverlappingRegionsFromOtherProcess_ThrowsException() [all …]
|
/dports/science/cdk/cdk-cdk-2.3/misc/diff/src/main/java/org/openscience/cdk/tools/diff/tree/ |
H A D | BooleanArrayDifference.java | 50 int firstLength = first == null ? 0 : first.length; in construct() local 52 if (firstLength == secondLength) { in construct() 53 for (int i = 0; i < firstLength; i++) { in construct() 56 } else if (firstLength < secondLength) { in construct() 57 for (int i = 0; i < firstLength; i++) { in construct() 60 for (int i = firstLength; i < secondLength; i++) { in construct() 67 for (int i = secondLength; i < firstLength; i++) { in construct()
|
/dports/security/py-python-axolotl/python-axolotl-0.1.42/axolotl/util/ |
H A D | byteutil.py | 26 def split(inp, firstLength, secondLength, thirdLength=None): argument 28 parts.append(inp[:firstLength]) 29 parts.append(inp[firstLength:firstLength + secondLength]) 31 parts.append(inp[firstLength + secondLength: firstLength + secondLength + thirdLength])
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/tlslite/tlslite/utils/ |
H A D | asn1parser.py | 37 firstLength = p.get(1) 38 if firstLength<=127: 39 return firstLength 41 lengthLength = firstLength & 0x7F
|
/dports/security/py-tlslite/tlslite-0.4.9/tlslite/utils/ |
H A D | asn1parser.py | 37 firstLength = p.get(1) 38 if firstLength<=127: 39 return firstLength 41 lengthLength = firstLength & 0x7F
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tlslite/tlslite/utils/ |
H A D | asn1parser.py | 37 firstLength = p.get(1) 38 if firstLength<=127: 39 return firstLength 41 lengthLength = firstLength & 0x7F
|
/dports/textproc/R-cran-stringi/stringi/src/icu55/common/ |
H A D | normalizer2.cpp | 313 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 321 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 322 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 328 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 329 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 350 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 351 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 369 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 373 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 380 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/intl/icu/source/common/ |
H A D | normalizer2.cpp | 316 UChar *first, int32_t firstLength, int32_t firstCapacity, 324 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : 325 (firstCapacity<0 || firstLength<-1)) || 331 UnicodeString firstString(first, firstLength, firstCapacity); 332 firstLength=firstString.length(); // In case it was -1. 353 if(firstLength<firstCapacity) { 354 first[firstLength]=0; // NUL-terminate in case it was originally. 372 UChar *first, int32_t firstLength, int32_t firstCapacity, 376 first, firstLength, firstCapacity, 383 UChar *first, int32_t firstLength, int32_t firstCapacity, [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/icu4c-57.1/source/common/ |
H A D | normalizer2.cpp | 314 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 322 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 323 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 329 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 330 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 351 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 352 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 370 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 374 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 381 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/devel/icu/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/intl/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/lang/v8/v8-9.6.180.12/third_party/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/devel/icu-lx/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/intl/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/textproc/R-cran-stringi/stringi/src/icu69/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/www/firefox/firefox-99.0/intl/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/intl/icu/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/intl/icu/source/common/ |
H A D | normalizer2.cpp | 358 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 366 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 367 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 373 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 374 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 395 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 396 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 414 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 418 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 425 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/www/node10/node-v10.24.1/deps/icu-small/source/common/ |
H A D | normalizer2.cpp | 364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument 424 first, firstLength, firstCapacity, in unorm2_normalizeSecondAndAppend() 431 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_append() argument [all …]
|
/dports/sysutils/nomad/nomad-1.1.0/vendor/github.com/hashicorp/go-cty-funcs/cidr/ |
H A D | subnets.go | 38 var firstLength int 39 if err := gocty.FromCtyValue(prefixLengthArgs[0], &firstLength); err != nil { 42 firstLength += startPrefixLen 46 current, _ := cidr.PreviousSubnet(network, firstLength)
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/utils/bytebuffer/ |
H A D | SoftChunkyFileByteBuffer.java | 134 final int firstLength = CHUNK_SIZE - modI; in get248Bytes() local 136 ByteBufferUtil.getBytes( chunkI, modI, temp, 0, firstLength ); in get248Bytes() 257 final int firstLength = CHUNK_SIZE - modI; in getContiguousBytes() local 259 ByteBufferUtil.getBytes( chunkI, modI, dest, offset, firstLength ); in getContiguousBytes() 266 offset += firstLength; in getContiguousBytes()
|
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/cred/ |
H A D | strcred.py | 219 firstLength = 0 221 if len(factory.authType) > firstLength: 222 firstLength = len(factory.authType) 223 formatString = " %%-%is\t%%s\n" % firstLength
|