100+ results results for 'php range' (674 ms)
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) | 6 | Copyright (c) 1997-2010 The PHP Group | 7 +----------------------------------------------------------------------+ 7 +----------------------------------------------------------------------+ 8 | This source file is subject to version 3.01 of the PHP license, | 9 | that is bundled with this package in the file LICENSE, and is | 10 | available through the world-wide-web at the following url: | 11 | http://www.php.net/license/3_01.txt | 12 | If you did not receive a copy of the PHP license and are unable to | 13 | obtain it through the world-wide-web, please send a note to | 14 | license@php.net so we can mail you a copy immediately. | 15 +----------------------------------------------------------------------+alias-class.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 374 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 17 18#include <boost/range/join.hpp> 19#include <vector>vardefs.php https://github.com/joshbhamilton/sugarcrm_dev.git | PHP | 436 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 152 'required' => true, 153 'options' => 'numeric_range_search_dom', 154 'enable_range_search' => true, 216 'required' => true, 217 'enable_range_search' => true, 218 'options' => 'date_range_search_dom', 249 'comment' => 'The probability of closure', 250 'validation' => array('type' => 'range', 'min' => 0, 'max' => 100), 251 'merge_filter' => 'enabled',QueryInterface.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 255 lines
1<?php 2/** 108 * - **between**: operand 1 should be the column name, and operand 2 and 3 should be the 109 * starting and ending values of the range that the column is in. 110 * For example, `['between', 'id', 1, 10]` will generate `id BETWEEN 1 AND 10`. 115 * - **in**: operand 1 should be a column or DB expression, and operand 2 be an array representing 116 * the range of the values that the column or DB expression should be in. For example, 117 * `['in', 'id', [1, 2, 3]]` will generate `id IN (1, 2, 3)`. 117 * `['in', 'id', [1, 2, 3]]` will generate `id IN (1, 2, 3)`. 118 * The method will properly quote the column name and escape values in the range. 119 * 130 * For example, `['like', 'name', 'tester']` will generate `name LIKE '%tester%'`. 131 * When the value range is given as an array, multiple `LIKE` predicates will be generated and concatenated 132 * using `AND`. For example, `['like', 'name', ['test', 'sample']]` will generateegads.h https://gitlab.com/philipclaude/avro2 | C Header | 265 lines
9 * Licensed under The GNU Lesser General Public License, version 2.1 10 * See http://www.opensource.org/licenses/lgpl-2.1.php 11 * 89 const double *rvec, ego *geom ); 90__ProtoExt__ int EG_getRange( const ego geom, double *range, int *periodic ); 91__ProtoExt__ int EG_evaluate( const ego geom, const double *param, 113__ProtoExt__ int EG_convertToBSpline( ego geom, ego *bspline ); 114__ProtoExt__ int EG_convertToBSplineRange( ego geom, const double *range, 115 ego *bspline );Database.php https://bitbucket.org/acidel/buykoala.git | PHP | 350 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 163 /** 164 * Get files from storage at defined range 165 *TranslationWalker.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 411 lines
1<?php 2 11use Doctrine\ORM\Query\Exec\SingleSelectExecutor; 12use Doctrine\ORM\Query\AST\RangeVariableDeclaration; 13use Doctrine\ORM\Query\AST\Join; 25 * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com> 26 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 27 */ 225 foreach ($from->identificationVariableDeclarations as $decl) { 226 if ($decl->rangeVariableDeclaration instanceof RangeVariableDeclaration) { 227 if (isset($this->components[$decl->rangeVariableDeclaration->aliasIdentificationVariable])) { 227 if (isset($this->components[$decl->rangeVariableDeclaration->aliasIdentificationVariable])) { 228 $result .= $this->components[$decl->rangeVariableDeclaration->aliasIdentificationVariable]; 229 }CHANGELOG.md https://github.com/adobo/agendav.git | Markdown | 339 lines
29 30- BC: minimum PHP version supported is now 5.6 31- Upgrade Silex to 2.0.4 49 50- Document required PHP extensions (#201) 51- Add caldav.certificate.verify setting to enable or disable SSL certificate verification 59 user configured language 60- Added tests for PHP 7.1 61- Upgraded to dustjs 2.7.5 and dustjs-helpers 1.7.3 66- Switched to Symfony Asset component to generate URLs for assets 67- Configuration is now loaded in last place, allowing further customization through settings.php 68- agendav.min.js is now ~100kB smaller 138- HTML code is now allowed on the footer message 139- Replaced abandoned Keboola/php-encryption with phpseclib/phpseclib 140- Moved agendavcli out of the bin/ subdirectory to the root directoryclass-wp-image-editor.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 403 lines
1<?php 2/** 202 * 203 * @param int $quality Compression Quality. Range: [1,100] 204 * @return booleanPager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
1<?php 2/* 18 * and is licensed under the LGPL. For more information, see 19 * <http://www.phpdoctrine.org>. 20 */ 171 * 172 * @param string $rangeStyle Pager Range style 173 * @param array $options Custom subclass implementation options. 174 * Default is a blank array 175 * @return Doctrine_Pager_Range Pager Range 176 */ 176 */ 177 public function getRange($rangeStyle, $options = array()) 178 { 178 { 179 $class = 'Doctrine_Pager_Range_' . ucfirst($rangeStyle); 180VarCloner.php https://gitlab.com/Sigpot/AirSpot | PHP | 324 lines
1<?php 2 127 128 // Copies of $GLOBALS have very strange behavior, 129 // let's detect them with some black magic 148 case 'object': 149 if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) { 150 $stub = new Stub(); 164 } else { 165 $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE)); 166 } 300 $obj = (object) array(); 301 self::$hashOffset = 16 - PHP_INT_SIZE; 302 self::$hashMask = -1; 321 322 self::$hashMask ^= hexdec(substr(spl_object_hash($obj), self::$hashOffset, PHP_INT_SIZE)); 323 }wow_content_guild_roster.php https://github.com/DragonFire/wowcs.git | PHP | 290 lines
16<li> 17<a href="<?php echo WoW_Guild::GetGuildURL(); ?>" rel="np"> 18<?php echo sprintf('%s @ %s', WoW_Guild::GetGuildName(), WoW_Guild::GetGuildRealmName()); ?> 60 <div class="profile-sidebar-info"> 61 <div class="name"><a href="<?php echo WoW_Guild::GetGuildURL(); ?>"><?php echo WoW_Guild::GetGuildName(); ?></a></div> 62 <div class="under-name"> 65 <div class="realm"> 66 <span id="profile-info-realm" class="tip" data-battlegroup="<?php echo WoWConfig::$DefaultBGName; ?>"><?php echo WoW_Guild::GetGuildRealmName(); ?></span> 67 </div> 103 <label for="filter-minLvl"><?php echo WoW_Locale::GetString('template_search_table_level'); ?></label> 104 <input type="text" name="minLvl" id="filter-minLvl" class="input level" value="1" maxlength="2" data-min="1" data-filter="range" data-column="3" /> - 105 <input type="text" name="maxLvl" id="filter-maxLvl" class="input level" value="80" maxlength="2" data-max="80" data-filter="range" data-column="3" /> 218 <tbody> 219 <?php 220 $roster = WoW_Guild::GetGuildMembers();francais-utf8.inc.php https://github.com/gunf/novo-isaak.local.git | PHP | 159 lines
1<?php 2/** 2/** 3 * Document Manager Module - francais.inc.php 4 * 16$_lang['DM_action_title'] = 'Sélectionnez une opération'; 17$_lang['DM_range_title'] = 'Spécifiez une plage d\'ID'; 18$_lang['DM_tree_title'] = 'Sélectionnez les Ressources dans l\'Arbre du Site'; 127$_lang['DM_select_submit'] = 'Envoi'; 128$_lang['DM_select_range'] = 'Revenir à la sélection de la plage de Ressources'; 129$_lang['DM_select_range_text'] = '<p><strong>Clé (ou «n» est un ID de Ressource):</strong><br /><br /> 136 137//-- process tree/range messages 138$_lang['DM_process_noselection'] = 'Aucune sélection effectuée. ';DTCoreTextGlyphRun.m https://gitlab.com/Mr.Tomato/DTCoreText | Objective C | 539 lines
322 323 CGPoint glyphPosition = _glyphPositionPoints[index]; 324 327 { 328 rect.size.width = _glyphPositionPoints[index+1].x - glyphPosition.x; 329 } 358// range of the characters from the original string 359- (NSRange)stringRange 360{ 362 { 363 CFRange range = CTRunGetStringRange(_run); 364 364 365 _stringRange = NSMakeRange(range.location + _line.stringLocationOffset, range.length); 366 }RXUtils.cs https://bitbucket.org/ironpencil/tankfight.git | C# | 505 lines
266 { 267 return (input + (range*1000000)) % range; 268 } 271 { 272 return (input + (range*1000000)) % range; 273 } 302 { 303 float first = ((input + (range*1000000.0f)) % range)/range; //0 to 1 304 if(first < 0.5f) return first*2.0f; 384 { 385 return new Vector2(RXRandom.Range(-1.0f,1.0f),RXRandom.Range(-1.0f,1.0f)).normalized; 386 } 389 { 390 return new Vector3(RXRandom.Range(-1.0f,1.0f),RXRandom.Range(-1.0f,1.0f),RXRandom.Range(-1.0f,1.0f)).normalized; 391 }mecabRunner.py https://bitbucket.org/misono/nvdajpmiscdep.git | Python | 242 lines
22 braille = '' 23 for pos in xrange(0, mf.size): 24 ar = Mecab_getFeature(mf, pos, CODE_=CODE_).split(',') 113 ['きゃりーぱみゅぱみゅ', 'キャリーパミュパミュ'], 114 ['いひ', 'イヒ'], # http://sourceforge.jp/ticket/browse.php?group_id=4221&tid=30919 115 ['金', 'キン' ],arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 236 /** 237 * Fill an array with a range of numbers. 238 * 239 * // Fill an array with values 5, 10, 15, 20 240 * $values = Arr::range(5, 20); 241 * 245 */ 246 public static function range($step = 10, $max = 100) 247 { 351 /** 352 * Recursive version of [array_map](http://php.net/array_map), applies one or more 353 * callbacks to all elements in an array, including sub-arrays. 403 * Merges one or more arrays recursively and preserves all keys. 404 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 405 *opToolkit.class.php https://github.com/bb-dev/OpenPNE3.git | PHP | 594 lines
1<?php 2 178 179 $range = strlen($str) - 1; 180 182 { 183 $result .= $str[rand(0, $range)]; 184 } 459 460 return $arrayDsn['phptype'].':'.implode(';', $result); 461 } 495 * 496 * @author Masaki Fujimoto <fujimoto@php.net> 497 * @license http://www.opensource.org/licenses/bsd-license.php The BSD LicenseCSV.php https://gitlab.com/hoanghung.dev/aloads | PHP | 352 lines
27 */ 28class PHPExcel_Writer_CSV extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter 29{ 89 * 90 * @param PHPExcel $phpExcel PHPExcel object 91 */ 108 $saveDebugLog = PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->getWriteDebugLog(); 109 PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog(false); 110 $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); 110 $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); 111 PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE); 112 150 PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType); 151 PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog); 152 }CommentStorage.php https://gitlab.com/geeta7/drupal | PHP | 340 lines
1<?php 2 162 ->orderBy('cid', 'DESC') 163 ->range(0, $new_comments); 164 170 ->orderBy('torder') 171 ->range(0, 1) 172 ->execute()class-wc-report-taxes-by-date.php https://gitlab.com/campus-academy/krowkaramel | PHP | 264 lines
30 31 $current_range = ! empty( $_GET['range'] ) ? sanitize_text_field( $_GET['range'] ) : 'last_month'; 32 ?> 34 href="#" 35 download="report-<?php echo esc_attr( $current_range ); ?>-<?php echo date_i18n( 'Y-m-d', current_time( 'timestamp' ) ); ?>.csv" 36 class="export_csv" 54 55 $current_range = ! empty( $_GET['range'] ) ? sanitize_text_field( $_GET['range'] ) : 'last_month'; 56 60 61 $this->check_current_range_nonce( $current_range ); 62 $this->calculate_current_range( $current_range ); 215 <th class="total_row"><?php _e( 'Total tax', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'This is the total tax for the rate (shipping tax + product tax).', 'woocommerce' ) ); ?></th> 216 <th class="total_row"><?php _e( 'Net profit', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'Total sales minus shipping and tax.', 'woocommerce' ) ); ?></th> 217 </tr>pyrostreams_lang.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 197 lines
1<?php defined('BASEPATH') or exit('No direct script access allowed'); 2 57$lang['streams:field_is_required'] = "Le Champ %s est requis."; 58$lang['streams:date_out_or_range'] = "La date que vous avez sélectionnée est en dehors de l\intervalle de temps acceptable."; 59 196 197/* End of file pyrostreams_lang.php */generate-og-d6-content.php https://github.com/mattpclark/n-peace.git | PHP | 324 lines
1#!/usr/bin/env php 2<?php 8 * @todo: Currently we use Drush for producing the script, find out why I wasn't 9 * able to use just php-cli. 10 * 17 * - Execute script to create the content by running 18 * drush php-script generate-og-d6-content.php 19 * - Execute script to dump the database by running 19 * - Execute script to dump the database by running 20 * drush php-script dump-database-d6.sh > drupal-6.og.database.php 21 * from the command line of the Drupal 6 ROOT directory. 44// Define settings. 45$cmd = 'index.php'; 46$_SERVER['HTTP_HOST'] = 'default'; 46$_SERVER['HTTP_HOST'] = 'default'; 47$_SERVER['PHP_SELF'] = '/index.php'; 48$_SERVER['REMOTE_ADDR'] = '127.0.0.1';gradebook.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 242 lines
1<?php 2/* 206$NoLinkItems = "There are not linked components."; 207$NoUniqueScoreRanges = "There is no unique score range possibility."; 208$DidNotTakeTheExamAcronym = "The user did not take the exam.";mod.rs https://github.com/chromium/chromium.git | Rust | 377 lines
70pub const HWCAP_ATOMICS: ::c_ulong = 1 << 8; 71pub const HWCAP_FPHP: ::c_ulong = 1 << 9; 72pub const HWCAP_ASIMDHP: ::c_ulong = 1 << 10; 179pub const SYS_fdatasync: ::c_long = 83; 180pub const SYS_sync_file_range: ::c_long = 84; 181pub const SYS_timerfd_create: ::c_long = 85; 363pub const SYS_mlock2: ::c_long = 284; 364pub const SYS_copy_file_range: ::c_long = 285; 365pub const SYS_preadv2: ::c_long = 286;Accounts.php https://github.com/srsree/OurBank.git | PHP | 355 lines
1<?php 2/* 21 22<?php 23class Loanaccount_Model_Accounts extends Zend_Db_Table { 261 $sql = "SELECT 262 period_ofrange_description , 263 Interest 280 WHERE 281 period_ofrange_monthfrom <= $interest AND 282 period_ofrange_monthto >= $interest ANDquestionbase.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 334 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 29 30require_once($CFG->dirroot . '/question/type/questionbase.php'); 31 59 * The inner keys for most question types number sequentialy from 1. However 60 * for ddimageortext questions it is strange (and difficult to change now). 61 * the first item in each group gets numbered 1, and the other items get numberedIds.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 494 lines
1<?php 2/** 27 * @property-read string $min The smallest ID (@since 2.20.0). 28 * @property-read string $range_string Generates a range string consisting of 29 * all messages between begin and end of 113 114 case 'range_string': 115 if (!count($this)) { 292 * 293 * Index Format: range_start:range_end,uid,uid2,... 294 * 295 * @param boolean $sort Numerically sort the IDs before creating the 296 * range? 297 * 364 if (isset($range[1])) { 365 for ($i = min($range), $j = max($range); $i <= $j; ++$i) { 366 $ids[] = $i;Blame.php https://github.com/bermi/akelos.git | PHP | 310 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP version 5 | 5// +----------------------------------------------------------------------+ 9// | This LICENSE is in the BSD license style. | 10// | http://www.opensource.org/licenses/bsd-license.php | 11// | | 43// 44// $Id: Blame.php 42 2004-04-26 09:39:59Z clay $ 45// 64 * $switches = array( 65 * 'r [revision]' => 'ARG (some commands also take ARG1:ARG2 range) 66 * A revision argument can be one of: 89 * <code> 90 * <?php 91 * require_once 'VersionControl/SVN.php';Csv.php https://bitbucket.org/moodle/moodle.git | PHP | 404 lines
1<?php 2 2 3namespace PhpOffice\PhpSpreadsheet\Writer; 4 4 5use PhpOffice\PhpSpreadsheet\Calculation\Calculation; 6use PhpOffice\PhpSpreadsheet\Spreadsheet; 10 /** 11 * PhpSpreadsheet object. 12 * 35 */ 36 private $lineEnding = PHP_EOL; 37 84 /** 85 * Save PhpSpreadsheet to file. 86 *PropelPager.php https://github.com/1989gaurav/Propel.git | PHP | 597 lines
1<?php 2 15 * 16 * require_once 'propel/util/PropelPager.php'; 17 * require_once 'PEACH/Propel/Poem/poemPeer.php'; 353 * 354 * @param int $range 355 * @return array $links 356 */ 357 public function getPrevLinks($range = 5) 358 { 360 $start = $this->getPage() - 1; 361 $end = $this->getPage() - $range; 362 $first = $this->getFirstPage(); 376 * 377 * @param int $range 378 * @return array $linksresult.php https://github.com/mackensen/moodle.git | PHP | 300 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 126 $list = explode('[,]', $value); 127 // Inside a list element [.] means sublist (pair) and [:] a range. 128 foreach ($list as $key => $item) {index.php https://github.com/WeMake-IT/Hosting-Service.git | PHP | 170 lines
70<div id="page"> 71<div id="stats"><span class="white">Welcome to</span><span class="orange"> Clanname / </span><span class="grey">Gaming since 2009</span><span class="grey" style="padding-left:250px; padding-right:29px;">Pageviews</span><?php include("counter.php"); ?></div> 72<!--END STATS--> 74<div id="partnersbg"> 75 <div style="text-align:right; padding:5px 15px 0 0;"><?php include("sc_language.php"); ?></div> 76 <div id="mygallery" class="stepcarousel"> 138 <h3>Login</h3> 139 <div id="loginbg"><?php include("login.php"); ?></div> 140 <h3>Topmatch</h3> 140 <h3>Topmatch</h3> 141 <div id="topmatchbg"><?php include("sc_topmatch.php"); ?></div> 142 <h3><?php $_language->read_module('navigation'); echo $_language->module['polls']; ?></h3> 151<!-- CC - Attribution-Share Alike 3.0 Unported - Do not remove links here! --> 152<div id="footer"><span class="white" style="float:left;">Design © by <a class="orangewh" href="http://www.pixelkoenig.deviantart.com">Pixelkönig</a> - Adaption by <a class="orangewh" href="http://www.templates4all.de">Templates4all.de</a></span> <span style="float:right; padding-right:21px; text-transform:uppercase;"><a class="whiteor" href="#">Top</a> <a class="whiteor" href="index.php?site=impressum"><?php $_language->read_module('navigation'); echo $_language->module['imprint']; ?></a> <a class="whiteor" href="index.php?site=challenge"><?php $_language->read_module('navigation'); echo $_language->module['fight_us']; ?></a> <a class="whiteor" href="index.php?site=faq"><?php $_language->read_module('navigation'); echo $_language->module['faq']; ?></a></span><br style="clear:both;" /></div> 153<!-- RESPECT THE WORK FROM THE DESIGNER -->test_ext_stream.cpp https://github.com/zsj888/hiphop-php.git | C++ | 440 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 72 73// so we run on different range of ports every time 74static int get_random_port() {shortcode_generator.php https://bitbucket.org/glix/familydentistry.git | PHP | 486 lines
148 'red' => 'Red', 149 'orange' => 'Orange', 150 'green' => 'Green', 386 <strong><?php echo $content_text; ?>:</strong><br/> 387 <input type="hidden" id="<?php echo $shortcode_name; ?>_content_repeat" value="<?php echo $shortcode['repeat']; ?>"/> 388 <textarea id="<?php echo $shortcode_name; ?>_content" style="width:90%;height:70px" rows="3" wrap="off"></textarea><br/><br/> 413 414 <input type="text" id="<?php echo $shortcode_name; ?>_text" style="width:90%" class="attr" name="<?php echo $attr; ?>"/> 415 421 422 <select id="<?php echo $shortcode_name; ?>_select" style="width:25%" class="attr" name="<?php echo $attr; ?>"> 423 430 431 <option value="<?php echo $select_key; ?>"><?php echo $option; ?></option> 432Solr_Base_Query.php https://github.com/kmewhort/nomus.git | PHP | 477 lines
1<?php 2// $Id: Solr_Base_Query.php,v 1.1.4.40.2.12 2010/03/22 17:38:07 robertDouglass Exp $ 10 $extracted = array(); 11 // Range queries. The "TO" is case-sensitive. 12 $patterns[] = '/(^| |-)'. $name .':([\[\{](\S+) TO (\S+)[\]\}])/'; 24 if (isset($match[3])) { 25 // Extra data for range queries 26 $filter['#start'] = $match[3]; 43 // If the field value has spaces, or : in it, wrap it in double quotes. 44 // unless it is a range query. 45 if (preg_match('/[ :]/', $filter['#value']) && !isset($filter['#start']) && !preg_match('/[\[\{]\S+ TO \S+[\]\}]/', $filter['#value'])) {sbhnddma.h https://github.com/netarchy/infuse4g-sources.git | C Header | 343 lines
9 * under the terms of the GNU General Public License version 2 (the "GPL"), 10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 11 * following added to such license: 169 170/* control flags in the range [27:20] are core-specific and not defined here */ 171#define CTRL_CORE_MASK 0x0ff00000 328 329/* control flags in the range [27:20] are core-specific and not defined here */ 330#define D64_CTRL_CORE_MASK 0x0ff00000180.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 52 lines
1<?php 2 2 3$ranges = array( 4"3019898880" => array("3024093183","JP"),"3024093184" => array("3024617471","KR"),"3024617472" => array("3024879615","MY"),"3024879616" => array("3025141759","CN"),"3025141760" => array("3025403903","KR"),es_es.lang.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 158 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 65 'LBL_LIST_NAME' => 'Planificador:', 66 'LBL_LIST_RANGE' => 'Rango:', 67 'LBL_LIST_REMOVE' => 'Quitar:', 83 'LBL_ON_THE' => 'En el', 84 'LBL_RANGE' => 'a', 85 'LBL_AT' => 'en', 123 'LBL_WARN_CURL' => 'Aviso:', 124 'LBL_WARN_NO_CURL' => 'Este sistema no tiene las librerías cURL habilitadas/compiladas en el módulo de PHP (--with-curl=/ruta/a/libreria_curl). Por favor, contacte con su administrador para resolver el problema. Sin la funcionalidad que provee cURL, el Planificador no puede utilizar hilos con sus tareas.', 125 'LBL_BASIC_OPTIONS' => 'Configuración Básica', 141 'LBL_CRON_WINDOWS_DESC' => 'Nota: Para ejecutar los planificadores de Sugar, cree un archivo de proceso por lotes a ejecutar utilizando las Tareas Programadas de Windows. El archivo de proceso por lotes debería contener los siguientes comandos:', 142 'LBL_NO_PHP_CLI' => 'Si su servidor no tiene disponibles los binarios PHP, puede utilizar wget o curl para lanzar sus Tareas.<br>para wget: <b>* * * * * wget --quiet --non-verbose http://translate.sugarcrm.com/soon/latest/cron.php > /dev/null 2>&1</b><br>para curl: <b>* * * * * curl --silent http://translate.sugarcrm.com/soon/latest/cron.php > /dev/null 2>&1', 143 'LBL_JOBS_SUBPANEL_TITLE' => 'Registro de Tareas',Panel.html https://github.com/marekjs/Shacser.git | HTML | 318 lines
73 // The form will submit an AJAX request to this URL when submitted 74 url: 'save-form.php', 75 75 76 // Fields will be arranged vertically, stretched to full width 77 layout: 'anchor',NpgsqlSchema.cs https://github.com/iainlane/mono.git | C# | 286 lines
7// npgsql-general@gborg.postgresql.org 8// http://gborg.postgresql.org/project/npgsql/projdisplay.php 9// 54 55 metaDataCollections.Columns.AddRange(new DataColumn[] { 56 new DataColumn("CollectionName"), 79 80 restrictions.Columns.AddRange(new DataColumn[] { 81 new DataColumn("CollectionName"), 142 143 databases.Columns.AddRange(new DataColumn[] { 144 new DataColumn("database_name"), 169 170 tables.Columns.AddRange(new DataColumn[] { 171 new DataColumn("table_catalog"),image.h https://github.com/trevor/ImageMagick.git | C Header | 550 lines
7 8 http://www.imagemagick.org/script/license.php 9 27#define OpaqueOpacity ((Quantum) 0UL) 28#define TransparentOpacity ((Quantum) QuantumRange) 29 456 subimage, /* deprecated */ 457 subrange; /* deprecated */ 458 509 IsMagickConflict(const char *), 510 IsHighDynamicRangeImage(const Image *,ExceptionInfo *), 511 IsImageObject(const Image *),hndsoc.h https://github.com/Entropy512/linux_kernel_sgh-i997r.git | C Header | 207 lines
8 * under the terms of the GNU General Public License version 2 (the "GPL"), 9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 10 * following added to such license: 136#define DEF_AI_COMP 0xfff /* Default component, in ai chips it maps all 137 * unused address ranges 138 */Move.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 364 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP version 5 | 5// +----------------------------------------------------------------------+ 9// | This LICENSE is in the BSD license style. | 10// | http://www.opensource.org/licenses/bsd-license.php | 11// | | 43// 44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $ 45// 80 * // force operation to run 81 * 'r [revision]' => 'ARG (some commands also take ARG1:ARG2 range) 82 * A revision argument can be one of: 112 * <code> 113 * <?php 114 * require_once 'VersionControl/SVN.php';componentbase.php https://gitlab.com/alexprowars/bitrix | PHP | 558 lines
1<?php 2 135 */ 136 protected function checkPermissionEditPhp() 137 { 141 { 142 $this->sendJsonResponse(new Error(Loc::getMessage('TRANSLATE_FILTER_ERROR_PHP_EDIT_RIGHTS'), self::STATUS_DENIED)); 143 } 145 { 146 $this->addError(new Error(Loc::getMessage('TRANSLATE_FILTER_ERROR_PHP_EDIT_RIGHTS'), self::STATUS_DENIED)); 147 $this->includeComponentTemplate(self::TEMPLATE_ERROR); 198 { 199 $params['SHOW_SOURCE_PATH'] = '/bitrix/admin/translate_show_php.php'; 200 } 202 { 203 $params['EDIT_SOURCE_PATH'] = '/bitrix/admin/translate_edit_php.php'; 204 }Value.php https://github.com/hukumonline/zfurl.git | PHP | 401 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $ 21 */ 24/** Zend_XmlRpc_Value_Exception */ 25require_once 'Zend/XmlRpc/Value/Exception.php'; 26 27/** Zend_XmlRpc_Value_Scalar */ 28require_once 'Zend/XmlRpc/Value/Scalar.php'; 29 30/** Zend_XmlRpc_Value_Base64 */ 31require_once 'Zend/XmlRpc/Value/Base64.php'; 32 33/** Zend_XmlRpc_Value_Boolean */ 34require_once 'Zend/XmlRpc/Value/Boolean.php'; 35class-page-title.php https://gitlab.com/campus-academy/krowkaramel | PHP | 530 lines
412 * 413 * Written in PHP and used to generate the final HTML. 414 * 431 432 <?php 433 $head_link_url = isset( $settings['page_heading_link']['url'] ) ? $settings['page_heading_link']['url'] : ''; 440 <?php } ?> 441 <<?php echo $heading_size_tag; ?> class="elementor-heading-title elementor-size-<?php echo $settings['size']; ?>"> 442 <?php if ( '' !== $settings['new_page_title_select_icon']['value'] ) { ?> 443 <span class="hfe-page-title-icon"> 444 <?php \Elementor\Icons_Manager::render_icon( $settings['new_page_title_select_icon'], [ 'aria-hidden' => 'true' ] ); ?> </span> 445 <?php } ?> 465 </div> 466 <?php 467tools.php https://gitlab.com/campus-academy/krowkaramel | PHP | 432 lines
1<?php 2namespace Elementor; 152 153 $plugin_slug = basename( ELEMENTOR__FILE__, '.php' ); 154 183 184 if ( Plugin::$instance->experiments->is_feature_active( 'admin_menu_rearrangement' ) ) { 185 add_action( 'elementor/admin/menu_registered/elementor', function( MainMenu $menu ) { 205 206 require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; 207 356 $rollback_html . '<a data-placeholder-text="' . esc_html__( 'Reinstall', 'elementor' ) . ' v{VERSION}" href="#" data-placeholder-url="%s" class="button elementor-button-spinner elementor-rollback-button">%s</a>', 357 wp_nonce_url( admin_url( 'admin-post.php?action=elementor_rollback&version=VERSION' ), 'elementor_rollback' ), 358 esc_html__( 'Reinstall', 'elementor' )export_execute.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 252 lines
1<?php 2 2 3require_once('../config.php'); 4//require_once($CFG->dirroot.'/course/lib.php'); 4//require_once($CFG->dirroot.'/course/lib.php'); 5require_once($CFG->dirroot.'/calendar/lib.php'); 6require_once($CFG->libdir.'/bennu/bennu.inc.php'); 54 55 $link = new moodle_url('/calendar/export.php', $params); 56 redirect($link->out()); 170 case 'custom': 171 // Events based on custom date range. 172 $timestart = time() - $CFG->calendar_exportlookback * DAYSECS; 178 // Parameters given but incorrect, redirect back to export page 179 redirect($CFG->wwwroot.'/calendar/export.php'); 180 die();rss.php https://github.com/tlezotte/HCR.git | PHP | 256 lines
19 -RSS changed to 2.0, encoding removed, languages converted to ISO standard for feeds 20 -RSS title changed to be set by config.inc.php. Make sure that is added to it. 21 Lines modified: 135-165, 208-223 100#Note that ical_parser supplies cal_displayname. 101include(BASE.'functions/ical_parser.php'); 102 126 127/* Change languages to ISO 639-1 to validate RSS without changing long version in config.inc.php */ 128$user_language = array ("english", "polish", "german", "french", "dutch", "italian", "japanese", "norwegian", "spanish", "swedish", "portuguese", "catalan", "traditional_chinese", "esperanto", "korean"); 159$numdays = round((strtotime($todate) - strtotime($fromdate))/(60*60*24))+1; 160$thisdate = $fromdate; # start at beginning of date range, 161 # note that usage of $thisdate is different from distribution 241foreach ($uid_arr as $uid=>$date_range){ 242 #echo "date_range:$date_range<br>"; 243Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
40 /** 41 * @var Doctrine_Pager_Range $_pagerRange Doctrine_Pager_Range object related to the pager layout 42 */ 76 * @param Doctrine_Pager $pager Doctrine_Pager object related to the pager layout 77 * @param Doctrine_Pager_Range $pagerRange Doctrine_Pager_Range object related to the pager layout 78 * @param string $urlMask URL to be assigned for each page 135 * 136 * @return Doctrine_Pager_Range Doctrine_Pager_Range subclass object related to the pager range 137 */ 147 * 148 * @param $pagerRange Doctrine_Pager_Range subclass object related to the pager range 149 * @return void 325 { 326 $range = $this->getPagerRange()->rangeAroundPage(); 327 $str = '';util.h https://github.com/cdecker/bitcoin.git | C Header | 273 lines
3 * Distributed under the MIT software license, see the accompanying * 4 * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 **********************************************************************/ 118/* Assume there is a contiguous memory object with bounds [base, base + max_size) 119 * of which the memory range [base, *prealloc_ptr) is already allocated for usage, 120 * where *prealloc_ptr is an aligned pointer. In that setting, this functionstcpdf_filters.php https://github.com/vivid-planet/library.git | PHP | 477 lines
1<?php 2//============================================================+ 2//============================================================+ 3// File name : tcpdf_filters.php 4// Version : 1.0.000 30// 31// Description : This is a PHP class for decoding common PDF filters (PDF 32000-2008 - 7.4 Filters). 32// 36 * @file 37 * This is a PHP class for decoding common PDF filters (PDF 32000-2008 - 7.4 Filters).<br> 38 * @package com.tecnick.tcpdf 44 * @class TCPDF_FILTERS 45 * This is a PHP class for decoding common PDF filters (PDF 32000-2008 - 7.4 Filters).<br> 46 * @package com.tecnick.tcpdf 46 * @package com.tecnick.tcpdf 47 * @brief This is a PHP class for decoding common PDF filters. 48 * @version 1.0.000MultiGlyphVector.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 405 lines
152 */ 153 public Point2D getGlyphPosition(int glyphIndex) { 154 int idx = getGVIdx(glyphIndex); 154 int idx = getGVIdx(glyphIndex); 155 return gvs[idx].getGlyphPosition(glyphIndex-off[idx]); 156 } 176 */ 177 public void setGlyphPosition(int glyphIndex, Point2D newPos) { 178 int idx = getGVIdx(glyphIndex); 180 // " -> " + newPos); 181 gvs[idx].setGlyphPosition(glyphIndex-off[idx], newPos); 182 } 247 */ 248 public float[] getGlyphPositions(int beginGlyphIndex, 249 int numEntries,BigMath.php https://gitlab.com/x33n/ampache | PHP | 451 lines
1<?php 2 6 * 7 * PHP versions 4 and 5 8 * 20 */ 21require_once 'Auth/OpenID/CryptUtil.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 39 * 40 * @param integer $long The long number (can be a normal PHP 41 * integer or a number created by one of the available long number 128 /** 129 * Returns a random number in the specified range. This function 130 * accepts $start, $stop, and $step values of arbitrary magnitudelagrange_triangle.cpp https://gitlab.com/philipclaude/avro2 | C++ | 411 lines
7// Licensed under The GNU Lesser General Public License, version 2.1 8// See http://www.opensource.org/licenses/lgpl-2.1.php 9// 36void 37Lagrange<Simplex,2,1>::eval( const real_t* x , real_t* phi ) { 38 real_t s = x[0]; 48void 49Lagrange<Simplex,2,1>::grad( const real_t* x , real_t* phi ) { 50 63void 64Lagrange<Simplex,2,1>::hess( const real_t* x , real_t* phi ) { 65 74void 75Lagrange<Simplex,2,2>::eval( const real_t* x , real_t* phi ) { 76 real_t s = x[0];DBCfmt.h https://bitbucket.org/EMPulseGaming/mycore4kata.git | C Header | 187 lines
57const char GemPropertiesEntryfmt[]="nixxix"; 58const char GlyphPropertiesfmt[]="niii"; 59const char GlyphSlotfmt[]="nii"; 165const char SpellRadiusfmt[]="nfxf"; 166const char SpellRangefmt[]="nffffixx"; 167const char SpellRuneCostfmt[]="niiii";wipe.py https://github.com/jmil/SFACT.git | Python | 266 lines
7The wipe manual page is at: 8http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe 9 131 self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Wipe', self, '') 132 self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe') 133 self.activateWipe = settings.BooleanSetting().getFromValue('Activate Wipe', self, False ) 211 self.locationWipe = Vector3( wipeRepository.locationWipeX.value, wipeRepository.locationWipeY.value, wipeRepository.locationWipeZ.value ) 212 for self.lineIndex in xrange(self.lineIndex, len(self.lines)): 213 line = self.lines[self.lineIndex] 222 """Parse gcode initialization and store the parameters.""" 223 for self.lineIndex in xrange(len(self.lines)): 224 line = self.lines[self.lineIndex]Value.php https://github.com/jakedorst/ch3-dev-preview.git | PHP | 401 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $ 21 */ 24/** Zend_XmlRpc_Value_Exception */ 25require_once 'Zend/XmlRpc/Value/Exception.php'; 26 27/** Zend_XmlRpc_Value_Scalar */ 28require_once 'Zend/XmlRpc/Value/Scalar.php'; 29 30/** Zend_XmlRpc_Value_Base64 */ 31require_once 'Zend/XmlRpc/Value/Base64.php'; 32 33/** Zend_XmlRpc_Value_Boolean */ 34require_once 'Zend/XmlRpc/Value/Boolean.php'; 35index.php https://github.com/bfritz/fusionpbx.git | PHP | 249 lines
144 ?> 145 <script language="Javascript" type="text/javascript" src="<?php echo PROJECT_PATH; ?>/includes/edit_area/edit_area_full.js"></script> 146 <script language="Javascript" type="text/javascript"> 156 ,toolbar: "save, |, search, go_to_line,|, fullscreen, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highlight, |, help" 157 ,syntax_selection_allow: "css,html,js,php,xml,c,cpp,sql" 158 ,show_line_colors: true 180 function test_setSelectionRange(id){ 181 editAreaLoader.setSelectionRange(id, 0, 0); 182 } 183 184 function test_getSelectionRange(id){ 185 var sel =editAreaLoader.getSelectionRange(id); 238echo " <input type='button' onclick='editAreaLoader.setValue(\"edit1\", \"new_value\");' value='set value' />\n"; 239echo " <input type='button' onclick='test_getSelectionRange(\"edit1\");' value='getSelectionRange' />\n"; 240echo " <input type='button' onclick='test_setSelectionRange(\"edit1\");' value='setSelectionRange' />\n";LogCommand.java https://bitbucket.org/cofarrell/jgit.git | Java | 327 lines
7 * accompanies this distribution, is reproduced below, and is 8 * available at http://www.eclipse.org/org/documents/edl-v10.php 9 * 79 * 80 * TODO: add more options (revision ranges, sorting, ...) 81 * 203 /** 204 * Adds the range {@code since..until} 205 * 226 */ 227 public LogCommand addRange(AnyObjectId since, AnyObjectId until) 228 throws MissingObjectException, IncorrectObjectTypeException {profile.php https://gitlab.com/e0/X2CRM | PHP | 117 lines
1<?php return array ( 2 'Tag Line' => 'نمایش نهایی', 74 'Activity Feed Report' => 'اخبار سایت گزارش', 75 'Here\'s your {range} update on what\'s been going on in X2Engine!' => 'در اینجا \\ 's شما به {range} به روز رسانی در مورد آنچه که \\ 'ها شده است که در X2Engine!', 76 'Top Activity' => 'فعالیت بالا',README.md https://github.com/mlubinsky/mlubinsky.github.com.git | Markdown | 509 lines
55 ### csv plugin 56 https://www.vim.org/scripts/script.php?script_id=2830 57 115 116https://artofproblemsolving.com/wiki/index.php/LaTeX:LaTeX_on_AoPS 117 166 167ranger 168<https://www.youtube.com/watch?v=47QYCa8AYG4> . vifmatof_test.go https://gitlab.com/lobl.pavel/gcc-6.2.0 | Go | 430 lines
61 // next float64 - too large 62 {"1.7976931348623159e308", "+Inf", ErrRange}, 63 {"-1.7976931348623159e308", "-Inf", ErrRange}, 68 // borderline - too large 69 {"1.797693134862315808e308", "+Inf", ErrRange}, 70 {"-1.797693134862315808e308", "-Inf", ErrRange}, 73 {"1e308", "1e+308", nil}, 74 {"2e308", "+Inf", ErrRange}, 75 {"1e309", "+Inf", ErrRange}, 77 // way too large 78 {"1e310", "+Inf", ErrRange}, 79 {"-1e310", "-Inf", ErrRange}, 79 {"-1e310", "-Inf", ErrRange}, 80 {"1e400", "+Inf", ErrRange}, 81 {"-1e400", "-Inf", ErrRange},PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
12__author__ = "Jens Diemer (www.jensdiemer.de)" 13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php" 14__url__ = "http://www.jensdiemer.de/Programmieren/Python/PyDown" 76 # Zugriffe nur von bestimmten IP's zulassen 77 "IP_range": ["127.0.0.1","192.168.*.*"], 78 245 246 if self.request.cfg["IP_range"]: 247 if not check_ip_list(self.request.cfg["IP_range"], self.request.environ["REMOTE_ADDR"]):mma.vim https://gitlab.com/shinvdu/vim_win_config | Vim Script | 325 lines
5" Source: http://members.wri.com/layland/vim/syntax/mma.vim 6" http://vim.sourceforge.net/scripts/script.php?script_id=1273 7" Id: $Id: mma.vim,v 1.4 2006/04/14 20:40:38 vimboss Exp $ 79" colors: 80syntax keyword mmaVariable Black Blue Brown Cyan Gray Green Magenta Orange Pink Purple Red White Yellow 81curl_security_helper.php https://github.com/mackensen/moodle.git | PHP | 294 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 37 * 38 * This class is currently used by the 'curl' wrapper class in lib/filelib.php. 39 * Depends on: 116 * The method logic is as follows: 117 * 1. Check the host component against the list of IPv4/IPv6 addresses and ranges. 118 * - This will perform a DNS forward lookup if required. 251 foreach ($entries as $entry) { 252 if (ip_utils::is_ipv6_address($entry) || ip_utils::is_ipv6_range($entry)) { 253 $config['ipv6'][] = $entry; 253 $config['ipv6'][] = $entry; 254 } else if (ip_utils::is_ipv4_address($entry) || ip_utils::is_ipv4_range($entry)) { 255 $config['ipv4'][] = $entry;AnnotationLoaderTest.php https://github.com/hhamon/symfony.git | PHP | 223 lines
1<?php 2 14use Doctrine\Common\Annotations\AnnotationReader; 15use PHPUnit\Framework\TestCase; 16use Symfony\Component\Validator\Constraints\All; 26use Symfony\Component\Validator\Constraints\Optional; 27use Symfony\Component\Validator\Constraints\Range; 28use Symfony\Component\Validator\Constraints\Required; 74 $expected->addPropertyConstraint('firstName', new NotNull()); 75 $expected->addPropertyConstraint('firstName', new Range(['min' => 3])); 76 $expected->addPropertyConstraint('firstName', new All([new NotNull(), new Range(['min' => 3])])); 76 $expected->addPropertyConstraint('firstName', new All([new NotNull(), new Range(['min' => 3])])); 77 $expected->addPropertyConstraint('firstName', new All(['constraints' => [new NotNull(), new Range(['min' => 3])]])); 78 $expected->addPropertyConstraint('firstName', new Collection([ 78 $expected->addPropertyConstraint('firstName', new Collection([ 79 'foo' => [new NotNull(), new Range(['min' => 3])], 80 'bar' => new Range(['min' => 5]),PHP_Related.test.php https://github.com/quarkness/piwik.git | PHP | 421 lines
1<?php 2if(!defined('PIWIK_CONFIG_TEST_INCLUDED')) 3{ 4 require_once dirname(__FILE__)."/../../tests/config_test.php"; 5} 7/** 8 * Random tests about what is happening in php 9 */ 9 */ 10require_once 'Timer.php'; 11class Test_PHP_Related extends UnitTestCase 64 65// $interval = PHP_INT_MAX / 50; 66// foreach($alreadyHashed as $hash => $value) 141 $columnToSort = 'nb_hits'; 142 // it might seem strange. This was the reason of a bug I searched 1 hour for!! 143 $this->assertTrue( $columnToSort == 0);index.php https://github.com/greglu/portfolio.git | PHP | 232 lines
36 Greg 37 <span class='orange'>Lu</span> 38 </h1> 47 <ul> 48 <li><a href="/index.php">about</a></li> 49 <li><a id="current" href="/demos/index.php">demos</a></li> 49 <li><a id="current" href="/demos/index.php">demos</a></li> 50 <li><a href="/skills/index.php">skills</a></li> 51 <li><a href="/work/index.php">work</a></li> 114 </h1> 115 <?php 116 require_once($_SERVER["DOCUMENT_ROOT"] . "/rsslib.php"); 122 </h1> 123 <?php 124 require_once($_SERVER["DOCUMENT_ROOT"] . "/atomlib.php");PhpRedisConnection.php https://gitlab.com/nmhieucoder/laravel_tintuc | PHP | 576 lines
1<?php 2 15 */ 16class PhpRedisConnection extends Connection implements ConnectionContract 17{ 32 /** 33 * Create a new PhpRedis connection. 34 * 241 */ 242 public function zrangebyscore($key, $min, $max, $options = []) 243 { 250 251 return $this->command('zRangeByScore', [$key, $min, $max, $options]); 252 } 262 */ 263 public function zrevrangebyscore($key, $min, $max, $options = []) 264 {Database.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 350 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 163 /** 164 * Get files from storage at defined range 165 *Database.php https://github.com/rgranadino/magento-mirror.git | PHP | 350 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 163 /** 164 * Get files from storage at defined range 165 *demo.php https://gitlab.com/alanfsp/meta-box | PHP | 413 lines
1<?php 2/** 268 ), 269 // RANGE 270 array( 270 array( 271 'name' => __( 'Range', 'your-prefix' ), 272 'id' => "{$prefix}range", 272 'id' => "{$prefix}range", 273 'desc' => __( 'Range description', 'your-prefix' ), 274 'type' => 'range',Createdat.php https://bitbucket.org/sevenly/magento-ce.git | PHP | 260 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 79 if ($from !== null || $to !== null) { 80 $subSelect = $this->_getTableDateRangeSelect( 81 $this->getTable('sales/order'), 86 } 87 $this->_clearTableByDateRange($this->getMainTable(), $from, $to, $subSelect); 88 219 if ($subSelect !== null) { 220 $select->having($this->_makeConditionFromDateRangeSelect($subSelect, 'period')); 221 }Database.php https://bitbucket.org/sevenly/magento-ce.git | PHP | 350 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 163 /** 164 * Get files from storage at defined range 165 *FAQ.htm https://gitlab.com/x33n/ProjectPier-Core | HTML | 341 lines
183<br> 184It means that script.php outputs something at line X. Go to this line and fix it. 185In case the message doesn't show, first check that you didn't disable warnings, then add this at the very 250<div class="doc-source"> 251<pre><code>require('a.php'); 252 259<div class="doc-source"> 260<pre><code>require('b.php'); 261 272<p><b>15.</b> <span class='question'>How can I send the PDF by email?</span></p> 273As any other file, but an easy way is to use <a href="http://phpmailer.codeworxtech.com">PHPMailer</a> and 274its in-memory attachment: 310<br> 311<a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/" target="_blank">http://www.setasign.de/products/pdf-php-solutions/fpdi/</a><br> 312<br>ir-instruction.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 409 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#include "hphp/runtime/vm/jit/ir-instruction.h" 18options-sanitize.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 377 lines
1<?php 2 294 * Returns an indexed array of all recognized font sizes. 295 * Values are integers and represent a range of sizes from 296 * smallest to largest. 301function of_recognized_font_sizes() { 302 $sizes = range( 9, 71 ); 303 $sizes = apply_filters( 'of_recognized_font_sizes', $sizes );c_mac.php https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | PHP | 212 lines
1<?php 2/************************************************************************************* 2/************************************************************************************* 3 * c_mac.php 4 * --------- 77 'NULL', 'false', 'break', 'true', 'enum', 'errno', 'EDOM', 78 'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG', 79 'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',Column.php https://gitlab.com/ptisky/API_prestashop | PHP | 394 lines
22 * @package PHPExcel_Worksheet 23 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** 30 * PHPExcel_Worksheet_AutoFilter_Column 31 * 33 * @package PHPExcel_Worksheet 34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 179 */ 180 public function setParent(PHPExcel_Worksheet_AutoFilter $pParent = NULL) { 181 $this->_parent = $pParent; 326 * @param boolean $returnRule Flag indicating whether the rule object or the column object should be returned 327 * @return PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule 328 */results.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 304 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 134 } 135 require_once($CFG->libdir.'/gradelib.php'); 136 switch ($response->get_request_method()) { 195 if ($limitfrom >= $totalcount || $limitfrom < 0) { 196 $outofrange = true; 197 } else { 197 } else { 198 $outofrange = false; 199 } 208 209 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) { 210 $nextpage = new \moodle_url($baseurl, ['from' => $limitfrom]); 214 $lastpage = new \moodle_url($baseurl, ['from' => $limitlast]); 215 if (($limitcurrent > 0) && (!$outofrange)) { 216 $prevpage = new \moodle_url($baseurl, ['from' => $limitprev]);ProjectsInstancesDatabases.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 267 lines
1<?php 2/* 138 * 139 * @opt_param string endTime The upper bound for the time range to retrieve Scan 140 * data for. 142 * information returned in the `Scan.data` field. If a `View` is provided that 143 * does not include the `Scan.data` field, these are ignored. This range of time 144 * must be entirely contained within the defined time range of the targeted 144 * must be entirely contained within the defined time range of the targeted 145 * scan. The lower bound for the time range to retrieve Scan data for. 146 * @opt_param string view Specifies which parts of the Scan should be returnedunit_static_analysis_php.ml https://github.com/facebook/pfff.git | OCaml | 467 lines
5module Env = Env_interpreter_php 6module Interp = Abstract_interpreter_php.Interp (Tainting_fake_php.Taint) 7module Db = Database_juju_php 13 14(* See also tests/php/ia/*.php *) 15 21 let tmp_file = 22 Parse_php.tmp_php_file_from_string content in 23 let db = 27 let ast = 28 Ast_php_simple_build.program (Parse_php.parse_program tmp_file) in 29 env, ast 45 Common.save_excursion Abstract_interpreter_php.strict true (fun()-> 46 Abstract_interpreter_php.graph := Map_poly.empty; 47 let _heap = Interp.program env Env.empty_heap ast inRange.php https://github.com/Ezku/xi-framework.git | PHP | 374 lines
19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Range.php 16971 2009-07-22 18:05:45Z mikaelkael $ 21 */ 27/** Zend_Search_Lucene_Search_Query_MultiTerm */ 28require_once 'Zend/Search/Lucene/Search/Query/MultiTerm.php'; 29 37 */ 38class Zend_Search_Lucene_Search_Query_Range extends Zend_Search_Lucene_Search_Query 39{ 244 { 245 require_once 'Zend/Search/Lucene/Exception.php'; 246 throw new Zend_Search_Lucene_Exception('Range query should not be directly used for search. Use $query->rewrite($index)'); 303 require_once 'Zend/Search/Lucene/Exception.php'; 304 throw new Zend_Search_Lucene_Exception('Range query should not be directly used for search. Use $query->rewrite($index)'); 305 }PhpFormBuilder.php https://gitlab.com/em645jn/brochure | PHP | 539 lines
1<?php 2 4 5class PhpFormBuilder { 6 270 271 $min_max_range = $element = $end = $attr = $field = $label_html = ''; 272 399 400 // Special number values for range and number types 401 if ( $val['type'] === 'range' || $val['type'] === 'number' ) { 401 if ( $val['type'] === 'range' || $val['type'] === 'number' ) { 402 $min_max_range .= ! empty( $val['min'] ) ? ' min="' . $val['min'] . '"' : ''; 403 $min_max_range .= ! empty( $val['max'] ) ? ' max="' . $val['max'] . '"' : ''; 403 $min_max_range .= ! empty( $val['max'] ) ? ' max="' . $val['max'] . '"' : ''; 404 $min_max_range .= ! empty( $val['step'] ) ? ' step="' . $val['step'] . '"' : ''; 405 }Pagination.class.php https://gitlab.com/webbroteam/satisfaction-mvc | PHP | 447 lines
1<?php 2 4 * Pagination 5 * @link https://github.com/onassar/PHP-Pagination/blob/master/Pagination.class.php 6 * Supplies an API for setting pagination details, and renders the resulting 6 * Supplies an API for setting pagination details, and renders the resulting 7 * pagination markup (html) through the included render.inc.php file. 8 * 14 * @author Oliver Nassar <onassar@gmail.com> 15 * @todo add setter parameter type and range checks w/ exceptions 16 * @example 18 * // source inclusion 19 * require_once APP . '/vendors/PHP-Pagination/Pagination.class.php'; 20 * 30 * // source inclusion 31 * require_once APP . '/vendors/PHP-Pagination/Pagination.class.php'; 32 *Stream.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 497 lines
28/** 29 * Amazon S3 PHP stream wrapper 30 * 88 */ 89 // require_once 'Zend/Service/Amazon/S3/Exception.php'; 90 throw new Zend_Service_Amazon_S3_Exception("Unable to parse URL $path"); 186 187 $range_start = $this->_position; 188 $range_end = $this->_position+$count; 193 // size returned by S3 194 if (($this->_position == 0) || (($range_end > strlen($this->_objectBuffer)) && ($range_end <= $this->_objectSize))) { 195 196 $headers = array( 197 'Range' => "$range_start-$range_end" 198 );lang_bbcb_mg.php https://github.com/TheSteffen/icy_phoenix_langs.git | PHP | 325 lines
42 'C++' => 'C++', 43 'PhpCode' => 'Php', 44 82 'color_red' => 'Rot', 83 'color_orange' => 'Orange', 84 'color_brown' => 'Braun', 106 'color_light_grey' => 'Hellgrau', 107 'color_light_orange' => 'Hellorange', 108 'color_peach' => 'Gelb-Orange', 108 'color_peach' => 'Gelb-Orange', 109 'color_power_orange' => 'Power Orange', 110 'color_sea_green' => 'Seegrün', 165 'bbcb_mg_code' => 'Code', 166 'bbcb_mg_phpbbmod' => 'phpBB Mod Template', 167 'bbcb_mg_quote' => 'Zitat',loco-translate-fr_FR.js https://gitlab.com/najomie/fit-hippie | JavaScript | 185 lines
74 "File download failed": "Le téléchargement du fichier a échoué", 75 "WPLANG is deprecated and should be removed from wp-config.php": "La constante WPLANG est dépréciée et devrait être supprimée de wp-config.php", 76 "Unknown language": "Région inconnue", 89 "%s has no POT file. Create one at \"%s/%s.pot\" if you need one.": "", 90 "%s has a strange POT file name (%s). A better name would be \"%s.pot\"": "", 91 "User does not have permission to manage translations": "L'utilisateur n'a pas les droits d'accès nécessaires pour gérer les traductions", 155 "Core": "Fichiers principaux", 156 "PHP extension \"%s\" is not installed. If you experience problems you should install it": "", 157 "Unknown error": "Erreur inconnue",themelet.class.php https://github.com/zshall/kimica.git | PHP | 278 lines
1<?php 2 78 $pages = array(); 79 foreach(range($start, $end) as $i) { 80 $pages[] = $this->gen_page_link_block($base_url, $query, $i, $current_page, $i);Column.php https://gitlab.com/rezaul007/content-management-system | PHP | 394 lines
22 * @package PHPExcel_Worksheet 23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** 30 * PHPExcel_Worksheet_AutoFilter_Column 31 * 33 * @package PHPExcel_Worksheet 34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 179 */ 180 public function setParent(PHPExcel_Worksheet_AutoFilter $pParent = NULL) { 181 $this->_parent = $pParent; 326 * @param boolean $returnRule Flag indicating whether the rule object or the column object should be returned 327 * @return PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule 328 */README.md https://gitlab.com/Qaruk/vimrc | Markdown | 252 lines
25- [github.com/garbas/vim-snipmate](https://github.com/garbas/vim-snipmate): 26 VimL, snipmate-snippets, engine sometimes behaves strange. Supports 27 snippets/* 173* https://github.com/bonsaiben/bootstrap-snippets (snippets for Twitter Bootstrap markup, in HTML and Haml) 174* https://github.com/sniphpets (advanced snippets for PHP, Symfony 2/3, Doctrine and etc.) 175 235* Markdown - [honza](http://github.com/honza) 236* PHP - [chrisyue](http://github.com/chrisyue) 237* Python - [honza](http://github.com/honza)crt0.s https://github.com/gilligan/snesdev.git | Assembly | 585 lines
90 91entry: php 92 pha 179; The code in the target bank when switching back will be put at the bottom 180; of the stack. We will jump here to switch segments. The range $F2..$FF is 181; not used by any kernal routine. 400 401; Set bit 14/15 of the VIC address range to the high bits of __VIDRAM_START__ 402; PC6/PC7 (VICBANKSEL 0/1) = 11Controller.php https://gitlab.com/yasminmostfa/thomas-site | PHP | 372 lines
1<?php 2/** 90 * 91 * To avoid a server/PHP timeout & to show progress of the download to the user, we 92 * use the HTTP Range header to download one chunk of the file at a time. After each 96 * 'continue' query param - if set to 1, will assume we are currently downloading & use 97 * Range: HTTP header to get another chunk of the file. 98 *RTDAO.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 605 lines
1<?php 2 3/** 4 * RTDAO.inc.php 5 * 12 * 13 * $Id: RTDAO.inc.php,v 1.20 2005/07/16 03:52:02 alec Exp $ 14 */ 127 * @param $journalId int 128 * @param $pagingInfo object DBResultRange (optional) 129 * @return array RTVersion 133 134 $result = &$this->retrieveRange( 135 'SELECT * FROM rt_versions WHERE journal_id = ? ORDER BY version_key', 334 * @param $versionId int 335 * @param $pagingInfo object DBResultRange (optional) 336 * @return array RTContextlinux_osl.c https://github.com/DJSteve/StreakKernel.git | C | 620 lines
8 * under the terms of the GNU General Public License version 2 (the "GPL"), 9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 10 * following added to such license: 115 -EINVAL, 116 -ERANGE, 117 -EINVAL,scheduled_task.php https://github.com/ankitagarwal/moodle.git | PHP | 466 lines
266 // This function is complicated but is covered by unit tests. 267 $range = array(); 268 277 if ($match == '*') { 278 array_push($range, range($min, $max)); 279 } else if ($match == '/') { 285 $i = 0; 286 for ($i = 0; $i < count($range[count($range) - 1]); $i++) { 287 if (($i) % $match != 0) { 287 if (($i) % $match != 0) { 288 $range[count($range) - 1][$i] = -1; 289 } 293 if (count($range)) { 294 $range[count($range) - 1] = range($last, $match); 295 }AccessibleAction.idl https://bitbucket.org/nvaccess/ia2.git | IDL | 220 lines
45 * BSD License" as published at: 46 * http://www.opensource.org/licenses/bsd-license.php 47 * 122 0 based index specifying the action to perform. If it lies outside 123 the valid range no action is performed. 124 @retval S_OK 136 0 based index specifying which action's description to return. 137 If it lies outside the valid range an empty string is returned. 138 @param [out] descriptionCoreTest.php https://github.com/jongwook/ksa14-kohana.git | PHP | 367 lines
1<?php defined('SYSPATH') OR die('Kohana bootstrap needs to be included before tests run'); 2 5 * 6 * @TODO Use a virtual filesystem (see phpunit doc on mocking fs) for find_file etc. 7 * 178 'phone' => ':field must be a phone number', 179 'range' => ':field must be within the range of :param2 to :param3', 180 'regex' => ':field does not match the required format', 210 return array( 211 array(1, 'Foobar', 'foobar.php', __LINE__), 212 );Insert.cs https://bitbucket.org/moisesmiranda/subsonic-4.git | C# | 293 lines
6// except in compliance with the License. You may obtain a copy of 7// the License at http://www.opensource.org/licenses/bsd-license.php 8// 110 ColumnList.Clear(); 111 ColumnList.AddRange(columns); 112 Table = _provider.FindOrCreateTable(typeof(T));