/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cat/ |
H A D | MlTrainedModels.php | 30 protected $model_id; variable in Elasticsearch\\Endpoints\\Cat\\MlTrainedModels 63 public function setModelId($model_id): MlTrainedModels argument
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Ml/ |
H A D | GetTrainedModels.php | 30 protected $model_id; variable in Elasticsearch\\Endpoints\\Ml\\GetTrainedModels 61 public function setModelId($model_id): GetTrainedModels argument
|
H A D | GetTrainedModelsStats.php | 30 protected $model_id; variable in Elasticsearch\\Endpoints\\Ml\\GetTrainedModelsStats 56 public function setModelId($model_id): GetTrainedModelsStats argument
|
H A D | DeleteTrainedModel.php | 31 protected $model_id; variable in Elasticsearch\\Endpoints\\Ml\\DeleteTrainedModel 53 public function setModelId($model_id): DeleteTrainedModel argument
|
H A D | PutTrainedModel.php | 31 protected $model_id; variable in Elasticsearch\\Endpoints\\Ml\\PutTrainedModel 65 public function setModelId($model_id): PutTrainedModel argument
|
H A D | PutTrainedModelAlias.php | 32 protected $model_id; variable in Elasticsearch\\Endpoints\\Ml\\PutTrainedModelAlias 67 public function setModelId($model_id): PutTrainedModelAlias argument
|
H A D | DeleteTrainedModelAlias.php | 32 protected $model_id; variable in Elasticsearch\\Endpoints\\Ml\\DeleteTrainedModelAlias 65 public function setModelId($model_id): DeleteTrainedModelAlias argument
|
/plugin/stlviewer/stlviewer/ |
H A D | load_stl.min.js | 2 importScripts("parser.min.js"),MSG_DATA=0,MSG_LOAD=1,MSG_ERROR=2,MSG_STL_LOADED=3,MSG_LOAD_IN_PROGRESS=4;var filename=null,local_file=null,load_from_blob_or_ab=null,x=0,y=0,z=0,model_id=-1,get_progress=!1,jszip_path="jszip.min.js";function isNumeric(a){return!isNaN(parseFloat(a))&&isFinite(a)}function send_error(a){postMessage({msg_type:MSG_ERROR,data:a})}function download_from_local(a){download_from_local_xhr(a)}function download_from_local_xhr(a){var e=new XMLHttpRequest;get_progress&&(e.onprogress=function(a){postMessage({msg_type:MSG_LOAD_IN_PROGRESS,id:model_id,loaded:a.loaded,total:a.total})}),e.onreadystatechange=function(a){4==e.readyState&&200==e.status&&after_file_load(e.response)},e.open("GET",a,!0),e.responseType="arraybuffer",e.send(null)}function after_file_load(a){if(a)try{parse_3d_file(filename,a,after_file_parse,jszip_path)}catch(a){send_error("Error parsing the file")}else send_error("no data")}function after_file_parse(a){"string"!=typeof a?postMessage({msg_type:MSG_STL_LOADED,vertices:a.vertices,faces:a.faces,colors:a.colors}):send_error(a)}function read_file(a){var e=new FileReader;e.onerror=function(a){var e="";switch(a.target.error.code){case a.target.error.NOT_FOUND_ERR:e="File not found";break;case a.target.error.NOT_READABLE_ERR:e="Can't read file - too large?";break;case a.target.error.ABORT_ERR:e="Read operation aborted";break;case a.target.error.SECURITY_ERR:e="File is locked";break;case a.target.error.ENCODING_ERR:e="File too large";break;default:e="Error reading file"}send_error(e)},e.onprogress=function(a){postMessage({msg_type:MSG_LOAD_IN_PROGRESS,id:model_id,loaded:a.loaded,total:a.total})},e.onload=function(a){after_file_load(a.target.result)},e.readAsArrayBuffer(a)}self.addEventListener("message",function(a){switch(a.data.msg_type){case MSG_DATA:if(!a.data.data){send_error("no data");break}if(!a.data.data.filename&&!a.data.data.local_file){send_error("no file");break}a.data.jszip_path&&(jszip_path=a.data.jszip_path),a.data.data.local_file?(filename=a.data.data.local_file.name?a.data.data.local_file.name:a.data.data.filename,local_file=a.data.data.local_file?a.data.data.local_file:null):a.data.data.filename&&(filename=a.data.data.filename),a.data.data.x&&isNumeric(a.data.data.x)&&(x=a.data.data.x),a.data.data.y&&isNumeric(a.data.data.y)&&(y=a.data.data.y),a.data.data.y&&isNumeric(a.data.data.z)&&(z=a.data.data.z),load_from_blob_or_ab=null,a.data.load_from_blob_or_ab&&(load_from_blob_or_ab=a.data.load_from_blob_or_ab),model_id=a.data.data.id?a.data.data.id:-1,get_progress=!!a.data.get_progress&&a.data.get_progress;break;cas (…) variable
|