100+ results for 'php cos'
Not the results you expected?
PhpbbTopics.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 287 lines
1 /*
2 * $Header: /cvsroot/mvnforum/mvnforum/contrib/phpbb2mvnforum/src/org/mvnforum/phpbb2mvnforum/db/PhpbbTopics.java,v 1.3 2007/01/15 10:27:33 dungbtm Exp $
3 * $Author: dungbtm $
4 * $Revision: 1.3 $
225 xml.append(" <Rows>\n");
226 while (iterator.hasNext()) {
227 PhpbbTopics objphpbb_topicsBean = (PhpbbTopics)iterator.next();
228 xml.append(" <Row>\n");
229 xml.append(" <Column>\n");
241 xml.append(" <Column>\n");
242 xml.append(" <Name>topic_poster</Name>\n");
243 xml.append(" <Value>").append(String.valueOf(objphpbb_topicsBean.topic_poster)).append("</Value>\n");
244 xml.append(" </Column>\n");
245 xml.append(" <Column>\n");
246 xml.append(" <Name>topic_time</Name>\n");
247 xml.append(" <Value>").append(String.valueOf(objphpbb_topicsBean.topic_time)).append("</Value>\n");
248 xml.append(" </Column>\n");
249 xml.append(" <Column>\n");
DLFileEntryServiceSoap.java (https://github.com/acs/liferay-portal.git) Java · 414 lines
44 * <p>
45 * The benefits of using the SOAP utility is that it is cross platform
46 * compatible. SOAP allows different languages like Java, .NET, C++, PHP, and
47 * even Perl, to call the generated services. One drawback of SOAP is that it is
48 * slow because it needs to serialize all calls into a text format (XML).
faq.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 114 lines
SubscriptionTypeDAO.inc.php (https://github.com/mcrider/pkpUpgradeTestSuite.git) PHP · 478 lines
1 <?php
3 /**
4 * @file classes/subscription/SubscriptionTypeDAO.inc.php
5 *
6 * Copyright (c) 2003-2009 John Willinsky
14 */
16 // $Id: SubscriptionTypeDAO.inc.php,v 1.29 2009/08/19 16:28:32 michael Exp $
187 $subscriptionType->setTypeId($row['type_id']);
188 $subscriptionType->setJournalId($row['journal_id']);
189 $subscriptionType->setCost($row['cost']);
190 $subscriptionType->setCurrencyCodeAlpha($row['currency_code_alpha']);
191 $subscriptionType->setNonExpiring($row['non_expiring']);
Module.php (https://bitbucket.org/mrblackus/micro-muffin.git) PHP · 383 lines
1 <?php
3 /*
31 /**
32 * Compiles the node to PHP.
33 *
34 * @param Twig_Compiler A Twig_Compiler instance
48 if (!$this->getAttribute('index'))
49 {
50 $compiler->write('<?php');
51 }
131 $compiler
132 ->write("\n\n")
133 // if the filename contains */, add a blank to avoid a PHP parse error
134 ->write("/* " . str_replace('*/', '* /', $this->getAttribute('filename')) . " */\n")
135 ->write('class ' . $compiler->getEnvironment()->getTemplateClass($this->getAttribute('filename'), $this->getAttribute('index')))
FormErrors.php (https://github.com/noose/zf2.git) PHP · 466 lines
Orders.php (https://gitlab.com/fabiorf/moip-sdk-php) PHP · 507 lines
TargetCpaSimulationPoint.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 488 lines
58 * Generated from protobuf field <code>optional int64 cost_micros = 12;</code>
59 */
60 protected $cost_micros = null;
61 /**
62 * Projected number of impressions.
309 public function getCostMicros()
310 {
311 return isset($this->cost_micros) ? $this->cost_micros : 0;
312 }
314 public function hasCostMicros()
315 {
316 return isset($this->cost_micros);
Liquid.php (https://gitlab.com/Skull3x/ClearSky) PHP · 437 lines
333 }
335 $realCost = $this->calculateFlowCost($blockSide, $accumulatedCost + 1, $j);
337 if($realCost < $cost){
338 $cost = $realCost;
339 }
340 }
378 $this->flowCost[$j] = 0;
379 }else{
380 $this->flowCost[$j] = $this->calculateFlowCost($block, 1, $j);
381 }
382 }
392 for($i = 0; $i < 4; ++$i){
393 $this->isOptimalFlowDirection[$i] = ($this->flowCost[$i] === $minCost);
394 }
AbstractTableGateway.php (https://bitbucket.org/alexandretaz/maniac_divers.git) PHP · 488 lines
AppFeedItem.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 373 lines
Module.php (https://bitbucket.org/buonaparte/zfalbum.git) PHP · 281 lines
PropertyPathMapperTest.php (https://bitbucket.org/hanutimes/hanutimes.git) PHP · 319 lines
1 <?php
3 /*
16 use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
18 class PropertyPathMapperTest extends \PHPUnit_Framework_TestCase
19 {
20 /**
25 /**
26 * @var \PHPUnit_Framework_MockObject_MockObject
27 */
28 private $dispatcher;
30 /**
31 * @var \PHPUnit_Framework_MockObject_MockObject
32 */
33 private $propertyAccessor;
Clinic.php (https://gitlab.com/jeamar1234/medicloud) PHP · 242 lines
83 'clinic_types.ClinicTypeID','clinic_types.Name as ClinicType',
84 DB::raw("
85 (3959 * acos( cos( radians({$lat}) ) *
86 cos( radians( lat ) )
128 ->select(
129 DB::raw("*,
130 (3959 * acos( cos( radians({$lat}) ) *
131 cos( radians( lat ) )
154 ->select(
155 DB::raw("*,
156 (3959 * acos( cos( radians({$lat}) ) *
157 cos( radians( lat ) )
178 ->select(
179 DB::raw("*,
180 (3959 * acos( cos( radians({$lat}) ) *
181 cos( radians( lat ) )
filing_costs.php (https://bitbucket.org/amitholkar/zenfile-18-05.git) PHP · 198 lines
39 ?>
40 <div class="finance_country <?php echo $status ?> custom_accordion" ref="filing_cost_country_<?php echo $invoice->id ?>"><?php echo $invoice->country ?></div>
96 <input type="hidden" name="additional_fee_id[]" value="<?php echo $additional_fee->additional_fee_id ?>">
97 <?php echo $currency_sign ?><input title="<?php echo $additional_fee->additional_fee_description_by_fa ?>" name="additional_fee_corrected_by_pm[]" value="<?php echo $additional_fee_value ?>" type="text"/>
98 </div>
99 <!-- <div class="finance_input float_left" style="width: 170px;">-->
116 <?php foreach($invoice->invoices as $file) { ?>
117 <a href="<?php echo base_url() ?>cases/download_file/<?php echo $file->file_id ?>"><?php echo $file->filename ?></a>
118 <?php } ?>
177 </div>
178 <div class="finance_input float_left">
179 <?php echo $currency_sign ?><input readonly="true" value="<?php echo $estimate_summ ?>" type="text"/>
180 </div>
181 <div class="clear"></div>
Grammar.php (https://github.com/sergiosgc/Structures_Grammar.git) PHP · 407 lines
LeadImportFieldType.php (https://gitlab.com/mautic-master/mautic) PHP · 290 lines
CakeValidationSetTest.php (https://gitlab.com/manuperazafa/elsartenbackend) PHP · 337 lines
1 <?php
2 /**
3 * CakeValidationSetTest file
4 *
5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7 *
11 *
12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
13 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
14 * @package Cake.Test.Case.Model.Validator
15 * @since CakePHP(tm) v 2.2.0
16 * @license http://www.opensource.org/licenses/mit-license.php MIT License
17 */
collator_test.php (https://github.com/vadimonus/moodle.git) PHP · 333 lines
1 <?php
2 // This file is part of Moodle - http://moodle.org/
3 //
19 *
20 * @package core
21 * @category phpunit
22 * @copyright 2011 Sam Hemelryk
23 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30 *
31 * @package core
32 * @category phpunit
33 * @copyright 2011 Sam Hemelryk
34 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
58 $this->error = 'Collation aware sorting not supported';
59 } else {
60 $this->error = 'Collation aware sorting not supported, PHP extension "intl" is not available.';
61 }
62 parent::setUp();
Font.php (https://gitlab.com/daniruizcamacho/pfcascensores) PHP · 472 lines
FormErrors.php (https://github.com/tjohns/zf.git) PHP · 461 lines
class.swfshape.html (https://bitbucket.org/stillzhl/manuals.git) HTML · 251 lines
10 <div class="next" style="text-align: right; float: right;"><a href="swfshape.addfill.html">SWFShape::addFill</a></div>
11 <div class="up"><a href="book.ming.html">Ming</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.swfshape" class="reference">
14 <h1 class="title">The SWFShape class</h1>
248 <div class="next" style="text-align: right; float: right;"><a href="swfshape.addfill.html">SWFShape::addFill</a></div>
249 <div class="up"><a href="book.ming.html">Ming</a></div>
250 <div class="home"><a href="index.html">PHP Manual</a></div>
251 </div></body></html>
porteren.php (https://github.com/pjwiseman/joomla-cms.git) PHP · 449 lines
1 <?php
2 /**
3 * @package Joomla.Platform
5 *
6 * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
7 * @copyright Copyright (C) 2005 Richard Heyes (http://www.phpguru.org/). All rights reserved.
8 * @license GNU General Public License version 2 or later; see LICENSE
9 */
submitchoices.php (https://github.com/adivik2000/nigraha.git) PHP · 304 lines
1 <?php
2 $conn = mysql_connect("localhost", "root", "password") or die(mysql_error());
3 mysql_select_db("mnit_profiles", $conn);
200 <td valign="top" bgcolor="#E0E0E0">
201 <p>
202 <?php
203 $count=1;
204 while(isset($_POST['add'.$count])) {
216 <table width="100%" border="0">
217 <tr>
218 <td><font face="Verdana, Arial, Helvetica, sans-serif">Branch: <?php echo $arr['dept'] ?>
219 </font></td>
221 <td><font face="Verdana, Arial, Helvetica, sans-serif">Semester: <?php echo $arr['semester'] ?></font></td>
223 <td width="35%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><?php echo date("F j, Y, g:i a"); ?></font></td>
ItemInventoryAssemblyAddRs.php (https://bitbucket.org/211enterprises/laracing.git) PHP · 324 lines
1 <?php
3 /**
15 *
16 */
17 require_once 'QuickBooks.php';
19 /**
20 *
21 */
22 require_once 'QuickBooks/QBXML/Schema/Object.php';
24 /**
56 'ItemInventoryAssemblyRet IncomeAccountRef FullName' => 'STRTYPE',
57 'ItemInventoryAssemblyRet PurchaseDesc' => 'STRTYPE',
58 'ItemInventoryAssemblyRet PurchaseCost' => 'PRICETYPE',
59 'ItemInventoryAssemblyRet COGSAccountRef ListID' => 'IDTYPE',
60 'ItemInventoryAssemblyRet COGSAccountRef FullName' => 'STRTYPE',
move.php (https://github.com/MarxGames/E-Hobused.git) PHP · 328 lines
admin_selectTable.php (https://github.com/loboda/cs411.git) PHP · 571 lines
244 ?>
245 <td>
246 <button type="editButton" onclick="showEdit('group', '<?php print($row['GroupName'])?>', '<?php print($row['AssnID'])?>', '0' )">Edit</button>
247 </td>
337 ?>
338 <td>
339 <button type="editButton" onclick="showEdit('memberof', '<?php print($row['GroupName']); ?>', '<?php print($row['StudentID']); ?>', '<?php print($row['AssnID']); ?>' )">Edit</button>
340 </td>
342 <td>
343 <button type="deleteButton" onclick="showDelete('memberof', '<?php print($row['GroupName']); ?>', '<?php print($row['StudentID']); ?>', '<?php print($row['AssnID']); ?>' )">Delete</button>
344 </td>
345 <?php
FUXmlWriter.cpp (https://bitbucket.org/ardalanaz/dava.framework.git) C++ · 259 lines
favorite-articles.php (https://gitlab.com/fcupen/PHP) PHP · 479 lines
4 <meta charset="utf-8">
5 <title><?=$pages->title?></title>
6 <?php include('style.php');?>
7 <style type="text/css">
412 </head>
413 <body>
414 <?php include('menu.php');?>
416 <!-- MENU -->
460 <div id="title" >RELATED LINKS</div></div>
461 <!-- SIDE BAR-->
462 <?php include('formula/side_menu.php'); ?>
463 <!-- SIDE BAR-->
464 </div>
qrsplit.php (https://github.com/graphis/kohana-qrcode.git) PHP · 311 lines
class.splqueue.html (https://bitbucket.org/stillzhl/manuals.git) HTML · 216 lines
10 <div class="next" style="text-align: right; float: right;"><a href="splqueue.construct.html">SplQueue::__construct</a></div>
11 <div class="up"><a href="spl.datastructures.html">数据结构</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.splqueue" class="reference">
14 <h1 class="title">The SplQueue class</h1>
17 <div class="partintro"><p class="verinfo">(PHP 5 >= 5.3.0)</p>
213 <div class="next" style="text-align: right; float: right;"><a href="splqueue.construct.html">SplQueue::__construct</a></div>
214 <div class="up"><a href="spl.datastructures.html">数据结构</a></div>
215 <div class="home"><a href="index.html">PHP Manual</a></div>
216 </div></body></html>
InnosetupMutex.c (git://pkgs.fedoraproject.org/scilab) C · 46 lines
PaginatedList.php (https://github.com/sminnee/silverstripe-framework.git) PHP · 420 lines
php4init.swg (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 13 lines
OfertaActividad.php (https://gitlab.com/bluedrayco/Portafolio) PHP · 568 lines
porteren.php (https://gitlab.com/lankerd/paGO---Testing-Site) PHP · 449 lines
1 <?php
2 /**
3 * @package Joomla.Platform
5 *
6 * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
7 * @copyright Copyright (C) 2005 Richard Heyes (http://www.phpguru.org/). All rights reserved.
8 * @license GNU General Public License version 2 or later; see LICENSE
9 */
schema_2.php (https://github.com/jaydson/Call-for-Papers.git) PHP · 139 lines
1 <?php
2 /* SVN FILE: $Id$ */
3 /* App schema generated on: 2010-09-12 14:09:00 : 1284314100*/
5 var $name = 'App';
7 var $file = 'schema_2.php';
9 function before($event = array()) {
22 'lft' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'length' => 10),
23 'rght' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'length' => 10),
24 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'fk_acos_acos' => array('column' => 'parent_id', 'unique' => 0)),
25 'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
26 );
39 'lft' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'length' => 10),
40 'rght' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'length' => 10),
41 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'fk_acos_acos1' => array('column' => 'parent_id', 'unique' => 0)),
42 'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
43 );
Thrift.php
(git://github.com/apache/thrift.git)
PHP · 821 lines
✨ Summary
This PHP code defines a Thrift protocol implementation for a TApplicationException class, which is an exception type used to handle application-level errors. It provides methods for reading and writing the exception’s message and code fields to a Thrift output stream. The code also includes Thrift-related classes and constants, setting up the global THRIFT_ROOT environment variable.
This PHP code defines a Thrift protocol implementation for a TApplicationException class, which is an exception type used to handle application-level errors. It provides methods for reading and writing the exception’s message and code fields to a Thrift output stream. The code also includes Thrift-related classes and constants, setting up the global THRIFT_ROOT environment variable.
1 <?php
2 /*
3 * Licensed to the Apache Software Foundation (ASF) under one
40 const MAP = 13;
41 const SET = 14;
42 const LST = 15; // N.B. cannot use LIST keyword in PHP!
43 const UTF8 = 16;
44 const UTF16 = 17;
60 * because we need to save CPU cycles and this is not yet in an extension.
61 * Ideally we'd multiply-inherit TException from both Exception and Base, but
62 * that's not possible in PHP and there are no modules either, so for now we
63 * apologetically take a trip to HackTown.
64 *
416 * Base class from which other Thrift structs extend. This is so that we can
417 * cut back on the size of the generated code which is turning out to have a
418 * nontrivial cost just to load thanks to the wondrously abysmal implementation
419 * of PHP. Note that code is intentionally duplicated in here to avoid making
level_search.blade.php (https://gitlab.com/ehubnepal/educationhubnepal) PHP · 160 lines
1 <?php
2 /*foreach($res as $r):
3 foreach($r as $a):
61 <div class="program-more-info">
62 Academic Year - <span>{{$program->academic_year}}</span>,
63 Cost Range - <span>
64 @if(!empty($program->cost_range))
65 {{$program->cost_range}}
66 @else
67 N/A
109 <dt>Academic Year:</dt>
110 <dd>{{$program->academic_year}}</dd>
111 <dt>Cost Range:</dt>
112 @if(!empty($program->cost_range))
smarty_internal_config.php (https://github.com/raphaelbastide/berta.git) PHP · 270 lines
PermissibleAco.php (https://github.com/kiang/olc_baker.git) PHP · 313 lines
CreationMinerais.php (https://github.com/albeneth/braldahim.git) PHP · 340 lines
Helper.php (https://github.com/ircmaxell/php-compiler.git) PHP · 460 lines
6 /*
7 * This file is part of PHP-Compiler, a PHP CFG Compiler for PHP code
8 *
9 * @copyright 2015 Anthony Ferrara. All rights reserved
11 */
13 namespace PHPCompiler\JIT;
15 use PHPCompiler\OpCode;
276 $cmp = \PHPLLVM\Builder::INT_SGE;
278 $result = $this->context->builder->icmp($cmp, $leftValue, $__right);
courseRecord.php (https://github.com/joseraul/moodlews.git) PHP · 778 lines
1 <?php
2 /**
3 *
121 * @var string
122 */
123 public $cost;
124 /**
125 * @var integer
205 $this->lang=$lang ;
206 $this->theme=$theme ;
207 $this->cost=$cost ;
208 $this->timecreated=$timecreated ;
209 $this->timemodified=$timemodified ;
734 * @return void
735 */
736 public function setCost($cost){
737 $this->cost=$cost;
nocache_multiple_element.ctp (https://bitbucket.org/AzuiSleet/cdr-web/) Unknown · 9 lines
Module.php (https://github.com/rodneyrehm/php-template-engines.git) PHP · 358 lines
blender.html (http://jmonkeyengine.googlecode.com/svn/trunk/) HTML · 370 lines
360 </ul>
361 <div><span>
362 <a href="/wiki/doku.php/tag:documentation?do=showtag&tag=tag%3Adocumentation">documentation</a>,
363 <a href="/wiki/doku.php/tag:sdk?do=showtag&tag=tag%3Asdk">sdk</a>,
364 <a href="/wiki/doku.php/tag:tool?do=showtag&tag=tag%3Atool">tool</a>,
365 <a href="/wiki/doku.php/tag:asset?do=showtag&tag=tag%3Aasset">asset</a>
368 </div>
369 <!-- EDIT10 SECTION "Notes" [8159-] -->
370 <p><em><a href="http://hub.jmonkeyengine.org/wiki/doku.php/sdk:blender?do=export_xhtmlbody">view online version</a></em></p>
DoubleArrowTest.php (https://github.com/UMMS-Biocore/dolphinnext.git) PHP · 237 lines
1 <?php
2 /**
3 * Tests the retokenization of the double arrow to T_MATCH_ARROW for PHP 8.0 match structures
5 * is not aversely affected.
6 *
7 * @author Juliette Reinders Folmer <phpcs_nospam@adviesenzo.nl>
8 * @copyright 2020-2021 Squiz Pty Ltd (ABN 77 084 670 600)
9 * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
109 *
110 * @dataProvider dataMatchArrow
111 * @covers PHP_CodeSniffer\Tokenizers\PHP::processAdditional
112 *
113 * @return void
196 *
197 * @dataProvider dataFnArrow
198 * @covers PHP_CodeSniffer\Tokenizers\PHP::processAdditional
199 *
200 * @return void
OS_NS_stdlib.h (https://github.com/jobba/mangos.git) C Header · 332 lines
BasesfGuardUser.class.php (https://github.com/arturolinares/asandbox.git) PHP · 199 lines
message.php (https://github.com/4260/OpenPNE2.git) PHP · 1044 lines
1 <?php
2 /**
3 * @copyright 2005-2008 OpenPNE Project
4 * @license http://www.php.net/license/3_01.txt PHP License 3.01
5 */
888 " AND is_send = 1";
890 if ($GLOBALS['_OPENPNE_DSN_LIST']['main']['dsn']['phptype'] == 'pgsql') {
891 $sql = "SELECT c_member_id_from" .
892 " FROM" .
921 " AND is_send = 1";
923 if ($GLOBALS['_OPENPNE_DSN_LIST']['main']['dsn']['phptype'] == 'pgsql') {
924 $sql = "SELECT c_member_id_to" .
925 " FROM" .
180.php (https://gitlab.com/phamngsinh/baitaplon_sinhvien) PHP · 52 lines
PhpdocToCommentFixerTest.php (git://github.com/fabpot/PHP-CS-Fixer.git) PHP · 533 lines
ClientConfig.php (https://github.com/saaras-io/yastack.git) PHP · 499 lines
CloudFormationClient.php (https://github.com/ocStore/ocStore.git) PHP · 142 lines
1 <?php
2 namespace Aws\CloudFormation;
71 * @method \Aws\Result detectStackSetDrift(array $args = [])
72 * @method \GuzzleHttp\Promise\Promise detectStackSetDriftAsync(array $args = [])
73 * @method \Aws\Result estimateTemplateCost(array $args = [])
74 * @method \GuzzleHttp\Promise\Promise estimateTemplateCostAsync(array $args = [])
form.html.php (https://gitlab.com/randydanniswara/website) PHP · 188 lines
1 <?php
2 /**
3 * @package Mautic
7 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
8 */
9 $view->extend('MauticCoreBundle:Default:content.html.php');
10 $header = ($lead->getId()) ?
11 $view['translator']->trans('mautic.lead.lead.header.edit',
37 <?php echo $view['form']->widget($form['preferred_profile_image']); ?>
38 </div>
39 <div class="col-sm-12<?php if ($view['form']->containsErrors($form['custom_avatar'])) echo ' has-error'; ?>" id="customAvatarContainer" style="<?php if ($form['preferred_profile_image']->vars['data'] != 'custom') echo 'display: none;'; ?>">
40 <?php echo $view['form']->widget($form['custom_avatar']); ?>
71 $groupFields = $fields[$group];
72 if (!empty($groupFields)): ?>
73 <div class="tab-pane fade<?php if ($key === 0) echo ' in active'; ?> bdr-rds-0 bdr-w-0" id="<?php echo $group; ?>">
74 <div class="pa-md bg-auto bg-light-xs bdr-b">
75 <h4 class="fw-sb"><?php echo $view['translator']->trans('mautic.lead.field.group.' . $group); ?></h4>
PHPParserConstants.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 342 lines
✨ Summary
This Java code defines a lexer for PHP programming language. It breaks down the source code into individual tokens, such as keywords, identifiers, literals, and symbols, which can be used to analyze and parse the PHP syntax. The output is an array of token images, representing the structure of the input PHP code.
This Java code defines a lexer for PHP programming language. It breaks down the source code into individual tokens, such as keywords, identifiers, literals, and symbols, which can be used to analyze and parse the PHP syntax. The output is an array of token images, representing the structure of the input PHP code.
1 /* Generated By:JavaCC: Do not edit this line. PHPParserConstants.java */
2 package gatchan.phpparser.parser;
4 public interface PHPParserConstants {
6 int EOF = 0;
7 int PHPSTARTSHORT = 1;
8 int PHPSTARTLONG = 2;
9 int PHPECHOSTART = 3;
10 int PHPEND = 4;
154 int DEFAULT = 0;
155 int PHPPARSING = 1;
156 int IN_SINGLE_LINE_COMMENT = 2;
157 int IN_VARIABLE = 3;
ConditionalExpression.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 70 lines
✨ Summary
This Java class represents a ConditionalExpression, which is an operator expression that evaluates to true if a condition is met and false otherwise. It has three main components: a boolean condition, a value to return if true, and a value to return if false. The class provides methods for getting variables used in the expression, modified by it, and outside of it.
This Java class represents a ConditionalExpression, which is an operator expression that evaluates to true if a condition is met and false otherwise. It has three main components: a boolean condition, a value to return if true, and a value to return if false. The class provides methods for getting variables used in the expression, modified by it, and outside of it.
XmlRpc.php
(http://typecho.googlecode.com/svn/trunk/)
PHP · 2094 lines
✨ Summary
This PHP code defines a class that implements various APIs for interacting with WordPress, Blogger, and MovableType blogs. It provides methods for creating, editing, and deleting posts, categories, comments, and users, as well as retrieving metadata such as post status lists and recent post titles. The class also handles API requests from external services like pingback extensions.
This PHP code defines a class that implements various APIs for interacting with WordPress, Blogger, and MovableType blogs. It provides methods for creating, editing, and deleting posts, categories, comments, and users, as well as retrieving metadata such as post status lists and recent post titles. The class also handles API requests from external services like pingback extensions.
_zewdDocumentation1.m
(git://github.com/robtweed/EWD.git)
Objective C · 913 lines
✨ Summary
This is a collection of methods for interacting with an XML Document Object Model (DOM). It provides functions to locate, manipulate and query elements within the DOM, such as getting the tag name, prefix, public ID, system ID, and attribute values, as well as searching for specific nodes based on tag name and attribute values.
This is a collection of methods for interacting with an XML Document Object Model (DOM). It provides functions to locate, manipulate and query elements within the DOM, such as getting the tag name, prefix, public ID, system ID, and attribute values, as well as searching for specific nodes based on tag name and attribute values.
281 ;;<?xml version='1.0' encoding='UTF-8' ?>
282 ;;In this example, target = "xml", data = "version='1.0' encoding='UTF-8'
283 ;;This method can also be used to create PHP processing instructions, eg:
284 ;;<?php
285 ;;//this is some PHP code
286 ;;?>
287 ;;In this example, "php" is the target and your PHP code is specified as data.
288 ;;</purpose>
289 ;;<parameters>
_zewdCompiler7.m
(git://github.com/robtweed/EWD.git)
Objective C · 1405 lines
✨ Summary
This Objective C code appears to be part of a web application, specifically handling dynamic data and user interactions. It provides functions for merging arrays from a session, copying lists between sessions, retrieving text from lists, replacing options by field name or ID, and returning options with specific values. These functions seem to be used in a web page’s JavaScript code to update and interact with the web application’s data.
This Objective C code appears to be part of a web application, specifically handling dynamic data and user interactions. It provides functions for merging arrays from a session, copying lists between sessions, retrieving text from lists, replacing options by field name or ID, and returning options with specific values. These functions seem to be used in a web page’s JavaScript code to update and interact with the web application’s data.
281 set divOID=$$addElementToDOM^%zewdDOM("div",nodeOID,,.attr,"")
282 ;
283 set attr("name")="m_php"
284 set attr("codebase")="/"
285 set attr("code")="m_php.class"
312 f q:p2'["&php;" d
313 . s x1=$p(p2,"&php;",1)
314 . s x2=$p(p2,"&php;",2)
315 . s x3=$p(p2,"&php;",3,500)
316 . s x2=$g(phpVars(x2))
317 . s p2=x1_"<?="_x2_" ?>"_x3
318 s p3=$p(p2,";",1)
844 . . k cspVarsX,phpVarsX
845 . . m cspVarsX=cspVars
846 . . m phpVarsX=phpVars
847 . . s path=$$getApplicationRootPath^%zewdAPI()
848 . . s dlim=$$getDelim^%zewdCompiler()
helphelp.txt (https://code.google.com/p/msysgit/) Unknown · 350 lines
wl_iw.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 7875 lines
✨ Summary
This C code initializes and manages wireless networking functionality for a Linux system. It sets up network devices, handles device attachment and detachment, and manages various components such as scanning, softap, and hotspot events. The code also includes error handling and synchronization mechanisms to ensure thread-safe operation. It appears to be part of a larger wireless networking framework or driver.
This C code initializes and manages wireless networking functionality for a Linux system. It sets up network devices, handles device attachment and detachment, and manages various components such as scanning, softap, and hotspot events. The code also includes error handling and synchronization mechanisms to ensure thread-safe operation. It appears to be part of a larger wireless networking framework or driver.
php4run.swg (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 218 lines
21 /* This causes warnings from GCC >= 4.2 (assigning a string literal to char*).
22 * But this seems to be unavoidable without directly assuming knowledge of
23 * the structure, which changed between PHP4 and PHP5. */
24 # define SWIG_ZEND_NAMED_FE(ZN, N, A) ZEND_NAMED_FE(ZN, N, A)
25 #endif
54 /* But in fact SWIG_ConvertPtr is the native interface for getting typed
55 pointer values out of zvals. We need the TSRMLS_ macros for when we
56 make PHP type calls later as we handle php resources */
57 #define SWIG_ConvertPtr(obj,pp,type,flags) SWIG_ZTS_ConvertPtr(obj,pp,type,flags TSRMLS_CC)
63 static int default_error_code = E_ERROR;
65 #define SWIG_PHP_Arg_Error_Msg(argnum,extramsg) "Error in argument " #argnum " "#extramsg
67 #define SWIG_PHP_Error(code,msg) do { SWIG_ErrorCode() = code; SWIG_ErrorMsg() = msg; SWIG_fail; } while (0)
Curl.php
(http://xe-core.googlecode.com/svn/trunk/)
PHP · 462 lines
✨ Summary
This is a PHP class that implements the HTTP_Request2 interface for sending HTTP requests using the cURL extension. It provides methods for setting and getting request configuration options, adding request headers, and sending the request. The class also includes callback functions for handling response data from cURL.
This is a PHP class that implements the HTTP_Request2 interface for sending HTTP requests using the cURL extension. It provides methods for setting and getting request configuration options, adding request headers, and sending the request. The class also includes callback functions for handling response data from cURL.
1 <?php
2 /**
3 * Adapter for HTTP_Request2 wrapping around cURL extension
7 * LICENSE:
8 *
9 * Copyright (c) 2008, 2009, Alexey Borzov <avb@php.net>
10 * All rights reserved.
11 *
36 * @category HTTP
37 * @package HTTP_Request2
38 * @author Alexey Borzov <avb@php.net>
39 * @license http://opensource.org/licenses/bsd-license.php New BSD License
199 curl_setopt($ch, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
200 }
201 // works sometime after 5.3.0, http://bugs.php.net/bug.php?id=49571
202 if ($this->request->getConfig('strict_redirects') && defined('CURLOPT_POSTREDIR ')) {
203 curl_setopt($ch, CURLOPT_POSTREDIR, 3);
jedit_gui.props (https://jedit.svn.sourceforge.net/svnroot/jedit) MSBuild · 2181 lines
README (http://enginey.googlecode.com/svn/trunk/) Unknown · 42 lines
1 Using Amazon S3 with Dojo has the following prerequisites:
2 * You must be signed up to use Amazon S3. You can sign up for Amazon S3 at http://aws.amazon.com/s3.
3 * Use the provided proxy (/dojox/rpc/s3/proxy.php) with PHP 5.
4 * proxy.php requires the following modules:
9 To use S3 from Dojo, you need a proxy. You can use the provided proxy example file by renaming
10 proxy.example-php to proxy.php and then you must enter your Amazon access key and secret access key
11 into the proxy.php file on line 3 and 4:
20 var s3Buckets = new dojox.rpc.Service({
21 target:"http://s3.amazonaws.com/",
22 proxyUrl:"../s3/proxy.php", // the path to the proxy
23 transport:"REST",
24 envelope:"PROXIED-PATH",
sheit-2007-12-26.php (https://bitbucket.org/shuangxinyu/emacspack.git) PHP · 10 lines
UnaryExpression.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 73 lines
✨ Summary
This Java class represents a unary expression in an abstract syntax tree (AST) for PHP programming language. It extends another class OperatorExpression
and contains an instance of Expression
. The class provides methods to get variables used, modified, and outside the expression, as well as analyze code with a given parser.
This Java class represents a unary expression in an abstract syntax tree (AST) for PHP programming language. It extends another class OperatorExpression
and contains an instance of Expression
. The class provides methods to get variables used, modified, and outside the expression, as well as analyze code with a given parser.
SimpleListModel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 106 lines
✨ Summary
This Java class, SimpleListModel
, extends AbstractListModel
and provides a custom list model for displaying PHP items. It filters items based on a search string and mode settings, allowing users to narrow down results by type and name. The class uses a TreeSet to store the filtered items and updates the list when the filter or mode changes.
This Java class, SimpleListModel
, extends AbstractListModel
and provides a custom list model for displaying PHP items. It filters items based on a search string and mode settings, allowing users to narrow down results by type and name. The class uses a TreeSet to store the filtered items and updates the list when the filter or mode changes.
37 this.list.clear();
38 for (int i = 0; i < list.size(); i++) {
39 PHPItem phpItem = (PHPItem) list.get(i);
40 if (accept(phpItem, searchString)) {
53 Iterator iterator = list.iterator();
54 while (iterator.hasNext()) {
55 PHPItem phpItem = (PHPItem) iterator.next();
56 if (!accept(phpItem, searchString)) {
74 private boolean accept(PHPItem phpItem, String searchText) {
75 return (mode & phpItem.getItemType()) == phpItem.getItemType() && phpItem.getNameLowerCase().indexOf(searchText) != -1;
76 }
88 private static class SimpleComparator implements Comparator {
89 public int compare(Object o1, Object o2) {
90 PHPItem item1 = (PHPItem) o1;
91 PHPItem item2 = (PHPItem) o2;
WInZipAesKeyStrength.cs (https://bitbucket.org/jens13/cleanzip.git) C# · 14 lines
CHANGES.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Plain Text · 1078 lines
327 (Marcelo Vanzin)
329 - SF bug 1523117: Add explicit fold in PHP mode inserts wrong comments
330 The "DEF_CLASS" rule set in the php mode file didn't have any line
331 or range comments declared in the props section; so the code was now
332 picking up the porperties for the default rule set, which had the
333 HTML-style range comment instead of the PHP line comment. This is
334 probably due to the XML parser change - the old code was probably
335 propagating some property of another rule set to the DEF_CLASS rule
486 some of them had errors). (Marcelo Vanzin)
488 - The build.xml got rebuilt to allow building the MacOS-Plugin on any platform
489 and to make it easier to build the distribution files (DEB, Java-Installer,
490 Mac OS X DMG, TGZ Slackware Package, Windows-Installer, SRC-package, PDF-Manuals).
589 - Gnuplot syntax highlighting (Loren Charnley).
591 - Updated PHP syntax highlighting (Matthieu Casanova).
593 - Fixed end token of heredoc that must start at beginning of the line in
jedit.1 (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 163 lines
news.html
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
HTML · 105 lines
✨ Summary
This HTML code outputs a news page for the Overflow project, a free “data flow oriented” development environment. It displays recent news and updates about the project, including new releases, features, and adoption by other companies. The page also includes links to download the software and provide feedback through an online survey.
This HTML code outputs a news page for the Overflow project, a free “data flow oriented” development environment. It displays recent news and updates about the project, including new releases, features, and adoption by other companies. The page also includes links to download the software and provide feedback through an online survey.
16 <hr WIDTH="100%">
17 <br><b>November 21st 2001</b>
18 <p><a href="http://sourceforge.net/forum/forum.php?forum_id=126719">Overflow
19 0.6.0 have just been released.</a><b></b><b></b>
20 <p>We're pleased to announce the release of Overflow 0.6.0. Overflow
53 robotics lab at University of Sherbrooke</a> and a robot control toolbox
54 is soon to be released!
55 <p>There is now an <a href="http://sourceforge.net/survey/survey.php?group_id=590&survey_id=11967">on-line
56 survey on SourceForge</a>. Tell us what you think about Overflow!
57 <br><b></b>
59 <hr WIDTH="100%">
60 <br><b>July 4th 2001</b>
61 <p><a href="http://sourceforge.net/forum/forum.php?forum_id=96301">Overflow
62 0.5.0 have just been released.</a><b> </b>This new release brings
63 a number of improvements over version 0.4.3.
gfortran.vim (https://bitbucket.org/ultra_iter/vim-qt.git) Vim Script · 27 lines
bannerclient.php (https://bitbucket.org/kraymitchell/fcd.git) PHP · 41 lines
ZipStreamWrapper.php
(https://PHPExcel.svn.codeplex.com/svn)
PHP · 164 lines
✨ Summary
This PHP class, PHPExcel_Shared_ZipStreamWrapper
, provides a wrapper around ZipArchive to simulate a file stream. It allows reading and seeking through a ZIP archive as if it were a local file, making it useful for working with ZIP files in a PHP application. The class is designed to be used with the stream_wrapper_register
function to enable ZIP streams.
This PHP class, PHPExcel_Shared_ZipStreamWrapper
, provides a wrapper around ZipArchive to simulate a file stream. It allows reading and seeking through a ZIP archive as if it were a local file, making it useful for working with ZIP files in a PHP application. The class is designed to be used with the stream_wrapper_register
function to enable ZIP streams.
1 <?php
2 /**
3 * PHPExcel
4 *
5 * Copyright (c) 2006 - 2010 PHPExcel
6 *
7 * This library is free software; you can redistribute it and/or
22 * @package PHPExcel_Shared
23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version ##VERSION##, ##DATE##
33 * @package PHPExcel_Shared
34 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
36 class PHPExcel_Shared_ZipStreamWrapper {
DataSource.php (https://bitbucket.org/floresj/notetime.git) PHP · 444 lines
1 <?php
2 /**
3 * DataSource base class
5 * PHP 5
6 *
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
9 *
12 *
13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
14 * @link http://cakephp.org CakePHP(tm) Project
15 * @package Cake.Model.Datasource
16 * @since CakePHP(tm) v 0.10.5.1790
17 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
18 */
bp-core-options.php (https://bitbucket.org/simplemediacode/bptrunk.git) PHP · 538 lines
class.bb-pingbacks.php (https://bitbucket.org/simplemediacode/bptrunk.git) PHP · 204 lines
routes.php (https://bitbucket.org/floresj/notetime.git) PHP · 23 lines
1 <?php
2 /**
3 * Routes file
7 * PHP versions 4 and 5
8 *
9 * CakePHP : Rapid Development Framework (http://cakephp.org)
10 * Copyright 2005-2012, Cake Software Foundation, Inc.
11 *
14 *
15 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc.
16 * @link http://cakephp.org CakePHP Project
17 * @package Cake.Test.test_app.Config
18 * @since CakePHP v 2.0
19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
20 */
default.po (https://bitbucket.org/floresj/notetime.git) Portable Object · 24 lines
1 msgid ""
2 msgstr ""
3 "Project-Id-Version: CakePHP Testsuite\n"
4 "POT-Creation-Date: 2008-10-09 19:20-0300\n"
5 "PO-Revision-Date: \n"
6 "Last-Translator: Renan Gonรงalves <renan.saddam@gmail.com>\n"
7 "Language-Team: CakePHP I18N & I10N Team <i10n.cakephp@gmail.com>\n"
8 "MIME-Version: 1.0\n"
9 "Content-Type: text/plain; charset=UTF-8\n"
default.po (https://bitbucket.org/floresj/notetime.git) Portable Object · 26 lines
Makefile
(https://swig.svn.sourceforge.net/svnroot/swig)
Makefile · 25 lines
✨ Summary
This Makefile is used to build a PHP extension using SWIG (Simplified Wrapper and Interface Generator). It provides targets for building, cleaning, and checking the extension, as well as generating the necessary files for compilation. The all
target builds the default PHP extension, while the static
target builds a static version. The clean
target removes generated files, and the check
target runs the built extension.
This Makefile is used to build a PHP extension using SWIG (Simplified Wrapper and Interface Generator). It provides targets for building, cleaning, and checking the extension, as well as generating the necessary files for compilation. The all
target builds the default PHP extension, while the static
target builds a static version. The clean
target removes generated files, and the check
target runs the built extension.
10 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
11 SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
12 php
14 static::
15 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
16 SWIGOPT='$(SWIGOPT)' TARGET='myphp' INTERFACE='$(INTERFACE)' \
17 php_static
19 clean::
20 $(MAKE) -f $(TOP)/Makefile php_clean
21 rm -f $(TARGET).php
23 check: all
24 $(MAKE) -f $(TOP)/Makefile php_run
BaseComponent.php
(http://preader.googlecode.com/svn/trunk/)
PHP · 48 lines
✨ Summary
This PHP class defines an abstract base component for a web application, extending the Control class. It provides a constructor that initializes the parent and name of the component, as well as rendering and template management functionality. The createTemplate
method loads a specific template file based on the component’s class name.
This PHP class defines an abstract base component for a web application, extending the Control class. It provides a constructor that initializes the parent and name of the component, as well as rendering and template management functionality. The createTemplate
method loads a specific template file based on the component’s class name.
index.html?C=S;O=A (http://opensource.apple.com/release/mac-os-x-1074/) Unknown · 114 lines
SimpleKeyCacheInputStream.php (http://2moons.googlecode.com/svn/trunk/) PHP · 130 lines
en-GB.plg_finder_weblinks.ini (https://bitbucket.org/kraymitchell/fcd.git) Unknown · 11 lines
index.php
(http://sgd.googlecode.com/svn/trunk/)
PHP · 60 lines
✨ Summary
This HTML code is a basic template for an administrative dashboard, likely used to manage teachers’ information. It includes PHP session start, links to CSS and JavaScript files, and includes several PHP views (header, sobre, menuLogin, footer) that are dynamically rendered based on user login status. The layout is divided into main content, sidebar, and footer sections.
This HTML code is a basic template for an administrative dashboard, likely used to manage teachers’ information. It includes PHP session start, links to CSS and JavaScript files, and includes several PHP views (header, sobre, menuLogin, footer) that are dynamically rendered based on user login status. The layout is divided into main content, sidebar, and footer sections.
18 <body>
19 <div id="wrapper">
20 <?php include 'app/views/header.php'; ?>
21 <div id="page">
22 <div id="content">
23 <?php include 'app/views/sobre.php'; ?>
24 </div>
25 <div id="sidebar">
35 </div>
36 <div id="auxiliarOculta"></div>
37 <?php include 'app/views/footer.php'; ?>
38 </div>
39 <script type="text/javascript" src="public/js/jquery-1.4.2.min.js"></script>
smart_pointer_rename_runme.php
(https://swig.svn.sourceforge.net/svnroot/swig)
PHP · 28 lines
✨ Summary
This PHP code tests a smart pointer class, specifically its behavior when used to access and manipulate objects. It creates instances of Foo
and Bar
, which are classes that utilize the smart pointer’s features, such as method overriding and dereferencing. The test cases verify that the smart pointer correctly calls methods on the underlying object and returns it when dereferenced.
This PHP code tests a smart pointer class, specifically its behavior when used to access and manipulate objects. It creates instances of Foo
and Bar
, which are classes that utilize the smart pointer’s features, such as method overriding and dereferencing. The test cases verify that the smart pointer correctly calls methods on the underlying object and returns it when dereferenced.
populate
(git://github.com/openmelody/melody.git)
Perl · 798 lines
✨ Summary
This Perl script, populate
, generates pseudorandom weblog data for a specified number of blogs, authors, entries, categories, and years. It creates user records, blog posts, categories, and tags with random data, including dates, URLs, IPs, and words. The script can be run multiple times to generate different data sets.
This Perl script, populate
, generates pseudorandom weblog data for a specified number of blogs, authors, entries, categories, and years. It creates user records, blog posts, categories, and tags with random data, including dates, URLs, IPs, and words. The script can be run multiple times to generate different data sets.
php_calendar.php
(http://phpwcms.googlecode.com/svn/trunk/)
PHP · 150 lines
✨ Summary
The PHP code generates a calendar table with the current month and year, displaying days of the week and dates. It takes into account day names, weekday numbers, and user-defined links for each date. The output is an HTML string representing a calendar table, which can be used in a web page or other application to display a calendar view.
The PHP code generates a calendar table with the current month and year, displaying days of the week and dates. It takes into account day names, weekday numbers, and user-defined links for each date. The output is an HTML string representing a calendar table, which can be used in a web page or other application to display a calendar view.
067.factor (git://github.com/x6j8x/factor.git) Unknown · 63 lines
i2c-ali1535 (http://photon-android.googlecode.com/svn/) Unknown · 43 lines
tests.php4
(https://swig.svn.sourceforge.net/svnroot/swig)
PHP · 228 lines
✨ Summary
This PHP code is a comprehensive class for validating and checking various aspects of PHP code, including classes, functions, variables, resources, and more. It provides methods to check for existence, type, equality, nullness, and resource status, as well as warning and failure messages. The class can be used to ensure the integrity and consistency of PHP code before execution.
This PHP code is a comprehensive class for validating and checking various aspects of PHP code, including classes, functions, variables, resources, and more. It provides methods to check for existence, type, equality, nullness, and resource status, as well as warning and failure messages. The class can be used to ensure the integrity and consistency of PHP code before execution.
cap_inline.h
(http://photon-android.googlecode.com/svn/)
C++ Header · 410 lines
✨ Summary
This C++ header file defines a set of functions for interacting with various components of a system, such as the ARM CPU, VPM, LCD, and others. It provides functions to check if certain features are present, retrieve maximum clock speeds, and determine LCD resolutions. The code is likely used in a low-level system or embedded device application.
This C++ header file defines a set of functions for interacting with various components of a system, such as the ARM CPU, VPM, LCD, and others. It provides functions to check if certain features are present, retrieve maximum clock speeds, and determine LCD resolutions. The code is likely used in a low-level system or embedded device application.