/dports/misc/mnn/MNN-1.2.0/tools/script/ |
H A D | modelTest.py | 45 print modelName 48 os.rename(modelName, tmpModel) 51 gWrong.append(modelName) 57 gWrong.append(modelName) 60 os.rename(tmpModel, modelName) 73 print modelName 79 gWrong.append(modelName) 85 gWrong.append(modelName) 102 print(modelName) 109 gWrong.append(modelName) [all …]
|
H A D | modelTestForAndroid.py | 28 modelName = os.path.join(root_dir, name, 'temp.bin') variable 31 print modelName 32 run_cmd(['adb', 'push', modelName, '/data/local/tmp/MNN/temp.bin']) 39 gWrong.append(modelName) 47 modelName = os.path.join(root_dir, name, 'temp.bin') variable 50 print(modelName) 58 gWrong.append(modelName) 67 modelName = os.path.join(root_dir, name, 'temp.bin') variable 68 if not os.path.exists(modelName): 71 print(modelName) [all …]
|
H A D | fastTestTorch.py | 20 def __copy_to_here(self, modelName): argument 23 print(os.popen("cp " + modelName + ' ' + newModel).read()) 24 self.modelName = newModel 25 self.model = self.__load_graph(self.modelName) 27 def __init__(self, modelName): argument 28 self.__copy_to_here(modelName) 46 print(self.modelName) 85 modelName = sys.argv[1] variable 89 t = TestModel(modelName)
|
/dports/security/vault/vault-1.8.2/vendor/github.com/okta/okta-sdk-golang/v2/openapi/generator/templates/ |
H A D | model.go.hbs | 5 {{#if (eq model.modelName "UserProfile")}} 6 type {{model.modelName}} map[string]interface{} 10 {{#if (eq model.modelName "Application")}} 17 {{#if (eq model.modelName "UserFactor")}} 18 {{log model.modelName }} 25 type {{model.modelName}}Resource resource 31 type {{model.modelName}} string 33 type {{model.modelName}} struct { 40 func New{{model.modelName}}() *{{model.modelName}} { 41 return &{{model.modelName}}{ [all …]
|
/dports/multimedia/zoneminder/zoneminder-1.36.5/web/api/app/Plugin/Crud/Controller/Crud/Listener/ |
H A D | RelatedModelsListener.php | 58 foreach ($models as $modelName) { 144 * @param string $modelName 151 if (isset($PrimaryModel->{$modelName})) { 152 return $PrimaryModel->{$modelName}; 156 if (isset($Controller->{$modelName}) && $Controller->{$modelName} instanceOf Model) { 157 return $Controller->{$modelName}; 164 return $this->_classRegistryInit($modelName); 170 * @param string $modelName 175 return isset($associated[$modelName]) ? $associated[$modelName] : null; 206 protected function _classRegistryInit($modelName) { argument [all …]
|
H A D | ApiFieldFilterListener.php | 241 if (empty($modelName)) { 242 $modelName = $model->alias; 245 $isPrimary = $modelName === $model->alias; 259 $fullFieldName = sprintf('%s.%s', $modelName, $fieldName); 269 $this->_relations[] = $modelName; 280 * @param string $modelName 286 if (!array_key_exists($modelName, $associated)) { 290 if (!$this->_whitelistedAssociatedModel($modelName)) { 294 return $model->{$modelName}->hasField($fieldName); 303 * @param string $modelName [all …]
|
/dports/games/egl/egl-0.3.1_9/cgame/ |
H A D | cg_players.c | 36 char modelName[MAX_CFGSTRLEN]; in CG_GloomClassForModel() local 41 Q_strncpyz (modelName, model, sizeof (modelName)); in CG_GloomClassForModel() 42 Q_strlwr (modelName); in CG_GloomClassForModel() 115 char modelName[MAX_CFGSTRLEN]; in CG_LoadClientinfo() local 153 Q_strncpyz (modelName, skin, sizeof (modelName)); in CG_LoadClientinfo() 154 t = strstr (modelName, "/"); in CG_LoadClientinfo() 156 t = strstr (modelName, "\\"); in CG_LoadClientinfo() 158 t = modelName; in CG_LoadClientinfo() 162 if (skin[strlen(modelName)] == '/' || skin[strlen(modelName)] == '\\') in CG_LoadClientinfo() 179 Q_strncpyz (modelName, "male", sizeof (modelName)); in CG_LoadClientinfo() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/okta/okta-sdk-golang/openapi/generator/templates/ |
H A D | model.go.hbs | 5 {{#if (eq model.modelName "UserProfile")}} 10 {{#if (eq model.modelName "Application")}} 17 {{#if (eq model.modelName "Factor")}} 24 type {{model.modelName}}Resource resource 27 {{#if (eq model.modelName "ApplicationSettingsApplication")}} 28 type {{model.modelName}} map[string]interface{} 30 type {{model.modelName}} struct { 35 func New{{model.modelName}}() *{{model.modelName}} { 36 return &{{model.modelName}}{ 48 func (a *{{model.modelName}}) Is{{model.tags.[0]}}Instance() bool { [all …]
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.test/src/main/java/org/springframework/test/web/ |
H A D | ModelAndViewAssert.java | 60 Object obj = mav.getModel().get(modelName); in assertAndReturnModelAttributeOfType() 61 assertCondition(obj != null, "Model attribute with name '" + modelName + "' is null"); in assertAndReturnModelAttributeOfType() 78 List modelList = assertAndReturnModelAttributeOfType(mav, modelName, List.class); in assertCompareListModelAttribute() 92 public static void assertModelAttributeAvailable(ModelAndView mav, String modelName) { in assertModelAttributeAvailable() argument 95 assertCondition(mav.getModel().containsKey(modelName), "Model attribute with name '" + modelName in assertModelAttributeAvailable() local 110 Object modelValue = assertAndReturnModelAttributeOfType(mav, modelName, Object.class); in assertModelAttributeValue() 111 assertCondition(modelValue.equals(expectedValue), "Model value with name '" + modelName in assertModelAttributeValue() 133 for (String modelName : mav.getModel().keySet()) { in assertModelAttributeValues() 134 Object assertionValue = expectedModel.get(modelName); in assertModelAttributeValues() 135 Object mavValue = mav.getModel().get(modelName); in assertModelAttributeValues() [all …]
|
H A D | AbstractModelAndViewTests.java | 59 …protected <T> T assertAndReturnModelAttributeOfType(ModelAndView mav, String modelName, Class<T> e… in assertAndReturnModelAttributeOfType() argument 61 return ModelAndViewAssert.assertAndReturnModelAttributeOfType(mav, modelName, expectedType); in assertAndReturnModelAttributeOfType() 76 …protected void assertCompareListModelAttribute(ModelAndView mav, String modelName, List expectedLi… in assertCompareListModelAttribute() argument 78 ModelAndViewAssert.assertCompareListModelAttribute(mav, modelName, expectedList); in assertCompareListModelAttribute() 91 protected void assertModelAttributeAvailable(ModelAndView mav, String modelName) { in assertModelAttributeAvailable() argument 93 ModelAndViewAssert.assertModelAttributeAvailable(mav, modelName); in assertModelAttributeAvailable() 108 …protected void assertModelAttributeValue(ModelAndView mav, String modelName, Object expectedValue)… in assertModelAttributeValue() argument 110 ModelAndViewAssert.assertModelAttributeValue(mav, modelName, expectedValue); in assertModelAttributeValue() 145 ModelAndView mav, String modelName, List expectedList, Comparator comparator) { in assertSortAndCompareListModelAttribute() argument 147 …ModelAndViewAssert.assertSortAndCompareListModelAttribute(mav, modelName, expectedList, comparator… in assertSortAndCompareListModelAttribute()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.Mvc3/Mvc/Html/ |
H A D | ValidationExtensions.cs | 65 public static void Validate(this HtmlHelper htmlHelper, string modelName) { in Validate() argument 66 if (modelName == null) { in Validate() 71 ModelMetadata.FromStringExpression(modelName, htmlHelper.ViewContext.ViewData), in Validate() 72 modelName); in Validate() 89 ApplyFieldValidationMetadata(htmlHelper, modelMetadata, modelName); in ValidateHelper() 118 if (modelName == null) { in ValidationMessage() 124 modelName, in ValidationMessage() 158 if (!htmlHelper.ViewData.ModelState.ContainsKey(modelName) && formContext == null) { in ValidationMessageHelper() 162 ModelState modelState = htmlHelper.ViewData.ModelState[modelName]; in ValidationMessageHelper() 185 builder.MergeAttribute("data-valmsg-for", modelName); in ValidationMessageHelper() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/samples/dnn/ |
H A D | common.hpp | 6 const std::string& modelName, const std::string& zooFile, 14 const std::string& modelName, const std::string& zooFile, in genArgument() argument 17 if (!modelName.empty()) in genArgument() 22 FileNode node = fs[modelName]; in genArgument() 81 modelName, zooFile, 'm') + in genPreprocArguments() 84 modelName, zooFile, 'c') + in genPreprocArguments() 86 modelName, zooFile) + in genPreprocArguments() 88 modelName, zooFile, ' ', "1.0") + in genPreprocArguments() 90 modelName, zooFile, ' ', "-1") + in genPreprocArguments() 92 modelName, zooFile, ' ', "-1") + in genPreprocArguments() [all …]
|
/dports/astro/kstars/kstars-3.5.6/kstars/tools/whatsinteresting/ |
H A D | modelmanager.cpp | 232 if (modelName == "planets") in getModelNumber() 234 if (modelName == "stars") in getModelNumber() 238 if (modelName == "galaxies") in getModelNumber() 240 if (modelName == "clusters") in getModelNumber() 242 if (modelName == "nebulas") in getModelNumber() 244 if (modelName == "asteroids") in getModelNumber() 246 if (modelName == "comets") in getModelNumber() 252 if (modelName == "messier") in getModelNumber() 254 if (modelName == "ngc") in getModelNumber() 256 if (modelName == "ic") in getModelNumber() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Mvc/Html/ |
H A D | ValidationExtensions.cs | 71 public static void Validate(this HtmlHelper htmlHelper, string modelName) in Validate() argument 73 if (modelName == null) in Validate() 80 modelName); in Validate() 100 ApplyFieldValidationMetadata(htmlHelper, modelMetadata, modelName); in ValidateHelper() 105 public static MvcHtmlString ValidationMessage(this HtmlHelper htmlHelper, string modelName) in ValidationMessage() argument 135 if (modelName == null) in ValidationMessage() 142 modelName, in ValidationMessage() 181 if (!htmlHelper.ViewData.ModelState.ContainsKey(modelName) && formContext == null) in ValidationMessageHelper() 186 ModelState modelState = htmlHelper.ViewData.ModelState[modelName]; in ValidationMessageHelper() 214 builder.MergeAttribute("data-valmsg-for", modelName); in ValidationMessageHelper() [all …]
|
/dports/net-mgmt/prometheus1/prometheus-1.8.2/vendor/github.com/emicklei/go-restful/swagger/ |
H A D | model_builder.go | 46 modelName := b.keyFrom(st) 48 modelName = nameOverride 51 if b.isPrimitiveType(modelName) { 63 if _, ok := b.Models.At(modelName); ok { 67 Id: modelName, 72 b.Models.Put(modelName, sm) 117 b.Models.Put(modelName, sm) 361 return modelName + "." + jsonName 377 if len(modelName) == 0 { 419 mapped, ok := schemaMap[modelName] [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/ml/test/ |
H A D | test_save_load.cpp | 49 const string modelName = get<0>(GetParam()); in TEST_P() local 51 const string filename = findDataFile("legacy/" + modelName + "_" + dataName + ".xml"); in TEST_P() 52 const bool isTree = modelName == CV_BOOST || modelName == CV_DTREE || modelName == CV_RTREES; in TEST_P() 55 if (modelName == CV_BOOST) in TEST_P() 57 else if (modelName == CV_ANN) in TEST_P() 59 else if (modelName == CV_DTREE) in TEST_P() 61 else if (modelName == CV_NBAYES) in TEST_P() 63 else if (modelName == CV_SVM) in TEST_P() 65 else if (modelName == CV_RTREES) in TEST_P() 67 else if (modelName == CV_SVMSGD) in TEST_P()
|
/dports/print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.7.17/lib/ |
H A D | epson-escpr-services.c | 122 EPS_INT8* modelName, in serParseDeviceID() argument 195 if(NULL != modelName){ in serParseDeviceID() 1315 const EPS_INT8 *modelName = NULL; in obsGetPageMode() local 1323 modelName = g_observer.printer->modelName; in obsGetPageMode() 1347 const EPS_INT8 *modelName = NULL; in obsIsA3Model() local 1349 modelName = g_observer.printer->modelName; in obsIsA3Model() 1353 (strcmp(modelName, "PX-7V" ) == 0) || in obsIsA3Model() 1390 const EPS_INT8 *modelName = NULL; in obsEnableDuplex() local 1397 modelName = g_observer.printer->modelName; in obsEnableDuplex() 1413 const EPS_INT8 *modelName = NULL; in obsEnableAutoFeed() local [all …]
|
/dports/www/groupoffice/groupoffice-6.4.231-php-71/go/base/view/ |
H A D | JsonView.php | 55 foreach($data as $modelName=>$model){ 58 if($modelName == 'data' || $modelName == 'success') 85 $response[$modelName] = $model; 128 foreach($data as $modelName=>$model){ 131 if($modelName == 'data' || $modelName == 'success') 164 $response[$modelName] = $model; 249 foreach($data as $modelName=>$model){ 252 $response['data'][$modelName] = $model; 254 $response['data'][$modelName] = $model->getAttributes(); 258 if($modelName == 'feedback' || $modelName == 'success' || $modelName == 'validationErrors') [all …]
|
/dports/games/pioneer/pioneer-20210723/src/ |
H A D | modelcompiler.cpp | 119 Output("\n---\nStarting compiler for (%s)\n", modelName.c_str()); in RunCompiler() 126 model.reset(ld.LoadModel(modelName)); in RunCompiler() 140 bc.Save(modelName, DataPath, model.get(), bInPlace); in RunCompiler() 214 std::string modelName; in main() local 217 filePath = modelName = argv[2]; in main() 234 if (shortname == modelName) { in main() 243 RunCompiler(modelName, filePath, isInPlace); in main() 280 for (auto &modelName : list_model) { in main() local 281 RunCompiler(modelName.first, modelName.second, isInPlace); in main() 285 for (auto &modelName : list_model) { in main() local [all …]
|
/dports/www/groupoffice/groupoffice-6.4.231-php-71/go/modules/community/dev/cli/controller/ |
H A D | Module.php | 181 private function tableToController($namespace, $modelName, Folder $folder) { argument 183 $file = $folder->getFolder('controller')->getFile($modelName . '.php'); 188 echo "Generating controller/$modelName.php\n"; 192 'model' => $modelName 208 $className = $namespace . '\\model\\' . $modelName; 209 $tableAlias = strtolower($modelName); 211 $file = $folder->getFolder('model')->getFile($modelName . '.php'); 214 echo "Generating model/$modelName.php\n"; 225 * $modelName model 231 class $modelName extends Property { [all …]
|
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/core/Classes/Utility/ |
H A D | ClassNamingUtility.php | 29 * @param string $modelName Name of the model to translate 32 public static function translateModelNameToRepositoryName($modelName) argument 37 $modelName 46 * @param string $modelName Name of the model to translate 49 public static function translateModelNameToValidatorName($modelName) argument 54 $modelName
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/renderer/ |
H A D | ModelManager.cpp | 259 if ( !modelName || !modelName[0] ) { in GetModel() 263 canonical = modelName; in GetModel() 296 model->InitFromFile( modelName ); in GetModel() 299 model->InitFromFile( modelName ); in GetModel() 302 model->InitFromFile( modelName ); in GetModel() 305 model->InitFromFile( modelName ); in GetModel() 308 model->InitFromFile( modelName ); in GetModel() 311 model->InitFromFile( modelName ); in GetModel() 323 smodel->InitEmpty( modelName ); in GetModel() 389 return GetModel( modelName, true ); in FindModel() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/ |
H A D | g_client.cpp | 808 if ( !modelName ) in G_StandardHumanoid() 813 !Q_strncmp( "st", modelName, 2 ) || in G_StandardHumanoid() 833 !Q_stricmp( "jan", modelName ) || in G_StandardHumanoid() 834 !Q_stricmp( "luke", modelName ) || in G_StandardHumanoid() 835 !Q_stricmp( "lando", modelName ) || in G_StandardHumanoid() 836 !Q_stricmp( "reelo", modelName ) || in G_StandardHumanoid() 840 !Q_stricmp( "galak", modelName ) ) in G_StandardHumanoid() 929 …if ( !Q_stricmp( "gonk", modelName ) || !Q_stricmp( "seeker", modelName ) || !Q_stricmp( "remote",… in G_SetG2PlayerModelInfo() 930 || !Q_strncmp( "r2d2", modelName, 4 ) || !Q_strncmp( "r5d2", modelName, 4 ) ) in G_SetG2PlayerModelInfo() 1035 …if ( !Q_stricmp( "gonk", modelName ) || !Q_stricmp( "seeker", modelName ) || !Q_stricmp( "remote",… in G_SetG2PlayerModelInfo() [all …]
|
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/graphics/model/ |
H A D | model_manager.cpp | 32 CModel& CModelManager::GetModel(const std::string& modelName) in GetModel() argument 34 auto it = m_models.find(modelName); in GetModel() 38 std::string modelFile = "models-new/" + modelName + ".txt"; in GetModel() 45 throw CModelIOException(std::string("Could not open file '") + modelName + "'"); in GetModel() 48 m_models[modelName] = model; in GetModel() 50 return m_models[modelName]; in GetModel()
|
/dports/games/spring/spring_98.0/rts/Rendering/Models/ |
H A D | IModelParser.cpp | 126 const char* modelName = model->name.c_str(); in CheckModelNormals() local 180 S3DModel* C3DModelLoader::Load3DModel(std::string modelName) in Load3DModel() argument 183 if (modelName.empty()) in Load3DModel() 186 StringToLowerInPlace(modelName); in Load3DModel() 192 if ((ci = cache.find(modelName)) != cache.end()) { in Load3DModel() 196 const std::string modelPath = FindModelPath(modelName); in Load3DModel() 214 LOG_L(L_WARNING, "could not load model \"%s\" (reason: %s)", modelName.c_str(), ex.what()); in Load3DModel() 222 AddModelToCache(model, modelName, modelPath); in Load3DModel() 227 LOG_L(L_ERROR, "could not find a parser for model \"%s\" (unknown format?)", modelName.c_str()); in Load3DModel() 242 AddModelToCache(model, modelName, modelPath); in Load3DModel() [all …]
|