/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Drawing/System.Drawing/ |
H A D | ImageFormatConverter.cs | 74 string strFormat = (value as string); in ConvertFrom() 75 if (strFormat == null) { in ConvertFrom() 78 } else if (strFormat [0] == '[') { in ConvertFrom() 80 if (strFormat.Equals (ImageFormat.Bmp.ToString ())) in ConvertFrom() 82 else if (strFormat.Equals (ImageFormat.Emf.ToString ())) in ConvertFrom() 84 else if (strFormat.Equals (ImageFormat.Exif.ToString ())) in ConvertFrom() 86 else if (strFormat.Equals (ImageFormat.Gif.ToString ())) in ConvertFrom() 88 else if (strFormat.Equals (ImageFormat.Icon.ToString ())) in ConvertFrom() 90 else if (strFormat.Equals (ImageFormat.Jpeg.ToString ())) in ConvertFrom() 94 else if (strFormat.Equals (ImageFormat.Png.ToString ())) in ConvertFrom() [all …]
|
/dports/deskutils/treeline/TreeLine/source/ |
H A D | gennumber.py | 56 radix = _getRadix(strFormat) 57 strFormat = _unescapeFormat(radix, strFormat).strip() 59 strFormat) 67 def numStr(self, strFormat='#.##'): argument 90 radix = _getRadix(strFormat) 114 radix = _getRadix(strFormat) 115 strFormat = _unescapeFormat(radix, strFormat) 147 if formFract or (strFormat and strFormat[-1] == radix): 320 def _getRadix(strFormat): argument 328 if not '\,' in strFormat and ('\.' in strFormat or (',' in strFormat [all …]
|
H A D | genboolean.py | 50 def setFromStr(self, boolStr, strFormat='yes/no'): argument 60 self.value = self.customFormatDict(strFormat)[boolStr.lower()] 66 def customFormatDict(strFormat): argument 76 strFormat = strFormat.replace('//', '\0') 77 trueVal, falseVal = strFormat.split('/', 1) 85 def boolStr(self, strFormat='yes/no'): argument 92 return self.customFormatDict(strFormat)[self.value]
|
/dports/science/jmol/jmol-14.32.7/src/javajs/util/ |
H A D | PT.java | 1117 return strFormat; in formatString() 1221 return strFormat; in sprintf() 1230 strFormat = formatString(strFormat, "s", (String) values[o], in sprintf() 1244 strFormat = formatString(strFormat, "e", null, Float.NaN, in sprintf() 1270 strFormat = formatString(strFormat, "s", sVal[i], Float.NaN, in sprintf() 1276 strFormat = formatString(strFormat, "f", null, fVal[i], in sprintf() 1291 strFormat = formatString(strFormat, "e", null, Float.NaN, in sprintf() 1313 if (strFormat == null || strFormat.indexOf('p') < 0 && strFormat.indexOf('q') < 0) in formatCheck() 1315 strFormat = rep(strFormat, "%%", "\1"); in formatCheck() 1316 strFormat = rep(strFormat, "%p", "%6.2p"); in formatCheck() [all …]
|
/dports/security/keepass/KeePass-2.49-Source/KeePass/Util/ |
H A D | ClipboardUtil.cs | 129 return Copy(pbToCopy, strFormat, bIsEntryInfo, IntPtr.Zero); in Copy() 133 public static bool Copy(byte[] pbToCopy, string strFormat, bool bEncode, in Copy() argument 136 return Copy(pbToCopy, strFormat, bIsEntryInfo, hOwner); in Copy() 145 string strMedia = StrUtil.GetCustomMediaType(strFormat); in Copy() 152 public static byte[] GetEncodedData(string strFormat, IntPtr hOwner) in GetEncodedData() argument 154 return GetData(strFormat); in GetEncodedData() 298 public static bool ContainsData(string strFormat) in ContainsData() argument 302 strFormat.Equals(DataFormats.Text, StrUtil.CaseIgnoreCmp) || in ContainsData() 303 strFormat.Equals(DataFormats.OemText, StrUtil.CaseIgnoreCmp)) in ContainsData() 325 public static byte[] GetData(string strFormat) in GetData() argument [all …]
|
H A D | ClipboardContents.cs | 63 foreach(string strFormat in idoClip.GetFormats()) in GetDataPriv() 66 new KeyValuePair<string, object>(strFormat, in GetDataPriv() 67 idoClip.GetData(strFormat)); in GetDataPriv()
|
/dports/science/jmol/jmol-14.32.7/src/org/jmol/modelset/ |
H A D | Measurement.java | 70 public String strFormat; field in Measurement 100 this.strFormat = strFormat; in setM() 175 if (strFormat == null) in getStringUsing() 208 if (strFormat != null && strFormat.length() == 0) in formatMeasurementAs() 209 strFormat = null; in formatMeasurementAs() 213 this.strFormat = strFormat; in formatMeasurementAs() 256 strFormat = strFormat.substring(0, pt); in formatDistance() 262 strFormat = strFormat.substring(0, pt); in formatDistance() 392 label = (strFormat.length() > 2 && strFormat.indexOf(s) == 0 ? strFormat in getLabelString() 396 strFormat = null; in getLabelString() [all …]
|
H A D | LabelToken.java | 212 if (strFormat == null || strFormat.length() == 0) in compile() 214 if (strFormat.indexOf("%") < 0 || strFormat.length() < 2) in compile() 218 int cch = strFormat.length(); in compile() 239 return (strFormat == null || strFormat.length() == 0 ? null in formatLabel() 371 if (strFormat.charAt(ich) == '-') { in setToken() 375 if (ich < cch && strFormat.charAt(ich) == '0') { in setToken() 385 if (ich < cch && strFormat.charAt(ich) == '.') { in setToken() 400 if (strFormat.indexOf(key) == ich) in setToken() 403 switch (ch = strFormat.charAt(ich++)) { in setToken() 408 int ichClose = strFormat.indexOf(']', ich); in setToken() [all …]
|
H A D | MeasurementData.java | 57 public String strFormat; field in MeasurementData 96 RadiusData radiusData, String property, String strFormat, String units, in set() argument 112 this.strFormat = strFormat; in set() 148 measurementStrings.addLast(m.getStringUsing(vwr, strFormat, units)); in processNextMeasure() 215 m.strFormat = strFormat; in define()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/doc/lib/pgBackRestDoc/Common/ |
H A D | String.pm | 60 my $strFormat = shift; 63 if (!defined($strFormat)) 65 $strFormat = '%4d-%02d-%02d %02d:%02d:%02d'; 75 if ($strFormat eq "%4d") 77 return sprintf($strFormat, $iYear + 1900) 81 … return sprintf($strFormat, $iYear + 1900, $iMonth + 1, $iMonthDay, $iHour, $iMinute, $iSecond);
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/tests/benchmark/ |
H A D | BERTProxyLayerBench.cpp | 254 auto *QKV = createFC(fn, mod, strFormat("Gemm_QKV_core%d", core), in setup() 284 fn->createSplit(strFormat("splitBatchQ_core%d", core), Qsplits[i], in setup() 286 fn->createSplit(strFormat("splitBatchK_core%d", core), Ksplits[i], in setup() 288 fn->createSplit(strFormat("splitBatchV_core%d", core), Vsplits[i], in setup() 299 fn->createMatMul(strFormat("matmul_Q_KT_core%d_%d", core, i), in setup() 304 fn->createSplat(strFormat("sqrt_dk_core%d_%d", core, i), in setup() 309 strFormat("softmax_core%d_%d", core, i), tmp_div, expected); in setup() 326 auto *ZWO = createFC(fn, mod, strFormat("Gemm_ZWO_core%d", core), Z, in setup() 334 auto *FC1 = createFC(fn, mod, strFormat("Gemm_FC1_core%d", core), in setup() 341 auto *FC2 = createFC(fn, mod, strFormat("Gemm_FC2_core%d", core), in setup() [all …]
|
/dports/games/holotz-castle/holotz-castle-1.3.14-src/JLib/JLib/Graphics/ |
H A D | JFont.cpp | 185 JImage * JFont::PrintfSolid(JFontAlign align, SDL_Color &fg, const char *strFormat, ...) in PrintfSolid() argument 191 va_start(vlist, strFormat); in PrintfSolid() 192 vsprintf(str, strFormat, vlist); in PrintfSolid() 200 JImage * JFont::PrintfShaded(JFontAlign align, SDL_Color &fg, SDL_Color &bg, const char *strFormat,… in PrintfShaded() argument 206 va_start(vlist, strFormat); in PrintfShaded() 207 vsprintf(str, strFormat, vlist); in PrintfShaded() 214 JImage * JFont::PrintfBlended(JFontAlign align, SDL_Color &fg, const char *strFormat, ...) in PrintfBlended() argument 220 va_start(vlist, strFormat); in PrintfBlended() 221 vsprintf(str, strFormat, vlist); in PrintfBlended()
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/tools/loader/ |
H A D | LoaderUtils.cpp | 39 strFormat("The dataset path '%s' is not a directory!", in readUnlabeledDataSetFromFile() 43 checkCond(inpFile.is_open(), strFormat("Cannot open the dataset file '%s'!", in readUnlabeledDataSetFromFile() 57 strFormat("Failed parsing the unlabeled dataset file '%s'! Check " in readUnlabeledDataSetFromFile() 68 strFormat("Data path '%s' does not exist!", dataPath.c_str())); in readUnlabeledDataSetFromFile() 78 strFormat("The dataset path '%s' is not a directory!", in readUnlabeledDataSetFromDir() 100 strFormat("The dataset path '%s' is not a directory!", in readLabeledDataSet() 104 checkCond(inpFile.is_open(), strFormat("Cannot open the dataset file '%s'!", in readLabeledDataSet() 118 strFormat("Failed parsing the labeled dataset file '%s'! Check " in readLabeledDataSet() 125 strFormat("Data path '%s' does not exist!", dataPath.c_str())); in readLabeledDataSet()
|
H A D | ModelTuner.cpp | 227 llvm::outs() << strFormat(" [%d/%d] Testing range = [%.4f, %.4f]\n", in tuneQuantizationForTensor() 232 llvm::outs() << strFormat(" Accuracy = %.4f %%\n", currAcc * 100); in tuneQuantizationForTensor() 260 llvm::outs() << strFormat("Best accuracy : %.4f %%\n", bestAcc * 100); in tuneQuantizationForTensor() 285 llvm::outs() << strFormat("\nComputing initial accuracy ... \n"); in main() 288 llvm::outs() << strFormat("Initial accuracy: %.4f %% (FLOAT)\n", in main() 290 llvm::outs() << strFormat("Initial accuracy: %.4f %% (QUANTIZED)\n", in main() 292 llvm::outs() << strFormat("Target accuracy: %.4f %% (QUANTIZED)\n", in main() 294 llvm::outs() << strFormat("Number of tensors: %d\n\n", tensorQNum); in main() 319 llvm::outs() << strFormat("Iteration time: %d seconds\n", iterSec); in main() 325 llvm::outs() << strFormat("\nFinal accuracy: %.4f %% (QUANTIZED)\n\n", in main() [all …]
|
H A D | ModelProfiler.cpp | 125 strFormat("Model input dataset format is empty for '%s'!", in getInputDatasets() 132 strFormat("Model input dataset source is empty for '%s'!", in getInputDatasets() 141 strFormat("Model input dataset options is empty for '%s'!", in getInputDatasets() 184 exitWithErr(strFormat("Invalid number of parameters provided for the " in main() 193 exitWithErr(strFormat("Invalid number of parameters provided for the " in main() 198 exitWithErr(strFormat("Input dataset source '%s' is not supported!", in main() 207 strFormat("The profiling dataset for the input '%s' does not " in main() 230 strFormat("Name '%s' is not a model input placeholder!", name.c_str())); in main() 264 exitWithErr(strFormat("Input dataset format '%s' invalid!", in main()
|
/dports/misc/timetrace/timetrace-0.14.2/core/ |
H A D | timetrace_test.go | 194 strFormat := formatter.FormatDuration(test.Duration) 195 if strFormat != test.Expected { 196 t.Fatalf("format error: %s != %s", strFormat, test.Expected) 202 strFormat := formatter.FormatDuration(test.Duration) 203 if strFormat != test.ExpectedDec { 204 t.Fatalf("format error: %s != %s", strFormat, test.ExpectedDec) 210 strFormat := formatter.FormatDuration(test.Duration) 211 if strFormat != test.ExpectedBoth { 212 t.Fatalf("format error: %s != %s", strFormat, test.ExpectedBoth)
|
/dports/comms/qsstv/qsstv/drmtx/common/datadecoding/ |
H A D | DABMOT.cpp | 139 string strFormat; in SetMOTObject() local 141 strFormat = _strlwr(_strdup(NewMOTObject.strFormat.c_str())); in SetMOTObject() 143 transform(NewMOTObject.strFormat.begin(), NewMOTObject.strFormat.end(), in SetMOTObject() 148 if (strcmp(strFormat.c_str(), "gif") == 0) in SetMOTObject() 155 if (( strcmp(strFormat.c_str(), "jpg")==0 ) || in SetMOTObject() 157 (strcmp(strFormat.c_str(), "rs1") == 0) || in SetMOTObject() 158 (strcmp(strFormat.c_str(), "rs2") == 0) || in SetMOTObject() 159 (strcmp(strFormat.c_str(), "rs3") == 0) || in SetMOTObject() 162 (strcmp(strFormat.c_str(), "jfif") == 0)) in SetMOTObject() 169 if (strcmp(strFormat.c_str(),"bmp") == 0) in SetMOTObject() [all …]
|
H A D | DABMOT.h | 373 strFormat(""), strMimeType(""), iCompressionType(0), strContentDescription(""), in CMOTObject() 387 strFormat (nO.strFormat), in CMOTObject() 417 strFormat = nO.strFormat; 450 strFormat = ""; in Reset() 483 string strFormat; variable
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/annotwriter/ |
H A D | annotwriter.cpp | 844 const string strFormat = args["format"].AsString(); in xInitWriter() local 845 if (strFormat == "gff" || strFormat == "gff2") { in xInitWriter() 851 if (strFormat == "gff3") { in xInitWriter() 865 if (strFormat == "gtf") { in xInitWriter() 871 if (strFormat == "gvf") { in xInitWriter() 876 if (strFormat == "wiggle" || strFormat == "wig") { in xInitWriter() 879 if (strFormat == "bed") { in xInitWriter() 882 if (strFormat == "bedgraph") { in xInitWriter() 885 if (strFormat == "vcf") { in xInitWriter() 888 if (strFormat == "aln") { in xInitWriter() [all …]
|
/dports/astro/qmapshack/qmapshack-V_1.16.1/src/qmapshack/plot/ |
H A D | CPlotAxisTime.h | 39 return strFormat; in fmtsgl() 44 return strFormat; in fmtdbl() 51 const QString strFormat = "hh:mm:ss"; variable
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/settings/ |
H A D | SettingControl.cpp | 83 std::string strFormat; in Deserialize() local 84 if (XMLUtils::GetString(node, SETTING_XML_ATTR_FORMAT, strFormat) && !strFormat.empty()) in Deserialize() 85 m_formatString = strFormat; in Deserialize() 257 std::string strFormat; in Deserialize() local 258 if (XMLUtils::GetString(node, SETTING_XML_ATTR_FORMAT, strFormat) && !strFormat.empty()) in Deserialize() 259 m_formatString = strFormat; in Deserialize()
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Importer/ |
H A D | TFLiteModelLoader.cpp | 172 llvm::errs() << strFormat( in checkBiasQuantizationParams() 215 strFormat("TensorFlowLite: Tensor index %zu out of range!", index)); in getTensorByIndex() 380 strFormat( in getTensorOffset() 438 strFormat( in getTensorOffsets() 500 strFormat("TensorFlowLite: Missing registration for " in getOperatorCode() 508 strFormat( in getOperatorCode() 520 strFormat("TensorFlowLite: Missing registration for " in getOperatorVersion() 610 strFormat("TensorFlowLite: Node value index %zu is out of range!", in getNodeValueByIndex() 626 strFormat("TensorFlowLite: Node value index %zu is out of range!", in setNodeValueByIndex() 1016 strFormat("WARNING: Bias scale value was expected " in isConv2DPerAxisQuantized() [all …]
|
/dports/science/jmol/jmol-14.32.7/src/org/jmol/shape/ |
H A D | Measures.java | 57 private String strFormat; field in Measures 191 int type = Measurement.nmrType(vwr.getDistanceUnits(md.strFormat)); in setProperty() 204 strFormat = md.strFormat; in setProperty() 218 m.strFormat = md.strFormat; in setProperty() 498 …).init(null, vwr, points)).set(tokAction, htMin, radiusData, m.property, strFormat, null, tickInfo, in defineAll() 527 } else if (strFormat != null) { in processNextMeasure() 528 measurements.get(iThis).formatMeasurementAs(strFormat, in processNextMeasure() 553 strFormat, measurementCount); in defineMeasurement() 598 if (md.strFormat != null) { in doAction() 599 m.strFormat = m.strFormat.substring(0, 2) in doAction() [all …]
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/torch_glow/src/ |
H A D | ShapeInferenceEngine.cpp | 96 strFormat("Node's operator %s is not supported", kind.toQualString())); in shapeOnNode() 257 strFormat("The size of tensor a (%zu) must match the size of " in binaryOp() 287 strFormat("The size of tensor a (%zu) at dimension 1 must match the " in mm() 319 return MAKE_ERR(strFormat("The size of tensor a (%zu) at dimension 2 must" in bmm() 336 strFormat("Expected at least three inputs shapes, got %zu.", in addmm() 365 strFormat("Expected one input, got %zu.", varibableMetas.size())); in constantChunk() 399 strFormat("Expected at least 1 inputs, got %zu.", varibableMetas.size())); in fusedConcat() 423 strFormat("Sizes of tensors must match except in dimension %zu.", in fusedConcat()
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/ |
H A D | XBDateTime.cpp | 1181 size_t length = strFormat.size(); in GetAsLocalizedTime() 1184 char c=strFormat[i]; in GetAsLocalizedTime() 1191 pos<strFormat.size()) && strFormat[pos+1]=='\'') {} in GetAsLocalizedTime() 1214 int pos=strFormat.find_first_not_of(c,i+1); in GetAsLocalizedTime() 1250 int pos=strFormat.find_first_not_of(c,i+1); in GetAsLocalizedTime() 1277 int pos=strFormat.find_first_not_of(c,i+1); in GetAsLocalizedTime() 1307 int pos=strFormat.find_first_not_of(c,i+1); in GetAsLocalizedTime() 1340 size_t length = strFormat.size(); in GetAsLocalizedDate() 1343 char c=strFormat[i]; in GetAsLocalizedDate() 1350 pos < strFormat.size()) && in GetAsLocalizedDate() [all …]
|