100+ results for 'php sort'
Not the results you expected?
InstallSchema.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 407 lines
1 <?php
2 /**
3 * Copyright © 2016 Magento. All rights reserved.
18 /**
19 * {@inheritdoc}
20 * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
21 */
22 public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
158 'Widget parameters'
159 )->addColumn(
160 'sort_order',
161 \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
162 null,
163 ['unsigned' => true, 'nullable' => false, 'default' => '0'],
164 'Sort order'
165 )->addForeignKey(
166 $installer->getFkName('widget_instance', 'theme_id', 'theme', 'theme_id'),
ezisbn10to13converter.php (https://bitbucket.org/ericsagnes/ezpublish-multisite.git) PHP · 355 lines
zone.php (https://bitbucket.org/sandeepbhaskar/inspiredliving.git) PHP · 441 lines
29 if (isset($this->request->get['sort'])) {
30 $url .= '&sort=' . $this->request->get['sort'];
31 }
165 $data = array(
166 'sort' => $sort,
167 'order' => $order,
168 'start' => ($page - 1) * $this->config->get('config_admin_limit'),
253 $this->data['pagination'] = $pagination->render();
255 $this->data['sort'] = $sort;
256 $this->data['order'] = $order;
295 if (isset($this->request->get['sort'])) {
296 $url .= '&sort=' . $this->request->get['sort'];
297 }
Protection.php (https://gitlab.com/unofficial-mirrors/moodle) PHP · 581 lines
22 * @package PHPExcel_Worksheet
23 * @copyright Copyright (c) 2006 - 2015 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_Worksheet
34 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
36 class PHPExcel_Worksheet_Protection
245 *
246 * @param boolean $pValue
247 * @return PHPExcel_Worksheet_Protection
248 */
249 public function setScenarios($pValue = false)
289 *
290 * @param boolean $pValue
291 * @return PHPExcel_Worksheet_Protection
292 */
293 public function setFormatColumns($pValue = false)
SetTest.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 295 lines
1 <?php
2 /**
3 *
10 use Magento\Eav\Model\ResourceModel\Entity\Attribute\Set;
12 class SetTest extends \PHPUnit_Framework_TestCase
13 {
14 /**
15 * @var \PHPUnit_Framework_MockObject_MockObject|Set
16 */
17 protected $model;
19 /**
20 * @var \PHPUnit_Framework_MockObject_MockObject
21 */
22 protected $eavConfigMock;
resultslib.php (https://github.com/jarednipper/HSU-common-code.git) PHP · 251 lines
1 <?php // $Id: resultslib.php,v 1.5 2007/06/12 17:04:48 mchurch Exp $
3 // Written by James Flemer
122 <td align="right"><b><?php echo($total); ?></b></td>
123 </tr>
124 <?php } ?>
125 </table>
126 <?php
180 ?>
181 <table width="90%" border="0" cellpadding="1">
182 <tr><th align="left"><?php print_string('num', 'questionnaire'); ?></th><th><?php print_string('response', 'questionnaire'); ?></th></tr>
183 <?php
208 <tr>
209 <td></td>
210 <td align="center" colspan="<?php echo($length+2); ?>"><?php print_string('averagerank', 'questionnaire'); ?></td>
211 </tr>
212 <tr>
itkDanielssonDistanceMapImageFilterTest.cxx (https://github.com/crtc/ITK-PBNRR-GITHUB.git) C++ · 305 lines
ElggMenuItem.php (https://github.com/wangaiying/elgg4ysu.git) PHP · 568 lines
1 <?php
2 /**
3 * Elgg Menu Item
152 *
153 * This method allows storage of arbitrary data with this menu item. The
154 * data can be used for sorting, custom rendering, or any other use.
155 *
156 * @param mixed $key String key or an associative array of key/value pairs
519 * Sort the children
520 *
521 * @param string $sortFunction A function that is passed to usort()
522 * @return void
523 */
524 public function sortChildren($sortFunction) {
525 usort($this->data['children'], $sortFunction);
FinderTest.php (https://github.com/Exercise/symfony.git) PHP · 333 lines
110 $finder = new Finder();
111 $this->assertSame($finder, $finder->files()->size('< 1K')->size('> 500'));
112 $this->assertIterator($this->toAbsolute(array('test.php')), $finder->in(self::$tmpDir)->getIterator());
113 }
166 public function testSortByAccessedTime()
167 {
168 $finder = new Finder();
223 $iterator = $finder->files()->name('*.php')->depth('< 1')->in(array(self::$tmpDir, __DIR__))->getIterator();
225 $this->assertIterator(array(self::$tmpDir.DIRECTORY_SEPARATOR.'test.php', __DIR__.DIRECTORY_SEPARATOR.'FinderTest.php', __DIR__.DIRECTORY_SEPARATOR.'bootstrap.php', __DIR__.DIRECTORY_SEPARATOR.'GlobTest.php'), $iterator);
226 }
index.html (https://bitbucket.org/PaulMuriithi/code.git) HTML · 209 lines
SystemShellBuiltIn.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 725 lines
✨ Summary
This Java code defines a shell implementation with various commands, such as cd
, pwd
, run
, and others. It provides basic functionality for navigating directories, running scripts, and managing variables and aliases. The code is part of a larger console plugin for the JEdit text editor.
This Java code defines a shell implementation with various commands, such as cd
, pwd
, run
, and others. It provides basic functionality for navigating directories, running scripts, and managing variables and aliases. The code is part of a larger console plugin for the JEdit text editor.
ProcessorTest.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 435 lines
1 <?php
2 /**
3 * Copyright © 2016 Magento. All rights reserved.
19 * Tests for Magento\Quote\Model\Service\Quote\Processor
20 */
21 class ProcessorTest extends \PHPUnit_Framework_TestCase
22 {
23 /**
28 /**
29 * @var ItemFactory |\PHPUnit_Framework_MockObject_MockObject
30 */
31 protected $quoteItemFactoryMock;
33 /**
34 * @var StoreManagerInterface |\PHPUnit_Framework_MockObject_MockObject
35 */
36 protected $storeManagerMock;
FieldHandlerInterface.php (https://gitlab.com/mohamed_hussein/prodt) PHP · 270 lines
1 <?php
3 namespace Drupal\views\Plugin\views\field;
13 /**
14 * Adds an ORDER BY clause to the query for click sort columns.
15 *
16 * @param string $order
17 * Either ASC or DESC
18 */
19 public function clickSort($order);
21 /**
22 * Determines if this field is click sortable.
23 *
24 * @return bool
ca039f4b8d9ec9dadbda9a728bcd.php (https://github.com/fabiorestrepo/PGE.git) PHP · 190 lines
1 <?php
3 /* WebProfilerBundle:Collector:events.html.twig */
94 echo " ";
95 $context['_parent'] = (array) $context;
96 $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, "listeners"))));
97 foreach ($context['_seq'] as $context["_key"] => $context["listener"]) {
98 // line 38
mysql4-install-0.8.0.php (https://bitbucket.org/dnejedly/eaparts.git) PHP · 222 lines
1 <?php
2 /**
3 * Magento
8 * that is bundled with this package in the file LICENSE.txt.
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
12 * obtain it through the world-wide-web, please send an email
22 * @package Mage_Core
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 */
45 PRIMARY KEY (`website_id`),
46 UNIQUE KEY `code` (`code`),
47 KEY `sort_order` (`sort_order`),
48 KEY `default_group_id` (`default_group_id`)
49 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Websites';
widget-featured-services.php (https://gitlab.com/luyxtran264/myproject) PHP · 185 lines
151 <p>
152 <label for="<?php echo esc_attr( $this->get_field_id( 'sort_by' ) ); ?>"><?php esc_html_e('What do you want to sort the services by?', 'transfers') ?></label>
153 <select id="<?php echo esc_attr( $this->get_field_id( 'sort_by' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'sort_by') ); ?>">
157 <option <?php echo 'date' == $instance['sort_by'] ? 'selected="selected"' : ''; ?> value="date"><?php esc_html_e('Publish Date', 'transfers') ?></option>
158 <option <?php echo 'comment_count' == $instance['sort_by'] ? 'selected="selected"' : ''; ?> value="comment_count"><?php esc_html_e('Comment Count', 'transfers') ?></option>
159 </select>
160 </p>
163 <label for="<?php echo esc_attr( $this->get_field_id( 'sort_descending' ) ); ?>"><?php esc_html_e('Sort services in descending order?', 'transfers') ?></label>
164 <input type="checkbox" <?php echo ($instance['sort_descending'] == '1' ? 'checked="checked"' : ''); ?> class="checkbox" id="<?php echo esc_attr( $this->get_field_id( 'sort_descending' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'sort_descending') ); ?>" value="1" />
165 </p>
178 <?php for ($i=1;$i<6;$i++) { ?>
179 <option <?php echo ($i == $instance['services_per_row'] ? 'selected="selected"' : ''); ?> value="<?php echo esc_attr ( $i ); ?>"><?php echo esc_html($i); ?></option>
180 <?php } ?>
Set.php (https://github.com/eexit/Smak.git) PHP · 362 lines
1 <?php
3 namespace Smak\Portfolio\tests\units;
5 use Smak\Portfolio;
6 use Smak\Portfolio\SortHelper;
7 use Symfony\Component\Finder\Adapter;
8 use tests\units\Smak\Portfolio\Fs;
10 require_once __DIR__ . '/../../../../vendor/autoload.php';
12 class Set extends Fs\FsAdapter
271 sort($expected);
273 foreach ($set->sort(SortHelper::reverseName())->getAll() as $file) {
274 $results[] = $file->getFilename();
275 }
SortableBehaviorObjectBuilderModifierTest.php (https://github.com/DoghouseMedia/Airtime.git) PHP · 279 lines
3 /*
4 * $Id: SortableBehaviorTest.php 1356 2009-12-11 16:36:55Z francois $
5 * This file is part of the Propel package.
6 * For the full copyright and license information, please view the LICENSE
10 */
12 require_once 'tools/helpers/bookstore/behavior/BookstoreSortableTestBase.php';
14 /**
19 * @package generator.behavior.sortable
20 */
21 class SortableBehaviorObjectBuilderModifierTest extends BookstoreSortableTestBase
22 {
23 protected function setUp()
collator_test.php (https://gitlab.com/unofficial-mirrors/moodle) PHP · 333 lines
107 $arr = array('b' => 'a1', 1 => 'a10', 0 => 'a3b');
108 $result = core_collator::asort($arr, core_collator::SORT_NATURAL);
109 $this->assertSame(array('a1', 'a3b', 'a10'), array_values($arr));
110 $this->assertSame(array('b', 0, 1), array_keys($arr));
193 0 => new string_test_class('a100')
194 );
195 $result = core_collator::asort_objects_by_property($objects, 'publicname', core_collator::SORT_NATURAL);
196 $this->assertSame(array(1, 'b', 0), array_keys($objects));
197 $this->assertSame(array('a1', 'a20', 'a100'), $this->get_ordered_names($objects, 'publicname'));
271 $obj = new stdClass();
272 $arr = array('1.1.1'=>array(), '1.2'=>$obj, '1.20.2'=>null);
273 $result = core_collator::ksort($arr, core_collator::SORT_NATURAL);
274 $this->assertSame(array('1.1.1', '1.2', '1.20.2'), array_keys($arr));
275 $this->assertSame(array(array(), $obj, null), array_values($arr));
length_class.php (https://bitbucket.org/elena_dyavolova/omf.git) PHP · 412 lines
29 if (isset($this->request->get['sort'])) {
30 $url .= '&sort=' . $this->request->get['sort'];
31 }
165 $data = array(
166 'sort' => $sort,
167 'order' => $order,
168 'start' => ($page - 1) * $this->config->get('config_admin_limit'),
253 $this->data['pagination'] = $pagination->render();
255 $this->data['sort'] = $sort;
256 $this->data['order'] = $order;
297 if (isset($this->request->get['sort'])) {
298 $url .= '&sort=' . $this->request->get['sort'];
299 }
ClientInterface.php (https://github.com/otto-torino/gino.git) PHP · 230 lines
SimpleHeaderSet.php (https://gitlab.com/madwanz64/laravel) PHP · 399 lines
index.php (https://github.com/DoFken/forkcms.git) PHP · 266 lines
1 <?php
3 /*
97 $this->dgPosts->setColumnsHidden(array('revision_id'));
99 // sorting columns
100 $this->dgPosts->setSortingColumns(array('publish_on', 'title', 'user_id', 'comments'), 'publish_on');
101 $this->dgPosts->setSortParameter('desc');
103 // set column functions
146 $this->dgDrafts->setColumnsHidden(array('revision_id'));
148 // sorting columns
149 $this->dgDrafts->setSortingColumns(array('edited_on', 'title', 'user_id', 'comments'), 'edited_on');
Relationship.php (https://github.com/KatyMoon/stegallery.git) PHP · 311 lines
1 <?php
3 /*
44 */
46 require_once 'api/utils.php';
48 require_once 'CRM/Contact/BAO/Relationship.php';
49 require_once 'CRM/Contact/BAO/RelationshipType.php';
51 /**
128 * @param array $relationship_type_name An array of Relationship Type Name.
129 * @param array $returnProperties Which properties should be included in the related Contact object(s). If NULL, the default set of contact properties will be included.
130 * @param array $sort Associative array of one or more "property_name"=>"sort direction" pairs which will control order of Contact objects returned
131 * @param int $offset Starting row index.
132 *
SearchRequest.php (https://bitbucket.org/openplacement/sherlock.git) PHP · 348 lines
1 <?php
2 /**
3 * User: Zachary Tong
128 * Sets the query or queries that will be executed
129 *
130 * @param \Sherlock\components\SortInterface|array,... $value
131 *
132 * @return SearchRequest
133 */
134 public function sort($value)
135 {
136 $args = func_get_args();
138 //single param, array of sorts
139 if (count($args) == 1 && is_array($args[0])) {
140 $args = $args[0];
tagcloud.tpl (https://bitbucket.org/Shoora/tagcloud1.5.4.git) Smarty Template · 150 lines
4 <?php foreach ($breadcrumbs as $breadcrumb) { ?>
5 <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
6 <?php } ?>
13 <h1><img src="view/image/module.png" alt="" /> <?php echo $heading_title; ?></h1>
14 <div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><?php echo $button_cancel; ?></a></div>
15 </div>
16 <div class="content">
35 <td class="left"><?php echo $entry_status; ?></td>
36 <td class="right"><?php echo $entry_sort_order; ?></td>
37 <td></td>
38 </tr>
45 <td class="left"><input type="text" name="tagcloud_module[<?php echo $module_row; ?>][min_font_size]" value="<?php echo $module['min_font_size']; ?>" size="3" />
46 <input type="text" name="tagcloud_module[<?php echo $module_row; ?>][max_font_size]" value="<?php echo $module['max_font_size']; ?>" size="3" />
47 <?php if (isset($error_font[$module_row])) { ?>
88 <?php } ?>
89 </select></td>
90 <td class="right"><input type="text" name="tagcloud_module[<?php echo $module_row; ?>][sort_order]" value="<?php echo $module['sort_order']; ?>" size="3" /></td>
91 <td class="left"><a onclick="$('#module-row<?php echo $module_row; ?>').remove();" class="button"><?php echo $button_remove; ?></a></td>
DocumentWriter.php (https://bitbucket.org/Ebozavrik/test-application.git) PHP · 231 lines
1 <?php
2 /**
3 * Zend Framework
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
20 * @version $Id: DocumentWriter.php 24593 2012-01-05 20:35:02Z matthew $
21 */
23 /** Zend_Search_Lucene_Index_SegmentWriter */
24 require_once 'Zend/Search/Lucene/Index/SegmentWriter.php';
26 /**
188 protected function _dumpDictionary ()
189 {
190 ksort($this->_termDictionary, SORT_STRING);
192 $this->initializeDictionaryFiles();
courseRecord.php (https://github.com/joseraul/moodlews.git) PHP · 778 lines
1 <?php
2 /**
3 *
21 * @var integer
22 */
23 public $sortorder;
24 /**
25 * @var string
180 $this->id=$id ;
181 $this->category=$category ;
182 $this->sortorder=$sortorder ;
183 $this->password=$password ;
184 $this->fullname=$fullname ;
509 * @return void
510 */
511 public function setSortorder($sortorder){
512 $this->sortorder=$sortorder;
SortableBehaviorQueryBuilderModifier.php (https://github.com/fzaninotto/Propel2.git) PHP · 297 lines
HelpSearchPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 301 lines
✨ Summary
This Java code implements a search functionality for a help viewer GUI. It allows users to search for specific keywords within the help documentation, displaying relevant results in a list with ranking scores. The search is case-insensitive and ignores punctuation. When a result is selected, it opens the corresponding URL in the help viewer.
This Java code implements a search functionality for a help viewer GUI. It allows users to search for specific keywords within the help documentation, displaying relevant results in a list with ranking scores. The search is case-insensitive and ignores punctuation. When a result is selected, it opens the corresponding URL in the help viewer.
tour_filter.feature (https://github.com/markn86/moodle.git) Gherkin Specification · 229 lines
24 | Name | First tour |
25 | Description | My first tour |
26 | Apply to URL match | /course/view.php% |
27 | Tour is enabled | 1 |
28 | Role | Student,Non-editing teacher |
65 | Name | First tour |
66 | Description | My first tour |
67 | Apply to URL match | /course/view.php% |
68 | Tour is enabled | 1 |
69 | Category | MainCat |
97 | Name | First tour |
98 | Description | My first tour |
99 | Apply to URL match | /course/view.php% |
100 | Tour is enabled | 1 |
101 | Course format | Weekly format |
ObstacleModule.cpp (https://github.com/emamanto/nbites.git) C++ · 466 lines
special.tpl (https://bitbucket.org/mjalajel/opencart.git) Smarty Template · 132 lines
37 <tr id="module-row<?php echo $module_row; ?>">
38 <td class="left"><input type="text" name="special_module[<?php echo $module_row; ?>][limit]" value="<?php echo $module['limit']; ?>" placeholder="<?php echo $entry_limit; ?>" class="input-mini" /></td>
39 <td class="left"><input type="text" name="special_module[<?php echo $module_row; ?>][image_width]" value="<?php echo $module['image_width']; ?>" placeholder="<?php echo $entry_width; ?>" class="input-mini" />
40 <input type="text" name="special_module[<?php echo $module_row; ?>][image_height]" value="<?php echo $module['image_height']; ?>" placeholder="<?php echo $entry_height; ?>" class="input-mini" />
41 <?php if (isset($error_image[$module_row])) { ?>
82 <?php } ?>
83 </select></td>
84 <td class="right"><input type="text" name="special_module[<?php echo $module_row; ?>][sort_order]" value="<?php echo $module['sort_order']; ?>" placeholder="<?php echo $entry_sort_order; ?>" class="input-mini" /></td>
85 <td class="left"><a onclick="$('#module-row<?php echo $module_row; ?>').remove();" class="btn"><i class="icon-minus-sign"></i> <?php echo $button_remove; ?></a></td>
109 <?php foreach ($layouts as $layout) { ?>
110 html += ' <option value="<?php echo $layout['layout_id']; ?>"><?php echo addslashes($layout['name']); ?></option>';
111 <?php } ?>
121 html += ' <option value="0"><?php echo $text_disabled; ?></option>';
122 html += ' </select></td>';
123 html += ' <td class="right"><input type="text" name="special_module[' + module_row + '][sort_order]" value="" placeholder="<?php echo $entry_sort_order; ?>" class="input-mini" /></td>';
124 html += ' <td class="left"><a onclick="$(\'#module-row' + module_row + '\').remove();" class="btn"><i class="icon-minus-sign"></i> <?php echo $button_remove; ?></a></td>';
__init__.py (https://github.com/adamcik/mopidy.git) Python · 361 lines
CompilationSection.cs (https://github.com/t-ashula/mono.git) C# · 254 lines
50 static ConfigurationProperty defaultLanguageProp;
51 static ConfigurationProperty assembliesProp;
52 static ConfigurationProperty assemblyPostProcessorTypeProp;
53 static ConfigurationProperty buildProvidersProp;
54 static ConfigurationProperty expressionBuildersProp;
63 null, PropertyHelper.DefaultValidator,
64 ConfigurationPropertyOptions.None);
65 assemblyPostProcessorTypeProp = new ConfigurationProperty ("assemblyPostProcessorType", typeof (string), "");
66 batchProp = new ConfigurationProperty ("batch", typeof (bool), true);
67 buildProvidersProp = new ConfigurationProperty ("buildProviders", typeof (BuildProviderCollection), null,
101 properties = new ConfigurationPropertyCollection ();
102 properties.Add (assembliesProp);
103 properties.Add (assemblyPostProcessorTypeProp);
104 properties.Add (batchProp);
105 properties.Add (buildProvidersProp);
PropertyParser.jj (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 303 lines
DefaultOptions.php (https://github.com/Exercise/symfony.git) PHP · 320 lines
1 <?php
3 /*
18 * Helper for specifying and resolving inter-dependent options.
19 *
20 * Options are a common pattern for initializing classes in PHP. Avoiding the
21 * problems related to this approach is however a non-trivial task. Usually,
22 * both classes and subclasses should be able to set default option values.
289 if (count($diff) > 0) {
290 sort($knownOptions);
291 sort($diff);
Grid.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 318 lines
1 <?php
2 /**
3 * Copyright © 2016 Magento. All rights reserved.
11 *
12 * @author Magento Core Team <core@magentocommerce.com>
13 * @SuppressWarnings(PHPMD.DepthOfInheritance)
14 */
15 class Grid extends \Magento\Reports\Block\Adminhtml\Grid\AbstractGrid
45 * {@inheritdoc}
46 *
47 * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
48 */
49 protected function _prepareColumns()
54 'header' => __('Interval'),
55 'index' => 'period',
56 'sortable' => false,
57 'period_type' => $this->getPeriodType(),
58 'renderer' => 'Magento\Reports\Block\Adminhtml\Sales\Grid\Column\Renderer\Date',
StyleController.php (https://bitbucket.org/sebastien247/creativefolio.git) PHP · 307 lines
switch_.d (https://github.com/SDX2000/helios.git) D · 430 lines
19 * Support for switch statements switching on strings.
20 * Input:
21 * table[] sorted array of strings generated by compiler
22 * ca string to look up in table
23 * Output:
35 assert(ca.length >= 0);
37 // Make sure table[] is sorted correctly
38 int j;
182 assert(ca.length >= 0);
184 // Make sure table[] is sorted correctly
185 int j;
array.idl.php (https://github.com/diegoIta/hiphop-php.git) PHP · 376 lines
1 <?php
3 include_once 'base.php';
99 VariableArguments | FunctionIsFoldable);
101 f('array_multisort', Boolean,
102 array('ar1' => Variant | Reference),
103 MixedVariableArguments);
321 ///////////////////////////////////////////////////////////////////////////////
323 f('sort', Boolean,
324 array('array' => VariantMap | Reference,
325 'sort_flags' => array(Int32, '0'),
326 'use_collator' => array(Boolean, 'false')));
328 f('rsort', Boolean,
329 array('array' => VariantMap | Reference,
330 'sort_flags' => array(Int32, '0'),
Varargs.html
(https://swig.svn.sourceforge.net/svnroot/swig)
HTML · 942 lines
✨ Summary
This HTML code outputs a technical documentation page for SWIG, a software development tool. It provides information on how to wrap variable-length argument functions in C++ using various techniques, including the %varargs
directive and typemaps. The content explains the challenges of wrapping varargs, discusses different approaches, and offers guidance on how to implement them.
This HTML code outputs a technical documentation page for SWIG, a software development tool. It provides information on how to wrap variable-length argument functions in C++ using various techniques, including the %varargs
directive and typemaps. The content explains the challenges of wrapping varargs, discusses different approaches, and offers guidance on how to implement them.
228 With this nastiness in mind, SWIG provides a number of solutions to the varargs
229 wrapping problem. Most of these solutions are compromises that provide limited
230 varargs support without having to resort to assembly language. However, SWIG
231 can also support real varargs wrapping (with stack-frame manipulation) if you
232 are willing to get hands dirty. Keep reading.
ContactEditPage.php (https://github.com/dextercowley/joomla-cms.git) PHP · 142 lines
1 <?php
3 use SeleniumClient\By;
39 * @since 3.2
40 */
41 protected $url = 'administrator/index.php?option=com_contact&view=contact&layout=edit';
43 /**
71 array('label' => 'Fax', 'id' => 'jform_fax', 'type' => 'input', 'tab' => 'details'),
72 array('label' => 'Website', 'id' => 'jform_webpage', 'type' => 'input', 'tab' => 'details'),
73 array('label' => 'First Sort Field', 'id' => 'jform_sortname1', 'type' => 'input', 'tab' => 'details'),
74 array('label' => 'Second Sort Field', 'id' => 'jform_sortname2', 'type' => 'input', 'tab' => 'details'),
75 array('label' => 'Third Sort Field', 'id' => 'jform_sortname3', 'type' => 'input', 'tab' => 'details'),
76 array('label' => 'Category', 'id' => 'jform_catid', 'type' => 'select', 'tab' => 'details'),
77 array('label' => 'Tags', 'id' => 'jform_tags', 'type' => 'select', 'tab' => 'details'),
mysql4-upgrade-1.5.9.9-1.6.0.0.php (https://gitlab.com/LisovyiEvhenii/ismextensions) PHP · 351 lines
1 <?php
2 /**
3 * Magento
8 * that is bundled with this package in the file LICENSE.txt.
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
12 * obtain it through the world-wide-web, please send an email
22 * @package Mage_Widget
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 */
131 'comment' => 'Widget parameters'
132 ),
133 'sort_order' => array(
134 'type' => Varien_Db_Ddl_Table::TYPE_SMALLINT,
135 'unsigned' => true,
System.Diagnostics.Process.cs (https://gitlab.com/0072016/0072016-corefx-) C# · 204 lines
46 public System.Diagnostics.ProcessPriorityClass PriorityClass { get { return default(System.Diagnostics.ProcessPriorityClass); } set { } }
47 public long PrivateMemorySize64 { get { return default(long); } }
48 public System.TimeSpan PrivilegedProcessorTime { get { return default(System.TimeSpan); } }
49 public string ProcessName { get { return default(string); } }
50 public System.IntPtr ProcessorAffinity { get { return default(System.IntPtr); } set { } }
57 public System.DateTime StartTime { get { return default(System.DateTime); } }
58 public System.Diagnostics.ProcessThreadCollection Threads { get { return default(System.Diagnostics.ProcessThreadCollection); } }
59 public System.TimeSpan TotalProcessorTime { get { return default(System.TimeSpan); } }
60 public System.TimeSpan UserProcessorTime { get { return default(System.TimeSpan); } }
142 public bool PriorityBoostEnabled { get { return default(bool); } set { } }
143 public System.Diagnostics.ThreadPriorityLevel PriorityLevel { get { return default(System.Diagnostics.ThreadPriorityLevel); } set { } }
144 public System.TimeSpan PrivilegedProcessorTime { get { return default(System.TimeSpan); } }
145 public System.IntPtr ProcessorAffinity { set { } }
146 public System.IntPtr StartAddress { get { return default(System.IntPtr); } }
147 public System.DateTime StartTime { get { return default(System.DateTime); } }
148 public System.Diagnostics.ThreadState ThreadState { get { return default(System.Diagnostics.ThreadState); } }
149 public System.TimeSpan TotalProcessorTime { get { return default(System.TimeSpan); } }
150 public System.TimeSpan UserProcessorTime { get { return default(System.TimeSpan); } }
SimpleHeaderSet.php (https://github.com/nattaphat/hgis.git) PHP · 387 lines
1 <?php
3 /*
219 if ($this->_canSort()) {
220 uksort($headers, array($this, '_sortHeaders'));
221 }
304 if ($this->_canSort()) {
305 uksort($headers, array($this, '_sortHeaders'));
306 }
307 foreach ($headers as $collection) {
343 }
345 /** Test if the headers can be sorted */
346 private function _canSort()
LogResultsPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 242 lines
✨ Summary
This Java code creates a graphical user interface (GUI) for displaying and comparing log entries from a version control system, such as Git. It displays a table with log entries, allowing users to select two revisions and view their differences. The GUI also includes features like context menus and tooltips, providing additional functionality for interacting with the data.
This Java code creates a graphical user interface (GUI) for displaying and comparing log entries from a version control system, such as Git. It displays a table with log entries, allowing users to select two revisions and view their differences. The GUI also includes features like context menus and tooltips, providing additional functionality for interacting with the data.
43 JLabel label = new JLabel( "Path: " + path );
45 // sort the entries
46 List<SVNLogEntry> entries = results.get( path );
47 Collections.sort( entries, new EntryComparator() );
179 /**
180 * for sorting log entries by revision number, latest revision first
181 */
182 public class EntryComparator implements Comparator<SVNLogEntry> {
SortedSet.php (https://github.com/netweaver/Rediska.git) PHP · 335 lines
136 public function getByRank($withScores = false, $start = 0, $end = -1, $revert = false, $responseIterator = false)
137 {
138 return $this->_getRediskaOn()->getSortedSet($this->getName(), $withScores, $start, $end, $revert, $responseIterator);
139 }
166 * Store to key union between the sorted sets
167 *
168 * @param string|Rediska_Key_SortedSet|array $setOrSets Sorted set key name or object, or array of its
169 * @param string $storeKeyName Result sorted set key name
181 * Store to key intersection between sorted sets
182 *
183 * @param string|Rediska_Key_SortedSet|array $setOrSets Sorted set key name or object, or array of its
184 * @param string $storeKeyName Result sorted set key name
196 * Get sorted the elements
197 *
198 * @param string|array $value Options or SORT query string (http://code.google.com/p/redis/wiki/SortCommand).
199 * Important notes for SORT query string:
sforce.220.metadata.wsdl
(http://forceworkbench.googlecode.com/svn/trunk/workbench/)
Web Services Description Language · 3432 lines
✨ Summary
This is a SOAP (Simple Object Access Protocol) web services definition file, written in WSDL (Web Services Description Language). It defines a web service called MetadataService
that provides access to Salesforce.com metadata management functionality. The service has multiple operations for creating, deleting, listing, and retrieving metadata, with specific input and output parameters.
This is a SOAP (Simple Object Access Protocol) web services definition file, written in WSDL (Web Services Description Language). It defines a web service called MetadataService
that provides access to Salesforce.com metadata management functionality. The service has multiple operations for creating, deleting, listing, and retrieving metadata, with specific input and output parameters.
329 <xsd:element name="precision" minOccurs="0" type="xsd:int"/>
330 <xsd:element name="scale" minOccurs="0" type="xsd:int"/>
331 <xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
332 <xsd:element name="sortPriority" minOccurs="0" type="xsd:int"/>
542 <xsd:element name="controllingField" minOccurs="0" type="xsd:string"/>
543 <xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
544 <xsd:element name="sorted" type="xsd:boolean"/>
545 </xsd:sequence>
546 </xsd:complexType>
841 <xsd:element name="dateGranularity" minOccurs="0" type="tns:UserDateGranularity"/>
842 <xsd:element name="field" type="xsd:string"/>
843 <xsd:element name="sortOrder" type="tns:SortOrder"/>
844 </xsd:sequence>
845 </xsd:complexType>
930 <xsd:element name="sortColumn" minOccurs="0" type="xsd:string"/>
931 <xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
932 <xsd:element name="territoryHierarchyFilter" minOccurs="0" type="xsd:string"/>
933 <xsd:element name="timeFrameFilter" minOccurs="0" type="tns:ReportTimeFrameFilter"/>
FUXmlWriter.cpp (https://bitbucket.org/ardalanaz/dava.framework.git) C++ · 259 lines
4 Copyright (C) 2005-2007 Sony Computer Entertainment America
6 MIT License: http://www.opensource.org/licenses/mit-license.php
7 */
218 // Insert a child, respecting lexical ordering
219 void AddChildSorted(xmlNode* parent, xmlNode* child)
220 {
221 // Do an insertion sort in alphabetical order of the element names.
244 }
246 xmlNode* AddChildSorted(xmlNode* parent, const char* name, const char* content)
247 {
248 xmlNode* node = CreateNode(name);
item.php (https://github.com/lysender/simplestore.git) PHP · 418 lines
1 <?php defined('SYSPATH') or die('No direct script access.');
3 /**
28 * Initialize
29 *
30 * (non-PHPdoc)
31 * @see modules/sprig/classes/sprig/Sprig_Core::_init()
32 */
78 * Creates a new category
79 *
80 * (non-PHPdoc)
81 * @see modules/sprig/classes/sprig/Sprig_Core::create()
82 */
101 * Updates category
102 *
103 * (non-PHPdoc)
104 * @see modules/sprig/classes/sprig/Sprig_Core::update()
105 */
ALCustomizeAction.java (http://aipo.googlecode.com/svn/) Java · 602 lines
195 new ArrayList<List<Map.Entry<String, String>>>();
196 List<ALUserPref> userPrefs = app.getUserPrefs();
197 Collections.sort(userPrefs, new Comparator<ALUserPref>() {
198 @Override
199 public int compare(ALUserPref a, ALUserPref b) {
251 // ??? ?XREG ???????????????????????
252 // ?????????????????????????
253 Collections.sort(params, new Comparator<Parameter>() {
254 @Override
255 public int compare(Parameter a, Parameter b) {
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 581 lines
33 <para>See the man page or documentation that comes with your version
34 of <citetitle>ctags</citetitle> for more information on using <citetitle>ctags</citetitle>.</para><para>Note that file paths in tag index file are relative to the
35 generated file, unless you pass absolute paths to <citetitle>ctags</citetitle>.</para><para><emphasis role="strong">Tag index files must be sorted, as the Tags plugin searches
36 using a binary search. By default Exuberant CTags sorts generated
274 <itemizedlist>
275 <listitem>
276 <para>Tag index files <emphasis role="strong">MUST</emphasis> be sorted. This is becuase
277 tags are search for using a binary search.</para></listitem>
278 <listitem>
349 <para>Version 1.1, update (Dec 2003)</para><itemizedlist>
350 <listitem>
351 <para>Added the ability to specify the sort order of the current
352 buffer tag index file.</para></listitem>
353 <listitem>
TestPlayerManager.java (https://github.com/muadibbm/Hearts.git) Java · 515 lines
bytearray-tests.js (https://github.com/jdeolive/ringojs.git) JavaScript · 322 lines
200 };
202 exports.testByteArraySort = function() {
203 var testArray = [];
204 for (var i = 0; i < 1000; i++)
207 var a = new ByteArray(testArray);
208 a.sort();
210 for (var i = 1; i < a.length; i++)
212 };
214 exports.testByteArraySortCustom = function() {
215 var testArray = [];
216 for (var i = 0; i < 1000; i++)
TagCloud.php (https://github.com/Excito/horde3.git) PHP · 326 lines
1 <?php
2 /**
3 * Horde_UI_TagCloud:: for creating and displaying tag clouds.
5 * Based on a striped down version of Pear's HTML_TagCloud
6 *
7 * $Horde: framework/UI/UI/TagCloud.php,v 1.9.2.2 2008/01/20 21:20:43 mrubinsk Exp $
8 *
9 * @since Horde 3.2
189 $limit = array_key_exists('limit', $param) ? $param['limit'] : 0;
190 $this->_sortTags($limit);
191 $this->_calcMumCount();
192 $this->_calcMumEpoc();
234 /**
235 * sort tags by name
236 *
237 * @return array
javascript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 550 lines
maple.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 736 lines
626 <FUNCTION>solve</FUNCTION>
627 <FUNCTION>solvefor</FUNCTION>
628 <FUNCTION>sort</FUNCTION>
629 <FUNCTION>sparse</FUNCTION>
630 <FUNCTION>spec_eval_rule</FUNCTION>
671 <FUNCTION>timelimit</FUNCTION>
672 <FUNCTION>ToInert</FUNCTION>
673 <FUNCTION>TopologicalSort</FUNCTION>
674 <FUNCTION>traperror</FUNCTION>
675 <FUNCTION>triangular</FUNCTION>
foxpro.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1762 lines
586 <KEYWORD3>Skip</KEYWORD3>
587 <KEYWORD3>SkipForm</KEYWORD3>
588 <KEYWORD3>Sorted</KEYWORD3>
589 <KEYWORD3>SourceType</KEYWORD3>
590 <KEYWORD3>Sparse</KEYWORD3>
774 <KEYWORD3>Aselobj</KEYWORD3>
775 <KEYWORD3>Asin</KEYWORD3>
776 <KEYWORD3>Asort</KEYWORD3>
777 <KEYWORD3>Assist</KEYWORD3>
778 <KEYWORD3>Asubscript</KEYWORD3>
AbbrevsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 508 lines
✨ Summary
This Java code is a GUI application for managing abbreviations and expansions. It allows users to add, remove, and sort abbreviations based on their text content. The data is stored in a Hashtable
and displayed in a table with two columns: abbreviation and expansion. The application uses a custom comparator to sort the data alphabetically.
This Java code is a GUI application for managing abbreviations and expansions. It allows users to add, remove, and sort abbreviations based on their text content. The data is stored in a Hashtable
and displayed in a table with two columns: abbreviation and expansion. The application uses a custom comparator to sort the data alphabetically.
76 modeAbbrevs = new HashMap<String,AbbrevsModel>();
77 Mode[] modes = jEdit.getModes();
78 Arrays.sort(modes,new StandardUtilities.StringCompare<Mode>(true));
79 String[] sets = new String[modes.length + 1];
80 sets[0] = "global";
236 {
237 case 0:
238 ((AbbrevsModel)abbrevsTable.getModel()).sort(0);
239 break;
240 case 1:
372 {
373 abbrevs.add(new Abbrev(abbrev,expansion));
374 sort(lastSort);
375 } //}}}
linear_algebra.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
22 #include <boost/units/static_rational.hpp>
23 #include <boost/units/detail/dimension_list.hpp>
24 #include <boost/units/detail/sort.hpp>
26 namespace boost {
546 // find_base_dimensions takes a list of
547 // base_units and returns a sorted list
548 // of all the base_dimensions they use.
549 //
555 // }
556 // }
557 // return(sort(dimensions, _1 > _2, front_inserter(list<base_dimension>())));
558 // }
CaseInsensitiveComparator.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 47 lines
✨ Summary
This Java class, CaseInsensitiveComparator
, implements a custom comparator that compares two objects of type ImportItem
without regard to character case. It converts both import statements to lowercase and then uses the standard string comparison method (compareTo
) to determine their order. This allows for case-insensitive sorting of import items in a Java application.
This Java class, CaseInsensitiveComparator
, implements a custom comparator that compares two objects of type ImportItem
without regard to character case. It converts both import statements to lowercase and then uses the standard string comparison method (compareTo
) to determine their order. This allows for case-insensitive sorting of import items in a Java application.
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */
20 package jimporter.sorting;
22 import java.util.Comparator;
25 /**
26 * Defines an object ordering class that doesn't care if a string value is upper
27 * or lower case when sorting. This method is only designed to compare
28 * <code>ImportItem</code> classes.
29 */
tip57.html (https://jedit.svn.sourceforge.net/svnroot/jedit) HTML · 6 lines
accounts.csv (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 12 lines
7 "Bea King","Floor 201, Sun Tower, Central City","32"
8 "Stian Hinton","Mechanical workshop, Fishing Village, North River","0"
9 "Shane Bowland","P.O. Box 419, Beach Resort","1"
10 "Gavin Holm","19 Library Road, University Campus, near Large Town","16"
11 "Adrienna Randles","98 Tapestry Road, Market Town, The Shires","1"
application_helper.rb
(git://github.com/teambox/teambox.git)
Ruby · 287 lines
✨ Summary
This is a Ruby class that appears to be part of a web application, likely built using Rails. It provides various utility methods for tasks such as generating JavaScript paths, handling form errors, and displaying configuration options for organizations. The code also includes functionality for tracking Teambox installations and collecting statistics about the application’s usage.
This is a Ruby class that appears to be part of a web application, likely built using Rails. It provides various utility methods for tasks such as generating JavaScript paths, handling form errors, and displaying configuration options for organizations. The code also includes functionality for tracking Teambox installations and collecting statistics about the application’s usage.
algorithm.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code defines a unit test suite for range algorithms, testing various functions such as find
, lower_bound
, and partition
on a vector of integers. It uses Boost’s unit testing framework to create a test suite with a single test case that exercises these algorithms. The tests verify the correctness of the algorithms under different conditions.
This C++ code defines a unit test suite for range algorithms, testing various functions such as find
, lower_bound
, and partition
on a vector of integers. It uses Boost’s unit testing framework to create a test suite with a single test case that exercises these algorithms. The tests verify the correctness of the algorithms under different conditions.
121 boost::random_shuffle(rng, rng_generator);
123 boost::sort(rng);
124 boost::sort(rng, std::less<value_type>());
126 boost::stable_sort(rng);
127 boost::stable_sort(rng, std::less<value_type>());
129 boost::partial_sort(rng, boost::begin(rng));
130 boost::partial_sort(rng, boost::begin(rng), std::less<value_type>());
142 boost::make_heap(rng, std::less<value_type>());
144 boost::sort_heap(rng);
145 boost::sort_heap(rng, std::less<value_type>());
cmssigdata.c
(git://github.com/zpao/v8monkey.git)
C · 1175 lines
✨ Summary
This C code implements a SignedData structure, used for digital signatures and certificates. It provides functions to create, add, and retrieve signed data, as well as utility functions for working with certificates and signers. The code is part of a larger cryptographic library, likely used in secure communication protocols such as SSL/TLS or S/MIME.
This C code implements a SignedData structure, used for digital signatures and certificates. It provides functions to create, add, and retrieve signed data, as well as utility functions for working with certificates and signers. The code is part of a larger cryptographic library, likely used in secure communication protocols such as SSL/TLS or S/MIME.
202 return SECFailure;
204 /* this is a SET OF, so we need to sort them guys */
205 rv = NSS_CMSArray_SortByDER((void **)sigd->digestAlgorithms,
317 }
319 /* this is a SET OF, so we need to sort them guys */
320 rv = NSS_CMSArray_SortByDER((void **)signerinfos, NSSCMSSignerInfoTemplate, NULL);
385 sigd->rawCerts[rci] = NULL;
387 /* this is a SET OF, so we need to sort them guys - we have the DER already, though */
388 NSS_CMSArray_Sort((void **)sigd->rawCerts, NSS_CMSUtil_DERCompare, NULL, NULL);
ntpq.c
(https://bitbucket.org/freebsd/freebsd-head/)
C · 3294 lines
✨ Summary
This C code is part of a network programming library, specifically for managing associations between hosts and ports. It provides functions to sort these associations in ascending order, print them in a human-readable format, and perform other tasks such as decoding and encoding various types of data (e.g., integers, strings, IP addresses). The code appears to be designed for use in a network debugging or monitoring tool.
This C code is part of a network programming library, specifically for managing associations between hosts and ports. It provides functions to sort these associations in ascending order, print them in a human-readable format, and perform other tasks such as decoding and encoding various types of data (e.g., integers, strings, IP addresses). The code appears to be designed for use in a network debugging or monitoring tool.
257 static int decodearr P((char *, int *, l_fp *));
258 static void help P((struct parse *, FILE *));
259 #ifdef QSORT_USES_VOID_P
260 static int helpsort P((const void *, const void *));
261 #else
262 static int helpsort P((char **, char **));
263 #endif
264 static void printusage P((struct xcmd *, FILE *));
289 static void outputarr P((FILE *, char *, int, l_fp *));
290 static void cookedprint P((int, int, char *, int, FILE *));
291 #ifdef QSORT_USES_VOID_P
292 static int assoccmp P((const void *, const void *));
293 #else
PhraseScorer.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 65 lines
protectmode.q.out (https://svn.apache.org/repos/asf/incubator/hcatalog/) text · 0 lines
46 col string
48 Detailed Table Information Table(tableName:tbl1, dbName:default, owner:njain, createTime:1289955989, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null)], location:pfile:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/tbl1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[], parameters:{last_modified_by=njain, last_modified_time=1289955993, PROTECT_MODE=OFFLINE, transient_lastDdlTime=1289955993}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)
49 PREHOOK: query: alter table tbl1 disable offline
50 PREHOOK: type: ALTERTABLE_PROTECTMODE
61 col string
63 Detailed Table Information Table(tableName:tbl1, dbName:default, owner:njain, createTime:1289955989, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null)], location:pfile:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/tbl1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[], parameters:{last_modified_by=njain, last_modified_time=1289955993, transient_lastDdlTime=1289955993}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)
64 PREHOOK: query: select * from tbl1
65 PREHOOK: type: QUERY
142 p string
144 Detailed Partition Information Partition(values:[p1], dbName:default, tableName:tbl2, createTime:1289955997, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null)], location:pfile:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/tbl2/p=p1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), parameters:{last_modified_by=njain, last_modified_time=1289955999, PROTECT_MODE=OFFLINE, transient_lastDdlTime=1289955999})
145 PREHOOK: query: alter table tbl2 enable offline
146 PREHOOK: type: ALTERTABLE_PROTECTMODE
PluginOptions.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 146 lines
✨ Summary
This Java code defines a class PluginOptions
that extends OptionsDialog
. It creates an options dialog for plugins, allowing users to configure and manage plugin settings. The dialog is populated with option trees based on registered plugins, providing a user interface for managing plugin configurations.
This Java code defines a class PluginOptions
that extends OptionsDialog
. It creates an options dialog for plugins, allowing users to configure and manage plugin settings. The dialog is populated with option trees based on registered plugins, providing a user interface for managing plugin configurations.
htmlsidekick.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 138 lines
✨ Summary
This HTML code generates a help page for an HTML editor plugin, providing information on its features, settings, and future plans. It includes sections on completion, validation, tag attributes, and history, with detailed explanations of each feature. The page also mentions compatibility requirements and previous versions.
This HTML code generates a help page for an HTML editor plugin, providing information on its features, settings, and future plans. It includes sections on completion, validation, tag attributes, and history, with detailed explanations of each feature. The page also mentions compatibility requirements and previous versions.
42 <p>
43 While designed specifically for HTML and JSP files, this plugin does a pretty good job of displaying ASP, ColdFusion, VRML, PHP, SGML, and Velocity files. Needless to say, it works with XML files too. You can elect to use this plugin for those edit modes by going to Plugins -> Plugin Options... -> SideKick -> Parsers, then selecting "<tt>html</tt>" for those edit modes. </p>
45 <h3>Completion</h3>
82 </ol>
83 <p>
84 Regardless of these settings, a full listing of the tag attributes, sorted alphabetically, can be seen by moving the
85 mouse pointer over the tag display in the tree.
86 </p>
activity-log.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 44 lines
dsp_audio.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 434 lines
✨ Summary
This C code is part of a Linux kernel module that handles audio volume control. It provides functions to convert between different audio formats, change the volume of an audio buffer (skb), and store conversion tables for common volume ranges. The dsp_change_volume
function adjusts the volume of an skb by applying a lookup table based on the desired volume level.
This C code is part of a Linux kernel module that handles audio volume control. It provides functions to convert between different audio formats, change the volume of an audio buffer (skb), and store conversion tables for common volume ranges. The dsp_change_volume
function adjusts the volume of an skb by applying a lookup table based on the desired volume level.
coldfusion.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 358 lines
DisplayOptions.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 96 lines
✨ Summary
This Java interface defines a set of options for customizing the display of JBrowse, a genome browser. It provides various boolean flags to control the visibility and formatting of different elements in the display, such as argument types, method names, icons, line numbers, and more. The interface also includes constants for defining different display styles.
This Java interface defines a set of options for customizing the display of JBrowse, a genome browser. It provides various boolean flags to control the visibility and formatting of different elements in the display, such as argument types, method names, icons, line numbers, and more. The interface also includes constants for defining different display styles.
aiptek.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1953 lines
✨ Summary
This C code implements a Linux kernel module for interacting with Aiptek tablets, which are known as “styluses” or “mouse devices”. The module registers itself with the USB subsystem and provides a way to program the tablet’s settings, such as delay times for stylus movement and mouse settlement. It also creates sysfs files for configuration and status information.
This C code implements a Linux kernel module for interacting with Aiptek tablets, which are known as “styluses” or “mouse devices”. The module registers itself with the USB subsystem and provides a way to program the tablet’s settings, such as delay times for stylus movement and mouse settlement. It also creates sysfs files for configuration and status information.
bootstrap.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 463 lines
✨ Summary
This JavaScript code is a part of the Dojo toolkit, a popular JavaScript library for building web applications. It provides various utility functions and APIs for tasks such as object manipulation, event handling, and debugging. The code defines several functions that can be used to perform common operations in a web application, including eval
, deprecated
, and experimental
markers.
This JavaScript code is a part of the Dojo toolkit, a popular JavaScript library for building web applications. It provides various utility functions and APIs for tasks such as object manipulation, event handling, and debugging. The code defines several functions that can be used to perform common operations in a web application, including eval
, deprecated
, and experimental
markers.
41 // Due to the somewhat unpredictable side-effects of using
42 // `debugAtAllCosts`, it is strongly recommended that you enable this
43 // flag as a last resort. `debugAtAllCosts` has no effect when loading
44 // resources across domains. For usage information, see the
45 // [Dojo Book](http://dojotoolkit.org/book/book-dojo/part-4-meta-dojo-making-your-dojo-code-run-faster-and-better/debugging-facilities/deb)
List_Plugin_Internal_Names.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 53 lines
activity-log.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 43 lines
sorter.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 89 lines
✨ Summary
This JavaScript code defines a sorting function for data sets. It creates a custom comparator function based on user-defined attributes and their corresponding sorting directions. The basicComparator
function is used as a fallback if no specific comparator is defined, treating undefined values as larger. The createSortFunction
helper function generates the sorting function based on the provided attribute array and store object.
This JavaScript code defines a sorting function for data sets. It creates a custom comparator function based on user-defined attributes and their corresponding sorting directions. The basicComparator
function is used as a fallback if no specific comparator is defined, treating undefined values as larger. The createSortFunction
helper function generates the sorting function based on the provided attribute array and store object.
27 };
29 dojo.data.util.sorter.createSortFunction = function( /* attributes array */sortSpec,
30 /*dojo.data.core.Read*/ store){
31 // summary:
32 // Helper function to generate the sorting function based off the list of sort attributes.
33 // description:
34 // The sort function creation will look for a property on the store called 'comparatorMap'. If it exists
68 for(var i = 0; i < sortSpec.length; i++){
69 sortAttribute = sortSpec[i];
70 if(sortAttribute.attribute){
71 var direction = (sortAttribute.descending) ? -1 : 1;
72 sortFunctions.push(createSortFunction(sortAttribute.attribute, direction));
73 }
74 }
tcl.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 458 lines
LICENSE
(https://jedit.svn.sourceforge.net/svnroot/jedit)
License · 32 lines
✨ Summary
The license allows for internal distribution and use of the Unicode Character Database files, as well as redistribution to third parties with notice and disclaimer retained. It disclaims fitness for purpose and makes no warranties, and limits rights to redistribute the data. The recipient agrees to determine applicability of information provided.
The license allows for internal distribution and use of the Unicode Character Database files, as well as redistribution to third parties with notice and disclaimer retained. It disclaims fitness for purpose and makes no warranties, and limits rights to redistribute the data. The recipient agrees to determine applicability of information provided.
q3sqlcursor.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1519 lines
356 /*!
357 Sets the current sort to \a sort. Note that no new records are
358 selected. To select new records, use select(). The \a sort will
361 */
363 void Q3SqlCursor::setSort(const QSqlIndex& sort)
364 {
365 d->srt = sort;
649 if (sort.count() > 0)
650 str += QLatin1String(" order by ") + sort.toString(d->nm);
651 d->srt = sort;
698 Selects all fields in the cursor matching the filter index \a
699 filter. The data is returned in the order specified by the index
700 \a sort. The \a filter index works by constructing a WHERE clause
701 using the names of the fields from the \a filter and their values
702 from the current cursor record. The cursor is initially positioned
Look_and_Feel_Properties.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 59 lines
PositionManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 210 lines
✨ Summary
This Java class, PositionManager
, manages positions within a text buffer. It creates and updates positions based on content insertions and removals, ensuring consistency and invariants. The class uses a sorted map to store positions, which are represented by inner classes PosTopHalf
and PosBottomHalf
. These classes implement the Position
interface and provide methods for inserting and removing content from the buffer.
This Java class, PositionManager
, manages positions within a text buffer. It creates and updates positions based on content insertions and removals, ensuring consistency and invariants. The class uses a sorted map to store positions, which are represented by inner classes PosTopHalf
and PosBottomHalf
. These classes implement the Position
interface and provide methods for inserting and removing content from the buffer.
EditingOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 422 lines
✨ Summary
This Java code is part of a text editor’s configuration management system. It defines a class that manages settings for different modes (e.g., programming languages) and buffers (e.g., editing windows). The class loads, saves, and updates these settings based on user input and file changes, ensuring consistency across the application.
This Java code is part of a text editor’s configuration management system. It defines a class that manages settings for different modes (e.g., programming languages) and buffers (e.g., editing windows). The class loads, saves, and updates these settings based on user input and file changes, ensuring consistency across the application.
SqlServerType.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 745 lines
✨ Summary
This Java code is part of a system that loads and manages SQL server types, including statements and connection parameters. It uses XML files to store this information and provides methods for loading and resolving entities in these files. The code also includes classes for representing statements and connection parameters, as well as a resolver for handling entity references in the XML files.
This Java code is part of a system that loads and manages SQL server types, including statements and connection parameters. It uses XML files to store this information and provides methods for loading and resolving entities in these files. The code also includes classes for representing statements and connection parameters, as well as a resolver for handling entity references in the XML files.
BSHParserTokenManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 2655 lines
✨ Summary
This Java code is part of a lexical analyzer for a programming language, specifically designed to parse strings with various characters such as quotes, parentheses, and special characters. It uses a finite state machine (FSM) approach to recognize patterns in input strings and generate output tokens. The FSM has multiple states and transitions based on the input character.
This Java code is part of a lexical analyzer for a programming language, specifically designed to parse strings with various characters such as quotes, parentheses, and special characters. It uses a finite state machine (FSM) approach to recognize patterns in input strings and generate output tokens. The FSM has multiple states and transitions based on the input character.
gu.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1231 lines
205 <l:gentext key="lowercase.alpha" text="??????????????????????"/>
206 <l:gentext key="uppercase.alpha" text="??????????????????????"/>
207 <l:gentext key="normalize.sort.input" text="AaŔŕÁáÂâĂăÄäĹĺ???????????????????????????????????????????????Bb???????????CcÇç?????????????Dd??????????????????????EeČčÉéĘęËë??????????????????????????????????????????Ff???Gg??????????????????Hh??????????????????IiĚěÍíÎîĎď?????????????????????????Jj????Kk????????????Ll????????????????????????Mm???????NnŃń???????????????????????OoŇňÓóÔôŐőÖöŘř?????????????????????????????????????????????????????????????Pp??????Qq?Rr?????????????????????Ss???????????????????Tt???????????????????????UuŮůÚúŰűÜü????????????????????????????????????????????????????Vv??????Ww?????????????Xx????YyÝý˙?????????????????Zz?????????????????" lang="en"/>
208 <l:gentext key="normalize.sort.output" text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ" lang="en"/>
amf-uml-states.ads
(git://github.com/landgraf/matreshka.git)
Ada · 320 lines
✨ Summary
This is an Ada implementation of a UML State Machine class. It defines a set of abstract operations and attributes for managing states, including entry and exit actions, state invariants, and relationships with other states and state machines. The class provides a framework for modeling complex state-based systems and allows for redefinition and extension of existing states.
This is an Ada implementation of a UML State Machine class. It defines a set of abstract operations and attributes for managing states, including entry and exit actions, state invariants, and relationships with other states and state machines. The class provides a framework for modeling complex state-based systems and allows for redefinition and extension of existing states.
description.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 15 lines
✨ Summary
This HTML code describes a sidekick plugin for analyzing Perl source code. It builds a tree-like structure showing package names, used and required modules, sub-names, and POD headlines in their natural order. The branches do not reflect the original order of subs in the source code, but are sorted alphabetically by package and sub-name.
This HTML code describes a sidekick plugin for analyzing Perl source code. It builds a tree-like structure showing package names, used and required modules, sub-names, and POD headlines in their natural order. The branches do not reflect the original order of subs in the source code, but are sorted alphabetically by package and sub-name.
Actor.cpp
(https://jetpp.svn.sourceforge.net/svnroot/jetpp)
C++ · 3219 lines
✨ Summary
This C++ code implements collision detection and response for a 3D game engine. It checks if a moving box collides with an actor’s bounding box, taking into account bone-level collisions and plane intersections. The code returns true if a collision is detected, providing information about the impact point and normal vector.
This C++ code implements collision detection and response for a 3D game engine. It checks if a moving box collides with an actor’s bounding box, taking into account bone-level collisions and plane intersections. The code returns true if a collision is detected, providing information about the impact point and normal vector.
562 {
563 assert( jeActor_IsValid(A) != JE_FALSE );
564 assert ( (Transform==NULL) || (jeXForm3d_IsOrthonormal(Transform) != JE_FALSE) );
565 jePose_Clear( A->Pose ,Transform);
566 A->Xf = *Transform; //Incarnadine
573 assert( jeActor_IsValid(A) != JE_FALSE );
574 assert( M != NULL );
575 assert ( (Transform==NULL) || (jeXForm3d_IsOrthonormal(Transform) != JE_FALSE) );
577 jePose_SetMotion( A->Pose,M,Time,Transform);
587 assert( jeActor_IsValid(A) != JE_FALSE );
588 assert( M != NULL );
589 assert ( (Transform==NULL) || (jeXForm3d_IsOrthonormal(Transform) != JE_FALSE) );
591 jePose_BlendMotion( A->Pose,M,Time,Transform,
FileTypeUtil.java (https://bitbucket.org/nbargnesi/idea.git) Java · 434 lines
abbrev_functions.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 165 lines
rebol.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 547 lines
mainwindow.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 202 lines
131 QTextCodec *codec = QTextCodec::codecForMib(mib);
133 QString sortKey = codec->name().toUpper();
134 int rank;
136 if (sortKey.startsWith("UTF-8")) {
137 rank = 1;
138 } else if (sortKey.startsWith("UTF-16")) {
139 rank = 2;
140 } else if (iso8859RegExp.exactMatch(sortKey)) {
141 if (iso8859RegExp.cap(1).size() == 1)
142 rank = 3;
InstallPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1155 lines
✨ Summary
This Java code is part of a plugin manager for an IDE (Integrated Development Environment). It provides functionality to manage plugins, including sorting and filtering plugin information, displaying plugin details in a table, and handling keyboard and mouse events. The code also includes rendering and focus management for the plugin table.
This Java code is part of a plugin manager for an IDE (Integrated Development Environment). It provides functionality to manage plugins, including sorting and filtering plugin information, displaying plugin details in a table, and handling keyboard and mouse events. The code also includes rendering and focus management for the plugin table.
462 return;
464 Collections.sort(entries,new EntryCompare(type, sortDirection));
465 fireTableChanged(new TableModelEvent(this));
466 restoreSelection(savedChecked,savedSelection);
523 }
525 sort(sortType);
527 fireTableChanged(new TableModelEvent(this));
963 {
964 this.type = type;
965 this.sortDirection = sortDirection;
966 }
linux.c
(https://libusb.svn.sourceforge.net/svnroot/libusb)
C · 734 lines
✨ Summary
This C code is part of a USB device driver implementation for Linux. It initializes and manages USB devices, including finding the virtual filesystem path, initializing the root device, and providing functions to interact with USB devices such as resetting endpoints, clearing halts, and detaching kernel drivers. The code also handles errors and provides debugging information.
This C code is part of a USB device driver implementation for Linux. It initializes and manages USB devices, including finding the virtual filesystem path, initializing the root device, and providing functions to interact with USB devices such as resetting endpoints, clearing halts, and detaching kernel drivers. The code also handles errors and provides debugging information.
171 /*
172 * HACK: The use of urb.usercontext is a hack to get threaded applications
173 * sort of working again. Threaded support is still not recommended, but
174 * this should allow applications to work in the common cases. Basically,
175 * if we get the completion for an URB we're not waiting for, then we update
CopyAction.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 325 lines
✨ Summary
This Java code implements a “Copy” action for an integrated development environment (IDE). It allows users to copy files from one location to another, either within the same repository or between different repositories. The action creates a new process that performs the copy operation and displays the results in the IDE’s UI.
This Java code implements a “Copy” action for an integrated development environment (IDE). It allows users to copy files from one location to another, either within the same repository or between different repositories. The action creates a new process that performs the copy operation and displays the results in the IDE’s UI.
ContextOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 381 lines
✨ Summary
This Java code creates a graphical user interface (GUI) for adding new actions to an editor. It allows users to select an action set, choose an action from that set, and add it to the editor’s context menu. The GUI includes options for customizing the action’s label and separator. When the “OK” button is clicked, the selected action is added to the editor’s context menu.
This Java code creates a graphical user interface (GUI) for adding new actions to an editor. It allows users to select an action set, choose an action from that set, and add it to the editor’s context menu. The GUI includes options for customizing the action’s label and separator. When the “OK” button is clicked, the selected action is added to the editor’s context menu.
sb1250-mac.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 2956 lines
✨ Summary
This C code implements a Linux driver for a specific type of Ethernet controller. It registers platform devices for each available unit, sets their MAC addresses, and provides a way to probe and remove them. The driver is designed to work with various System-on-Chip (SoC) types and can be used in a variety of applications, such as networking or embedded systems.
This C code implements a Linux driver for a specific type of Ethernet controller. It registers platform devices for each available unit, sets their MAC addresses, and provides a way to probe and remove them. The driver is designed to work with various System-on-Chip (SoC) types and can be used in a variety of applications, such as networking or embedded systems.
ToolBarOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 572 lines
✨ Summary
This Java code implements a graphical user interface (GUI) for creating and editing toolbars in an application. It allows users to select icons, actions, and labels for toolbar buttons, and provides options for customizing the appearance of the toolbar. The GUI is implemented using Swing components and includes features such as sorting and quick searching of available icons and actions.
This Java code implements a graphical user interface (GUI) for creating and editing toolbars in an application. It allows users to select icons, actions, and labels for toolbar buttons, and provides options for customizing the appearance of the toolbar. The GUI is implemented using Swing components and includes features such as sorting and quick searching of available icons and actions.
DateUtils.java
(http://wogwt.googlecode.com/svn/trunk/)
Java · 231 lines
✨ Summary
This Java class, DateUtils
, provides utility methods for working with dates, including formatting and parsing date strings according to various formats (e.g., RFC 1123, W3C, etc.). It also includes comparison methods for dates and a method to get the time zone offset. The class is designed as a utility class, providing static methods that can be used without creating an instance of the class.
This Java class, DateUtils
, provides utility methods for working with dates, including formatting and parsing date strings according to various formats (e.g., RFC 1123, W3C, etc.). It also includes comparison methods for dates and a method to get the time zone offset. The class is designed as a utility class, providing static methods that can be used without creating an instance of the class.
11 *
12 * You can obtain a copy of the LGPL 2.1 license at
13 * http://www.opensource.org/licenses/lgpl-2.1.php
14 *
15 * You can obtain a copy of the CDDL 1.0 license at
16 * http://www.opensource.org/licenses/cddl1.php
17 *
18 * You can obtain a copy of the EPL 1.0 license at
19 * http://www.opensource.org/licenses/eclipse-1.0.php
20 *
21 * See the Licenses for the specific language governing permissions and
RemotePagingSample.java.html
(http://gwt-ext.googlecode.com/svn/trunk/)
HTML · 207 lines
✨ Summary
This HTML code is for a GWT (Google Web Toolkit) application that displays a grid of topics with various details, such as title, author, and last post date. The grid has features like paging, sorting, and filtering. A toggle button allows the user to show or hide the excerpt of each topic. The code uses HTML, CSS, JavaScript, and GWT libraries to create the interactive grid.
This HTML code is for a GWT (Google Web Toolkit) application that displays a grid of topics with various details, such as title, author, and last post date. The grid has features like paging, sorting, and filtering. A toggle button allows the user to show or hide the excerpt of each topic. The code uses HTML, CSS, JavaScript, and GWT libraries to create the interactive grid.
53 import com.google.gwt.core.client.EntryPoint;
54 import com.google.gwt.user.client.ui.RootPanel;
55 import com.gwtext.client.core.SortDir;
56 import com.gwtext.client.core.TextAlign;
57 import com.gwtext.client.data.*;
73 public String render(Object value, CellMetadata cellMetadata, Record record,
74 int rowIndex, int colNum, Store store) {
75 return Format.format("<b><a href=\"http://extjs.com/forum/showthread.php?t={2}\"
76 target=\"_blank\">{0}</a></b>
77 <a href=\"http://extjs.com/forum/forumdisplay.php?f={3}\" target=\"_blank\">{1} Forum</a>",
117 final Store store = new Store(dataProxy, reader, true);
118 store.setDefaultSort("lastpost", SortDir.DESC);
120 ColumnConfig topicColumn = new ColumnConfig("Topic", "title", 420, false, renderTopic, "topic");
devices.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 268 lines
✨ Summary
This C code initializes and configures various components of a SoC (System-on-Chip) for a specific architecture, likely ARM-based. It sets up resources for peripherals such as MMC/SD cards, watchdog timers, and timers, and registers platform devices to interact with the operating system. The code is part of an initcall function that runs during boot-up, configuring the hardware before the OS takes control.
This C code initializes and configures various components of a SoC (System-on-Chip) for a specific architecture, likely ARM-based. It sets up resources for peripherals such as MMC/SD cards, watchdog timers, and timers, and registers platform devices to interact with the operating system. The code is part of an initcall function that runs during boot-up, configuring the hardware before the OS takes control.
types.h
(https://bitbucket.org/freebsd/freebsd-head/)
C Header · 32 lines
✨ Summary
This is a C header file that defines types for an Internet Systems Consortium (ISC) project, specifically the IRS (Internet Resolv) system. It declares three structs: irs_context_t
, irs_resconf_t
, and irs_dnsconf_t
, which represent different aspects of the IRS system’s configuration and context. The file also includes copyright information and a version control identifier.
This is a C header file that defines types for an Internet Systems Consortium (ISC) project, specifically the IRS (Internet Resolv) system. It declares three structs: irs_context_t
, irs_resconf_t
, and irs_dnsconf_t
, which represent different aspects of the IRS system’s configuration and context. The file also includes copyright information and a version control identifier.
javascript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 566 lines
25 DIGIT_RE="(0x[[:xdigit:]]+[lL]?|[[:digit:]]+(e[[:digit:]]*)?[lLdDfF]?)">
27 <!-- PHP code, copied from php.xml by Chris Petersen -->
28 <SPAN TYPE="MARKUP" DELEGATE="php::PHP">
29 <BEGIN><?php</BEGIN>
30 <END>?></END>
31 </SPAN>
33 <SPAN TYPE="MARKUP" DELEGATE="php::PHP">
34 <BEGIN><?</BEGIN>
35 <END>?></END>
36 </SPAN>
38 <SPAN TYPE="MARKUP" DELEGATE="php::PHP">
39 <BEGIN><%=</BEGIN>
40 <END>%></END>
activity-log.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 53 lines
Util.cpp
(git://github.com/sirikata/sirikata.git)
C++ · 90 lines
✨ Summary
The provided C++ code generates unique names for various graphical elements, such as visuals, materials, textures, and lights, using a combination of string concatenation and hashing. These names are used to identify distinct resources in a graphics system, ensuring uniqueness and consistency across different meshes and entities. The generated names are based on the properties and data associated with each element.
The provided C++ code generates unique names for various graphical elements, such as visuals, materials, textures, and lights, using a combination of string concatenation and hashing. These names are used to identify distinct resources in a graphics system, ensuring uniqueness and consistency across different meshes and entities. The generated names are based on the properties and data associated with each element.