Home
last modified time | relevance | path

Searched refs:targetLength (Results 1 – 25 of 1187) sorted by relevance

12345678910>>...48

/dports/biology/edlib/edlib-d5774b4/test/
H A DrunTests.cpp271 int targetLength = 4; in test1() local
283 int targetLength = 9; in test2() local
295 int targetLength = 9; in test3() local
307 int targetLength = 200; in test4() local
319 int targetLength = 64; in test5() local
331 int targetLength = 420; in test6() local
356 int targetLength = 5; in test7() local
368 int targetLength = 3; in test8() local
380 int targetLength = 393; in test9() local
402 int targetLength = 3; in test10() local
[all …]
H A DSimpleEditDistance.h25 const char* target, int targetLength, in calcEditDistanceSimple() argument
32 if (queryLength == 0 || targetLength == 0) { in calcEditDistanceSimple()
34 *score = std::max(queryLength, targetLength); in calcEditDistanceSimple()
36 *positions_[0] = targetLength - 1; in calcEditDistanceSimple()
61 for (int c = 0; c < targetLength; c++) { // for each column in calcEditDistanceSimple()
76 if (mode != EDLIB_MODE_NW || c == targetLength - 1) { // For NW check only last column in calcEditDistanceSimple()
/dports/biology/edlib/edlib-d5774b4/edlib/src/
H A Dedlib.cpp26 AlignmentData(int maxNumBlocks, int targetLength) { in AlignmentData()
30 Ps = new Word[maxNumBlocks * targetLength]; in AlignmentData()
33 firstBlocks = new int[targetLength]; in AlignmentData()
34 lastBlocks = new int[targetLength]; in AlignmentData()
161 if (queryLength == 0 || targetLength == 0) { in edlibAlign()
744 if (k < abs(targetLength - queryLength)) { in myersCalcEditDistanceNW()
886 if (findAlignment && c < targetLength) { in myersCalcEditDistanceNW()
922 *position_ = targetLength - 1; in myersCalcEditDistanceNW()
1192 + 2ll * sizeof(int) * targetLength; in obtainAlignment()
1250 const int leftHalfWidth = targetLength / 2; in obtainAlignmentHirschberg()
[all …]
/dports/biology/canu/canu-2.2/src/utility/src/utility/
H A Dedlib.C73 firstBlocks = new int[targetLength]; in AlignmentData()
74 lastBlocks = new int[targetLength]; in AlignmentData()
187 (targetLength <= 0)) { in edlibAlign()
192 assert(targetLength > 0); in edlibAlign()
886 if (k < abs(targetLength - queryLength)) { in myersCalcEditDistanceNW()
1028 if (findAlignment && c < targetLength) { in myersCalcEditDistanceNW()
1064 *position_ = targetLength - 1; in myersCalcEditDistanceNW()
1095 int c = targetLength - 1; // index of column in obtainAlignmentTraceback()
1314 if (queryLength == 0 || targetLength == 0) { in obtainAlignment()
1394 const int leftHalfWidth = targetLength / 2; in obtainAlignmentHirschberg()
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/xcos/sci_gateway/cpp/
H A Dsci_xcosPalMove.cpp42 int targetLength = 0; in sci_xcosPalMove() local
51 if (readVectorString(pvApiCtx, 2, &target, &targetLength, fname)) in sci_xcosPalMove()
61 Palette::move(getScilabJavaVM(), source, sourceLength, target, targetLength); in sci_xcosPalMove()
66 releaseVectorString(target, targetLength); in sci_xcosPalMove()
73 releaseVectorString(target, targetLength); in sci_xcosPalMove()
79 releaseVectorString(target, targetLength); in sci_xcosPalMove()
/dports/biology/ugene/ugene-40.1/src/corelibs/U2Formats/src/mysql_dbi/
H A DMysqlBlobInputStream.cpp55 int targetLength = (offset + length < size) ? length : (size - offset); in read() local
56 if (0 == targetLength) { in read()
60 const QByteArray result = blobData.mid(offset, targetLength); in read()
61 memcpy(buffer, result.constData(), targetLength); in read()
63 offset += targetLength; in read()
64 return targetLength; in read()
/dports/net/freerdp/freerdp-2.5.0/winpr/libwinpr/crt/
H A Dunicode.c186 int32_t targetLength; in MultiByteToWideChar() local
206 u_strFromUTF8(NULL, 0, &targetLength, lpMultiByteStr, cbMultiByte, &error); in MultiByteToWideChar()
207 cchWideChar = targetLength; in MultiByteToWideChar()
211 u_strFromUTF8(targetStart, targetCapacity, &targetLength, lpMultiByteStr, cbMultiByte, in MultiByteToWideChar()
213 cchWideChar = U_SUCCESS(error) ? targetLength : 0; in MultiByteToWideChar()
312 int32_t targetLength; in WideCharToMultiByte() local
332 u_strToUTF8(NULL, 0, &targetLength, lpWideCharStr, cchWideChar, &error); in WideCharToMultiByte()
333 cbMultiByte = targetLength; in WideCharToMultiByte()
337 u_strToUTF8(targetStart, targetCapacity, &targetLength, lpWideCharStr, cchWideChar, in WideCharToMultiByte()
339 cbMultiByte = U_SUCCESS(error) ? targetLength : 0; in WideCharToMultiByte()
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/Microsoft/hcsshim/internal/winapi/
H A Dwinapi_test.go24 targetLength := uint16(len(target) * 2)
32 if uni.Length != targetLength {
33 …Unicode String length to be %d for target string %s, got %d instead", targetLength, target, uni.Le…
35 if uni.MaximumLength != targetLength {
36 …String maximum length to be %d for target string %s, got %d instead", targetLength, target, uni.Ma…
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/Microsoft/hcsshim/internal/winapi/
H A Dwinapi_test.go26 targetLength := uint16(len(target) * 2)
34 if uni.Length != targetLength {
35 …Unicode String length to be %d for target string %s, got %d instead", targetLength, target, uni.Le…
37 if uni.MaximumLength != targetLength {
38 …String maximum length to be %d for target string %s, got %d instead", targetLength, target, uni.Ma…
/dports/security/vault/vault-1.8.2/vendor/github.com/Microsoft/hcsshim/internal/winapi/
H A Dwinapi_test.go26 targetLength := uint16(len(target) * 2)
34 if uni.Length != targetLength {
35 …Unicode String length to be %d for target string %s, got %d instead", targetLength, target, uni.Le…
37 if uni.MaximumLength != targetLength {
38 …String maximum length to be %d for target string %s, got %d instead", targetLength, target, uni.Ma…
/dports/devel/slf4j/slf4j-1.7.21/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
H A DAbbreviatorTest.java122 …oid assertTheory0(int averageLen, String filename, String result, int fixedLen, int targetLength) { in assertTheory0() argument
127 … assertUsefulness(int averageLen, String filename, String result, int fixedLen, int targetLength) { in assertUsefulness() argument
131 if (targetLength > fixedLen + margin) { in assertUsefulness()
133 … + targetLength + ", avgLen=" + averageLen, result.length() <= targetLength + averageLen); in assertUsefulness()
138 void assertTheory1(String filename, String result, int fixedLen, int targetLength) { in assertTheory1() argument
145 void assertTheory2(String filename, String result, int fixedLen, int targetLength) { in assertTheory2() argument
/dports/devel/poco/poco-1.10.1-all/Data/ODBC/include/Poco/Data/ODBC/
H A DUnicode_WIN32.h37 …UTF8(Poco::Buffer<wchar_t>& buffer, SQLINTEGER length, SQLPOINTER pTarget, SQLINTEGER targetLength) in makeUTF8() argument
49 std::memset(pTarget, 0, targetLength); in makeUTF8()
50 …rncpy((char*) pTarget, result.c_str(), result.size() < targetLength ? result.size() : targetLength in makeUTF8()
/dports/biology/ugene/ugene-40.1/src/corelibs/U2Formats/src/sqlite_dbi/
H A DSQLiteBlobInputStream.cpp89 int targetLength = (offset + length < size) ? length : (size - offset); in read() local
90 if (0 == targetLength) { in read()
94 int status = sqlite3_blob_read(handle, (void *)buffer, targetLength, offset); in read()
99 offset += targetLength; in read()
100 return targetLength; in read()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/utils/
H A DSkCurveMeasure.cpp211 SkScalar SkCurveMeasure::getTime(SkScalar targetLength) { in getTime() argument
212 if (targetLength <= 0.0f) { in getTime()
218 if (targetLength > currentLength || (SkScalarNearlyEqual(targetLength, currentLength))) { in getTime()
222 return targetLength / currentLength; in getTime()
226 SkScalar currentT = targetLength / currentLength; in getTime()
236 SkScalar lengthDiff = currentLength - targetLength; in getTime()
297 void SkCurveMeasure::getPosTanTime(SkScalar targetLength, SkPoint* pos, in getPosTanTime() argument
299 SkScalar t = getTime(targetLength); in getPosTanTime()
/dports/biology/ugene/ugene-40.1/src/plugins/external_tool_support/src/trimmomatic/steps/
H A DMaxInfoStep.cpp76 const QString targetLength = regExp.cap(1); in parseState() local
77 if (!targetLength.isEmpty()) { in parseState()
78 state[MaxInfoSettingsWidget::TARGET_LENGTH] = targetLength.toInt(); in parseState()
117 const int targetLength = state[TARGET_LENGTH].toInt(&valid); in setState() local
119 sbTargetLength->setValue(targetLength); in setState()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/kernel/
H A Dqdesktopwidget_qpa.cpp57 int targetLength = screenList.length(); in updateScreenList() local
61 if(currentLength > targetLength) { in updateScreenList()
63 while (currentLength-- > targetLength) { in updateScreenList()
68 else if (currentLength < targetLength) { in updateScreenList()
70 while (currentLength < targetLength) { in updateScreenList()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/javascriptcore/JavaScriptCore/wtf/
H A DStringExtras.h96 size_t targetLength = strlen(target); in strnstr() local
97 if (targetLength == 0) in strnstr()
99 …for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++)… in strnstr()
100 if (*start == *target && strncmp(start + 1, target + 1, targetLength - 1) == 0) in strnstr()
/dports/devel/qt5-script/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/wtf/
H A DStringExtras.h96 size_t targetLength = strlen(target); in strnstr() local
97 if (targetLength == 0) in strnstr()
99 …for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++)… in strnstr()
100 if (*start == *target && strncmp(start + 1, target + 1, targetLength - 1) == 0) in strnstr()
/dports/devel/qt5-scripttools/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/wtf/
H A DStringExtras.h96 size_t targetLength = strlen(target); in strnstr() local
97 if (targetLength == 0) in strnstr()
99 …for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++)… in strnstr()
100 if (*start == *target && strncmp(start + 1, target + 1, targetLength - 1) == 0) in strnstr()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/wtf/
H A DStringExtras.h109 size_t targetLength = strlen(target); in strnstr() local
110 if (targetLength == 0) in strnstr()
112 …for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++)… in strnstr()
113 if (*start == *target && strncmp(start + 1, target + 1, targetLength - 1) == 0) in strnstr()
/dports/www/firefox-legacy/firefox-52.8.0esr/intl/icu/source/common/
H A Ducnvhz.c41 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ … argument
43 …if(targetIndex < targetLength){ …
343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/icu4c-57.1/source/common/
H A Ducnvhz.c39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ … argument
41 …if(targetIndex < targetLength){ …
341 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
356 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
362 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
372 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
396 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
402 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
409 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
414 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
/dports/devel/icu/icu/source/common/
H A Ducnvhz.cpp41 #define CONCAT_ESCAPE_MACRO(args, targetIndex,targetLength,strToAppend, err, len,sourceIndex) UPRV_… argument
43 …if(targetIndex < targetLength){ …
343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/intl/icu/source/common/
H A Ducnvhz.cpp41 #define CONCAT_ESCAPE_MACRO(args, targetIndex,targetLength,strToAppend, err, len,sourceIndex) UPRV_… argument
43 …if(targetIndex < targetLength){ …
343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
/dports/lang/v8/v8-9.6.180.12/third_party/icu/source/common/
H A Ducnvhz.cpp41 #define CONCAT_ESCAPE_MACRO(args, targetIndex,targetLength,strToAppend, err, len,sourceIndex) UPRV_… argument
43 …if(targetIndex < targetLength){ …
343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]

12345678910>>...48