query
stringlengths
11
3.13k
ru_query
stringlengths
9
3.91k
document
stringlengths
18
71k
metadata
dict
negatives
listlengths
0
100
negative_scores
listlengths
0
100
document_score
stringlengths
5
10
document_rank
stringclasses
2 values
Inserts config entries for username, password, environment
Добавляет записи конфигурации для имени пользователя, пароля, окружения
private static function _addCredentialsConfigurationEntries() { global $db; $requiredOptionsAttributes = static::_getRequiredOptionsAttributes(); $db->Execute( 'insert into ' . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function registerConfigurations()\n {\n try {\n\n $auth = file_get_contents(config_path('auth.php'));\n\n $data_map = $this->parseName();\n\n /********** Guards **********/\n\n $guards = file_get_contents($this->stub_path . '/config/guards.stub');\n\n...
[ "0.6192933", "0.60301536", "0.5992723", "0.5840403", "0.5818765", "0.57883453", "0.5719295", "0.57186174", "0.57121885", "0.568543", "0.56287396", "0.562755", "0.5613842", "0.5604391", "0.5603093", "0.55873203", "0.5576959", "0.55710256", "0.55680454", "0.556736", "0.55528337...
0.7253543
0
Inserts config entries for transaction_types, allow_partial_capture, allow_void, allow_partial_refund
Добавляет настройки для transaction_types, allow_partial_capture, allow_void, allow_partial_refund
private static function _addTransactionsConfigurationEntries() { global $db; $requiredOptionsAttributes = static::_getRequiredOptionsAttributes(); $transaction_types = EMerchantPayCommon::buildSettingsDropDownOptions( EmpCheckoutSettings::getTransactionsList() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static function _addMainConfigurationEntries()\n {\n global $db;\n\n $db->Execute(\n 'insert into ' . TABLE_CONFIGURATION . \"\n (configuration_title, configuration_key, configuration_value,\n configuration_description, configuration_group_id, sort_order,\n...
[ "0.61269504", "0.58333105", "0.5556471", "0.5550534", "0.52697796", "0.52531683", "0.52213556", "0.5143226", "0.5116422", "0.50987995", "0.50721496", "0.5034265", "0.5024309", "0.50169027", "0.5012393", "0.49929717", "0.4976588", "0.49742806", "0.49343672", "0.49339312", "0.4...
0.7316787
0
Inserts config entries for order_status_id, failed_order_status_id, processed_order_status_id, refunded_order_status_id, cancelled_order_status_id
Вставляет настройки для order_status_id, failed_order_status_id, processed_order_status_id, refunded_order_status_id, cancelled_order_status_id
private static function _addOrderConfigurationEntries() { global $db; $db->Execute( 'insert into ' . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static function _addMainConfigurationEntries()\n {\n global $db;\n\n $db->Execute(\n 'insert into ' . TABLE_CONFIGURATION . \"\n (configuration_title, configuration_key, configuration_value,\n configuration_description, configuration_group_id, sort_order,\n...
[ "0.60852534", "0.58835953", "0.5790473", "0.5764193", "0.5697433", "0.5629259", "0.54216975", "0.5367605", "0.5322644", "0.5310043", "0.52481705", "0.51725143", "0.51683676", "0.5168082", "0.51510036", "0.51454395", "0.5096997", "0.50779575", "0.5034748", "0.5031383", "0.5031...
0.7781346
0
Insert SCA excemption options into DB
Вставить опции исключения SCA в БД
private static function _addScaExemptionOptions() { global $db; $scaExemptionOptions = EMerchantPayCommon::buildSettingsDropDownOptions( [ ScaExemptions::EXEMPTION_LOW_RISK => 'Low risk', ScaExemptions::EXEMPTION_LOW_VALUE => 'Low value', ] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function insert($sid,$options)\r\n\t{\t\t\r\n\t\t$data=array();\r\n\t\t//$data['created']=date(\"U\");\r\n\t\t//$data['changed']=date(\"U\");\r\n\t\t\r\n\t\tforeach($options as $key=>$value)\r\n\t\t{\r\n\t\t\tif (in_array($key,$this->db_fields) )\r\n\t\t\t{\r\n\t\t\t\t$data[$key]=$value;\r\n\t\t\t}\r\n\t\t}\r\n\r\...
[ "0.5957162", "0.5784983", "0.57098675", "0.5693861", "0.56616783", "0.56560963", "0.5646666", "0.5631879", "0.5587516", "0.5569107", "0.55462843", "0.55458677", "0.54923123", "0.5455348", "0.5396054", "0.5364374", "0.5361202", "0.5353874", "0.5351959", "0.53234184", "0.532267...
0.70559186
0
Test new logger proxy with file alias
Тестирование нового логгера с алиасом файла
public function testNewWithAliasFile() { $fileLoggerMock = $this->getMockBuilder(File::class) ->disableOriginalConstructor() ->getMock(); $fileLoggerMock->expects($this->once()) ->method('log'); $fileLoggerFactoryMock = $this->getMockBuilder(FileFactory:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testNewWithAliasDisabled()\n {\n $fileLoggerMock = $this->getMockBuilder(File::class)\n ->disableOriginalConstructor()\n ->getMock();\n\n $fileLoggerMock->expects($this->never())\n ->method('log');\n\n $fileLoggerFactoryMock = $this->getMockB...
[ "0.6807457", "0.6320224", "0.61939615", "0.61733806", "0.6108104", "0.60279363", "0.60259795", "0.5907541", "0.5859419", "0.57915556", "0.5727617", "0.56713635", "0.5669221", "0.5669221", "0.56400275", "0.56295323", "0.56190765", "0.56182075", "0.56182075", "0.56116146", "0.5...
0.7993968
0
Test new logger proxy with disabled alias
Тестирование нового прокси-логгера с отключенным алиасом
public function testNewWithAliasDisabled() { $fileLoggerMock = $this->getMockBuilder(File::class) ->disableOriginalConstructor() ->getMock(); $fileLoggerMock->expects($this->never()) ->method('log'); $fileLoggerFactoryMock = $this->getMockBuilder(FileFac...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testNewWithAliasFile()\n {\n $fileLoggerMock = $this->getMockBuilder(File::class)\n ->disableOriginalConstructor()\n ->getMock();\n\n $fileLoggerMock->expects($this->once())\n ->method('log');\n\n $fileLoggerFactoryMock = $this->getMockBuilde...
[ "0.6817267", "0.6340983", "0.6194736", "0.6058536", "0.59999746", "0.59881026", "0.5763673", "0.5745972", "0.5678427", "0.5667807", "0.55932224", "0.55564564", "0.55564564", "0.55023426", "0.54778075", "0.54631275", "0.5459134", "0.5457615", "0.5419458", "0.535569", "0.535183...
0.7963278
0
Load resource for detail page.
Загрузить ресурс для страницы деталей.
private function loadResourceForDetailPage() { $this->data['css'][] = asset('/assets/css/Dss/Priority/detail.css'); $this->data['js'][] = asset('/assets/js/Dss/Priority/detail.js'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function detail(){\n\t\t\t$id = isset($_GET[\"id\"]) ? $_GET[\"id\"] : 0;\n\t\t\t$record = $this->modelGetRecord($id);\n\t\t\t//load view\n\t\t\tinclude \"Views/BlogsDetailView.php\";\n\t\t}", "public function loadForView();", "public function show(Detail $detail)\n {\n return new DetailResour...
[ "0.6378958", "0.60984", "0.6044795", "0.60240823", "0.60236454", "0.6023597", "0.6023597", "0.6023597", "0.5966942", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "0.5910746", "...
0.7897725
0
Save all given pairs
Сохранить все заданные пары
public function save(array $pairs, $key = null);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function save(iterable $toSave): void;", "function save() {\r\n foreach ($this->_data as $v)\r\n $v -> save();\r\n }", "abstract protected function doPairs();", "public function saveMultiple(array $keysAndValues): void\n {\n foreach ($keysAndValues as $key => $value) {\n...
[ "0.6184971", "0.61299485", "0.5992638", "0.5966917", "0.58953214", "0.58752024", "0.5843981", "0.57670194", "0.55970913", "0.5565765", "0.5554117", "0.54298544", "0.54282063", "0.5426447", "0.5416545", "0.5374369", "0.5361146", "0.534888", "0.53238934", "0.53238934", "0.53238...
0.7648275
0
Store a newly created restaurant in storage.
Храните только что созданный ресторан в хранилище.
public function store(CreateRestaurantRequest $request) { $rookie = Restaurant::orderBy('id','desc')->first(); $request = $this->saveFiles($request); $input = $request->all(); if ($rookie == null) { $number = 1; }else{ $alias = explode('-',$rookie->alias); if(isset($alias...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function store(CreateRestaurantRequest $request)\n {\n $hash = bin2hex(random_bytes(25));\n $res = Restaurant::create([\n 'name' => $request->input('name'),\n 'country_id' => $request->input('country'),\n 'city_id' => $request->input('city'),\n 't...
[ "0.73562443", "0.69846964", "0.68687344", "0.6811879", "0.6702052", "0.65909207", "0.65842867", "0.65394694", "0.65394694", "0.65394694", "0.6533022", "0.6525358", "0.6525358", "0.6525358", "0.650872", "0.64960855", "0.64960855", "0.64960855", "0.64960855", "0.64960855", "0.6...
0.737121
0
/ db_disconnect Disconnect from the database.
/ db_disconnect Отсоединиться от базы данных.
function db_disconnect() { global $dbh; if (!isset($dbh)) // Already disconnected. return; $dbh->close(); $dbh = NULL; return; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function db_disconnect()\n\t{\n\t\tpg_close($this->db_connection);\n\t}", "public function disconnect()\n {\n \t//$GLOBALS['log']->debug('Calling DBManager::disconnect()');\n $close = $this->backendFunctions['close'];\n if(isset($this->database)){\n $this->freeResult();\n ...
[ "0.8022694", "0.7944768", "0.7857464", "0.78175557", "0.7707932", "0.75994205", "0.7583037", "0.7565794", "0.7537013", "0.75369", "0.7500902", "0.7466556", "0.73440886", "0.7240682", "0.721185", "0.72073096", "0.7180985", "0.71451515", "0.71189743", "0.7022725", "0.6973118", ...
0.80149233
1
/ db_get_feeds Return a list of all feeds. If $inactive is true, fetch inactive feeds as well.
/ db_get_feeds Возвращает список всех источников. Если $inactive истинно, также получают неактивные источники.
function db_get_feeds($inactive = FALSE) { global $STALE_DAYS; $dbh = db_connect(); $query = sprintf(<<<EOT SELECT *, UNIX_TIMESTAMP(last_update) as unix_last_update, IF(DATEDIFF(NOW(), IFNULL(last_update, '1970-01-01')) > %d, 1, 0) as stale FROM feeds EOT , $STALE_DAYS); if (!$inactive) $query .= "...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getFeeds() {\n\t\t$this->_initDbConnection();\n\t\t\n\t\t$stm = $this->_prepareStatement('feed', 'getAll');\t\t\n\t\t$stm->execute();\n\t\t\n\t\tif ($this->_checkPdoError($stm)) {\n\t\t\treturn NULL;\n\t\t}\n\n\t\t$feeds = array();\n\t\twhile($row = $stm->fetchObject()) {\n\t\t\t$feeds[] = $row;\n\...
[ "0.7037932", "0.6183341", "0.60998935", "0.6078244", "0.60161334", "0.5915293", "0.5899484", "0.5896902", "0.5717283", "0.5708423", "0.5706275", "0.5701913", "0.5657658", "0.5653278", "0.5645772", "0.56132054", "0.557661", "0.5574838", "0.5548279", "0.554763", "0.55330944", ...
0.80015373
0
/ db_get_feed_counts Get the number of read/unread articles in a feed, as well as the latest publication time and update time of any article in the feed. Returns an array of the form array( 'read'=> 150, 'unread'=> 12, );
/ db_get_feed_counts Получает количество прочитанных/непрочитанных статей в канале, а также время последнего публикации и время обновления любой статьи в канале. Возвращает массив вида array( 'read'=> 150, 'unread'=> 12, );
function db_get_feed_counts($feed_id) { $dbh = db_connect(); /* Get the number of read/unread items */ $query = sprintf(<<<EOT SELECT num_read AS `read`, total-num_read AS `unread` FROM `counts` WHERE feed_id = %d EOT , $feed_id); $result = $dbh->query($query); if (!$result) { global $db_errno; $db_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function db_get_all_feed_counts()\n{\n\t$dbh = db_connect();\n\n\t/* Get the number of read/unread items in each feed. This uses\n\t * the `counts` table, which is updated by MySQL triggers.\n\t */\n\t$query = <<<EOT\nSELECT\t\tfeed_id AS `feed_id`,\n\t\tnum_read AS `read`,\n\t\ttotal-num_read AS `unread`\nFROM\t\...
[ "0.8199368", "0.647498", "0.64559036", "0.63192385", "0.6311096", "0.6269568", "0.6221642", "0.61626726", "0.6144167", "0.61310774", "0.612861", "0.61105424", "0.61007875", "0.608797", "0.60768664", "0.60723555", "0.6058455", "0.60578644", "0.6037418", "0.60343236", "0.602886...
0.7887889
1
/ db_get_feed_options Get the options pertaining to a feed. Returns an array of $optionN => $valueN. / XXX $recursive == TRUE ought to check the feed's parent groups for defaults for any option that isn't overridden elsewhere. That is, if the "Washington Post" feed is in group "News", which is in group "All", then opti...
/ db_get_feed_options Получает параметры, относящиеся к фиду. Возвращает массив $optionN => $valueN. / XXX $recursive == TRUE должен проверять группы родителей фида на наличие значений по умолчанию для любого параметра, который не переопределен где-либо еще. То есть, если фид "Washington Post" находится в группе "News"...
function db_get_feed_options($feed_id, $recursive = FALSE) { $dbh = db_connect(); $query = sprintf(<<<EOT SELECT `name` AS `option`, `value` FROM `feed_options` WHERE feed_id = %d EOT , $feed_id); $result = $dbh->query($query); if (!$result) { global $db_errno; $db_errno = $dbh->errno; global $db...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function getOptions() {\n\n\n\t\t$catId = $this->element['catid'] ? (string) $this->element['catid'] : -1;\n\t\t$db = JFactory::getDBO();\n\n //build the list of categories\n\t\t$query = 'SELECT a.title AS text, a.id AS value, a.parent_id as parentid'\n\t\t. ' FROM #__phocagallery_categories AS a'\...
[ "0.5818352", "0.5743621", "0.54734385", "0.54640824", "0.5448044", "0.5433376", "0.54319006", "0.5417823", "0.54036826", "0.53821206", "0.5347134", "0.532356", "0.53233415", "0.53209686", "0.53159463", "0.53149986", "0.5258868", "0.52245814", "0.5198208", "0.5178468", "0.5158...
0.72023314
0
XXX db_set_feed_options($feed_id, $options (opt => value ...)
XXX db_set_feed_options($feed_id, $options (opt => value ...)
function db_set_feed_option($feed_id, $opt, $val) { $dbh = db_connect(); $query = <<<EOT INSERT INTO `feed_options` (feed_id, name, value) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE name=?, value=? EOT; $stmt = $dbh->prepare($query); $stmt->bind_param("dssss", $feed_id, $opt, $val, $opt, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function yaz_set_option($id, $options)\n{\n}", "private function setOptions()\n\t{\n\t\t$this->site = ( isset($_POST['site']) ) ? sanitize_text_field($_POST['site']) : null;\n\t\t$this->feed_type = ( isset($_POST['type']) && $_POST['type'] !== 'search' ) ? sanitize_text_field($_POST['type']) : 'search';\n\t\t$th...
[ "0.63571894", "0.62994015", "0.61746854", "0.6166064", "0.5989735", "0.5958023", "0.5924965", "0.5913101", "0.5900655", "0.5895524", "0.5864786", "0.582376", "0.58052236", "0.5803467", "0.57936424", "0.5771994", "0.5729715", "0.5683403", "0.5672025", "0.56702244", "0.56601584...
0.7320748
0
/ db_get_all_feed_counts Get the number of read/unread articles in all feeds, as well as the last publication and update time for each feed. Returns an array of the form array( 190=> array(// Feed ID 190 'read'=> 150, 'unread'=> 12, ), 191=> array( ... ),// Feed ID 191 ... ); I.e., the same as calling db_get_feed_count...
/ db_get_all_feed_counts Получает количество прочитанных/непрочитанных статей во всех фидах, а также время последнего публикации и обновления для каждого фида. Возвращает массив вида array( 190=> array(// ID фида 190 'read'=> 150, 'unread'=> 12, ), 191=> array( ... ),// ID фида 191 ... ); То есть, аналогично вызову db_...
function db_get_all_feed_counts() { $dbh = db_connect(); /* Get the number of read/unread items in each feed. This uses * the `counts` table, which is updated by MySQL triggers. */ $query = <<<EOT SELECT feed_id AS `feed_id`, num_read AS `read`, total-num_read AS `unread` FROM `counts` EOT; $result = $db...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function db_get_feed_counts($feed_id)\n{\n\t$dbh = db_connect();\n\n\t/* Get the number of read/unread items */\n\t$query = sprintf(<<<EOT\nSELECT\tnum_read AS `read`,\n\ttotal-num_read AS `unread`\nFROM\t`counts`\nWHERE\tfeed_id = %d\nEOT\n\t\t\t ,\n\t\t\t $feed_id);\n\t$result = $dbh->query($query);\n\tif (!$res...
[ "0.77444386", "0.6344258", "0.62924606", "0.6203131", "0.61769444", "0.616719", "0.59681815", "0.59532994", "0.59322464", "0.5931576", "0.59127015", "0.588325", "0.588325", "0.588325", "0.58751833", "0.587322", "0.5817269", "0.58164907", "0.58048266", "0.5780891", "0.57691026...
0.8846885
0
/ db_add_feed Add a new feed entry to the database. $feed is an assoc of key => value mappings, keyed by column name. This can be used to set as many or as few columns as desired. For an ordinary subscription, this will typically just include the feed URL. But other fields may be specified if importing an OPML file.
/ db_add_feed Добавить новую запись о канале в базу данных. $feed — ассоциативный массив, где ключи соответствуют названиям колонок, а значения — соответствующим значениям. Это позволяет задавать любое количество колонок, как угодно. Для обычной подписки обычно достаточно указать URL-адрес источника. Однако при импорте...
function db_add_feed($feed) { $dbh = db_connect(); $fields = array(); // Fields we'll be adding $values = array(); // The fields' values foreach ($feed as $k => $v) { switch ($k) { case "title": case "subtitle": case "nickname": case "url": case "feed_url": case "descriptio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function addFeed($feed) {\n\t\t$this->_initDbConnection();\n\t\t\n\t\t$stm = $this->_prepareStatement('feed', 'add');\n\t\t$stm->execute(array(\n\t\t\t':url' => $feed->url,\n\t\t\t':title' => $feed->title,\n\n\t\t\t':type' => (!empty($feed->type))?$feed->type:'F',\n\t\t\t':status' ...
[ "0.7772843", "0.6675993", "0.6673017", "0.6613043", "0.6544316", "0.6524744", "0.6478651", "0.6216558", "0.6043541", "0.5974395", "0.57403", "0.5718662", "0.56700915", "0.5610786", "0.55953276", "0.55363595", "0.55282843", "0.5523012", "0.55196637", "0.5516232", "0.550678", ...
0.7975561
0
/ db_delete_feed Delete a feed from the database (both feed entry and articles). Returns FALSE in case of error, or TRUE otherwise. XXX Should probably return something more interesting, like an error code.
/ db_delete_feed Удалить корм из базы данных (входные данные корма и статьи). Возвращает FALSE в случае ошибки, или TRUE в противном случае. XXX Должен, вероятно, возвращать что-то более интересное, например, код ошибки.
function db_delete_feed($feed_id) { $dbh = db_connect(); // XXX - Call any hooks to be run before the feed is deleted /* First, delete all of the articles in the feed */ $query = "DELETE FROM `items` WHERE feed_id = ?"; $stmt = $dbh->prepare($query); // XXX - Error-checking $err = $stmt->bind_param("i", $feed...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteFeed($feed) {\n\t\t$this->_initDbConnection();\n\t\t\n\t\tif (is_string($feed)) {\n\t\t\t$stm = $this->_prepareStatement('feed', 'deleteByUrl');\t\t\n\t\t\t$stm->execute(array(\n\t\t\t\t':url' => $feed\n\t\t\t));\n\t\t} else if (!empty($feed->id)) {\n\t\t\t$stm = $this->_prepareStatement('fee...
[ "0.84155524", "0.7338804", "0.6876436", "0.6491917", "0.641981", "0.64077777", "0.6190522", "0.6165266", "0.6112514", "0.61025745", "0.6099316", "0.6058969", "0.6037662", "0.6029017", "0.5963832", "0.5894731", "0.5830069", "0.5815766", "0.5815388", "0.5801279", "0.5765843", ...
0.8134551
1
/ db_update_feed_info Update the record for a feed in the 'feeds' table. $feed_id is the ID of the feed to update, and $fields is an assoc containing the fields we care about. The keys are column names. Returns the number of columns updated, or FALSE in case of error.
/ db_update_feed_info Обновляет запись о канале в таблице 'feeds'. $feed_id — это ID канала, который нужно обновить, а $fields — ассоциативный массив, содержащий поля, которые требуют обновления. Ключи — это названия колонок. Возвращает количество обновленных колонок или FALSE в случае ошибки.
function db_update_feed_info($feed_id, $fields) { $dbh = db_connect(); /* Get info about existing feed */ $old = db_get_feed($feed_id); if ($old === NULL) // No such feed return FALSE; // XXX - some fields are assumed to be HTML and should be // cleaned up before storing: // - title (127) // - subtitle (1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function db_update_feed($feed_id, $feed)\n{\n\t$dbh = db_connect();\n\n\t$feed_opts = db_get_feed_options($feed_id);\n\n\t/* Update information about the feed itself */\n\tdb_update_feed_info($feed_id, $feed);\n\n\t/* Add/replace the items in the database. */\n\tif (!isset($feed['items']) ||\n\t !is_array($feed...
[ "0.6814994", "0.62724406", "0.6105806", "0.60634357", "0.60186136", "0.5981311", "0.5979848", "0.59338534", "0.5767079", "0.5720056", "0.55803025", "0.55572236", "0.550437", "0.54933697", "0.5475623", "0.5431151", "0.5410018", "0.53657794", "0.5352962", "0.53136426", "0.52935...
0.801186
0
/ db_update_feed Update a feed. $feed_id is the ID of the feed to update, and $feed is a structure containing all the known information and articles in the feed. Returns an assoc with keys "old", "new", and "updated", giving the number of old, new, and updated items, respectively. In case of error, returns FALSE.
/ db_update_feed Обновление потока. $feed_id — это идентификатор потока, который нужно обновить, а $feed — структура, содержащая всю известную информацию и статьи в потоке. Возвращает ассоциативный массив с ключами "old", "new" и "updated", представляющими количество старых, новых и обновленных элементов соответственно...
function db_update_feed($feed_id, $feed) { $dbh = db_connect(); $feed_opts = db_get_feed_options($feed_id); /* Update information about the feed itself */ db_update_feed_info($feed_id, $feed); /* Add/replace the items in the database. */ if (!isset($feed['items']) || !is_array($feed['items']) || coun...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function update_feed($feed)\n\t{\n\t\t$feed = intval($feed);\n\n\t\tif ( ! $feed)\n\t\t\tthrow new Exception('Invalid feed id');\n\n\t\t$feed = ORM::factory('Feed', $feed);\n\n\t\tMinion_CLI::write($feed->name . ' updating...');\n\n\t\t$feeds = new Feeds();\n\t\t$feeds->register_callback(function ($msg) { ...
[ "0.77389735", "0.752745", "0.6933158", "0.66210425", "0.65896416", "0.6463568", "0.6249352", "0.61930346", "0.60374635", "0.59486765", "0.5867237", "0.5810694", "0.5786903", "0.57686836", "0.5749256", "0.5681383", "0.5675852", "0.56702703", "0.56677085", "0.56436956", "0.5610...
0.85930085
0
/ db_mark_items Mark a set of items as either read or unread. $is_read is a boolean, either true (mark items as read) or false (mark items as unread), and $items is an array of item IDs to mark. XXX Should return status. XXX Would it be better to take an array of item_id => is_read values?
/ db_mark_items Отметить набор элементов как прочитанные или непрочитанные. $is_read — это логическое значение, либо true (отметить элементы как прочитанные), либо false (отметить элементы как непрочитанные), и $items — массив идентификаторов элементов для отметки. XXX Должен возвращать статус. XXX Не лучше ли было бы ...
function db_mark_items($is_read, $items) { if (count($items) < 1) // Nothing to do return; $dbh = db_connect(); // XXX - Would it be better to use a prepared statement, and // use bind_param() repeatedly to set items' is_read-ness one // by one? // Time it and see. $query = sprintf(<<<EOT UPDATE `items` SE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function actionBulkMarkUnread() {\n\n if (Yii::$app->request->post('selection')) {\n\n $where = ['id' => Yii::$app->request->post('selection', [])];\n $this->modelViaClass::updateAll(['status_read' => $this->modelClass::STATUS_READ_NEW], $where);\n }\n }", "protected...
[ "0.6061309", "0.59479", "0.594371", "0.5934722", "0.5815669", "0.5790325", "0.57136", "0.5672059", "0.56290174", "0.56028837", "0.5565506", "0.5565506", "0.5552286", "0.5537661", "0.5530963", "0.55258775", "0.5424702", "0.5415392", "0.54062784", "0.53756803", "0.53538954", ...
0.8358273
0
/ db_feeds_in_group Given a(n integer) gid, return a list of all the feeds that are in that group, including its descendents.
/ db_feeds_in_group По заданному целому gid вернуть список всех фидов, находящихся в этом группе, включая его потомков.
function db_feeds_in_group($gid) { $groups = db_get_groups(); // XXX - For now, we don't really support nested groups well // (there's no interface for nesting groups), so just assume // a flat structure, and return the members. if (!isset($groups[$gid])) { return NULL; } $retval = $groups[$gid]['members']; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function db_get_feeds($inactive = FALSE)\n{\n\tglobal $STALE_DAYS;\n\n\t$dbh = db_connect();\n\n\t$query = sprintf(<<<EOT\nSELECT\t*,\n\tUNIX_TIMESTAMP(last_update) as unix_last_update,\n\tIF(DATEDIFF(NOW(),\n\t\t IFNULL(last_update, '1970-01-01')) > %d, 1, 0) as stale\nFROM\tfeeds\nEOT\n\t\t,\n\t\t$STALE_DAYS)...
[ "0.65188277", "0.6460529", "0.64511216", "0.6073584", "0.59942067", "0.58752453", "0.57940614", "0.56558955", "0.5587988", "0.55615884", "0.5557091", "0.55240244", "0.550823", "0.54978365", "0.54812676", "0.54670924", "0.54343283", "0.54202896", "0.53969187", "0.5367564", "0....
0.8108366
0
/ db_add_group Create a new group. Return its database entry. Default parent is 1, the root group.
/ db_add_group Создать новую группу. Вернуть её запись в базе данных. Стандартный родительский элемент — 1, корневая группа.
function db_add_group($name, $parent = -1) { $dbh = db_connect(); // Create the group $query = "INSERT INTO `groups` (parent, name) VALUES (?,?)"; $stmt = $dbh->prepare($query); $result = $stmt->bind_param("is", $parent, $name); $result = $stmt->execute(); $stmt->close(); if (!$result) { global $db_errno; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function createGroupAction() {\n\t\t$this->group->id_parent = isset($this->data['id_parent']) ? $this->data['id_parent'] : null;\n\t\t$this->group->group_name = $this->data['group_name'];\n\t\t$this->group->description = $this->data['description'];\n\t\treturn $this->group->save();\n\t}", "static function...
[ "0.7333033", "0.71155393", "0.71035343", "0.7098037", "0.6993216", "0.6892803", "0.688731", "0.6825391", "0.6755447", "0.674413", "0.6715426", "0.66496253", "0.65994626", "0.6589905", "0.649963", "0.6450131", "0.64400595", "0.6435906", "0.6424764", "0.64119023", "0.6387472", ...
0.82025546
0
/ db_update_group_info Similar to db_update_feed_info(): $gid is the ID of a group to modify. $fields is an array (hash) of field => new_value pairs.
/ db_update_group_info Похоже на db_update_feed_info(): $gid — это ID группы для изменения. $fields — это массив (хэш) пар field => new_value.
function db_update_group_info($gid, $fields) { $dbh = db_connect(); /* Get info about existing feed */ $old = db_get_group($gid); if ($old === NULL) // No such feed return FALSE; $new = $old; $updates = array(); $bind_fmt = ""; $bind_values = array(); foreach (array('parent', 'name') as $f) { if (arr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function update_field_group($field_group)\n {\n }", "public function update(array $fields)\n\t{\n\t\t// make sure a group id is set\n\t\tif (empty($this->group['id']))\n\t\t{\n\t\t\tthrow new SentryGroupException(__('sentry::sentry.no_group_selected'));\n\t\t}\n\n\t\t// init the update array\n\t\t$u...
[ "0.7035848", "0.6814215", "0.6406214", "0.6326654", "0.6323059", "0.6211785", "0.6112797", "0.6062063", "0.6030178", "0.60196424", "0.59900963", "0.59756416", "0.59624505", "0.5940567", "0.59146994", "0.58836734", "0.58708286", "0.5866939", "0.58225334", "0.5808281", "0.57730...
0.82659125
0
/ db_group_add_member Add a new member to a group. $member can be positive (a feed ID) or negative (a group ID). XXX Actually, for now, we want the new member to be positive (a feed).
/ db_group_add_member Добавить нового члена в группу. $member может быть положительным (идентификатором фида) или отрицательным (идентификатором группы). XXX На самом деле, в настоящее время мы хотим, чтобы новый член был положительным (фидом).
function db_group_add_member($group, $member) { if ($group == -1) // Silently succeed. Everything is part of -1. return TRUE; $dbh = db_connect(); $query = "INSERT INTO `group_members` (member, parent) VALUES (?,?)"; $stmt = $dbh->prepare($query); $result = $stmt->bind_param("ii", $member, $group); $result ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function guildMemberAdd(GuildMember $member);", "public function group_add_member( $args, $assoc_args ) {\n\t\t$r = wp_parse_args( $assoc_args, array(\n\t\t\t'group-id' => null,\n\t\t\t'user-id' => null,\n\t\t\t'role' => 'member',\n\t\t) );\n\n\t\t// Convert --group_id to group ID\n\t\t// @todo this'll be screwe...
[ "0.71786904", "0.71368515", "0.71260214", "0.67704207", "0.6744952", "0.6735504", "0.66465414", "0.6517483", "0.6492306", "0.64536256", "0.6385703", "0.63480985", "0.63372576", "0.6325053", "0.6271564", "0.6215303", "0.6211771", "0.61547947", "0.61410517", "0.60919285", "0.60...
0.79522264
0
/ db_group_remove_member Delete $member from group $gid. Returns TRUE if successful. Otherwise, returns NULL and sets $db_errno and $db_errmsg.
/ db_group_remove_member Удаляет $member из группы $gid. Возвращает TRUE при успешном выполнении. В противном случае возвращает NULL и устанавливает $db_errno и $db_errmsg.
function db_group_remove_member($gid, $member) { $dbh = db_connect(); $query = sprintf("DELETE FROM `group_members` where member=%d and parent=%d", $member, $gid); $result = $dbh->query($query); if (!$result) { global $db_errno; $db_errno = $dbh->errno; global $db_errmsg; $db_errmsg = $dbh->error; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function OP_removeMember ($es_id, $member_id)\n\t{\n\t\t$op = array (\n\t\t\t'optype' => 'RemoveMember',\n\t\t\t'memberid' => (string) $member_id,\n\t\t\t'timestamp' => self::getTimeStamp()\n\t\t);\n\t\treturn $this->OP_add2Db($op, $es_id)?true:false;\n\t}", "function guildMemberRemove(GuildMember $member);", ...
[ "0.6986197", "0.6297067", "0.6242875", "0.6176342", "0.61720055", "0.595862", "0.5939479", "0.59043413", "0.5857205", "0.58447754", "0.58157486", "0.5799575", "0.5741312", "0.5675487", "0.56199783", "0.5601251", "0.559207", "0.55811733", "0.5576165", "0.5541627", "0.5540059",...
0.8386489
0
1) add player to the list of team members
1) добавить игрока в список членов команды
function addPlayer ($player) { $this->members = array_push($this->members,$player); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function addPlayer(Player $player) {\n $this->players[] = $player;\n }", "public function addTeamPlayed(&$team){\n array_push($this->teamsPlayed, $team);\n $this->numOfOpponents++;\n }", "abstract protected function putPlayersInDuel(): void;", "function addPlayer()\n\t{\n\t\t$uid = $_SESSIO...
[ "0.6747361", "0.6694974", "0.66586375", "0.6504293", "0.647288", "0.643594", "0.6350118", "0.6275744", "0.60907537", "0.60700125", "0.5990001", "0.59389395", "0.59386134", "0.5875664", "0.58647996", "0.5858573", "0.5856854", "0.5855814", "0.58398795", "0.58387375", "0.5833035...
0.8097696
0
Checkbox sanitization callback. Sanitization callback for 'checkbox' type controls. This callback sanitizes `$checked` as a boolean value, either TRUE or FALSE.
Функция обратного вызова для очистки значения чекбокса. Функция обратного вызова для элементов управления типа 'checkbox'. Эта функция очищает значение `$checked` как значение логического типа, то есть TRUE или FALSE.
function fastshop_sanitize_checkbox( $checked ) { return (bool) $checked; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function influencer_sanitize_checkbox( $checked ){\r\n // Boolean check.\r\n return ( ( isset( $checked ) && true == $checked ) ? true : false );\r\n}", "function themeslug_sanitize_checkbox( $checked ) {\r\n // Boolean check.\r\n return ( ( isset( $checked ) && true == $checked ) ? true : false );\r...
[ "0.82508355", "0.7684473", "0.68492186", "0.67999566", "0.638274", "0.63167924", "0.62435895", "0.6030692", "0.595566", "0.5877473", "0.58745825", "0.5863358", "0.586139", "0.58511573", "0.58483577", "0.5838701", "0.57611823", "0.5720432", "0.5665575", "0.56588966", "0.564188...
0.8143649
1
Get the content background color Accounts for the Fast shop Designer's content background option.
Получите цвет фона содержимого учетной записи для параметра фона содержимого в Fast shop Designer.
function fastshop_get_content_background_color() { // Set the bg color var based on whether the Fast shop designer has set a content bg color or not. $content_bg_color = fastshop_sanitize_hex_color( get_theme_mod( 'sd_content_background_color' ) ); $content_frame = get_theme_mod( 'sd_fixed_width' ); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function get_background_color()\n {\n }", "public function getBackgroundColor() {}", "public function getBackgroundColor() {}", "public function getBackgroundColor() {}", "public function getBackgroundColor() {\n\t\treturn $this->background_color;\n\t}", "function pl_bg_color(){\n\t\n\tif( pl_check...
[ "0.70254475", "0.69973165", "0.699618", "0.699618", "0.6782205", "0.66545844", "0.66256744", "0.66021687", "0.6572573", "0.6533494", "0.6528644", "0.650151", "0.650151", "0.64933956", "0.6493204", "0.6361321", "0.6345603", "0.6301156", "0.6301156", "0.6273876", "0.62387085", ...
0.82239056
0
string FMWarning(string message) displays warnings messages.
string FMWarning(string message) отображает сообщения о предупреждениях.
function FMWarning($message) { $trace = ""; foreach ($this->FMDebug as $level) { $trace .= " > " . $level; } error_log ("freemoviecompiler warning: $trace --> $message"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function warning($message);", "public function warning($message) {}", "function display_warning_message($message)\r\n {\r\n Display :: warning_message($message);\r\n }", "public function warning(string $text);", "static public function warning($string)\n {\n return new PMA_Message($s...
[ "0.7632834", "0.74847984", "0.7384621", "0.71459967", "0.70727116", "0.7017316", "0.6924566", "0.68701375", "0.6862596", "0.6850394", "0.6844558", "0.682769", "0.6812575", "0.68119264", "0.678198", "0.67233235", "0.67090976", "0.66316336", "0.66175246", "0.65656525", "0.65629...
0.80632114
0
// // Basic types // // // string packUI8(integer number) converts the given 8bit unsigned integer number into an SWF UI8 atom.
// // Основные типы // // // string packUI8(integer number) преобразует заданный 8битный беззнаковый целочисленный номер в атом SWF UI8.
function packUI8($number) { array_push($this->FMDebug, "packUI8"); if (!(is_numeric($number))) { $this->FMError("packUI8 argument $number not a number"); } $number = (int) $number; $lower_limit = 0; $upper_limit = 255; if ($number < $lower_limit) { $number = $lower_limit; } if ($number >...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSI8($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packSI8\");\n\n\t\tif (!(is_numeric($number))) {\n\n\t\t\t$this->FMError(\"packSI8 argument not a number\");\n\t\t}\n\n\t\t$number = (int) $number;\n\n\t\t$lower_limit = -127;\n\t\t$upper_limit = 127;\n\n\t\tif ($number < $lower_limit) {\n\n\t\t\t$nu...
[ "0.73027754", "0.668872", "0.668767", "0.66292155", "0.6162595", "0.61515564", "0.5880507", "0.57217574", "0.56901914", "0.568086", "0.5564332", "0.5445998", "0.5425273", "0.54229057", "0.53691953", "0.533569", "0.5325789", "0.52975625", "0.5279884", "0.52704346", "0.5251274"...
0.8236538
0
string packUI16(integer number) converts the given 16bit unsigned integer into an SWF UI16 atom.
string packUI16(integer number) преобразует заданный 16битное беззнаковое целое число в SWF-атом UI16.
function packUI16($number) { array_push($this->FMDebug, "packUI16"); if (!(is_numeric($number))) { $this->FMError("packUI16 argument not a number"); } $number = (int) $number; $lower_limit = 0; $upper_limit = 65535; if ($number < $lower_limit) { $number = $lower_li...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSI16($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packSI16\");\n\n\t\tif (!(is_numeric($number))) {\n\n\t\t\t$this->FMError(\"packSI16 argument not a number\");\n\t\t}\n\n\t\t$number = (int) $number;\n\n\t\t$lower_limit = -32767;\n\t\t$upper_limit = 32767;\n\n\t\tif ($number < $lower_limit) {\n\n\t...
[ "0.75090146", "0.68924636", "0.63067824", "0.625721", "0.6145386", "0.6050858", "0.6014151", "0.5984017", "0.5948436", "0.5838528", "0.57271135", "0.5697654", "0.5628652", "0.55853033", "0.5548654", "0.5531069", "0.54685897", "0.54600495", "0.544718", "0.53544295", "0.5326379...
0.83668506
0
string packUI32(integer number) converts the given unsigned integer into an SWF UI32 atom and returns it.
Функция string packUI32(integer number) преобразует заданный беззнаковый целый числовой тип в атом SWF UI32 и возвращает его.
function packUI32($number) { array_push($this->FMDebug, "packUI32"); if (!(is_integer($number))) { $this->FMError("packUI32 argument not an integer"); } $lower_limit = 0; $upper_limit = 2147483647; # the real limit is 4294967295 # but PHP 4 cannot handle such ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSI32($number)\n\t{\t\n\t\tarray_push($this->FMDebug, \"packSI32\");\n\n\t if (!(is_numeric($number))) {\n\n \t $this->FMError(\"packUI32 argument not a number\");\n \t}\n\t\t$lower_limit = -2147483647;\n\t\t$upper_limit = 2147483647;\n\n\t\tif ($number < $lower_limit) {\n\n...
[ "0.77007264", "0.6825383", "0.64200175", "0.5882496", "0.5851778", "0.5779244", "0.57064414", "0.56579167", "0.5598058", "0.5578281", "0.5555086", "0.5542226", "0.55076927", "0.54751426", "0.54468936", "0.53709316", "0.53355104", "0.5314708", "0.53113663", "0.52575433", "0.52...
0.83164203
0
string packSI8(integer number) converts the given 8bit signed integer into an SWF SI8 atom.
string packSI8(integer number) преобразует заданный 8-битный знаковый целый число в атом SWF SI8.
function packSI8($number) { array_push($this->FMDebug, "packSI8"); if (!(is_numeric($number))) { $this->FMError("packSI8 argument not a number"); } $number = (int) $number; $lower_limit = -127; $upper_limit = 127; if ($number < $lower_limit) { $number = $lower_limit; } if ($number > $upp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packUI8($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packUI8\");\n\n\t\tif (!(is_numeric($number))) {\n\n\t\t\t$this->FMError(\"packUI8 argument $number not a number\");\n\t\t}\n\n\t\t$number = (int) $number;\n\n\t\t$lower_limit = 0;\n\t\t$upper_limit = 255;\n\n\t\tif ($number < $lower_limit) {\n\n\t\t...
[ "0.7156119", "0.6988512", "0.6857115", "0.6778014", "0.6296224", "0.6221051", "0.5903362", "0.58918166", "0.57889026", "0.57490426", "0.5718275", "0.5711889", "0.5590074", "0.55517876", "0.55470234", "0.54804546", "0.53730446", "0.5344077", "0.5304785", "0.5291882", "0.521387...
0.8393893
0
string packSI16(integer number) converts the given 16bit signed integer into an SWF SI16 atom.
string packSI16(integer number) преобразует заданный 16-битный знаковый целый числ в атом SWF SI16.
function packSI16($number) { array_push($this->FMDebug, "packSI16"); if (!(is_numeric($number))) { $this->FMError("packSI16 argument not a number"); } $number = (int) $number; $lower_limit = -32767; $upper_limit = 32767; if ($number < $lower_limit) { $number = $lower_limit; } if ($number...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packUI16($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packUI16\");\n\n \tif (!(is_numeric($number))) {\n\n \t$this->FMError(\"packUI16 argument not a number\");\n \t}\n\n\t\t$number = (int) $number;\n\n\t\t$lower_limit = 0;\n\t\t$upper_limit = 65535;\n\n\t\tif ($number < $l...
[ "0.7311523", "0.6836899", "0.64777666", "0.6352272", "0.62589175", "0.6019257", "0.59735477", "0.5832386", "0.58107406", "0.5800375", "0.57452565", "0.57412696", "0.5725539", "0.5533214", "0.55128634", "0.5507564", "0.54411995", "0.54395866", "0.54317635", "0.5419874", "0.541...
0.85589355
0
string packSI32(integer number) converts the given 32bit signed integer into an SWF SI32 atom.
string packSI32(integer number) преобразует заданный 32-битный знаковый целый числ в атом SWF SI32.
function packSI32($number) { array_push($this->FMDebug, "packSI32"); if (!(is_numeric($number))) { $this->FMError("packUI32 argument not a number"); } $lower_limit = -2147483647; $upper_limit = 2147483647; if ($number < $lower_limit) { $number = $lower_limit; } i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packUI32($number)\n\t{\t\n\t\tarray_push($this->FMDebug, \"packUI32\");\n\n\t if (!(is_integer($number))) {\n\n \t $this->FMError(\"packUI32 argument not an integer\");\n \t}\n\n\t\t$lower_limit = 0;\n\t\t$upper_limit = 2147483647; \t# the real limit is 4294967295\n\t\t\t\t\t\...
[ "0.70710176", "0.68187785", "0.62545484", "0.5929963", "0.5913817", "0.5870581", "0.57838255", "0.5756805", "0.56600296", "0.56382406", "0.5554322", "0.5540389", "0.5507616", "0.5463177", "0.5441967", "0.54022527", "0.53845555", "0.53119516", "0.5294948", "0.52664095", "0.525...
0.8553054
0
string packFIXED8(float number) converts the given signed floatingpoint number into an SWF FIXED 8.8 atom.
string packFIXED8(float number) преобразует заданный знаковый числа с плавающей точкой в атом SWF FIXED 8.8.
function packFIXED8($number) { array_push($this->FMDebug, "packFIXED8"); $lower_limit_high_byte = -127; $upper_limit_high_byte = 127; $lower_limit_low_byte = 0; $upper_limit_low_byte = 99; if (!(is_numeric($number))) { $this->FMError("packFIXED8 argument not a number"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSI8($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packSI8\");\n\n\t\tif (!(is_numeric($number))) {\n\n\t\t\t$this->FMError(\"packSI8 argument not a number\");\n\t\t}\n\n\t\t$number = (int) $number;\n\n\t\t$lower_limit = -127;\n\t\t$upper_limit = 127;\n\n\t\tif ($number < $lower_limit) {\n\n\t\t\t$nu...
[ "0.67326564", "0.6411789", "0.61985075", "0.6087186", "0.5951055", "0.5747967", "0.553411", "0.55337125", "0.5501005", "0.5442006", "0.5328634", "0.5293013", "0.5290729", "0.52799904", "0.5260869", "0.52506495", "0.52092546", "0.52057785", "0.52057785", "0.52057785", "0.51231...
0.78312045
0
string packFIXED16(float number) converts the given signed floatingpoint number into an SWF FIXED 16.16 atom.
string packFIXED16(float number) преобразует заданный знаковый числа с плавающей точкой в атом SWF FIXED 16.16.
function packFIXED16($number) { array_push($this->FMDebug, "packFIXED16"); $lower_limit_high_word = -32767; $upper_limit_high_word = 32767; $lower_limit_low_word = 0; $upper_limit_low_word = 9999; if (!(is_numeric($number))) { $this->FMError("packFIXED16 argument not a number"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSI16($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packSI16\");\n\n\t\tif (!(is_numeric($number))) {\n\n\t\t\t$this->FMError(\"packSI16 argument not a number\");\n\t\t}\n\n\t\t$number = (int) $number;\n\n\t\t$lower_limit = -32767;\n\t\t$upper_limit = 32767;\n\n\t\tif ($number < $lower_limit) {\n\n\t...
[ "0.6995033", "0.6458245", "0.57261145", "0.5593538", "0.5336306", "0.52331245", "0.5233024", "0.51498574", "0.50935906", "0.5059399", "0.504357", "0.50319475", "0.49334785", "0.49002144", "0.48982617", "0.48454872", "0.4809655", "0.47553688", "0.47522", "0.47485152", "0.47272...
0.8071829
0
string packUBchunk(integer number) converts the given 31bit unsigned integer number into an SWF UB atom.
Функция packUBchunk(integer number) преобразует заданный 31-битный беззнаковый целочисленный аргумент number в атом SWF UB.
function packUBchunk($number) { array_push($this->FMDebug, "packUBchunk"); $lower_limit = 0; $upper_limit = 2147483647; if (!(is_numeric($number))) { $this->FMError("packUBchunk argument not a number"); } if ($number < $lower_limit) { $number = $lower_limit; } if ($number > $upper_limit) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSBchunk($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packSBchunk\");\n\n\t\tif (!(is_numeric($number))) {\n\n\t\t\t$this->FMError(\"packSBchunk argument not a number\");\n\t\t}\n\n\t\t$number = (int) $number;\n\n\t\t$lower_limit = -1073741823;\n\t\t$upper_limit = 1073741823;\n\n\t\tif ($number < $l...
[ "0.70770717", "0.6593358", "0.62725216", "0.60242236", "0.5865199", "0.5670628", "0.56308746", "0.53794986", "0.5183473", "0.51237535", "0.5087013", "0.50602037", "0.49330214", "0.49280718", "0.4921981", "0.4777036", "0.46793237", "0.46579564", "0.4640545", "0.4640545", "0.46...
0.8230983
0
string packSBchunk(integer number) converts the given 31bit signed integer number into an SWF SB atom.
string packSBchunk(integer number) преобразует заданный 31-битное знаковое целое число в SWF SB атом.
function packSBchunk($number) { array_push($this->FMDebug, "packSBchunk"); if (!(is_numeric($number))) { $this->FMError("packSBchunk argument not a number"); } $number = (int) $number; $lower_limit = -1073741823; $upper_limit = 1073741823; if ($number < $lower_limit) { $number = $lower_limit;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packUBchunk($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packUBchunk\");\n\n\t\t$lower_limit = 0;\n\t\t$upper_limit = 2147483647;\n\n\t\tif (!(is_numeric($number))) {\n\n\t\t\t$this->FMError(\"packUBchunk argument not a number\");\n\t\t}\n\n\t\tif ($number < $lower_limit) {\n\n\t\t\t$number = $lower_li...
[ "0.7550703", "0.7076738", "0.68079543", "0.6384921", "0.6205179", "0.60553926", "0.5911258", "0.58995354", "0.56933516", "0.5692255", "0.55950946", "0.55783236", "0.5376508", "0.53754574", "0.53754574", "0.53754574", "0.53683484", "0.5222619", "0.51564884", "0.51295435", "0.5...
0.8451586
0
string packFBchunk(float number) converts the given signed floatingpoint number into an SWF FB atom.
Функция string packFBchunk(float number) преобразует заданный знаковый числа с плавающей точкой в SWF FB атом.
function packFBchunk($number) { array_push($this->FMDebug, "packFBchunk"); $lower_limit_high_word = -16383; $upper_limit_high_word = 16383; $lower_limit_low_word = 0; $upper_limit_low_word = 9999; if (!(is_numeric($number))) { $this->FMError("packFBchunk argument not a number"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSBchunk($number)\n\t{\n\t\tarray_push($this->FMDebug, \"packSBchunk\");\n\n\t\tif (!(is_numeric($number))) {\n\n\t\t\t$this->FMError(\"packSBchunk argument not a number\");\n\t\t}\n\n\t\t$number = (int) $number;\n\n\t\t$lower_limit = -1073741823;\n\t\t$upper_limit = 1073741823;\n\n\t\tif ($number < $l...
[ "0.663635", "0.65421677", "0.5564131", "0.5553282", "0.52160203", "0.5149728", "0.5018454", "0.4991707", "0.4960379", "0.4960379", "0.4960379", "0.4957555", "0.4929823", "0.4925302", "0.48801333", "0.48610884", "0.4852673", "0.4851211", "0.48110652", "0.47622344", "0.4759504"...
0.73566335
0
string packnBits(integer number, integer n) converts the given unsigned integer number (the length of the largest bit field) into an SWF n bits long nBits atom.
Функция packnBits(integer number, integer n) преобразует заданный беззнаковый целый число (длину самого большого поля битов) в атом n битов SWF.
function packnBits($number, $n) { array_push($this->FMDebug, "packnBits"); if (!(is_numeric($number))) { #error_log("nBits number: $number"); $this->FMError("packnBits argument (number) not a number"); } $number = (int) $number; $lower_limit = 0; $upper_limit = 32; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packUI32($number)\n\t{\t\n\t\tarray_push($this->FMDebug, \"packUI32\");\n\n\t if (!(is_integer($number))) {\n\n \t $this->FMError(\"packUI32 argument not an integer\");\n \t}\n\n\t\t$lower_limit = 0;\n\t\t$upper_limit = 2147483647; \t# the real limit is 4294967295\n\t\t\t\t\t\...
[ "0.5885761", "0.5774764", "0.57318264", "0.5704442", "0.552058", "0.5489589", "0.54482836", "0.5427916", "0.5427124", "0.5390891", "0.52813727", "0.5269707", "0.5197172", "0.51616627", "0.5138883", "0.5118182", "0.50960344", "0.50392574", "0.5022622", "0.4967014", "0.49598134...
0.86434275
0
string packBitValues(string atoms) converts the given string of SWF bit values (atoms) into a bytealigned stream.
Функция string packBitValues(string atoms) преобразует заданный строковый аргумент SWF bit values (atoms) в поток с выравниванием по байту.
function packBitValues($atoms) { array_push($this->FMDebug, "packBitsValues"); if (!(is_string($atoms))) { $this->FMError("packBitValues argument not a string"); } $atoms = $atoms . str_repeat("0", (int) ((ceil(strlen($atoms) / 8)) * 8 - strlen($atoms))); $limit = ceil(strlen($atoms) / 8); $bytestr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function xlsBOF() {\r\n return pack(\"ssssss\", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0); \r\n \r\n}", "function xlsBOF() \n{\necho pack(\"ssssss\", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0);\nreturn;\n}", "function packstr( &$out )\n{\n $args = func_num_args();\n for ( $i = 1; $i < $args; $i++ )\n {\n $...
[ "0.5493488", "0.53938377", "0.53446263", "0.5320433", "0.5320433", "0.5320433", "0.5316941", "0.5142852", "0.5058767", "0.5020219", "0.48972964", "0.48881283", "0.48350528", "0.48101637", "0.4808326", "0.4804111", "0.47964606", "0.478104", "0.4657796", "0.46249056", "0.460504...
0.83268684
0
string packSTRING(string text) converts the given text string into an SWF STRING atom.
string packSTRING(string text) преобразует заданный текстовый строковый литерал в атом SWF STRING.
function packSTRING($text) { array_push($this->FMDebug, "packSTRING"); if (!(is_string($text))) { $this->FMError("packSTRING argument not a string"); } $atom = strtr($text, chr(0), "") . chr(0); array_pop($this->FMDebug); return $atom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packstr( &$out )\n{\n $args = func_num_args();\n for ( $i = 1; $i < $args; $i++ )\n {\n $str = func_get_arg( $i ); \n $out .= pack( 'Ca*', strlen( $str ), $str );\n }\n}", "public function putString($string, $dynamic = true)\n {\n // appends string length if requires\...
[ "0.522399", "0.51513124", "0.51432884", "0.50322723", "0.50104105", "0.49826735", "0.49735427", "0.49654144", "0.49654144", "0.48993614", "0.48892844", "0.48859438", "0.48802847", "0.48650703", "0.48247328", "0.48176405", "0.47901568", "0.47835737", "0.47835344", "0.47402084", ...
0.8187188
0
string packRECT(integer Xmin, integer Xmax, integer Ymin, integer Ymax) returns an SWF RECT bit value (atom) string.
string packRECT(integer Xmin, integer Xmax, integer Ymin, integer Ymax) возвращает значение SWF RECT в виде битового значения (атома) string.
function packRECT($Xmin, $Xmax, $Ymin, $Ymax) { array_push($this->FMDebug, "packRECT"); if (!(($Xmin == 0) and ($Xmax == 0) and ($Ymin == 0) and ($Ymax == 0))) { $Xmin = $this->packSBchunk($Xmin); $Xmax = $this->packSBchunk($Xmax); $Ymin = $this->packSBchunk($Ymin); $Ymax = $this->packSBchunk($Ymax...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getRect() {}", "public function rect($x1, $y1, $width, $height, $style = self::STYLE_DRAW) {}", "public function getRectangle() {}", "public function getBBox($asRect = true) {}", "function rectangle($x1, $y1, $x2, $y2)\r\n {\r\n $resp = \"\";\r\n $resp .= $this->for...
[ "0.57791054", "0.53096384", "0.5308607", "0.51663464", "0.50992197", "0.50085294", "0.49951544", "0.49309316", "0.49129072", "0.49086183", "0.48994306", "0.488942", "0.48034692", "0.4786136", "0.47583207", "0.4739426", "0.46155405", "0.45669386", "0.4544448", "0.45359993", "0...
0.8047116
0
string packRGB(integer R, integer G, integer B) returns an SWF RGB atom string.
string packRGB(integer R, integer G, integer B) возвращает строку SWF RGB-атома.
function packRGB($R, $G, $B) { array_push($this->FMDebug, "packRGB"); $atom = $this->packUI8($R); $atom .= $this->packUI8($G); $atom .= $this->packUI8($B); array_pop($this->FMDebug); return $atom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packRGBA($R, $G, $B, $A)\n\t{\n\t\tarray_push($this->FMDebug, \"packRGBA\");\n\n\t\t$atom = $this->packUI8($R);\n\t\t$atom .= $this->packUI8($G);\n\t\t$atom .= $this->packUI8($B);\n\t\t$atom .= $this->packUI8($A);\n\n\t\tarray_pop($this->FMDebug);\n\n\t\treturn $atom;\n\t}", "function stringrgb($arr){\...
[ "0.6809387", "0.66178674", "0.63858926", "0.6253658", "0.62318885", "0.6223213", "0.61872345", "0.6167783", "0.6072258", "0.5896541", "0.5843754", "0.58372474", "0.5613304", "0.55443496", "0.5536719", "0.5431299", "0.5412004", "0.539117", "0.53475714", "0.5222901", "0.5146141...
0.82715243
0
string packRGBA(integer R, integer G, integer B, integer A) returns an SWF RGBA atom string.
string packRGBA(integer R, integer G, integer B, integer A) возвращает строку SWF RGBA-атома.
function packRGBA($R, $G, $B, $A) { array_push($this->FMDebug, "packRGBA"); $atom = $this->packUI8($R); $atom .= $this->packUI8($G); $atom .= $this->packUI8($B); $atom .= $this->packUI8($A); array_pop($this->FMDebug); return $atom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packRGB($R, $G, $B)\n\t{\n\t\tarray_push($this->FMDebug, \"packRGB\");\n\n\t\t$atom = $this->packUI8($R);\n\t\t$atom .= $this->packUI8($G);\n\t\t$atom .= $this->packUI8($B);\n\n\t\tarray_pop($this->FMDebug);\n\n\t\treturn $atom;\n\t}", "function packGRADRECORD($Ratio, $R, $G, $B, $AlphaFlag, $A)\n\t{\n...
[ "0.71228063", "0.6505872", "0.625929", "0.61208004", "0.61115587", "0.6040388", "0.5877591", "0.58114743", "0.5768534", "0.5740145", "0.5719021", "0.55575347", "0.54868335", "0.544735", "0.54376286", "0.5426778", "0.54098505", "0.53434175", "0.53330547", "0.52981025", "0.5272...
0.83538127
0
string packMATRIX(boolean HasScale, float ScaleX, float ScaleY,boolean HasRotate, float RotateSkew0, float RotateSkew1, integer TranslateX, integer TranslateY) returns an SWF MATRIX atom string.
string packMATRIX(boolean HasScale, float ScaleX, float ScaleY,boolean HasRotate, float RotateSkew0, float RotateSkew1, integer TranslateX, integer TranslateY) возвращает строку атома SWF MATRIX.
function packMATRIX($HasScale, $ScaleX, $ScaleY, $HasRotate, $RotateSkew0, $RotateSkew1, $TranslateX, $TranslateY) { array_push($this->FMDebug, "packMATRIX"); $atom = ""; if ($HasScale) { $ScaleX = $this->packFBchunk($ScaleX); $ScaleY = $this->packFBchunk($ScaleY); $nScaleBits = (int) max(strlen($Sc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function store_product_matrix( $args = null ){\n\t\t$matrix = store_get_product_matrix($args);\n\n\t\t// Set output to be full script tag\n\t\t$output = '<script type=\"text/javascript\">\n\t\t/* <![CDATA[ */\n\t\tstoreAPI.matrix.data[' . $matrix['id'] . '] = ' . json_encode( $matrix ) . ';\n\t\t/* ]]> */\n\t\t</s...
[ "0.55219305", "0.53764206", "0.51711553", "0.49365306", "0.4683214", "0.46577725", "0.46372634", "0.45059124", "0.44873473", "0.44660345", "0.4456446", "0.44196334", "0.4413233", "0.4383588", "0.43652472", "0.4364406", "0.4364406", "0.43613276", "0.43456453", "0.43348673", "0...
0.79635066
0
string packCXFORM(boolean HasAddTerms, integer RedAddTerm, integer GreenAddTerm, integer BlueAddTerm, boolean HasMultTerms, integer RedMultTerm, integer GreenMultTerm, integer BlueMultTerm) returns an SWF CXFORM atom string.
string packCXFORM(boolean HasAddTerms, integer RedAddTerm, integer GreenAddTerm, integer BlueAddTerm, boolean HasMultTerms, integer RedMultTerm, integer GreenMultTerm, integer BlueMultTerm) возвращает строку SWF CXFORM-атома.
function packCXFORM($HasAddTerms, $RedAddTerm, $GreenAddTerm, $BlueAddTerm, $HasMultTerms, $RedMultTerm, $GreenMultTerm, $BlueMultTerm) { array_push($this->FMDebug, "packCXFORM"); if ($HasAddTerms) { $RedAddTerm = $this->packSBchunk($RedAddTerm); $GreenAddTerm = $this->packSBchunk($GreenAddTerm); $BlueA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packCXFORMWITHALPHA($HasAddTerms, $RedAddTerm, $GreenAddTerm, $BlueAddTerm, $AlphaAddTerm, $HasMultTerms, $RedMultTerm, $GreenMultTerm, $BlueMultTerm, $AlphaMultTerm)\n\t{\n\t\tarray_push($this->FMDebug, \"packCXFORMWITHALPHA\");\n\n\t\tif ($HasAddTerms) {\n\n\t\t\t$RedAddTerm = $this->packSBchunk($RedAdd...
[ "0.7792559", "0.5297224", "0.50137186", "0.46945417", "0.46664774", "0.46567962", "0.46560583", "0.46555126", "0.4640202", "0.46049318", "0.45996198", "0.45888087", "0.45336267", "0.45033967", "0.4493177", "0.44893822", "0.44852194", "0.4459767", "0.44463316", "0.44049907", "...
0.85744715
0
string packCXFORMWITHALPHA(boolean HasAddTerms, integer RedAddTerm, integer GreenAddTerm, integer BlueAddTerm, integer AlphaAddTerm, boolean HasMultTerms, integer RedMultTerm, integer GreenMultTerm, integer BlueMultTerm, integer AlphaMultTerm) returns an SWF CXFORMWITHALPHA atom string.
string packCXFORMWITHALPHA(boolean HasAddTerms, integer RedAddTerm, integer GreenAddTerm, integer BlueAddTerm, integer AlphaAddTerm, boolean HasMultTerms, integer RedMultTerm, integer GreenMultTerm, integer BlueMultTerm, integer AlphaMultTerm) возвращает строку атома SWF CXFORMWITHALPHA.
function packCXFORMWITHALPHA($HasAddTerms, $RedAddTerm, $GreenAddTerm, $BlueAddTerm, $AlphaAddTerm, $HasMultTerms, $RedMultTerm, $GreenMultTerm, $BlueMultTerm, $AlphaMultTerm) { array_push($this->FMDebug, "packCXFORMWITHALPHA"); if ($HasAddTerms) { $RedAddTerm = $this->packSBchunk($RedAddTerm); $GreenAddTe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packCXFORM($HasAddTerms, $RedAddTerm, $GreenAddTerm, $BlueAddTerm, $HasMultTerms, $RedMultTerm, $GreenMultTerm, $BlueMultTerm)\n\t{\n\t\tarray_push($this->FMDebug, \"packCXFORM\");\n\n\t\tif ($HasAddTerms) {\n\n\t\t\t$RedAddTerm = $this->packSBchunk($RedAddTerm);\n\t\t\t$GreenAddTerm = $this->packSBchunk(...
[ "0.7611623", "0.4752848", "0.45876986", "0.4581715", "0.45489585", "0.45030707", "0.44790882", "0.44581077", "0.44271913", "0.4424195", "0.44073224", "0.4394092", "0.43929133", "0.4373154", "0.4371239", "0.43618944", "0.43591142", "0.43537766", "0.43537766", "0.43537766", "0....
0.8745822
0
// // Compound data types // // // string packZLIBBITMAPDATA(string ColorTableRGB, string BitmapPixelData) returns an SWF ZLIBBITMAPDATA string.
// // Сложные типы данных // // // строка packZLIBBITMAPDATA(строка ColorTableRGB, строка BitmapPixelData) возвращает строку SWF ZLIBBITMAPDATA.
function packZLIBBITMAPDATA($ColorTableRGB, $BitmapPixelData) { array_push($this->FMDebug, "packZLIBBITMAPDATA"); $atom = $ColorTableRGB . $BitmapPixelData; array_pop($this->FMDebug); return $atom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packZLIBBITMAPDATA2($ColorTableRGBA, $BitmapPixelData)\n\t{\n\t\tarray_push($this->FMDebug, \"packZLIBBITMAPDATA2\");\n\n\t\t$atom = $ColorTableRGBA . $BitmapPixelData;\n\n\t\tarray_pop($this->FMDebug);\n\n\t\treturn $atom;\n\t}", "function packDefineBitsLosslessTag($BitmapID, $BitmapFormat, $BitmapWidt...
[ "0.7680287", "0.61073524", "0.609357", "0.6044502", "0.58287084", "0.5696682", "0.56885993", "0.530152", "0.5264529", "0.5205254", "0.51832974", "0.517483", "0.5144551", "0.5140277", "0.5140277", "0.5140277", "0.5098841", "0.5083123", "0.507336", "0.50733316", "0.4983174", ...
0.81324923
0
string packZLIBBITMAPDATA2( string ColorTableRGBA, string BitmapPixelData) returns an SWF ZLIBBITMAPDATA2 string.
string packZLIBBITMAPDATA2( string ColorTableRGBA, string BitmapPixelData) возвращает строку SWF ZLIBBITMAPDATA2.
function packZLIBBITMAPDATA2($ColorTableRGBA, $BitmapPixelData) { array_push($this->FMDebug, "packZLIBBITMAPDATA2"); $atom = $ColorTableRGBA . $BitmapPixelData; array_pop($this->FMDebug); return $atom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packZLIBBITMAPDATA($ColorTableRGB, $BitmapPixelData)\n\t{\n\t\tarray_push($this->FMDebug, \"packZLIBBITMAPDATA\");\n\n\t\t$atom = $ColorTableRGB . $BitmapPixelData;\n\n\t\tarray_pop($this->FMDebug);\n\n\t\treturn $atom;\n\t}", "function packDefineBitsLossless2Tag($BitmapID, $BitmapFormat, $BitmapWidth, ...
[ "0.7547967", "0.6553669", "0.5730698", "0.56731284", "0.56338185", "0.5439804", "0.54095966", "0.5052822", "0.504998", "0.5014762", "0.5003144", "0.4992375", "0.47835088", "0.47505832", "0.4716648", "0.46927845", "0.46459442", "0.45855194", "0.45827988", "0.45445365", "0.4540...
0.85497624
0
string packGRADRECORD(string ShapeTag, integer Ratio, integer R, integer G, integer B, boolean AlphaFlag, integer A) returns an SWF GRADRECORD string.
string packGRADRECORD(string ShapeTag, integer Ratio, integer R, integer G, integer B, boolean AlphaFlag, integer A) возвращает строку SWF GRADRECORD.
function packGRADRECORD($Ratio, $R, $G, $B, $AlphaFlag, $A) { array_push($this->FMDebug, "packGRADRECORD"); if ($AlphaFlag) { $atom = $this->packUI8((int)$Ratio) . $this->packRGBA((int)$R, (int)$G, (int)$B, (int)$A); } else { $atom = $this->packUI8((int)$Ratio) . $this->packRGB((int)$R, (int)$G, (int)$B);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packGRADIENT($GradientRecords, $AlphaFlag)\n\t{\n\t\tarray_push($this->FMDebug, \"packGRADIENT\");\n\n\t\tif ($AlphaFlag) {\n\t\t\t$atom = $this->packUI8((int)strlen($GradientRecords) / 5) . $GradientRecords;\n\t\t} else {\n\t\t\t$atom = $this->packUI8((int)strlen($GradientRecords) / 4) . $GradientRecord...
[ "0.6697453", "0.55117744", "0.54920924", "0.5308683", "0.5234073", "0.515901", "0.51350087", "0.5129538", "0.51254475", "0.49191442", "0.48836234", "0.4721503", "0.45517355", "0.45411506", "0.45297745", "0.44331715", "0.4418591", "0.43690202", "0.43674013", "0.43567267", "0.4...
0.81805587
0
string packGRADIENT(string GradientRecords) returns an SWF GRADIENT string.
string packGRADIENT(string GradientRecords) возвращает строку SWF GRADIENT.
function packGRADIENT($GradientRecords, $AlphaFlag) { array_push($this->FMDebug, "packGRADIENT"); if ($AlphaFlag) { $atom = $this->packUI8((int)strlen($GradientRecords) / 5) . $GradientRecords; } else { $atom = $this->packUI8((int)strlen($GradientRecords) / 4) . $GradientRecords; } array_pop($this->...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packGRADRECORD($Ratio, $R, $G, $B, $AlphaFlag, $A)\n\t{\n\t\tarray_push($this->FMDebug, \"packGRADRECORD\");\n\n\t\tif ($AlphaFlag) {\n\t\t\t$atom = $this->packUI8((int)$Ratio) . $this->packRGBA((int)$R, (int)$G, (int)$B, (int)$A);\n\t\t} else {\n\t\t\t$atom = $this->packUI8((int)$Ratio) . $this->packRGB(...
[ "0.54687995", "0.4871736", "0.47287098", "0.47041547", "0.45779288", "0.4503", "0.44052985", "0.44040188", "0.4354905", "0.43240753", "0.42637828", "0.42358702", "0.42321247", "0.4189776", "0.41158366", "0.41122633", "0.40843678", "0.40722743", "0.4064639", "0.40604928", "0.4...
0.77086824
0
string packFILLSTYLE(int FillStyleType, int R, int G, int B, int A, string GradientMatrix, string Gradient, integer BitmapID, string BitmapMatrix) returns an SWF FILLSTYLE string.
string packFILLSTYLE(int FillStyleType, int R, int G, int B, int A, string GradientMatrix, string Gradient, integer BitmapID, string BitmapMatrix) возвращает строку SWF FILLSTYLE.
function packFILLSTYLE($FillStyleType, $R, $G, $B, $AlphaFlag, $A, $GradientMatrix, $Gradient, $BitmapID, $BitmapMatrix) { array_push($this->FMDebug, "packFILLSTYLE"); //-------------------------------------------------- .[cal] // add vertical and horizontal straight edges. if(!isset($atom) & $this->Cal_mode...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packFILLSTYLEARRAY($FillStyleCount, $FillStyles)\n\t{\n\t\tarray_push($this->FMDebug, \"packFILLSTYLEARRAY\");\n\n\t\tif ($FillStyleCount < 0xff) {\n\n\t\t\t$atom = $this->packUI8($FillStyleCount);\n\n\t\t} else {\n\n\t\t\t$atom = chr(0xff) . $this->packUI16($FillStyleCount);\n\t\t}\n\n\t\t$atom .= $FillS...
[ "0.6465233", "0.6454228", "0.5898071", "0.57853055", "0.55045474", "0.5446288", "0.5446288", "0.5402339", "0.53819317", "0.53332055", "0.53084457", "0.51920485", "0.5106323", "0.5092213", "0.5089909", "0.5075534", "0.507473", "0.50066054", "0.5005038", "0.49435043", "0.492046...
0.8496563
0
string packFILLSTYLEARRAY(string ShapeTag, integer FillStyleCount, string FillStyles) returns an SWF FILLSTYLEARRAY string.
string packFILLSTYLEARRAY(string ShapeTag, integer FillStyleCount, string FillStyles) возвращает строку SWF FILLSTYLEARRAY.
function packFILLSTYLEARRAY($FillStyleCount, $FillStyles) { array_push($this->FMDebug, "packFILLSTYLEARRAY"); if ($FillStyleCount < 0xff) { $atom = $this->packUI8($FillStyleCount); } else { $atom = chr(0xff) . $this->packUI16($FillStyleCount); } $atom .= $FillStyles; array_pop($this->FMDebug);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSHAPEWITHSTYLE($FillStyles, $LineStyles, $NumFillBits, $NumLineBits, $ShapeRecords)\n\t{\n\t\tarray_push($this->FMDebug, \"packSHAPEWITHSTYLE\");\n\n\t\t$lower_limit = 0;\n\t\t$upper_limit = 15;\n\n\t\tif (($NumFillBits < $lower_limit) or ($NumFillBits > $upper_limit)) {\n\t\t\t$this->FMError(\"packSH...
[ "0.6419456", "0.60140437", "0.5900259", "0.5504699", "0.48440683", "0.48269296", "0.47883797", "0.47883657", "0.4738978", "0.47301006", "0.4727437", "0.4727437", "0.47248092", "0.46514058", "0.46451342", "0.4572173", "0.4544075", "0.4541758", "0.44886026", "0.4475497", "0.447...
0.82096404
0
string packLINESTYLE(integer Width, integer R, integer G, integer B, integer A) returns an SWF LINESTYLE string.
string packLINESTYLE(integer Width, integer R, integer G, integer B, integer A) возвращает строку SWF LINESTYLE.
function packLINESTYLE($Width, $R, $G, $B, $AlphaFlag, $A) { array_push($this->FMDebug, "packLINESTYLE"); $atom = $this->packUI16($Width); if ($AlphaFlag) { if ($A == "") { $A = 0xff; } $atom .= $this->packRGBA($R, $G, $B, $A); } else { $atom .= $this->packRGB($R, $G, $B); } arra...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packLINESTYLEARRAY($LineStyleCount, $LineStyles)\n\t{\n\t\tarray_push($this->FMDebug, \"packLINESTYLEARRAY\");\n\n\t\tif ($LineStyleCount < 0xff) {\n\n\t\t\t$atom = $this->packUI8($LineStyleCount);\n\n\t\t} else {\n\n\t\t\t$atom .= char(0xff) . $this->packUI16($LineStyleCount);\n\t\t}\n\n\t\t$atom .= $Li...
[ "0.6211077", "0.5912425", "0.5907948", "0.57798314", "0.5693939", "0.56922895", "0.5659433", "0.5601032", "0.5544994", "0.55392694", "0.5503642", "0.5495088", "0.5368116", "0.5332696", "0.5322319", "0.5313093", "0.52647734", "0.5240175", "0.521486", "0.5202548", "0.51914084",...
0.8293128
0
string packLINESTYLEARRAY(int LineStyleCount, string LineStyles) returns an SWF LINESTYLEARRAY string.
string packLINESTYLEARRAY(int LineStyleCount, string LineStyles) возвращает строку SWF LINESTYLEARRAY.
function packLINESTYLEARRAY($LineStyleCount, $LineStyles) { array_push($this->FMDebug, "packLINESTYLEARRAY"); if ($LineStyleCount < 0xff) { $atom = $this->packUI8($LineStyleCount); } else { $atom .= char(0xff) . $this->packUI16($LineStyleCount); } $atom .= $LineStyles; array_pop($this->FMDebu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packFILLSTYLEARRAY($FillStyleCount, $FillStyles)\n\t{\n\t\tarray_push($this->FMDebug, \"packFILLSTYLEARRAY\");\n\n\t\tif ($FillStyleCount < 0xff) {\n\n\t\t\t$atom = $this->packUI8($FillStyleCount);\n\n\t\t} else {\n\n\t\t\t$atom = chr(0xff) . $this->packUI16($FillStyleCount);\n\t\t}\n\n\t\t$atom .= $FillS...
[ "0.62705845", "0.580934", "0.56910366", "0.5491188", "0.54462826", "0.5225337", "0.52241683", "0.5130334", "0.507651", "0.5056019", "0.5045188", "0.49905744", "0.49734467", "0.4969315", "0.49660856", "0.49006063", "0.48733947", "0.48434487", "0.4840043", "0.48370647", "0.4837...
0.85582846
0
string packCURVEDEDGERECORD( integer ControlDeltaX, integer ControlDeltaY, integer AnchorDeltaX, integer AnchorDeltaY) returns an SWF CURVEDEDGERECORD string.
string packCURVEDEDGERECORD( integer ControlDeltaX, integer ControlDeltaY, integer AnchorDeltaX, integer AnchorDeltaY) возвращает строку SWF CURVEDEDGERECORD.
function packCURVEDEDGERECORD($ControlDeltaX, $ControlDeltaY, $AnchorDeltaX, $AnchorDeltaY) { array_push($this->FMDebug, "packCURVEDEDGERECORD"); $TypeFlag = "1"; $StraightEdge = "0"; $ControlDeltaX = $this->packSBchunk($ControlDeltaX); $ControlDeltaY = $this->packSBchunk($ControlDeltaY); $AnchorDeltaX ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSTRAIGHTEDGERECORD($GeneralLineFlag, $VertLineFlag, $DeltaX, $DeltaY)\n\t{\n\t\tarray_push($this->FMDebug, \"packSTRAIGHTEDGERECORD\");\n\n\t\t$TypeFlag = \"1\";\n\t\t$StraightEdge = \"1\";\n\n\t\tif (($DeltaX == 0) and ($DeltaY == 0)) {\n\n\t\t\t$atom = sprintf(\"%1d\", $TypeFlag) . sprintf(\"%1d\", ...
[ "0.5591843", "0.5437215", "0.5128616", "0.5018663", "0.43794337", "0.43203098", "0.42786032", "0.4208354", "0.41687718", "0.41169554", "0.41010457", "0.40476498", "0.40292555", "0.40269917", "0.40216148", "0.40120408", "0.39870292", "0.39774537", "0.39440122", "0.39437082", "...
0.805668
0
string packSTRAIGHTEDGERECORD( boolean GeneralLineFlag, boolean VertLineFlag, integer DeltaX, integer DeltaY) returns an SWF STRAIGHTEDGERECORD string.
string packSTRAIGHTEDGERECORD( boolean GeneralLineFlag, boolean VertLineFlag, integer DeltaX, integer DeltaY) возвращает строку SWF STRAIGHTEDGERECORD.
function packSTRAIGHTEDGERECORD($GeneralLineFlag, $VertLineFlag, $DeltaX, $DeltaY) { array_push($this->FMDebug, "packSTRAIGHTEDGERECORD"); $TypeFlag = "1"; $StraightEdge = "1"; if (($DeltaX == 0) and ($DeltaY == 0)) { $atom = sprintf("%1d", $TypeFlag) . sprintf("%1d", $StraightEdge) . "0" ; } else { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packENDSHAPERECORD()\n\t{\n\t\tarray_push($this->FMDebug, \"packENDSHAPERECORD\");\n\n\t\t$TypeFlag = \"0\";\n\t\t$EndOfShape = \"00000\";\n\n\t\t$atom = $TypeFlag . $EndOfShape;\n\n\t\tarray_pop($this->FMDebug);\n\n\t\treturn $atom;\n\t}", "function packCURVEDEDGERECORD($ControlDeltaX, $ControlDeltaY, ...
[ "0.62386286", "0.5969523", "0.5024242", "0.49985194", "0.4855188", "0.48129693", "0.48101723", "0.46010622", "0.4580902", "0.45488966", "0.45260507", "0.45207193", "0.45130622", "0.45024148", "0.44672477", "0.4459017", "0.4434804", "0.4420946", "0.43567938", "0.43507832", "0....
0.8618322
0
string packSTYLECHANGERECORD( integer StateNewStyles, integer StateLineStyle, integer StateFillStyle1, integer StateFillStyle0, integer StateMoveTo, integer MoveDeltaX, integer MoveDeltaY, integer nFillBits, integer nLineBits, integer FillStyle0, integer FillStyle1, integer LineStyle, string FillStyles, string LineStyl...
string packSTYLECHANGERECORD( integer StateNewStyles, integer StateLineStyle, integer StateFillStyle1, integer StateFillStyle0, integer StateMoveTo, integer MoveDeltaX, integer MoveDeltaY, integer nFillBits, integer nLineBits, integer FillStyle0, integer FillStyle1, integer LineStyle, string FillStyles, string LineStyl...
function packSTYLECHANGERECORD($StateNewStyles, $StateLineStyle, $StateFillStyle1, $StateFillStyle0, $StateMoveTo, $MoveDeltaX, $MoveDeltaY, $nFillBits, $nLineBits, $FillStyle0, $FillStyle1, $LineStyle, $FillStyles, $LineStyles, $NumFillBits, $NumLineBits) { #error_log("statennewstyles: $StateNewStyles, statelinestyle...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSTRAIGHTEDGERECORD($GeneralLineFlag, $VertLineFlag, $DeltaX, $DeltaY)\n\t{\n\t\tarray_push($this->FMDebug, \"packSTRAIGHTEDGERECORD\");\n\n\t\t$TypeFlag = \"1\";\n\t\t$StraightEdge = \"1\";\n\n\t\tif (($DeltaX == 0) and ($DeltaY == 0)) {\n\n\t\t\t$atom = sprintf(\"%1d\", $TypeFlag) . sprintf(\"%1d\", ...
[ "0.5743887", "0.55181766", "0.5358953", "0.52467763", "0.51774824", "0.51675856", "0.51321167", "0.49866882", "0.47658157", "0.46695453", "0.46178138", "0.45849955", "0.4572855", "0.45614114", "0.45541468", "0.45351824", "0.45239133", "0.45153934", "0.4510889", "0.45043802", ...
0.84812057
0
string packENDSHAPERECORD() returns an SWF ENDSHAPERECORD string.
string packENDSHAPERECORD() возвращает строку SWF ENDSHAPERECORD.
function packENDSHAPERECORD() { array_push($this->FMDebug, "packENDSHAPERECORD"); $TypeFlag = "0"; $EndOfShape = "00000"; $atom = $TypeFlag . $EndOfShape; array_pop($this->FMDebug); return $atom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSTRAIGHTEDGERECORD($GeneralLineFlag, $VertLineFlag, $DeltaX, $DeltaY)\n\t{\n\t\tarray_push($this->FMDebug, \"packSTRAIGHTEDGERECORD\");\n\n\t\t$TypeFlag = \"1\";\n\t\t$StraightEdge = \"1\";\n\n\t\tif (($DeltaX == 0) and ($DeltaY == 0)) {\n\n\t\t\t$atom = sprintf(\"%1d\", $TypeFlag) . sprintf(\"%1d\", ...
[ "0.5493647", "0.53036153", "0.50533575", "0.49691272", "0.48601094", "0.4820835", "0.48006102", "0.48004195", "0.4786613", "0.47767657", "0.47277722", "0.47137943", "0.46645463", "0.46284655", "0.46279255", "0.46189737", "0.46171808", "0.45981103", "0.4581907", "0.4581907", "...
0.7911651
0
string packSHAPEWITHSTYLE(string FillStyles, string LineStyles, integer NumFillBits, integer NumLineBits, string ShapeRecords) returns an SWF SHAPEWITHSTYLE string.
string packSHAPEWITHSTYLE(string FillStyles, string LineStyles, integer NumFillBits, integer NumLineBits, string ShapeRecords) возвращает строку SWF SHAPEWITHSTYLE.
function packSHAPEWITHSTYLE($FillStyles, $LineStyles, $NumFillBits, $NumLineBits, $ShapeRecords) { array_push($this->FMDebug, "packSHAPEWITHSTYLE"); $lower_limit = 0; $upper_limit = 15; if (($NumFillBits < $lower_limit) or ($NumFillBits > $upper_limit)) { $this->FMError("packSHAPEWITHSTYLE argument (NumFi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSHAPE($NumFillBits, $NumLineBits, $ShapeRecords)\n\t{\n\t\tarray_push($this->FMDebug, \"packSHAPE\");\n\n\t\t$lower_limit = 0;\n\t\t$upper_limit = 15;\n\n\t\tif (($NumFillBits < $lower_limit) or ($NumFillBits > $upper_limit)) {\n\t\t\t$this->FMError(\"packSHAPE argument (NumFillBits) out of range\");\...
[ "0.6606548", "0.60184246", "0.58629304", "0.5816754", "0.5805765", "0.5761126", "0.5671612", "0.56430024", "0.56099504", "0.5174917", "0.50803417", "0.50738627", "0.49741384", "0.49557322", "0.4932957", "0.49172035", "0.4900288", "0.48821038", "0.48514026", "0.4843962", "0.48...
0.8155388
0
string packSHAPE(integer NumFillBits, integer NumLineBits, string ShapeRecords) returns an SWF SHAPE string.
string packSHAPE(integer NumFillBits, integer NumLineBits, string ShapeRecords) возвращает строку SWF SHAPE.
function packSHAPE($NumFillBits, $NumLineBits, $ShapeRecords) { array_push($this->FMDebug, "packSHAPE"); $lower_limit = 0; $upper_limit = 15; if (($NumFillBits < $lower_limit) or ($NumFillBits > $upper_limit)) { $this->FMError("packSHAPE argument (NumFillBits) out of range"); } if (($NumLineBits < $l...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packSHAPEWITHSTYLE($FillStyles, $LineStyles, $NumFillBits, $NumLineBits, $ShapeRecords)\n\t{\n\t\tarray_push($this->FMDebug, \"packSHAPEWITHSTYLE\");\n\n\t\t$lower_limit = 0;\n\t\t$upper_limit = 15;\n\n\t\tif (($NumFillBits < $lower_limit) or ($NumFillBits > $upper_limit)) {\n\t\t\t$this->FMError(\"packSH...
[ "0.7144628", "0.6012865", "0.5900498", "0.5738529", "0.5615256", "0.5609689", "0.5489456", "0.5321926", "0.5224413", "0.49802437", "0.47562456", "0.47535473", "0.4680655", "0.4677452", "0.46161076", "0.45312107", "0.4523077", "0.45113346", "0.44662642", "0.44604236", "0.44375...
0.7677107
0
string packASSET(integer Tag, string Label) returns an ASSET string used by ExportAssets and ImportAssets tags.
string packASSET(integer Tag, string Label) возвращает строку ASSET, используемую метками ExportAssets и ImportAssets.
function packASSET($Tag, $Label) { array_push($this->FMDebug, "packASSET"); $atom = $this->packUI16($Tag); $atom .= $this->packSTRING($Label); array_pop($this->FMDebug); return $atom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packExportAssetsTag($AssetList)\n\t{\n\t\tarray_push($this->FMDebug, \"packExportAssetsTag\");\n\n\t\t$TagID = 56;\n\n\t\t$AssetCount = substr_count($AssetList, chr(0));\n\n\t\t$TagLength = strlen($AssetCount . $AssetList);\n\t\n\t\t$this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $AssetC...
[ "0.61574143", "0.5868938", "0.5862714", "0.5612724", "0.5589589", "0.5491182", "0.51010966", "0.49497572", "0.49055585", "0.47979584", "0.47944203", "0.4727726", "0.47122222", "0.47073808", "0.4703685", "0.47003153", "0.46563938", "0.46492666", "0.4625888", "0.4618678", "0.45...
0.8559517
0
array parseJPEGfile(string filename) returns an array that holds the given JPEG file broken up into chunks.
array parseJPEGfile(string filename) возвращает массив, содержащий разбитый на части заданный файл JPEG.
function parseJPEGfile($filename) { array_push($this->FMDebug, "parseJPEGfile"); $SOI = chr(0xff) . chr(0xd8); $APP0 = chr(0xff) . chr(0xe0); $DQT = chr(0xff) . chr(0xdb); $SOF0 = chr(0xff) . chr(0xc0); $SOF1 = chr(0xff) . chr(0xc1); $SOF2 = chr(0xff) . chr(0xc2); $DHT = chr(0xff) . chr(0xc4); $D...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function _parsejpg($file)\n\t\t{\n\t\t\t$a=GetImageSize($file);\n\t\t\tif(!$a)\n\t\t\t\t$this->Error('Missing or incorrect image file: '.$file);\n\t\t\tif($a[2]!=2)\n\t\t\t\t$this->Error('Not a JPEG file: '.$file);\n\t\t\tif(!isset($a['channels']) or $a['channels']==3)\n\t\t\t\t$colspace='DeviceRGB';\n\t\t\telseif...
[ "0.6943459", "0.6355114", "0.6095227", "0.58583456", "0.554212", "0.5534001", "0.5515431", "0.54046845", "0.5333513", "0.5290704", "0.52735454", "0.5267078", "0.5235156", "0.52107257", "0.51242894", "0.5123614", "0.5116047", "0.5089484", "0.50796473", "0.50730205", "0.5031206...
0.7830543
0
array parseTIFFfile(string filename, array AlphaPalette) returns an array that holds the given JPEG file broken up into chunks.
array parseTIFFfile(string filename, array AlphaPalette) возвращает массив, содержащий данный файл JPEG, разбитый на чанки.
function parseTIFFfile($filename, $AlphaPalette) { array_push($this->FMDebug, "parseTIFFfile"); $II = chr(0x49) . chr(0x49); $MM = chr(0x4d) . chr(0x4d); $TIFFNewSubfileType = array("II" => chr(0xfe) . chr(0x00), "MM" => chr(0x00) . chr(0xfe)); $TIFFSubfileType = array("II" => chr(0xff) . chr(0x00), "MM" =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function _parsejpg($file)\n\t\t{\n\t\t\t$a=GetImageSize($file);\n\t\t\tif(!$a)\n\t\t\t\t$this->Error('Missing or incorrect image file: '.$file);\n\t\t\tif($a[2]!=2)\n\t\t\t\t$this->Error('Not a JPEG file: '.$file);\n\t\t\tif(!isset($a['channels']) or $a['channels']==3)\n\t\t\t\t$colspace='DeviceRGB';\n\t\t\telseif...
[ "0.60984826", "0.5918459", "0.55164343", "0.54745656", "0.5084433", "0.48550558", "0.48051867", "0.47655693", "0.47639757", "0.47557777", "0.47009367", "0.46586326", "0.46093923", "0.4604141", "0.45704207", "0.4550895", "0.44877198", "0.44685373", "0.4464365", "0.44638208", "...
0.78466564
0
// // Tags // // // null AutoSetSWFVersion(integer version) sets the SWF file version number to version. NOTE: don't call this function directly. Use SetSWFVersion() from the Toolbox instead.
// // Теги // // // null AutoSetSWFVersion(integer version) устанавливает номер версии файла SWF в version. ЗАМЕЧАНИЕ: не вызывайте эту функцию напрямую. Используйте SetSWFVersion() из Toolbox.
function AutoSetSWFVersion($version) { array_push($this->FMDebug, "AutoSetSWFVersion"); if ($this->SWFVersion < $version) { $this->SWFVersion = (int) $version; } array_pop($this->FMDebug); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setVersion($version) {}", "public function setVersion($version) {}", "public function setVersion($version);", "public function setVersion($version);", "public function setVersion($version);", "public function setVersion($version);", "public function setVersion($version);", "public fun...
[ "0.58671564", "0.58671564", "0.57372695", "0.57372695", "0.57372695", "0.57372695", "0.57372695", "0.5668459", "0.55860573", "0.5555139", "0.5503851", "0.54676896", "0.54150856", "0.5404872", "0.53981376", "0.5283705", "0.5277751", "0.52743995", "0.5255054", "0.5250701", "0.5...
0.8491539
0
string packRECORDHEADER(integer TagID, integer TagLength) returns the SWF RECORDHEADER string.
string packRECORDHEADER(integer TagID, integer TagLength) возвращает строку SWF RECORDHEADER.
function packRECORDHEADER($TagID, $TagLength) { array_push($this->FMDebug, "packRECORDHEADER"); $lower_limit = 0; $upper_short_tag_limit = 62; $upper_long_tag_limit = 2147483647; if (!(is_integer($TagLength))) { $this->FMError("packRECORDHEADER argument (TagLength) not an integer")...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function createVariableHeader(): string\n {\n return $this->getPacketIdentifierBinaryRepresentation();\n }", "function packMacromediaFlashSWFHeader()\n\t{\n\t\tarray_push($this->FMDebug, \"packMacromediaFlashSWFHeader\");\n\n\t\t$HeaderLength = 21;\n\t\t$atom = \"FWS\";\n\t\t$atom .= $this->...
[ "0.55913436", "0.55053025", "0.54071873", "0.5403311", "0.53649914", "0.53253", "0.52895314", "0.5288521", "0.5248829", "0.5232854", "0.5226172", "0.5177835", "0.51618814", "0.5126504", "0.511721", "0.5075465", "0.5058976", "0.49784493", "0.49649158", "0.49528345", "0.4921019...
0.7905612
0
string packEndTag() returns an SWF End Tag string. TagID: 0
string packEndTag() возвращает строку SWF End Tag. TagID: 0
function packEndTag() { array_push($this->FMDebug, "packEndTag"); $TagID = 0; $TagLength = 0; $this->AutoSetSWFVersion(1); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength); array_pop($this->FMDebug); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final function endTag() : string\n {\n return $this->name && !$this->isEmpty ? '</' . $this->name . '>' : '';\n }", "function End_Tag($parser, $tag)\r\n\t{\r\n\t\tif ($tag == 'AMP') return;\r\n\t\telse if ($tag == 'BOX')\r\n\t\t{\r\n\t\t\t$objc = &$this->GetCurrentObject();\r\n\t\t\t$objd = &...
[ "0.62218356", "0.6136998", "0.61046", "0.60372263", "0.60131454", "0.5885808", "0.5836973", "0.5812356", "0.5688208", "0.5672495", "0.5628228", "0.5605781", "0.55574214", "0.5553971", "0.5553971", "0.5498158", "0.5476539", "0.54751736", "0.5462914", "0.5457785", "0.5440496", ...
0.82080793
0
string packShowFrameTag() returns an SWF ShowFrameTag string. TagID: 1
string packShowFrameTag() возвращает строку SWF ShowFrameTag. TagID: 1
function packShowFrameTag() { array_push($this->FMDebug, "packShowFrameTag"); $TagID = 1; $TagLength = 0; $this->AutoSetSWFVersion(1); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength); array_pop($this->FMDebug); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packFrameLabelTag($Label)\n\t{\n\t\tarray_push($this->FMDebug, \"packFrameLabelTag\");\n\n\t\t$TagID = 43;\n\t\t$Label = $this->packSTRING($Label);\n\t\t$TagLength = strlen($Label);\n\t\n\t\t$this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $Label;\n\n\t\tarray_pop($this->FMDebug);\n\t}", ...
[ "0.60265905", "0.5841845", "0.5597621", "0.5529826", "0.5463722", "0.5375955", "0.5304689", "0.51552314", "0.51498055", "0.5108206", "0.49462873", "0.4934485", "0.49334583", "0.49089503", "0.48925012", "0.48869136", "0.48784658", "0.48705894", "0.4870424", "0.4836969", "0.478...
0.85471505
0
null packDefineShapeTag(integer ShapeID, string ShapeBounds, string SHAPEWITHSTYLE) returns an SWF DefineShapeTag string. TagID: 2
null packDefineShapeTag(integer ShapeID, string ShapeBounds, string SHAPEWITHSTYLE) возвращает строку SWF DefineShapeTag. TagID: 2
function packDefineShapeTag($ShapeID, $ShapeBounds, $SHAPEWITHSTYLE) { array_push($this->FMDebug, "packDefineShapeTag"); $TagID = 2; $DefineShapeTag = $this->packUI16($ShapeID) . $ShapeBounds . $SHAPEWITHSTYLE; $TagLength = strlen($DefineShapeTag); $this->AutoSetSWFVersion(1); $this->MovieData .= $this-...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineShape2Tag($ShapeID, $ShapeBounds, $SHAPEWITHSTYLE)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineShape2Tag\");\n\n\t\t$TagID = 22;\n\n\t\t$DefineShapeTag = $this->packUI16($ShapeID) . $ShapeBounds . $SHAPEWITHSTYLE;\n\n\t\t$TagLength = strlen($DefineShapeTag);\n\n\t\t$this->MovieData .= $this...
[ "0.80861247", "0.75327116", "0.7478791", "0.55284053", "0.5521733", "0.5478506", "0.54683393", "0.54122144", "0.533564", "0.52448165", "0.5169032", "0.5159855", "0.5091816", "0.5070557", "0.50339454", "0.49965882", "0.49951172", "0.49697185", "0.49162316", "0.48604488", "0.48...
0.81988907
0
string packPlaceObjectTag(integer CharacterID, integer Depth, string MATRIX, string CXFORM) return an SWF PlaceObject tag string. TagID: 4
string packPlaceObjectTag(integer CharacterID, integer Depth, string MATRIX, string CXFORM) возвращает строку SWF-тега PlaceObject. TagID: 4
function packPlaceObjectTag($CharacterID, $Depth, $MATRIX, $CXFORM) { array_push($this->FMDebug, "packPlaceObjectTag"); $TagID = 4; $CharacterID = $this->packUI16($CharacterID); $Depth = $this->packUI16($Depth); $TagLength = strlen($CharacterID . $Depth . $MATRIX . $CXFORM); $this->AutoSetSWFVersion(1)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packPlaceObject2Tag($PlaceFlagMove, $PlaceFlagHasCharacter, $CharacterID, $Depth, $MATRIX, $CXFORM, $Ratio, $Name, $ClipActions)\n\t{\n\t\tarray_push($this->FMDebug, \"packPlaceObject2Tag\");\n\n\t\t$TagID = 26;\n\n\t\t$PlaceFlagHasClipActions = \"0\";\n\t\t$PlaceFlagReserved = \"0\";\n\t\t$PlaceFlagHasNa...
[ "0.79175663", "0.60307455", "0.54985607", "0.5479237", "0.54320943", "0.53111875", "0.5229272", "0.51056445", "0.4995838", "0.49165836", "0.4868962", "0.48576972", "0.48097783", "0.47879413", "0.47877154", "0.4738859", "0.47326258", "0.4719163", "0.46801302", "0.46460286", "0...
0.86179775
0
string packRemoveObjectTag(integer CharacterID, integer Depth) returns an SWF RemoveObject tag string. TagID: 5
string packRemoveObjectTag(integer CharacterID, integer Depth) возвращает строку SWF RemoveObject. TagID: 5
function packRemoveObjectTag($CharacterID, $Depth) { array_push($this->FMDebug, "packRemoveObjectTag"); #error_log($CharacterID); $TagID = 5; $CharacterID = $this->packUI16($CharacterID); $Depth = $this->packUI16((int)$Depth); $TagLength = strlen($CharacterID . $Depth); $this->MovieData .= $this->packR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packRemoveObject2Tag($Depth)\n\t{\n\t\tarray_push($this->FMDebug, \"packRemoveObject2Tag\");\n\n\t\t$TagID = 28;\n\n\t\t$Depth = $this->packUI16($Depth);\n\n\t\t$TagLength = strlen($Depth);\n\t\n\t\t$this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $Depth;\n\n\t\tarray_pop($this->FMDebug);...
[ "0.7644641", "0.5938855", "0.5864545", "0.56504995", "0.5300621", "0.5238896", "0.51192707", "0.50909144", "0.50846994", "0.5047743", "0.5030615", "0.4995205", "0.4969054", "0.4969054", "0.4949305", "0.4887155", "0.48479554", "0.4820061", "0.48111668", "0.4800512", "0.4788632...
0.8399743
0
string packDefineBitsTag(integer BitmapID, string BitmapJPEGImage) return an SWF DefineBits tag string. TagID: 6
string packDefineBitsTag(integer BitmapID, string BitmapJPEGImage) возвращает строку SWF-тега DefineBits. TagID: 6
function packDefineBitsTag($CharacterID, $BitmapJPEGImage) { array_push($this->FMDebug, "packDefineBitsTag"); $TagID = 6; $BitmapID = $this->packUI16($CharacterID); $TagLength = strlen($BitmapID . $BitmapJPEGImage); $this->AutoSetSWFVersion(1); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLengt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineBitsJPEG2Tag($BitmapID, $BitmapJPEGEncoding, $BitmapJPEGImage)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineBitsJPEG2Tag\");\n\n\t\t$TagID = 21;\n\n\t\t$BitmapID = $this->packUI16($BitmapID);\n\n\t\t$TagLength = strlen($BitmapID . $BitmapJPEGEncoding . $BitmapJPEGImage);\n\t\n\t\t$this->Movi...
[ "0.79386944", "0.734408", "0.7009969", "0.68176705", "0.6501725", "0.5843437", "0.57410514", "0.5719129", "0.5573473", "0.5523145", "0.5471826", "0.54699826", "0.54532945", "0.5400485", "0.53236556", "0.52690977", "0.52354395", "0.51948726", "0.5099099", "0.50602084", "0.5039...
0.81631297
0
string packJPEGTablesTag( string BitmapJPEGEncoding) returns an SWF JPEGTablesTag string. TagID: 8
string packJPEGTablesTag( string BitmapJPEGEncoding) возвращает строку SWF JPEGTablesTag. TagID: 8
function packJPEGTablesTag($BitmapJPEGEncoding) { array_push($this->FMDebug, "packJPEGTablesTag"); $TagID = 8; $TagLength = strlen($BitmapJPEGEncoding); $this->AutoSetSWFVersion(1); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $BitmapJPEGEncoding; array_pop($this->FMDebug); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineBitsJPEG2Tag($BitmapID, $BitmapJPEGEncoding, $BitmapJPEGImage)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineBitsJPEG2Tag\");\n\n\t\t$TagID = 21;\n\n\t\t$BitmapID = $this->packUI16($BitmapID);\n\n\t\t$TagLength = strlen($BitmapID . $BitmapJPEGEncoding . $BitmapJPEGImage);\n\t\n\t\t$this->Movi...
[ "0.7031254", "0.6447481", "0.58611286", "0.54457736", "0.5268019", "0.5124953", "0.5090811", "0.5032178", "0.501785", "0.49330118", "0.49095833", "0.4889974", "0.48055092", "0.4783662", "0.47834405", "0.47528788", "0.4705607", "0.46976468", "0.4697321", "0.4645206", "0.463208...
0.83158267
0
string packSetBackgroundColorTag(integer R, integer G, integer B) return an SWF SetBackgroundColorTag string. TagID: 9
string packSetBackgroundColorTag(integer R, integer G, integer B) возвращает строку SWF SetBackgroundColorTag. TagID: 9
function packSetBackgroundColorTag($R, $G, $B) { array_push($this->FMDebug, "packSetBackgroundColorTag"); $TagID = 9; $RGB = $this->packRGB($R, $G, $B); $TagLength = strlen($RGB); $this->AutoSetSWFVersion(1); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $RGB; array_pop($this->FMDe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function get_tag_bg( $tag ) {\n $tag_bg = get_tag_data( $tag , 'tag_bg' );\n return $tag_bg;\n}", "public function getBackgroundColor() {}", "public function getBackgroundColor() {}", "public function getBackgroundColor() {}", "function get_background_color()\n {\n }", "function setBackground($c1...
[ "0.5744463", "0.5722278", "0.5721587", "0.5721587", "0.5714087", "0.5615828", "0.5615828", "0.5589299", "0.55334467", "0.5501269", "0.54330194", "0.51138276", "0.51073486", "0.5097645", "0.50713974", "0.5008555", "0.497067", "0.49545133", "0.49510744", "0.49480376", "0.494543...
0.8187415
0
string packDefineSoundTag(integer CharacterID, integer SoundFormat, integer SoundRate, integer SoundSize, integer SoundType, integer SoundSampleCount, string SoundFile) returns an SWFDefineSoundTag string. TagID: 14
string packDefineSoundTag(integer CharacterID, integer SoundFormat, integer SoundRate, integer SoundSize, integer SoundType, integer SoundSampleCount, string SoundFile) возвращает строку SWFDefineSoundTag. TagID: 14
function packDefineSoundTag($CharacterID, $SoundFormat, $SoundRate, $SoundSize, $SoundType, $SoundSampleCount, $SoundFile) { array_push($this->FMDebug, "packDefineSoundTag"); #error_log("here--"); $TagID = 14; $DefineSoundTag = $this->packnBits($SoundFormat, 4); $DefineSoundTag .= $this->packnBits($SoundRate...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packStartSoundTag($CharacterID, $SOUNDINFO)\n\t{\n\t\tarray_push($this->FMDebug, \"packStartSoundTag\");\n\n\t\t$TagID = 15;\n\n\t\t$StartSoundTag = $this->packUI16($CharacterID) . $SOUNDINFO;\n\n\t\t$TagLength = strlen($StartSoundTag);\n\n\t\t$this->AutoSetSWFVersion(1);\n\t\t$this->MovieData .= $this->p...
[ "0.7372805", "0.60184455", "0.5573899", "0.55175984", "0.5511013", "0.5488809", "0.5388187", "0.538631", "0.5335308", "0.5314489", "0.5255093", "0.52126896", "0.5138901", "0.5058506", "0.50426906", "0.4987886", "0.4984806", "0.49796543", "0.49604073", "0.49479148", "0.4920561...
0.8407293
0
string packStartSoundTag(integer CharacterID, string SOUNDINFO) returns an SWFDefineSoundTag string. TagID: 15
string packStartSoundTag(integer CharacterID, string SOUNDINFO) возвращает строку SWFDefineSoundTag. TagID: 15
function packStartSoundTag($CharacterID, $SOUNDINFO) { array_push($this->FMDebug, "packStartSoundTag"); $TagID = 15; $StartSoundTag = $this->packUI16($CharacterID) . $SOUNDINFO; $TagLength = strlen($StartSoundTag); $this->AutoSetSWFVersion(1); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLen...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineSoundTag($CharacterID, $SoundFormat, $SoundRate, $SoundSize, $SoundType, $SoundSampleCount, $SoundFile)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineSoundTag\");\n#error_log(\"here--\");\n\t\t$TagID = 14;\n\n\t\t$DefineSoundTag = $this->packnBits($SoundFormat, 4);\n\t\t$DefineSoundTag .= $t...
[ "0.70532537", "0.5423868", "0.5349111", "0.53386843", "0.52319247", "0.52191067", "0.51671654", "0.5070674", "0.48975518", "0.4859897", "0.48550314", "0.48550314", "0.47882614", "0.4731203", "0.47204885", "0.46997142", "0.4699471", "0.46808586", "0.46516508", "0.4618996", "0....
0.88064265
0
string packDefineBitsLosslessTag( integer BitmapID, integer BitmapID, integer BitmapFormat, integer BitmapWidth, integer BitmapHeight, integer BitmapColorTableSize, string ZlibBitmapData) return an SWF DefineBitsLossless tag string. TagID: 20
string packDefineBitsLosslessTag( integer BitmapID, integer BitmapID, integer BitmapFormat, integer BitmapWidth, integer BitmapHeight, integer BitmapColorTableSize, string ZlibBitmapData) возвращает строку с тегом SWF DefineBitsLossless. TagID: 20
function packDefineBitsLosslessTag($BitmapID, $BitmapFormat, $BitmapWidth, $BitmapHeight, $BitmapColorTableSize, $ZlibBitmapData) { array_push($this->FMDebug, "packDefineBitsLosslessTag"); $TagID = 20; $BitmapID = $this->packUI16($BitmapID); $BitmapWidth = $this->packUI16($BitmapWidth); $BitmapHeight = $th...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineBitsLossless2Tag($BitmapID, $BitmapFormat, $BitmapWidth, $BitmapHeight, $BitmapColorTableSize, $ZlibBitmapData2)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineBitsLossless2Tag\");\n\n\t\t$TagID = 36;\n\n\t\t$BitmapID = $this->packUI16($BitmapID);\n\t\t$BitmapWidth = $this->packUI16($BitmapWid...
[ "0.77506936", "0.69639647", "0.6438798", "0.6431387", "0.6407842", "0.57274973", "0.55683225", "0.55421066", "0.5539131", "0.5509951", "0.5509951", "0.5509951", "0.5461391", "0.5459498", "0.54515535", "0.54098547", "0.5369192", "0.53287905", "0.5236501", "0.52243876", "0.5213...
0.7827116
0
string packDefineBitsJPEG2Tag(integer BitmapID, string BitmapJPEGEncoding, string BitmapJPEGImage) return an SWF DefineBitsJPEG2 tag string. TagID: 21
string packDefineBitsJPEG2Tag(integer BitmapID, string BitmapJPEGEncoding, string BitmapJPEGImage) возвращает строку SWF DefineBitsJPEG2. TagID: 21
function packDefineBitsJPEG2Tag($BitmapID, $BitmapJPEGEncoding, $BitmapJPEGImage) { array_push($this->FMDebug, "packDefineBitsJPEG2Tag"); $TagID = 21; $BitmapID = $this->packUI16($BitmapID); $TagLength = strlen($BitmapID . $BitmapJPEGEncoding . $BitmapJPEGImage); $this->MovieData .= $this->packRECORDHEA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineBitsTag($CharacterID, $BitmapJPEGImage)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineBitsTag\");\n\n\t\t$TagID = 6;\n\t\t$BitmapID = $this->packUI16($CharacterID);\n\t\t$TagLength = strlen($BitmapID . $BitmapJPEGImage);\n\t\t$this->AutoSetSWFVersion(1);\n\t\t$this->MovieData .= $this->packRE...
[ "0.7827505", "0.7722572", "0.69299906", "0.6533305", "0.6345211", "0.5720869", "0.5616055", "0.5478661", "0.5472796", "0.5460157", "0.5445614", "0.5365573", "0.53624797", "0.5331618", "0.53172356", "0.5235552", "0.52002436", "0.5175939", "0.51458144", "0.51412034", "0.512622"...
0.85685915
0
null packDefineShapeTag2(integer ShapeID, string ShapeBounds, string SHAPEWITHSTYLE) returns an SWF DefineShapeTag string. TagID: 22
null packDefineShapeTag2(integer ShapeID, string ShapeBounds, string SHAPEWITHSTYLE) возвращает строку SWF DefineShapeTag. TagID: 22
function packDefineShape2Tag($ShapeID, $ShapeBounds, $SHAPEWITHSTYLE) { array_push($this->FMDebug, "packDefineShape2Tag"); $TagID = 22; $DefineShapeTag = $this->packUI16($ShapeID) . $ShapeBounds . $SHAPEWITHSTYLE; $TagLength = strlen($DefineShapeTag); $this->MovieData .= $this->packRECORDHEADER($TagID, $...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineShapeTag($ShapeID, $ShapeBounds, $SHAPEWITHSTYLE)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineShapeTag\");\n\t\t$TagID = 2;\n\n\t\t$DefineShapeTag = $this->packUI16($ShapeID) . $ShapeBounds . $SHAPEWITHSTYLE;\n\n\t\t$TagLength = strlen($DefineShapeTag);\n\n\t\t$this->AutoSetSWFVersion(1);\n...
[ "0.79306674", "0.73950875", "0.7324269", "0.588564", "0.56121653", "0.55600154", "0.55468994", "0.5455415", "0.5397419", "0.5395902", "0.5259973", "0.5127819", "0.51176745", "0.50554657", "0.5030695", "0.4922112", "0.4915564", "0.48278344", "0.47812572", "0.47217682", "0.4720...
0.7973236
0
string packProtectTag(string Password) returns an SWF Protect tag string. TagID: 24
string packProtectTag(string Password) возвращает строку тега SWF Protect. TagID: 24
function packProtectTag($Password) { array_push($this->FMDebug, "packProtectTag"); $TagID = 24; if (!($Password == "")) { $Password = $this->packSTRING(bin2hex(mhash(MHASH_MD5, $Password))); } $TagLength = strlen($Password); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $Label;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packtectEnableDebuggerTag($Password)\n\t{\n\t\tarray_push($this->FMDebug, \"packEnableDebuggerTag\");\n\n\t\t$TagID = 58;\n\n\t\tif (!($Password == \"\")) {\n\n\t\t\t$Password = $this->packSTRING(bin2hex(mhash(MHASH_MD5, $Password)));\n\t\t}\n\n\t\t$TagLength = strlen($Password);\n\t\n\t\t$this->MovieData...
[ "0.6737414", "0.5827544", "0.5741524", "0.49697694", "0.49491948", "0.49343446", "0.49291745", "0.49267858", "0.49108782", "0.48890564", "0.4853193", "0.4852791", "0.48069155", "0.47834542", "0.47645512", "0.47634938", "0.47497252", "0.4749217", "0.4738696", "0.4732256", "0.4...
0.80955327
0
string packPlaceObject2Tag(integer CharacterID, integer Depth, string MATRIX, string CXFORM, string MATRIX, string CXFORM, integer Ratio, string Name, string ClipActions) return an SWF PlaceObject2 tag string. TagID: 26
string packPlaceObject2Tag(integer CharacterID, integer Depth, string MATRIX, string CXFORM, string MATRIX, string CXFORM, integer Ratio, string Name, string ClipActions) возвращает строку SWF-тега PlaceObject2. TagID: 26
function packPlaceObject2Tag($PlaceFlagMove, $PlaceFlagHasCharacter, $CharacterID, $Depth, $MATRIX, $CXFORM, $Ratio, $Name, $ClipActions) { array_push($this->FMDebug, "packPlaceObject2Tag"); $TagID = 26; $PlaceFlagHasClipActions = "0"; $PlaceFlagReserved = "0"; $PlaceFlagHasName = "0"; $PlaceFlagHasRatio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packPlaceObjectTag($CharacterID, $Depth, $MATRIX, $CXFORM)\n\t{\n\t\tarray_push($this->FMDebug, \"packPlaceObjectTag\");\n\n\t\t$TagID = 4;\n\n\t\t$CharacterID = $this->packUI16($CharacterID);\n\t\t$Depth = $this->packUI16($Depth);\n\t\t$TagLength = strlen($CharacterID . $Depth . $MATRIX . $CXFORM);\n\t\n...
[ "0.72861695", "0.62177104", "0.5522299", "0.5456821", "0.51139694", "0.50554836", "0.50529706", "0.4990251", "0.48706454", "0.48585227", "0.48366517", "0.48363402", "0.48218682", "0.48013645", "0.47820848", "0.4763549", "0.47107768", "0.47088858", "0.4665581", "0.46615782", "...
0.79071486
0
string packRemoveObject2Tag(integer Depth) returns an SWF RemoveObject2 tag string. TagID: 28
string packRemoveObject2Tag(integer Depth) возвращает строку с меткой SWF RemoveObject2. TagID: 28
function packRemoveObject2Tag($Depth) { array_push($this->FMDebug, "packRemoveObject2Tag"); $TagID = 28; $Depth = $this->packUI16($Depth); $TagLength = strlen($Depth); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $Depth; array_pop($this->FMDebug); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packRemoveObjectTag($CharacterID, $Depth)\n\t{\n\t\tarray_push($this->FMDebug, \"packRemoveObjectTag\");\n#error_log($CharacterID);\n\t\t$TagID = 5;\n\n\t\t$CharacterID = $this->packUI16($CharacterID);\n\t\t$Depth = $this->packUI16((int)$Depth);\n\n\t\t$TagLength = strlen($CharacterID . $Depth);\n\t\n\t\t...
[ "0.7166977", "0.5387041", "0.53776664", "0.5024824", "0.5017953", "0.4905373", "0.4719566", "0.4679917", "0.46370998", "0.46349996", "0.46308884", "0.46004474", "0.45419884", "0.45316544", "0.4498496", "0.44977793", "0.44838247", "0.44604406", "0.43973446", "0.43964258", "0.4...
0.8458972
0
null packDefineShapeTag3(integer ShapeID, string ShapeBounds, string SHAPEWITHSTYLE) returns an SWF DefineShapeTag string. TagID: 32
null packDefineShapeTag3(integer ShapeID, string ShapeBounds, string SHAPEWITHSTYLE) возвращает строку SWF DefineShapeTag. TagID: 32
function packDefineShape3Tag($ShapeID, $ShapeBounds, $SHAPEWITHSTYLE) { array_push($this->FMDebug, "packDefineShape3Tag"); $TagID = 32; $DefineShapeTag = $this->packUI16($ShapeID) . $ShapeBounds . $SHAPEWITHSTYLE; $TagLength = strlen($DefineShapeTag); $this->AutoSetSWFVersion(1); $this->MovieData .= $t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineShapeTag($ShapeID, $ShapeBounds, $SHAPEWITHSTYLE)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineShapeTag\");\n\t\t$TagID = 2;\n\n\t\t$DefineShapeTag = $this->packUI16($ShapeID) . $ShapeBounds . $SHAPEWITHSTYLE;\n\n\t\t$TagLength = strlen($DefineShapeTag);\n\n\t\t$this->AutoSetSWFVersion(1);\n...
[ "0.79937947", "0.7910503", "0.7199178", "0.54232407", "0.53021747", "0.52538997", "0.524662", "0.524563", "0.5201062", "0.51787317", "0.5097516", "0.50781894", "0.49629986", "0.49041805", "0.4883963", "0.4859108", "0.47867602", "0.47453308", "0.47278345", "0.46720484", "0.464...
0.82253385
0
string packDefineBitsJPEG3Tag(integer BitmapID, string BitmapJPEGEncoding, string BitmapJPEGImage, string BitmapAlphaData) return an SWF DefineBitsJPEG3 tag string. TagID: 35
string packDefineBitsJPEG3Tag(integer BitmapID, string BitmapJPEGEncoding, string BitmapJPEGImage, string BitmapAlphaData) возвращает строку SWF DefineBitsJPEG3. TagID: 35
function packDefineBitsJPEG3Tag($BitmapID, $BitmapJPEGEncoding, $BitmapJPEGImage, $BitmapAlphaData) { array_push($this->FMDebug, "packDefineBitsJPEG3Tag"); $TagID = 35; $BitmapID = $this->packUI16($BitmapID); $Offset = $this->packUI32(strlen($BitmapJPEGEncoding . $BitmapJPEGImage)); $TagLength = strlen($Bit...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineBitsJPEG2Tag($BitmapID, $BitmapJPEGEncoding, $BitmapJPEGImage)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineBitsJPEG2Tag\");\n\n\t\t$TagID = 21;\n\n\t\t$BitmapID = $this->packUI16($BitmapID);\n\n\t\t$TagLength = strlen($BitmapID . $BitmapJPEGEncoding . $BitmapJPEGImage);\n\t\n\t\t$this->Movi...
[ "0.79519194", "0.7486134", "0.6576552", "0.64258045", "0.6356239", "0.5662145", "0.55992305", "0.5575132", "0.556353", "0.54442817", "0.54093707", "0.5384042", "0.53707236", "0.5319319", "0.52218693", "0.520826", "0.5143985", "0.5115582", "0.5049001", "0.50296956", "0.5026441...
0.86809003
0
string packDefineBitsLossless2Tag( integer BitmapID, integer BitmapID, integer BitmapFormat, integer BitmapWidth, integer BitmapHeight, integer BitmapColorTableSize, string ZlibBitmapData) return an SWF DefineBitsLossless2 tag string. TagID: 36
string packDefineBitsLossless2Tag( integer BitmapID, integer BitmapID, integer BitmapFormat, integer BitmapWidth, integer BitmapHeight, integer BitmapColorTableSize, string ZlibBitmapData) возвращает строку с тегом SWF DefineBitsLossless2. TagID: 36
function packDefineBitsLossless2Tag($BitmapID, $BitmapFormat, $BitmapWidth, $BitmapHeight, $BitmapColorTableSize, $ZlibBitmapData2) { array_push($this->FMDebug, "packDefineBitsLossless2Tag"); $TagID = 36; $BitmapID = $this->packUI16($BitmapID); $BitmapWidth = $this->packUI16($BitmapWidth); $BitmapHeight = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineBitsLosslessTag($BitmapID, $BitmapFormat, $BitmapWidth, $BitmapHeight, $BitmapColorTableSize, $ZlibBitmapData)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineBitsLosslessTag\");\n\n\t\t$TagID = 20;\n\n\t\t$BitmapID = $this->packUI16($BitmapID);\n\t\t$BitmapWidth = $this->packUI16($BitmapWidth)...
[ "0.74602234", "0.678082", "0.6415961", "0.6240862", "0.6177585", "0.58116144", "0.567725", "0.5493178", "0.547999", "0.54569733", "0.54262865", "0.54262865", "0.54262865", "0.5412999", "0.5384525", "0.53824717", "0.5359357", "0.5300058", "0.52246904", "0.51752853", "0.5144383...
0.81630427
0
string packFrameLabelTag(string Label) returns an SWF FrameLabel tag string. TagID: 43
string packFrameLabelTag(string Label) возвращает строку метки SWF FrameLabel. TagID: 43
function packFrameLabelTag($Label) { array_push($this->FMDebug, "packFrameLabelTag"); $TagID = 43; $Label = $this->packSTRING($Label); $TagLength = strlen($Label); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $Label; array_pop($this->FMDebug); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packShowFrameTag()\n\t{\n\t\tarray_push($this->FMDebug, \"packShowFrameTag\");\n\n\t\t$TagID = 1;\n\t\t$TagLength = 0;\n\n\t\t$this->AutoSetSWFVersion(1);\n\t\t$this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength);\n\n\t\tarray_pop($this->FMDebug);\n\t}", "function packASSET($Tag, $Label)\n\t{...
[ "0.6838461", "0.5655852", "0.5554248", "0.5459532", "0.53708684", "0.53289264", "0.52978456", "0.5259548", "0.5259548", "0.5247036", "0.5247036", "0.5226739", "0.5198707", "0.51843584", "0.5167408", "0.51656824", "0.513336", "0.513336", "0.513336", "0.513336", "0.513336", "...
0.8302608
0
null packDefineMorphShapeTag(integer ShapeID, string FromShapeBounds, stringToShapeBounds, string MorphFillStyles, string MorphLineStyles, string FromShape, string ToShape) returns an SWF DefineMorphShapeTag string. TagID: 46
null packDefineMorphShapeTag(integer ShapeID, string FromShapeBounds, string ToShapeBounds, string MorphFillStyles, string MorphLineStyles, string FromShape, string ToShape) возвращает строку SWF DefineMorphShapeTag. TagID: 46
function packDefineMorphShapeTag($ShapeID, $FromShapeBounds, $ToShapeBounds, $MorphFillStyles, $MorphLineStyles, $FromShape, $ToShape) { array_push($this->FMDebug, "packDefineMorphShapeTag"); $TagID = 46; $DefineMorphShapeTag = $this->packUI16($ShapeID) . $FromShapeBounds . $ToShapeBounds . $this->packUI32(strl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineShapeTag($ShapeID, $ShapeBounds, $SHAPEWITHSTYLE)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineShapeTag\");\n\t\t$TagID = 2;\n\n\t\t$DefineShapeTag = $this->packUI16($ShapeID) . $ShapeBounds . $SHAPEWITHSTYLE;\n\n\t\t$TagLength = strlen($DefineShapeTag);\n\n\t\t$this->AutoSetSWFVersion(1);\n...
[ "0.6923518", "0.6837494", "0.62588364", "0.5587913", "0.55718267", "0.55018866", "0.522077", "0.51541054", "0.51371676", "0.5117136", "0.5032456", "0.5022009", "0.49855122", "0.48957342", "0.4886173", "0.48154697", "0.4716946", "0.46993828", "0.46531337", "0.45864102", "0.453...
0.8269537
0
string packExportAssetsTag(string AssetList) returns an SWF EnableDebugger tag string. TagID: 56
string packExportAssetsTag(string AssetList) возвращает строку тега SWF EnableDebugger. TagID: 56
function packExportAssetsTag($AssetList) { array_push($this->FMDebug, "packExportAssetsTag"); $TagID = 56; $AssetCount = substr_count($AssetList, chr(0)); $TagLength = strlen($AssetCount . $AssetList); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $AssetCount . $AssetList; array_p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packImportAssetsTag($URL, $AssetList)\n\t{\n\t\tarray_push($this->FMDebug, \"packImportAssetsTag\");\n\n\t\t$TagID = 57;\n\n\t\t$URL = $this->packSTRING($URL);\n\n\t\t$AssetCount = substr_count($AssetList, chr(0)) - 1;\n\n\t\t$TagLength = strlen($URL, $AssetCount . $AssetList);\n\t\n\t\t$this->MovieData ....
[ "0.68328136", "0.57597446", "0.57386094", "0.53578675", "0.5232662", "0.49343622", "0.49221542", "0.48735094", "0.48011717", "0.47691655", "0.47501746", "0.4695897", "0.46371588", "0.46065357", "0.45976573", "0.4595049", "0.45941013", "0.45648655", "0.4556486", "0.4521475", "...
0.79046977
0
string packImportAssetsTag(string URL, string AssetList) returns an SWF EnableDebugger tag string. TagID: 57
string packImportAssetsTag(string URL, string AssetList) возвращает строку тега SWF EnableDebugger. TagID: 57
function packImportAssetsTag($URL, $AssetList) { array_push($this->FMDebug, "packImportAssetsTag"); $TagID = 57; $URL = $this->packSTRING($URL); $AssetCount = substr_count($AssetList, chr(0)) - 1; $TagLength = strlen($URL, $AssetCount . $AssetList); $this->MovieData .= $this->packRECORDHEADER($TagID,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packExportAssetsTag($AssetList)\n\t{\n\t\tarray_push($this->FMDebug, \"packExportAssetsTag\");\n\n\t\t$TagID = 56;\n\n\t\t$AssetCount = substr_count($AssetList, chr(0));\n\n\t\t$TagLength = strlen($AssetCount . $AssetList);\n\t\n\t\t$this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $AssetC...
[ "0.68038225", "0.5575776", "0.5495437", "0.5119418", "0.5098945", "0.50776166", "0.49796173", "0.49565247", "0.48216647", "0.4810379", "0.47540522", "0.47521856", "0.47521856", "0.47318733", "0.46845597", "0.4663907", "0.4627472", "0.46249375", "0.46182647", "0.458258", "0.45...
0.7704485
0
string packEnableDebuggerTag(string Password) returns an SWF EnableDebugger tag string. TagID: 58
string packEnableDebuggerTag(string Password) возвращает строку SWF EnableDebugger. TagID: 58
function packtectEnableDebuggerTag($Password) { array_push($this->FMDebug, "packEnableDebuggerTag"); $TagID = 58; if (!($Password == "")) { $Password = $this->packSTRING(bin2hex(mhash(MHASH_MD5, $Password))); } $TagLength = strlen($Password); $this->MovieData .= $this->packRECORDHEADER($TagID, $Ta...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packProtectTag($Password)\n\t{\n\t\tarray_push($this->FMDebug, \"packProtectTag\");\n\n\t\t$TagID = 24;\n\n\t\tif (!($Password == \"\")) {\n\n\t\t\t$Password = $this->packSTRING(bin2hex(mhash(MHASH_MD5, $Password)));\n\t\t}\n\n\t\t$TagLength = strlen($Password);\n\t\n\t\t$this->MovieData .= $this->packREC...
[ "0.6540024", "0.5196964", "0.4894729", "0.47460717", "0.46655622", "0.4607652", "0.45466495", "0.4540415", "0.4539945", "0.44793922", "0.4451075", "0.4428611", "0.44030282", "0.43906012", "0.43902397", "0.43717793", "0.43717793", "0.4361645", "0.4352964", "0.43300277", "0.431...
0.8234864
0
string packDefineBitsPtrTag(integer Pointer) returns an SWF DefineBitsPtr tag string. TagID:1023
string packDefineBitsPtrTag(integer Pointer) возвращает строку с меткой SWF DefineBitsPtr. TagID:1023
function packDefineBitsPtrTag($Pointer) { array_push($this->FMDebug, "packDefineBitsPtrTag"); $TagID = 1023; $TagLength = strlen($this->packUI32($Pointer)); $this->MovieData .= $this->packRECORDHEADER($TagID, $TagLength) . $Label; array_pop($this->FMDebug); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function packDefineBitsTag($CharacterID, $BitmapJPEGImage)\n\t{\n\t\tarray_push($this->FMDebug, \"packDefineBitsTag\");\n\n\t\t$TagID = 6;\n\t\t$BitmapID = $this->packUI16($CharacterID);\n\t\t$TagLength = strlen($BitmapID . $BitmapJPEGImage);\n\t\t$this->AutoSetSWFVersion(1);\n\t\t$this->MovieData .= $this->packRE...
[ "0.67949736", "0.62178737", "0.6178024", "0.6099532", "0.5660042", "0.5378978", "0.5332772", "0.524065", "0.49796125", "0.49796125", "0.49796125", "0.49656093", "0.49511352", "0.49487367", "0.48229802", "0.48217705", "0.47123474", "0.4703975", "0.46755525", "0.46572667", "0.4...
0.8312091
0
string packMacromediaFlashSWFHeader() returns the Macromedia Flash SWF Header string.
string packMacromediaFlashSWFHeader() возвращает строку заголовка Macromedia Flash SWF.
function packMacromediaFlashSWFHeader() { array_push($this->FMDebug, "packMacromediaFlashSWFHeader"); $HeaderLength = 21; $atom = "FWS"; $atom .= $this->packUI8((int)$this->SWFVersion); $atom .= $this->packUI32($HeaderLength + strlen($this->MovieData)); $Xmin = (int)$this->FrameSize["Xmin"]; $Xmax = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static final function getJSSHeader () {\r\n $jssHeaderString = new S;\r\n $jssReplaceString = new S ('[%SCRIPT_JS_SRC%]');\r\n $jssPureString = new FileContent (FORM_TP_DIR . _S . 'frm_web_header_js.tp');\r\n foreach (self::$objPageJSS as $k => $v) {\r\n $jssHeaderStr...
[ "0.59769243", "0.59733504", "0.57339144", "0.5698503", "0.5693121", "0.5649443", "0.56052876", "0.55942214", "0.55474174", "0.5489846", "0.54846", "0.5448855", "0.54063284", "0.53884536", "0.53661644", "0.53418547", "0.5339748", "0.5186478", "0.5175873", "0.5159014", "0.51478...
0.84248114
0
Get project participents by their role
Получить участников проекта по их роли
public function participantsByRole( $name ) { $results = array(); foreach ( $this->participants as $participant ) { foreach ($participant->roles as $role) { if( $participant->hasRole($name) ){ $results[] = $participant; } } } return $resu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function getProjectRole(){\n\t\t$db = DemoDB::getConnection();\n $sql = \"SELECT name\n FROM project_role\n\t\t\tWHERE name != 'Owner'\";\n $stmt = $db->prepare($sql);\n $ok = $stmt->execute();\n if ($ok) {\n return $stmt->fetchAll(PDO::FETCH_ASSOC);\...
[ "0.66536534", "0.6471044", "0.63031524", "0.6241326", "0.61213475", "0.6006683", "0.5945565", "0.5920218", "0.5799913", "0.5746833", "0.56941366", "0.56920433", "0.567201", "0.5658763", "0.56494254", "0.55968237", "0.557736", "0.5534629", "0.55006313", "0.5486098", "0.5449425...
0.70065963
0
Tests that an exception is thrown with an invalid token type
Тестирование того, что возбуждается исключение с неверным типом токена
public function testExceptionThrownWithInvalidTokenType() { $this->expectException(RuntimeException::class); $this->parser->parse([new Token('foo', 'bar', 1)]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testParseWithOneInvalidToken(): void\n {\n $this->expectException(ParserException::class);\n $this->expectExceptionMessage('Invalid token type \"integer\" at position 0');\n\n $this->parser->parse([0]);\n }", "public function testInvalidInputTypeException()\r\n\t{\r\n\t...
[ "0.74093974", "0.73690325", "0.6976732", "0.6929603", "0.6912837", "0.672132", "0.6706144", "0.6611967", "0.65875703", "0.65496457", "0.6487711", "0.64624673", "0.64623773", "0.64221865", "0.64026827", "0.6377794", "0.63699985", "0.6366228", "0.6325025", "0.6315404", "0.62953...
0.8194038
0
Tests that an exception is thrown nested comment
Тестирование возбуждения исключения в вложенном комментарии
public function testExceptionThrownWithNestedComment() { $this->expectException(RuntimeException::class); $tokens = [ new Token(TokenTypes::T_COMMENT_OPEN, '{#', 1), new Token(TokenTypes::T_EXPRESSION, 'foo', 1), new Token(TokenTypes::T_COMMENT_OPEN, '{#', 1), ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testExceptionThrownWithUnclosedComment()\n {\n $this->expectException(RuntimeException::class);\n $this->parser->parse([new Token(TokenTypes::T_COMMENT_OPEN, '{#', 1)]);\n }", "public function testExceptionThrownWithUnopenedComment()\n {\n $this->expectException(Runt...
[ "0.7824188", "0.77254105", "0.6786043", "0.65409124", "0.6483358", "0.6378809", "0.63694406", "0.6317472", "0.62431544", "0.61873937", "0.6184021", "0.6147874", "0.5916502", "0.58820504", "0.5810165", "0.5749824", "0.5738403", "0.57347554", "0.5728264", "0.5727684", "0.569608...
0.8011925
0
Tests that an exception is thrown nested directive
Тестирование возбуждения исключения в вложенном директиве
public function testExceptionThrownWithNestedDirective() { $this->expectException(RuntimeException::class); $tokens = [ new Token(TokenTypes::T_DIRECTIVE_OPEN, '<%', 1), new Token(TokenTypes::T_DIRECTIVE_NAME, 'foo', 1), new Token(TokenTypes::T_DIRECTIVE_OPEN, '<%...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testExceptionThrownWithUnclosedDirective()\n {\n $this->expectException(RuntimeException::class);\n $this->parser->parse([new Token(TokenTypes::T_DIRECTIVE_OPEN, '<%', 1)]);\n }", "public function testExceptionThrownWithUnopenedDirective()\n {\n $this->expectExceptio...
[ "0.7333149", "0.7164128", "0.62617064", "0.6134498", "0.607341", "0.60522354", "0.5877605", "0.5841158", "0.58274806", "0.5796665", "0.5796123", "0.57931745", "0.5736729", "0.5729015", "0.5694219", "0.5669147", "0.56121314", "0.55477333", "0.55284864", "0.55095106", "0.550400...
0.7854701
0
Tests that an exception is thrown with an unclosed comment
Тестирование того, что возбуждается исключение с незакрытым комментарием
public function testExceptionThrownWithUnclosedComment() { $this->expectException(RuntimeException::class); $this->parser->parse([new Token(TokenTypes::T_COMMENT_OPEN, '{#', 1)]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testExceptionThrownWithUnopenedComment()\n {\n $this->expectException(RuntimeException::class);\n $this->parser->parse([new Token(TokenTypes::T_COMMENT_CLOSE, '#}', 1)]);\n }", "public function testExceptionThrownWithNestedComment()\n {\n $this->expectException(Runti...
[ "0.8512813", "0.79463416", "0.69787794", "0.697745", "0.68317044", "0.67106587", "0.6557647", "0.6534136", "0.63718706", "0.6269882", "0.6238174", "0.61979884", "0.6181462", "0.61533254", "0.610301", "0.6094877", "0.6027039", "0.59899086", "0.597574", "0.59711516", "0.5914579...
0.8636078
0
Tests that an exception is thrown with an unclosed directive
Тестирование того, что выбрасывается исключение с незакрытым директивом
public function testExceptionThrownWithUnclosedDirective() { $this->expectException(RuntimeException::class); $this->parser->parse([new Token(TokenTypes::T_DIRECTIVE_OPEN, '<%', 1)]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testExceptionThrownWithUnopenedDirective()\n {\n $this->expectException(RuntimeException::class);\n $this->parser->parse([new Token(TokenTypes::T_DIRECTIVE_CLOSE, '%>', 1)]);\n }", "public function testExceptionThrownWithNestedDirective()\n {\n $this->expectException...
[ "0.8529395", "0.75021935", "0.7117467", "0.7115714", "0.7112552", "0.70459765", "0.673246", "0.66917133", "0.6592686", "0.63591534", "0.61161447", "0.6107428", "0.595044", "0.59070545", "0.58974475", "0.5835334", "0.58350015", "0.5722839", "0.57143736", "0.56235605", "0.55589...
0.85588926
0