100+ results for 'php header'

Not the results you expected?

modules-defaults.php (https://gitlab.com/Magi1053/Extra) PHP · 250 lines

1 <?php

2 // Prevent file from being loaded directly

3 if ( ! defined( 'ABSPATH' ) ) {

13 $extra_defaults = array(

14 // Posts

15 'et_pb_posts-header_font_size' => '16px',

16 'et_pb_posts-header_font_style' => 'uppercase',

17 'et_pb_posts-header_text_color' => '',

18 'et_pb_posts-header_line_height' => '1',

19 'et_pb_posts-header_letter_spacing' => '1.2px',

20

21 'et_pb_posts-subheader_font_size' => '14px',

22 'et_pb_posts-subheader_font_style' => '',

23 'et_pb_posts-subheader_text_color' => '',

length_class.php (https://bitbucket.org/elena_dyavolova/omf.git) PHP · 412 lines

1 <?php

2 class ControllerLocalisationLengthClass extends Controller {

3 private $error = array();

258 $this->template = 'localisation/length_class_list.tpl';

259 $this->children = array(

260 'common/header',

261 'common/footer'

262 );

355 $this->template = 'localisation/length_class_form.tpl';

356 $this->children = array(

357 'common/header',

358 'common/footer'

359 );

CommitInfo.Designer.cs (https://github.com/adrianoc/gitextensions.git) C# · 235 lines

34 this.gravatar1 = new GitUI.GravatarControl();

35 this.splitContainer1 = new System.Windows.Forms.SplitContainer();

36 this._RevisionHeader = new System.Windows.Forms.RichTextBox();

37 this.commitInfoContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);

38 this.copyCommitInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();

105 // _RevisionHeader

106 //

107 this._RevisionHeader.BackColor = System.Drawing.SystemColors.ControlLight;

108 this._RevisionHeader.BorderStyle = System.Windows.Forms.BorderStyle.None;

109 this._RevisionHeader.ContextMenuStrip = this.commitInfoContextMenuStrip;

110 this._RevisionHeader.Dock = System.Windows.Forms.DockStyle.Fill;

111 this._RevisionHeader.Font = new System.Drawing.Font("Tahoma", 9.75F);

112 this._RevisionHeader.LanguageOption = RichTextBoxLanguageOptions.UIFonts;

113 this._RevisionHeader.Location = new System.Drawing.Point(0, 0);

114 this._RevisionHeader.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);

115 this._RevisionHeader.Name = "_RevisionHeader";

116 this._RevisionHeader.ReadOnly = true;

sitemailer_.php (https://gitlab.com/nvtdn2006/azora) PHP · 384 lines

35 }

36

37 private function setheaders() {

38 /*$BccList = array('nakarinb@bluecube.com.sg','bobby.tan@bluecube.com.sg');*/

39 $this->headers = "To: " . $this->toMail . "\r\n";

52 $this->headers .= "MIME-Version: 1.0\r\n";

53 //$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n";

54 $this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";

188

189 /*$this->msgBody = $htmlCT . $this->msgBody;

190 $this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/

191 $this->msgBody = wordwrap($this->msgBody, $this->wordwrap);

192 }

207

208 /*$this->msgBody = $htmlCT . $this->msgBody;

209 $this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/

210 $this->msgBody = wordwrap($this->msgBody, $this->wordwrap);

211 }

zone.php (https://bitbucket.org/sandeepbhaskar/inspiredliving.git) PHP · 441 lines

1 <?php

2 class ControllerLocalisationZone extends Controller {

3 private $error = array();

258 $this->template = 'localisation/zone_list.tpl';

259 $this->children = array(

260 'common/header',

261 'common/footer'

262 );

369 $this->template = 'localisation/zone_form.tpl';

370 $this->children = array(

371 'common/header',

372 'common/footer'

373 );

rr-090923-header.php (https://bitbucket.org/shuangxinyu/emacspack.git) PHP · 102 lines

17 <head>

18

19 <title><?php echo getMessage("website.title");?></title>

20

21 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

43

44 <link type="text/css" href="/custom/site.css" rel="stylesheet" title="Style Sheet"/> <!-- project custom -->

45 <style type="text/css"><?php echo htmlentities(getMessage("header.custom.css"));?> </style>

46

47

48 <?php undercon();

49 echoHeaderContent("keywords",curPageName());

50 echoHeaderContent("description",curPageName());

51 echoHeaderContent("verify-v1",curPageName());

WURFL_Request_UserAgentNormalizer_Specific.html (https://github.com/binhtd/spx-portal.git) HTML · 322 lines

19 <td class="headerItem" width="20%">Current directory:</td>

20 <td class="headerValue" width="80%"><a href="index.html">/Users/fanta/Documents/Work/Projects/com.wurflpro/wurfl-api/code/dev/wurfl-php/wurfl-api-php</a>/<a href="WURFL.html">WURFL</a>/<a href="WURFL_Request.html">Request</a>/<a href="WURFL_Request_UserAgentNormalizer.html">UserAgentNormalizer</a>/<a href="WURFL_Request_UserAgentNormalizer_Specific.html">Specific</a></td>

21 </tr>

22 <tr>

91 </tr>

92 <tr>

93 <td class="coverFile"><a href="WURFL_Request_UserAgentNormalizer_Specific_Chrome.php.html">Chrome.php</a></td>

94 <td class="coverBar" align="center" width="100">

95 <table border="0" cellspacing="0" cellpadding="1">

122

123 <tr>

124 <td class="coverFile"><a href="WURFL_Request_UserAgentNormalizer_Specific_Firefox.php.html">Firefox.php</a></td>

125 <td class="coverBar" align="center" width="100">

126 <table border="0" cellspacing="0" cellpadding="1">

153

154 <tr>

155 <td class="coverFile"><a href="WURFL_Request_UserAgentNormalizer_Specific_Konqueror.php.html">Konqueror.php</a></td>

156 <td class="coverBar" align="center" width="100">

157 <table border="0" cellspacing="0" cellpadding="1">

class-wp-customize-setting.php (https://gitlab.com/Gashler/dp) PHP · 439 lines

1 <?php

2 /**

3 * Customize Setting Class.

397 * @since 3.4.0

398 */

399 final class WP_Customize_Header_Image_Setting extends WP_Customize_Setting {

400 public $id = 'header_image_data';

406 */

407 public function update( $value ) {

408 global $custom_image_header;

409

410 // If the value doesn't exist (removed or random),

414

415 if ( is_array( $value ) && isset( $value['choice'] ) )

416 $custom_image_header->set_header_image( $value['choice'] );

417 else

418 $custom_image_header->set_header_image( $value );

tabs_helper.php (https://github.com/rickogden/joind.in.git) PHP · 337 lines

148 <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">

149 <?php

150 foreach($this->_tabs as $tab):

151 if ($tab->getId() == $this->_selectedTab) {

299 }

300

301 public function render($headerFormat='', $contentFormat='') {

302 $header = '';

303 if (empty($headerFormat)) {

304 $headerFormat = $this->_headerFormat;

305 }

306 $content = '';

317 }

318 $classText = implode(' ', $classes);

319 $header = sprintf($headerFormat, $classText, $this->_baseURL.$this->_url, (!empty($this->_parentId)?$this->_parentId : $this->_id), $this->_id, $this->_caption);

320

321

graph.test.php (https://github.com/kwijibo/sparql-proxy.git) PHP · 308 lines

1 <?php

2 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'constants.inc.php';

3 require_once MORIARTY_DIR . 'graph.class.php';

4 require_once MORIARTY_TEST_DIR . 'fakecredentials.class.php';

5

6 class GraphTest extends PHPUnit_Framework_TestCase {

7 var $_empty_changeset = '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cs="http://purl.org/vocab/changeset/schema#">

8 <rdf:Description rdf:nodeID="cs">

10 <cs:subjectOfChange rdf:nodeID="a" />

11 <cs:creatorName>Ian</cs:creatorName>

12 <cs:changeReason>PHP Client Test</cs:changeReason>

13 </rdf:Description>

14 </rdf:RDF>';

ext_zlib.php (https://github.com/tstarling/hiphop-php.git) PHP · 376 lines

1 <?hh

2 // @generated by docskel.php

3

4 /**

61 * library.

62 * @param int $encoding_mode - The encoding mode. Can be FORCE_GZIP (the

63 * default) or FORCE_DEFLATE. Prior to PHP 5.4.0, using FORCE_DEFLATE

64 * results in a standard zlib deflated string (inclusive zlib headers)

65 * after a gzip file header but without the trailing crc32 checksum. In

66 * PHP 5.4.0 and later, FORCE_DEFLATE generates RFC 1950 compliant

67 * output, consisting of a zlib header, the deflated data, and an Adler

68 * checksum.

69 *

ExceptionHandlerAsm.asm (https://gitlab.com/envieidoc/Clover) Assembly · 445 lines

4 ; are licensed and made available under the terms and conditions of the BSD License

5 ; which accompanies this distribution. The full text of the license may be found at

6 ; http://opensource.org/licenses/bsd-license.php.

7 ;

8 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

56 db 0 ; 0 will be fixed

57 push eax

58 mov eax, HookAfterStubHeaderEnd

59 jmp eax

60 HookAfterStubHeaderEnd:

Renderer.php (https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git) PHP · 235 lines

1 <?php

2 /**

3 * A class to render Diffs in different formats.

9 *

10 * See the enclosed file COPYING for license information (LGPL). If you did

11 * not receive this file, see http://opensource.org/licenses/lgpl-license.php.

12 *

13 * @package Text_Diff

144 function _block($xbeg, $xlen, $ybeg, $ylen, &$edits)

145 {

146 $output = $this->_startBlock($this->_blockHeader($xbeg, $xlen, $ybeg, $ylen));

147

148 foreach ($edits as $edit) {

179 }

180

181 function _blockHeader($xbeg, $xlen, $ybeg, $ylen)

182 {

183 if ($xlen > 1) {

ValidationHooks.qunit.html (https://gitlab.com/crsr/openui5) HTML · 415 lines

404 </head>

405 <body>

406 <h1 id="qunit-header">QUnit tests: Validation Hooks</h1>

407 <h2 id="qunit-banner"></h2>

408 <h2 id="qunit-userAgent"></h2>

Make_Bug_Report.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 119 lines

49 insideError = false;

50 startupDone = false;

51 activityLogHeaderLines = 9;

52 try

53 {

54 for(i = 0; i < activityLogHeaderLines; ++i)

55 {

56 report.append(reader.readLine()).append('\n');

hostname_pattern.rst (https://github.com/althaus/symfony-docs.git) ReStructuredText · 285 lines

37 </routes>

38

39 .. code-block:: php

40

41 use Symfony\Component\Routing\RouteCollection;

92 </routes>

93

94 .. code-block:: php

95

96 use Symfony\Component\Routing\RouteCollection;

148 </routes>

149

150 .. code-block:: php

151

152 use Symfony\Component\Routing\RouteCollection;

Hooks.php (https://bitbucket.org/blackriver/openx.git) PHP · 253 lines

31 * A manager for UI related hooks.

32 *

33 * Allows registration of event listeners in the form of {@link http://www.php.net/manual/en/language.pseudo-types.php#language.types.callback callback}

34 * and when informed of an event it will pass the event to registered listeners.

35 *

57 * @param string $menuSectionId section id of page being rendered

58 * @param array $pageData array of page related parameters eg. clientid, campaignid

59 * @param OA_Admin_UI_Model_PageHeaderModel optional $headerModel

60 */

61 public static function beforePageHeader($menuSectionId, $pageData, $oHeaderModel = null)

66 'pageId' => $menuSectionId,

67 'pageData' => $pageData,

68 'headerModel' => $oHeaderModel,

69 ));

70

edit.php (https://github.com/sansanwawa/e-commerse.git) PHP · 337 lines

1 <?php

2 class ControllerAffiliateEdit extends Controller {

3 private $error = array();

254 'common/content_bottom',

255 'common/footer',

256 'common/header'

257 );

258

RedirectPluginTest.php (https://gitlab.com/techniconline/kmc) PHP · 277 lines

1 <?php

2

3 namespace Guzzle\Tests\Plugin\Redirect;

49

50 $this->assertEquals(301, $requestHistory[0]['response']->getStatusCode());

51 $this->assertEquals('/redirect1', (string) $requestHistory[0]['response']->getHeader('Location'));

52 $this->assertEquals(301, $requestHistory[1]['response']->getStatusCode());

53 $this->assertEquals('/redirect2', (string) $requestHistory[1]['response']->getHeader('Location'));

95 $this->assertEquals('POST', $requests[0]->getMethod());

96 $this->assertEquals('GET', $requests[1]->getMethod());

97 $this->assertEquals('bar', (string) $requests[1]->getHeader('X-Baz'));

98 $this->assertEquals('GET', $requests[2]->getMethod());

99 }

116 $this->assertEquals('POST', $requests[0]->getMethod());

117 $this->assertEquals('POST', $requests[1]->getMethod());

118 $this->assertEquals('bar', (string) $requests[1]->getHeader('X-Baz'));

119 $this->assertEquals('POST', $requests[2]->getMethod());

120 }

stock_status.php (https://gitlab.com/reclamare/mao) PHP · 367 lines

1 <?php

2 class ControllerLocalisationStockStatus extends Controller {

3 private $error = array();

250 $data['order'] = $order;

251

252 $data['header'] = $this->load->controller('common/header');

253 $data['column_left'] = $this->load->controller('common/column_left');

254 $data['footer'] = $this->load->controller('common/footer');

326 }

327

328 $data['header'] = $this->load->controller('common/header');

329 $data['column_left'] = $this->load->controller('common/column_left');

330 $data['footer'] = $this->load->controller('common/footer');

configure.php (https://bitbucket.org/antonyravel/cape-resorts.git) PHP · 68 lines

1 <?php

2 $lan = array(

3 'checklist for installation' => 'Tjekliste til installation',

18 'Domain Name of your server (for email)' => 'Dom&aelig;nenavn p&aring; din server (til email)',

19 'Person in charge of this system (one email address)' => 'Person, der styrer dette system (en email adresse)',

20 'How often do you want to check for a new version of PHPlist (days)' => 'Hvor ofte vil du tjekke for nye versioner af PHPlist (dage)',

21 'List of people to CC in system emails (separate by commas)' => 'Liste over folk der skal have CC i system emails (adskil med komma)',

22 'Who gets the reports (email address, separate multiple emails with a comma)' => 'Hvem modtager rapporterne (email adresse, adskil flere emails med komma)',

51 'Default footer for sending a message' => 'Standard footer ved afsendelse af besked',

52 'Footer used when a message has been forwarded' => 'Footer, der benyttes n&aring;r en besked er videresendt',

53 'Header of public pages. The header should start with &lt;/head&gt; . You can add header elements, but don\'t add the title or other basic header elements.' => 'Header p&aring; offentlige sider. Headeren b&oslash;r starte med &lt;/head&gt; . Du kan tilf&oslash;je header elementer, men undlad at tilf&oslash;je titlen eller andre basale header elementer.',

54 'Footer of public pages' => 'Footer p&aring; offentlige sider',

55 'Charset for HTML messages' => 'Karakters&aelig;t til HTML beskeder',

Components.php (https://bitbucket.org/mbaily/tremain.git) PHP · 222 lines

1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

2

3 /**

17 require_once APPPATH.'libraries/channel_entries_parser/components/Category.php';

18 require_once APPPATH.'libraries/channel_entries_parser/components/Custom_date.php';

19 require_once APPPATH.'libraries/channel_entries_parser/components/Custom_field.php';

20 require_once APPPATH.'libraries/channel_entries_parser/components/Custom_field_pair.php';

21 require_once APPPATH.'libraries/channel_entries_parser/components/Custom_member_field.php';

22 require_once APPPATH.'libraries/channel_entries_parser/components/Date.php';

23 require_once APPPATH.'libraries/channel_entries_parser/components/Header_and_footer.php';

24 require_once APPPATH.'libraries/channel_entries_parser/components/Relationship.php';

25 require_once APPPATH.'libraries/channel_entries_parser/components/Simple_conditional.php';

26 require_once APPPATH.'libraries/channel_entries_parser/components/Simple_variable.php';

index.tpl (https://github.com/TheOnly92/Ikariem.git) Smarty Template · 180 lines

58 {if $seafaring.action === true}

59 <div class="researchButton">

60 <a class="button build" style="padding-left:3px;padding-right:3px;" href="/researchAdvisor/doResearch?type={php}echo Chamista_Model_Formula::tech_type(Chamista_Model_Formula::SEAFARING);{/php}">

61 <span class="textLabel">Research</span>

62 </a>

91 {if $economy.action === true}

92 <div class="researchButton">

93 <a class="button build" style="padding-left:3px;padding-right:3px;" href="/researchAdvisor/doResearch?type={php}echo Chamista_Model_Formula::tech_type(Chamista_Model_Formula::ECONOMY);{/php}">

94 <span class="textLabel">Research</span>

95 </a>

124 {if $science.action === true}

125 <div class="researchButton">

126 <a class="button build" style="padding-left:3px;padding-right:3px;" href="/researchAdvisor/doResearch?type={php}echo Chamista_Model_Formula::tech_type(Chamista_Model_Formula::SCIENCE);{/php}">

127 <span class="textLabel">Research</span>

128 </a>

block_glossary_random.php (https://github.com/viggof/moodle.git) PHP · 188 lines

1 <?php

2

3 define('BGR_RANDOMLY', '0');

13 global $CFG, $DB;

14

15 require_once($CFG->libdir . '/filelib.php');

16

17 $this->course = $this->page->course;

95 $options->trusted = $entry->definitiontrust;

96 $options->overflowdiv = true;

97 $entry->definition = file_rewrite_pluginfile_urls($entry->definition, 'pluginfile.php', $glossaryctx->id, 'mod_glossary', 'entry', $entry->id);

98 $text .= format_text($entry->definition, $entry->definitionformat, $options);

99

129 $course = $this->page->course;

130

131 require_once($CFG->dirroot.'/course/lib.php');

132 $modinfo = get_fast_modinfo($course);

133

extending_rt_traits.cpp (https://bitbucket.org/johnny_lai/labvvis.git) C++ · 394 lines

13

14

15 #include <boost/test/minimal.hpp> // see "Header Implementation Option"

16

17 #include "boost/lambda/bind.hpp"

PHP53FeaturesTest.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 244 lines

1 /*

2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

3 *

4 * Copyright 2010 Oracle and/or its affiliates. All rights reserved.

15 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the

16 * specific language governing permissions and limitations under the

17 * License. When distributing the software, include this License Header

18 * Notice in each file and include the License file at

19 * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this

21 * by Oracle in the GPL Version 2 section of the License file that

22 * accompanied this code. If applicable, add the following below the

23 * License Header, with the fields enclosed by brackets [] replaced by

24 * your own identifying information:

25 * "Portions Copyrighted [year] [name of copyright owner]"

47 * @author Petr Pisl

48 */

49 public class PHP53FeaturesTest extends PHPLexerTestBase {

50

51 public PHP53FeaturesTest(String testName) {

delete.php (https://github.com/harriswong/ATutor.git) PHP · 185 lines

29 if (isset($_POST['submit_no'])) {

30 $msg->addFeedback('CANCELLED');

31 header('Location: index.php?pathext='.$_POST['pathext'].SEP.'framed='.$_POST['framed'].SEP.'popup='.$_POST['popup'].SEP.'cp='.$_POST['cp'].SEP.'cid='.$_POST['cid'].SEP.'pid='.$_POST['pid'].SEP.'a_type='.$_POST['a_type']);

32 exit;

33 }

104 $msg->addError('UNKNOWN');

105 $result=false;

106 header('Location: index.php?pathext='.$_POST['pathext'].SEP.'framed='.$_POST['framed'].SEP.'popup='.$_POST['popup'].SEP.'cp='.$_POST['cp'].SEP.'cid='.$_POST['cid'].SEP.'pid='.$_POST['pid'].SEP.'a_type='.$_POST['a_type']);

107 exit;

108 } else if (!is_dir($current_path.$pathext.$filename)) {

109 $msg->addError(array('DIR_NOT_DELETED',$filename));

110 $result=false;

111 header('Location: index.php?pathext='.$_POST['pathext'].SEP.'framed='.$_POST['framed'].SEP.'popup='.$_POST['popup'].SEP.'cp='.$_POST['cp'].SEP.'cid='.$_POST['cid'].SEP.'pid='.$_POST['pid'].SEP.'a_type='.$_POST['a_type']);

112 exit;

113 } else if (!($result = clr_dir($current_path.$pathext.$filename))) {

Csv.php (https://github.com/sbourget/moodle.git) PHP · 404 lines

1 <?php

2

3 namespace PhpOffice\PhpSpreadsheet\Writer;

4

5 use PhpOffice\PhpSpreadsheet\Calculation\Calculation;

6 use PhpOffice\PhpSpreadsheet\Spreadsheet;

7

8 class Csv extends BaseWriter

9 {

10 /**

11 * PhpSpreadsheet object.

12 *

13 * @var Spreadsheet

34 * @var string

35 */

36 private $lineEnding = PHP_EOL;

37

38 /**

TraceableEventDispatcherTest.php (https://bitbucket.org/larryg/powerhut.git) PHP · 241 lines

1 <?php

2

3 /*

24 use Symfony\Component\Stopwatch\Stopwatch;

25

26 class TraceableEventDispatcherTest extends \PHPUnit_Framework_TestCase

27 {

28 protected function setUp()

171 $kernel->terminate($request, $response);

172

173 $events = $stopwatch->getSectionEvents($response->headers->get('X-Debug-Token'));

174 $this->assertEquals(array(

175 '__section__',

GifCreator.php (https://gitlab.com/billyprice1/mc-skintools) PHP · 349 lines

1 <?php

2

3 namespace GifCreator;

8 * @link https://github.com/Sybio/GifCreator

9 * @author Sybio (Clément Guillemain / @Sybio01)

10 * @license http://opensource.org/licenses/gpl-license.php GNU Public License

11 * @copyright Clément Guillemain

12 * @modified by Max Korlaar

164 }

165

166 $this->gifAddHeader();

167

168 for ($i = 0; $i < count($this->frameSources); $i++) {

180

181 /**

182 * Add the header gif string in its source (old: GIFAddHeader)

183 */

184 public function gifAddHeader() {

querying.cpp (https://gitlab.com/cdeclare/intcrypt) C++ · 293 lines

18 #ifdef BOOST_HAS_HASH

19 #define _GLIBCXX_PERMIT_BACKWARD_HASH

20 #include BOOST_HASH_SET_HEADER

21 #include BOOST_HASH_MAP_HEADER

page.tpl.php (https://bitbucket.org/agiza/farming-drupal.git) PHP · 251 lines

1 <!-- #header -->

2 <div id="header">

3 <!-- #header-inside -->

4 <div id="header-inside" class="container_12 clearfix">

5 <!-- #header-inside-left -->

6 <div id="header-inside-left" class="grid_12">

7

8 <?php if ($logo): ?>

9 <a href="<?php print check_url($front_page); ?>"

10 title="<?php print t('Home'); ?>"><img src="<?php print $logo; ?>"

11 alt="<?php print t('Home'); ?>" /> </a>

18 href="<?php print check_url($front_page); ?>"

19 title="<?php print t('Home'); ?>"><?php print $site_name; ?> </a> </span>

20 <?php endif; ?>

15.8.1.5-1.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 66 lines

57 var TITLE = "Math.LOG10E";

58

59 writeHeaderToLog( SECTION + " "+ TITLE);

60

61 new TestCase( SECTION,

g_i_l_0001.html (http://hadesmem.googlecode.com/svn/trunk/) HTML · 0 lines ✨ Summary

This is a Doxygen-generated HTML documentation for a C++ library, specifically the Generic Image Library (Gil). It displays the code’s structure and function signatures in a readable format, with links to generated documentation pages. The output shows the library’s functions and classes, including their parameters and return types, making it easier for developers to understand and use the library.

34 | <a class="qindex" href="../index.html">GIL Home Page</a>

35 </div>

36 <!-- End Header -->

37 <!-- Generated by Doxygen 1.5.6 -->

38 <div class="navpath"><a class="el" href="g_i_l_0076.html">boost</a>&nbsp;&raquo&nbsp;<a class="el" href="g_i_l_0079.html">gil</a>

hardware.h (http://omnia2droid.googlecode.com/svn/trunk/) C++ Header · 28 lines ✨ Summary

This C header file defines common hardware settings for DaVinci family processors. It includes a system module base address and a control register offset, indicating how to access specific registers on these chips. The code is licensed under the GNU General Public License version 2, allowing users to modify and distribute it freely.

15 * Before you add anything to ths file:

16 *

17 * This header is for defines common to ALL DaVinci family chips.

18 * Anything that is chip specific should go in <chipname>.h,

19 * and the chip/board init code should then explicitly include

reverse_iter_fold_impl.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

7 //

8

9 // *Preprocessed* version of the main "reverse_iter_fold_impl.hpp" header

10 // -- DO NOT modify by hand!

11

AboutBox.resx (https://hg01.codeplex.com/jungletimer) Unknown · 1288 lines

15 ... ado.net/XML headers & schema ...

16 <resheader name="resmimetype">text/microsoft-resx</resheader>

17 <resheader name="version">2.0</resheader>

18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>

19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>

20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>

21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>

28 </data>

29

30 There are any number of "resheader" rows that contain simple

31 name/value pairs.

32

108 <resheader name="resmimetype">

109 <value>text/microsoft-resx</value>

110 </resheader>

111 <resheader name="version">

CBZip2InputStream.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 809 lines ✨ Summary

This Java code appears to be part of a decompression algorithm for a specific type of compressed data. It initializes and manages various data structures, such as arrays and hash tables, to process the compressed data. The code also handles different compression structures and randomization schemes, and updates CRC values during decompression. Its purpose is to decompress the input data into its original form.

42 /**

43 * An input stream that decompresses from the BZip2 format (without the file

44 * header chars) to be read as any other stream.

45 */

46 package com.aftexsw.util.bzip;

220

221 if (magic1 != 0x31 || magic2 != 0x41 || magic3 != 0x59 || magic4 != 0x26 || magic5 != 0x53 || magic6 != 0x59) {

222 badBlockHeader();

223 streamEnd = true;

224 return;

262 }

263

264 private static void badBlockHeader() {

265 cadvise();

266 }

11.2.2-11.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 104 lines

87 var TITLE = "The new operator";

88

89 writeHeaderToLog( SECTION + " "+ TITLE);

90

91 var FUNCTION = new Function();

vc9_fastest_total_icl_quantifier.vcproj (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

48 BasicRuntimeChecks="3"

49 RuntimeLibrary="3"

50 UsePrecompiledHeader="0"

51 WarningLevel="3"

52 Detect64BitPortabilityProblems="false"

123 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"

124 RuntimeLibrary="2"

125 UsePrecompiledHeader="0"

126 WarningLevel="4"

127 Detect64BitPortabilityProblems="false"

187 </Filter>

188 <Filter

189 Name="Header Files"

190 Filter="h;hpp;hxx;hm;inl;inc;xsd"

191 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"

g_i_l_0418.html (http://hadesmem.googlecode.com/svn/trunk/) HTML · 0 lines ✨ Summary

This HTML code is a documentation page for a C++ struct template, channel_mapping_type, generated by Doxygen. It displays information about the struct’s purpose, public types, and detailed description, along with links to related files and documentation. The page includes metadata, styling, and formatting to present the information in a readable format.

34 | <a class="qindex" href="../index.html">GIL Home Page</a>

35 </div>

36 <!-- End Header -->

37 <!-- Generated by Doxygen 1.5.6 -->

38 <div class="navpath"><a class="el" href="namespaceboost.html">boost</a>::<b>gil</b>::<a class="el" href="g_i_l_0418.html">channel_mapping_type&lt; planar_pixel_reference&lt; ChannelReference, ColorSpace &gt; &gt;</a>

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.

102 abbrevsTable.getTableHeader().setReorderingAllowed(false);

103 abbrevsTable.getTableHeader().addMouseListener(new HeaderMouseHandler());

104 abbrevsTable.getSelectionModel().addListSelectionListener(

105 new SelectionHandler());

227 //}}}

228

229 //{{{ HeaderMouseHandler class

230 private class HeaderMouseHandler extends MouseAdapter

233 public void mouseClicked(MouseEvent evt)

234 {

235 switch(abbrevsTable.getTableHeader().columnAtPoint(evt.getPoint()))

236 {

237 case 0:

htaccess.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 564 lines

105 <KEYWORD1>ForceLanguagePriority</KEYWORD1>

106 <KEYWORD1>ForceType</KEYWORD1>

107 <KEYWORD1>Header</KEYWORD1>

108 <KEYWORD1>HeaderName</KEYWORD1>

140 <KEYWORD1>RemoveOutputFilter</KEYWORD1>

141 <KEYWORD1>RemoveType</KEYWORD1>

142 <KEYWORD1>RequestHeader</KEYWORD1>

143 <KEYWORD1>Require</KEYWORD1>

144 <KEYWORD1>RewriteBase</KEYWORD1>

334 <KEYWORD2>ForceType</KEYWORD2>

335 <KEYWORD2>Group</KEYWORD2>

336 <KEYWORD2>Header</KEYWORD2>

337 <KEYWORD2>HeaderName</KEYWORD2>

407 <KEYWORD2>PidFile</KEYWORD2>

408 <KEYWORD2>ProtocolEcho</KEYWORD2>

409 <KEYWORD2>ProxyBadHeader</KEYWORD2>

410 <KEYWORD2>ProxyBlock</KEYWORD2>

411 <KEYWORD2>ProxyDomain</KEYWORD2>

malloc.c (https://bitbucket.org/ultra_iter/qt-vtl.git) C · 5515 lines

402 LACKS_STRINGS_H, LACKS_STRING_H, LACKS_SYS_TYPES_H, LACKS_ERRNO_H

403 LACKS_STDLIB_H default: NOT defined unless on WIN32

404 Define these if your system does not have these header files.

405 You might need to manually insert some of the declarations they provide.

406

has_inverse_icl_split_i_id515985.html (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

6 <meta name="generator" content="DocBook XSL Stylesheets V1.74.0">

7 <link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.Icl">

8 <link rel="up" href="../../header/boost/icl/split_interval_map_hpp.html" title="Header &lt;boost/icl/split_interval_map.hpp&gt;">

9 <link rel="prev" href="is_map_icl_split_interv_id515891.html" title="Struct template is_map&lt;icl::split_interval_map&lt; DomainT, CodomainT, Traits, Compare, Combine, Section, Interval, Alloc &gt;&gt;">

10 <link rel="next" href="is_interval_container_i_id516625.html" title="Struct template is_interval_container&lt;icl::split_interval_map&lt; DomainT, CodomainT, Traits, Compare, Combine, Section, Interval, Alloc &gt;&gt;">

21 <hr>

22 <div class="spirit-nav">

23 <a accesskey="p" href="is_map_icl_split_interv_id515891.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/icl/split_interval_map_hpp.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="is_interval_container_i_id516625.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>

24 </div>

25 <div class="refentry" lang="en">

30 </div>

31 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>

32 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/icl/split_interval_map_hpp.html" title="Header &lt;boost/icl/split_interval_map.hpp&gt;">boost/icl/split_interval_map.hpp</a>&gt;

33

34 </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> DomainT<span class="special">,</span> <span class="keyword">typename</span> CodomainT<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">,</span>

list_first.html (http://hadesmem.googlecode.com/svn/trunk/) HTML · 0 lines ✨ Summary

This HTML code outputs a documentation page for the BOOST_PP_LIST_FIRST macro, explaining its usage, requirements, and sample code examples. It includes links to related documents, copyright information, and licensing details, providing a comprehensive overview of the macro’s functionality. The content is presented in a structured format with headings, paragraphs, and code snippets.

21 <h4>Requirements</h4>

22 <div>

23 <b>Header:</b> &nbsp;<a href="../headers/list/adt.html">&lt;boost/preprocessor/list/adt.hpp&gt;</a>

24 </div>

25 <h4>Sample Code</h4>

26 <div><pre>

27 #include &lt;<a href="../headers/list/adt.html">boost/preprocessor/list/adt.hpp</a>&gt;

28

29 #define OLD \

complexity.html (http://hadesmem.googlecode.com/svn/trunk/) HTML · 0 lines ✨ Summary

This HTML code outputs a documentation page for an interval container library, providing information on its implementation details, including time complexities and performance characteristics. It includes explanations of algorithms used in adding intervals to containers, as well as copyright and licensing information. The content is presented in a structured format with links to related pages.

67 The next table gives the time complexities for the overloaded <code class="computeroutput"><span class="keyword">operator</span> <span class="special">+=</span></code>

68 on interval containers. The instance types of <code class="computeroutput"><span class="identifier">T</span></code>

69 are given as column headers. Instances of type parameter <code class="computeroutput"><span class="identifier">P</span></code>

70 are denoted in the second column. The third column contains the specific

71 kind of complexity statement. If column three is empty <span class="emphasis"><em><span class="bold"><strong>worst case</strong></span></em></span> complexity is given in the related

manual.html (http://angel-engine.googlecode.com/svn/trunk/) HTML · 272 lines ✨ Summary

This HTML code is a documentation page for a Lua library called lfs (File System). It provides information on various functions and methods related to file system operations, such as creating directories, setting file modes, and managing links. The content is structured in a table format with brief descriptions of each function.

69 <p>

70 LuaFileSystem should be built with Lua 5.1 so the language library

71 and header files for the target version must be installed properly.

72 </p>

73

seekslider.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 157 lines

29 #include <QtGui/QWidget>

30

31 QT_BEGIN_HEADER

32 QT_BEGIN_NAMESPACE

33

152

153 QT_END_NAMESPACE

154 QT_END_HEADER

155

156 // vim: sw=4 ts=4 tw=80

request.hpp (http://hadesmem.googlecode.com/svn/trunk/) C++ Header · 0 lines ✨ Summary

This C++ header file defines a class request for non-blocking communication in MPI (Message Passing Interface). It provides methods to wait, test, and cancel pending communications, as well as handle serialized receive operations. The class is designed to be used with the Boost MPI library and includes internal implementation details such as request handling and data storage.

7 /** @file request.hpp

8 *

9 * This header defines the class @c request, which contains a request

10 * for non-blocking communication.

11 */

value_size_icl_closed_i_id506058.html (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

6 <meta name="generator" content="DocBook XSL Stylesheets V1.74.0">

7 <link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.Icl">

8 <link rel="up" href="../../interval_container_library_reference.html#header.boost.icl.closed_interval_hpp" title="Header &lt;boost/icl/closed_interval.hpp&gt;">

9 <link rel="prev" href="type_to_string_icl_clos_id506030.html" title="Struct template type_to_string&lt;icl::closed_interval&lt; DomainT, Compare &gt;&gt;">

10 <link rel="next" href="../../header/boost/icl/continuous_interval_hpp.html" title="Header &lt;boost/icl/continuous_interval.hpp&gt;">

21 <hr>

22 <div class="spirit-nav">

23 <a accesskey="p" href="type_to_string_icl_clos_id506030.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../interval_container_library_reference.html#header.boost.icl.closed_interval_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../header/boost/icl/continuous_interval_hpp.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>

24 </div>

25 <div class="refentry" lang="en">

30 </div>

31 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>

32 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../interval_container_library_reference.html#header.boost.icl.closed_interval_hpp" title="Header &lt;boost/icl/closed_interval.hpp&gt;">boost/icl/closed_interval.hpp</a>&gt;

33

34 </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> DomainT<span class="special">&gt;</span>

in.html (http://hadesmem.googlecode.com/svn/trunk/) HTML · 0 lines ✨ Summary

This HTML code outputs a documentation page for a C++ library, specifically the boost::fusion namespace. It displays information about a function called in, which is used to read input from an iterator. The page includes details such as the return type, semantics, and example usage of the function.

124 <a name="fusion.sequence.operator.i_o.in.header"></a><h6>

125 <a name="id863743"></a>

126 <a class="link" href="in.html#fusion.sequence.operator.i_o.in.header">Header</a>

127 </h6>

128 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">io</span><span class="special">/</span><span class="identifier">in</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

README (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 7 lines

1 This example runs the entire gifplot.h header file through SWIG without

2 any changes. The Scheme program 'test-gifplot.scm' does something a

3 little more interesting. You'll have to go look at the header file to

reference.html (http://hadesmem.googlecode.com/svn/trunk/) HTML · 0 lines ✨ Summary

This is a documentation page for the Boost library, specifically the error handling module. It provides information on classes and functions related to error handling, including system_error and its constructors. The page includes code examples and explanations of the postconditions for each constructor. It also includes copyright and licensing information.

42 <a href="#Deprecated-names">Deprecated names</a><br>

43 <a href="#Breaking-changes">Breaking changes</a><br>

44 <a href="#Header-error_code">Header &lt;boost/system/error_code.hpp&gt;</a><br>

45 <a href="#Class-error_category">Class <code>error_category</code></a><br>

46 &nbsp;&nbsp;&nbsp;<a href="#Class-error_category-synopsis">Class <code>error_category</code> synopsis</a><br>

63 <a href="#Semantics-of-throws">Semantics of <code>throws</code> object</a><br>

64 <a href="#Non-member-functions">Non-member functions</a><br>

65 <a href="#Header-system_error">Header &lt;boost/system/system_error.hpp&gt;</a><br>

66 &nbsp;&nbsp;&nbsp;<a href="#Class-system_error">Class <code>system_error</code></a><br>

67 </td>

171 </table>

172 <p>User-defined BOOST_POSIX_API and BOOST_WINDOWS_API macros are no longer supported.</p>

173 <h2><a name="Header-error_code">Header &lt;boost/system/error_code.hpp&gt;</a></h2>

174 <h3>&lt;boost/system/error_code.hpp&gt; synopsis</h3>

175 <blockquote>

Utils.cs (http://garminworkouts.googlecode.com/svn/trunk/) C# · 484 lines ✨ Summary

This C# code is part of a fitness tracking application, providing various utility methods for data processing and conversion. It handles tasks such as serializing step information to XML, converting between different workout file formats, calculating pace and speed, and formatting names with special characters. The code also includes helper functions for working with Garmin-specific data types and units.

179

180 // Data version number

181 stream.Write(Encoding.UTF8.GetBytes(Constants.DataHeaderIdString), 0, Encoding.UTF8.GetByteCount(Constants.DataHeaderIdString));

182 stream.WriteByte(Constants.CurrentVersion.VersionNumber);

183

ClassVisitor.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 127 lines ✨ Summary

This Java code defines an interface called ClassVisitor that allows a visitor to traverse and analyze a Java class’s bytecode structure. It provides methods for visiting the class header, inner classes, fields, methods, and the end of the class, allowing developers to inspect and manipulate the class’s bytecode without modifying its source code.

34

35 /**

36 * Visits the header of the class.

37 *

38 * @param access the class's access flags (see {@link Constants}). This

PngFile.c (http://angel-engine.googlecode.com/svn/trunk/) C · 443 lines ✨ Summary

This C code provides functions for reading and writing PNG (Portable Network Graphics) files. The png_read_data function reads data from a file, while png_write_data writes data to a file. The png_flush function is used to flush the output buffer after writing data. The png_read and png_write functions are wrappers around these three functions, providing a more convenient interface for reading and writing PNG files.

337 PNG_FILTER_TYPE_BASE);

338

339 // write the file header information

340

341 png_write_info(png_ptr, info_ptr);

mpi_type.h (http://omnia2droid.googlecode.com/svn/trunk/) C++ Header · 84 lines ✨ Summary

This C header file defines basic data types for the Message Passing Interface (MPI). It provides definitions for signed and unsigned integer types, such as S8, U8, S32, and U32. It also defines structures for 64-bit integers (S64 and U64) and pointers to these types. The file allows for customization of the pointer type by defining MPI_POINTER before including it.

31 * Define MPI_POINTER if it hasn't already been defined. By default MPI_POINTER

32 * is defined to be a near pointer. MPI_POINTER can be defined as a far pointer

33 * by defining MPI_POINTER as "far *" before this header file is included.

34 */

35 #ifndef MPI_POINTER

cffgload.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 203 lines

26

27

28 FT_BEGIN_HEADER

29

30

196

197

198 FT_END_HEADER

199

200 #endif /* __CFFGLOAD_H__ */

git.hrl (git://github.com/schacon/erlangit.git) Erlang · 21 lines ✨ Summary

This Erlang code defines four record types: git, index, commit, and tree. The records represent data structures used in Git version control, including a repository’s path, an index of commits, individual commits with metadata, and a tree representing file contents. Each record type has specific fields that store relevant information about the corresponding Git concept.

1 -record(git, {path}).

2

3 -record(index, {header,

4 version,

5 size,

dist_nc_f_incl_test.cpp (http://hadesmem.googlecode.com/svn/trunk/) C++ · 0 lines ✨ Summary

This C++ code is a test for the non_central_f distribution header, ensuring that all necessary files are included and compiled correctly. It includes the header file itself, another test file, and template instantiations for different data types to verify compilation results. The purpose is to validate the correctness of the non_central_f distribution implementation.

4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

5 //

6 // Basic sanity check that header <boost/math/distributions/non_central_f.hpp>

7 // #includes all the files that it needs to.

8 //

9 #include <boost/math/distributions/non_central_f.hpp>

10 //

11 // Note this header includes no other headers, this is

12 // important if this test is to be meaningful:

13 //

times.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

7 //

8

9 // *Preprocessed* version of the main "times.hpp" header

10 // -- DO NOT modify by hand!

11

nth_element.html (http://hadesmem.googlecode.com/svn/trunk/) HTML · 0 lines ✨ Summary

This HTML code outputs documentation for a C++ algorithm, nth_element, which rearranges elements in a range according to a given ordering relation. The output provides details on the algorithm’s requirements, complexity, and usage, including constraints on the input range and predicate function. It is part of a larger documentation set for the Boost C++ Libraries.

74 </h6>

75 <p>

76 Defined in the header file <code class="computeroutput"><span class="identifier">boost</span><span class="special">/</span><span class="identifier">range</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">nth_element</span><span class="special">.</span><span class="identifier">hpp</span></code>

77 </p>

78 <a name="range.reference.algorithms.mutating.nth_element.requirements"></a><h6>

Default.aspx (https://hg01.codeplex.com/aspnetmobilesamples) ASP.NET · 18 lines ✨ Summary

This ASP.NET code defines a basic web page with a welcome message, links to external resources (ASP.NET website and MSDN documentation), and sets up the page’s layout using master pages and content placeholders. It is likely part of a larger web application project, defining the initial page that users will see when accessing the site.

2 CodeBehind="Default.aspx.cs" Inherits="MobileEnabledWebFormsApp.Mobile._Default" %>

3

4 <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

5 </asp:Content>

6 <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

PathIterator.java (http://loon-simple.googlecode.com/svn/trunk/) Java · 203 lines ✨ Summary

The Java code defines an interface for a path iterator, which allows iterating over the coordinates of a path defined by a series of segments (e.g., lines, curves). The iterator provides methods to move to the next segment, check if iteration is complete, and retrieve the current segment’s type and coordinates.

1 /*

2 * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.

3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

4 *

5 * This code is free software; you can redistribute it and/or modify it

doxygen.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 362 lines

124 <LABEL>\file</LABEL>

125 <LABEL>\fn</LABEL>

126 <LABEL>\headerfile</LABEL>

127 <LABEL>\hideinitializer</LABEL>

128 <LABEL>\htmlinclude</LABEL>

268 <LABEL>@file</LABEL>

269 <LABEL>@fn</LABEL>

270 <LABEL>@headerfile</LABEL>

271 <LABEL>@hideinitializer</LABEL>

272 <LABEL>@htmlinclude</LABEL>

InvalidHeaderException.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 43 lines ✨ Summary

This Java code defines a custom exception class InvalidHeaderException that extends the built-in IOException. It provides two constructors: one with no message and another with a specified error message, both of which call the superclass constructor to set the error message. This exception is intended to be used when there’s an issue with a TAR archive header.

20 /**

21 * This exception is used to indicate that there is a problem

22 * with a TAR archive header.

23 */

24

25 public class

26 InvalidHeaderException extends IOException

27 {

28

29 public

30 InvalidHeaderException()

31 {

32 super();

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.

666

667 #define JE_ACTOR_BODY_NAME "Body"

668 #define JE_ACTOR_HEADER_NAME "Header"

669 #define JE_MOTION_DIRECTORY_NAME "Motions"

670

684

685 if( ! jeVFile_Read(pFile, &u, sizeof(u)) )

686 { jeErrorLog_Add( JE_ERR_FILEIO_READ , "jeActor_DefCreateHeader - Failed to read header tag"); jeActor_DefDestroy(&Ad); return NULL;}

687

688 if (u != ACTOR_FILE_TYPE)

732

733 if(jeVFile_Write(pFile, &Flag, sizeof(Flag)) == JE_FALSE)

734 { jeErrorLog_Add( JE_ERR_FILEIO_WRITE , "jeActor_DefWriteHeader - Write failed"); return JE_FALSE;}

735

736 if(jeVFile_Write(pFile, &(Ad->MotionCount), sizeof(Ad->MotionCount)) == JE_FALSE)

is_fundamental.html (http://hadesmem.googlecode.com/svn/trunk/) HTML · 0 lines ✨ Summary

This HTML code generates a documentation page for the is_fundamental function template in the Boost C++ Libraries. It displays the function’s syntax, inheritance information, and examples of its usage, along with copyright and licensing information. The page is structured to provide easy navigation between related functions and sections.

43 </p>

44 <p>

45 <span class="bold"><strong>Header:</strong></span> <code class="computeroutput"> <span class="preprocessor">#include</span>

46 <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">/</span><span class="identifier">is_fundamental</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>

47 or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>

qscreen_qws.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 392 lines

53 struct fb_cmap;

54

55 QT_BEGIN_HEADER

56

57 QT_BEGIN_NAMESPACE

388 QT_END_NAMESPACE

389

390 QT_END_HEADER

391

392 #endif // QSCREEN_QWS_H

Deflate.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 1624 lines ✨ Summary

This Java code implements a decompression algorithm for the DEFLATE compression format used in ZIP files and other applications. It decompresses binary data into its original form, handling various flush modes (e.g., full, partial) and trailer writing. The code uses a table-driven approach to select between different compression strategies based on the input data’s characteristics.

106 static final private int FinishDone=3;

107

108 // preset dictionary flag in zlib header

109 static final private int PRESET_DICT=0x20;

110

176 int pending_out; // next pending byte to output to the stream

177 int pending; // nb of bytes in the pending buffer

178 int noheader; // suppress zlib header and adler32

179 byte data_type; // UNKNOWN, BINARY or ASCII

180 byte method; // STORED (for zip only) or DEFLATED

751 void copy_block(int buf, // the input data

752 int len, // its length

753 boolean header // true if block header must be written

754 ){

755 int index=0;

qdeclarativetypenamescriptclass_p.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 92 lines

48 //

49 // This file is not part of the Qt API. It exists purely as an

50 // implementation detail. This header file may change from version to

51 // version without notice, or even be removed.

52 //

qspinbox.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 188 lines

45 #include <QtGui/qabstractspinbox.h>

46

47 QT_BEGIN_HEADER

48

49 QT_BEGIN_NAMESPACE

184 QT_END_NAMESPACE

185

186 QT_END_HEADER

187

188 #endif // QSPINBOX_H

protected_call.hpp (http://hadesmem.googlecode.com/svn/trunk/) C++ Header · 0 lines ✨ Summary

This C++ header file defines a protected call mechanism for regular expressions. It provides two classes: abstract_protected_call and concrete_protected_call, which allow for abstract and concrete implementations of a protected call, respectively. The classes are designed to be used in conjunction with Boost’s regex library, providing a way to execute functions or methods as part of a regular expression match.

25 #pragma warning(disable: 4103)

26 #endif

27 #ifdef BOOST_HAS_ABI_HEADERS

28 # include BOOST_ABI_PREFIX

29 #endif

72 #pragma warning(disable: 4103)

73 #endif

74 #ifdef BOOST_HAS_ABI_HEADERS

75 # include BOOST_ABI_SUFFIX

76 #endif

XMLHttpRequest.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1131 lines

83 m_forbiddenRequestHeaders.add("accept-encoding");

84 m_forbiddenRequestHeaders.add("access-control-request-headers");

85 m_forbiddenRequestHeaders.add("access-control-request-method");

633 if (m_requestHeaders.size() > 0)

634 request.addHTTPHeaderFields(m_requestHeaders);

635

636 ThreadableLoaderOptions options;

832 void XMLHttpRequest::setRequestHeaderInternal(const AtomicString& name, const String& value)

833 {

834 pair<HTTPHeaderMap::iterator, bool> result = m_requestHeaders.add(name, value);

835 if (!result.second)

836 result.first->second += ", " + value;

839 bool XMLHttpRequest::isSafeRequestHeader(const String& name) const

840 {

841 return !staticData->m_forbiddenRequestHeaders.contains(name) && !name.startsWith(staticData->m_proxyHeaderPrefix, false)

842 && !name.startsWith(staticData->m_secHeaderPrefix, false);

painting.pri (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 277 lines

1 # Qt gui library, paint module

2

3 HEADERS += \

4 painting/qbezier_p.h \

5 painting/qbrush.h \

97 painting/qblittable.cpp \

98

99 HEADERS += \

100 painting/qpaintengine_raster_p.h \

101 painting/qdrawhelper_p.h \

107

108 win32 {

109 HEADERS += painting/qprintengine_win_p.h

110

111 SOURCES += \

abstractintegration.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 106 lines

54 struct QDesignerIntegrationInterfacePrivate {

55 QDesignerIntegrationInterfacePrivate() :

56 headerSuffix(QLatin1String(".h")),

57 headerLowercase(true) {}

58

59 QString headerSuffix;

60 bool headerLowercase;

88 }

89

90 void QDesignerIntegrationInterface::setHeaderSuffix(const QString &headerSuffix)

91 {

92 integrationD(this)->headerSuffix = headerSuffix;

98 }

99

100 void QDesignerIntegrationInterface::setHeaderLowercase(bool headerLowercase)

101 {

102 integrationD(this)->headerLowercase = headerLowercase;

qimagewriter.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 734 lines

666

667 \table

668 \header \o Format \o Description

669 \row \o BMP \o Windows Bitmap

670 \row \o JPG \o Joint Photographic Experts Group

Makefile.in.in (https://freespeech.svn.sourceforge.net/svnroot/freespeech) Unknown · 250 lines

241 Makefile: Makefile.in.in ../config.status POTFILES

242 cd .. \

243 && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \

244 $(SHELL) ./config.status

245

NT_MAKEFILE (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

7 !include <ntwin32.mak>

8

9 OBJS= alloc.obj reclaim.obj allchblk.obj misc.obj mach_dep.obj os_dep.obj mark_rts.obj headers.obj mark.obj obj_map.obj blacklst.obj finalize.obj new_hblk.obj dbg_mlc.obj malloc.obj stubborn.obj dyn_load.obj typd_mlc.obj ptr_chck.obj gc_cpp.obj mallocx.obj msvc_dbg.obj

10

11 all: gctest.exe cord\de.exe test_cpp.exe

VERSION.TXT (http://keywatch.googlecode.com/svn/trunk/) Plain Text · 1657 lines

41 + Added DigestAuthenticator

42 + Added link to a Jetty page in Korean.

43 + Added ExpiryHandler which can set a default Expires header.

44

45 Jetty-4.0.5 - 31 July 2002

50 Jetty-4.1.B1 - 19 July 2002

51 + Updated mini.http.jar target

52 + CGI Servlet, pass all HTTP headers through.

53 + CGI Servlet, catch and report program invocation failure status.

54 + CGI Servlet, fixed suffix mapping problem.

87 + Better recycling of HttpRequests.

88 + Protect session.getAttributeNames from concurrent modifications.

89 + Allow comma separated cookies and headers

90 + Back out Don't chunk 30x empty responses.

91 + Conditional header tested against welcome file not directory.

ftchapters.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 105 lines

37 /* mac_specific */

38 /* sizes_management */

39 /* header_file_macros */

40 /* */

41 /***************************************************************************/

flickr.pro (https://bitbucket.org/ultra_iter/qt-vtl.git) Prolog · 39 lines

14 # range value if unprotected UID is defined for the application and

15 # 0x2002CCCF value if protected UID is given to the application

16 #symbian:DEPLOYMENT.installer_header = 0x2002CCCF

17

18 # Allow network access on Symbian

ContentPane.js (http://enginey.googlecode.com/svn/trunk/) JavaScript · 236 lines ✨ Summary

This JavaScript code defines a custom widget called dojox.layout.ContentPane that extends the built-in dijit.layout.ContentPane. It provides additional features such as support for inline scripts, external script references, and relative path adjustments. The widget also includes error handling and deferred loading capabilities.

84

85 // ioArgs: Object

86 // makes it possible to add custom args to xhrGet, like ioArgs.headers['X-myHeader'] = 'true'

87 ioArgs: {},

88

scoped_ptr_example.hpp (http://hadesmem.googlecode.com/svn/trunk/) C++ Header · 0 lines ✨ Summary

This C++ header file demonstrates the usage of boost::scoped_ptr with an incomplete type, example::implementation. The example class uses a private nested class implementation and a boost::scoped_ptr to manage its lifetime. Despite being an incomplete type in translation units using this header, boost::scoped_ptr< implementation > is still valid due to the completeness of the type in the implementation unit where destruction is instantiated.

1 // Boost scoped_ptr_example header file ------------------------------------//

2

3 // Copyright Beman Dawes 2001. Distributed under the Boost

13 // The point of this example is to prove that even though

14 // example::implementation is an incomplete type in translation units using

15 // this header, scoped_ptr< implementation > is still valid because the type

16 // is complete where it counts - in the inplementation translation unit where

17 // destruction is actually instantiated.

emit.cxx (https://swig.svn.sourceforge.net/svnroot/swig) C++ · 525 lines ✨ Summary

This C++ code is part of a Python-to-C++ compiler, specifically responsible for generating wrapper code and exception handling for Python functions. It processes Python function definitions, including contracts (pre- and post-conditions), exceptions, and return types, to produce efficient C++ code that can be compiled into native binaries.

428 /* Emit wrapper code (if any) */

429 wrap = Getattr(n, "wrap:code");

430 if (wrap && Swig_filebyname("header") != Getattr(n, "wrap:code:done")) {

431 File *f_code = Swig_filebyname("header");

Include_Guard.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 97 lines

1 /*

2 * Include_Guard.bsh - a BeanShell macro script for the

3 * jEdit text editor - for C/C++ header files: inserts preprocessor

4 * directive in current buffer to ensure that header is included only

28 * An "include guard" is a conventional mechanism for reducing

29 * compilation time for C/C++ source files by ensuring that the

30 * substance of a header file is read by the preprocessor only once

31 * for each compilation unit. The usual reason this is necessary is

32 * the presence of nested include files, sometimes an unavoidable

33 * circumstance when creating a hierarchy of classes.

34 *

35 * To use the macro, first place the caret at the beginning of the header

36 * file before any uncommented text. The macro returns to this position

37 * upon completion.

38 *

39 * The macro will complain if you have not yet named the buffer, but it

40 * does not check to see if the buffer is actually a header file.

41 *

42 * The defined term that triggers the guard is taken from the buffer's

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.

45 import javax.swing.table.AbstractTableModel;

46 import javax.swing.table.DefaultTableCellRenderer;

47 import javax.swing.table.JTableHeader;

48 import javax.swing.table.TableColumn;

49 import javax.swing.text.html.HTMLEditorKit;

126 col5.setPreferredWidth(70);

127

128 JTableHeader header = table.getTableHeader();

129 header.setReorderingAllowed(false);

130 header.addMouseListener(new HeaderMouseHandler());

131 header.setDefaultRenderer(new HeaderRenderer(

132 (DefaultTableCellRenderer)header.getDefaultRenderer()));

133

134 scrollpane = new JScrollPane(table);

std.xml (http://hadesmem.googlecode.com/svn/trunk/) XML · 0 lines

1 <?xml version="1.0" encoding="utf-8"?>

2 <header name="boost/proto/functional/std.hpp">

3 <para>Includes all the functional extensions to Proto for the standard library.</para>

4 </header>

15.6.4.3-2.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 67 lines

58 var TITLE = "Boolean.prototype.valueOf()";

59

60 writeHeaderToLog( SECTION + " "+ TITLE);

61

62

aclocal.m4 (https://bitbucket.org/freebsd/freebsd-head/) m4 · 905 lines ✨ Summary

This M4 code is a collection of configuration and build scripts for a C library, likely the GNU Binutils. It sets up various macros and functions for building and testing the library, including support for different tar formats, gettext, and other dependencies. The script also includes several external M4 files that provide additional functionality.

350 # serial 8

351

352 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.

353 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])

421 AM_MISSING_PROG(AUTOCONF, autoconf)

422 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})

423 AM_MISSING_PROG(AUTOHEADER, autoheader)

424 AM_MISSING_PROG(MAKEINFO, makeinfo)

425 AM_PROG_INSTALL_SH

447

448

449 # When config.status generates a header, we must update the stamp-h file.

450 # This file resides in the same directory as the config header

457 [# Compute $1's index in $config_headers.

458 _am_stamp_count=1

459 for _am_header in $config_headers :; do

460 case $_am_header in

session.php (http://forceworkbench.googlecode.com/svn/trunk/workbench/) PHP · 106 lines ✨ Summary

This PHP code initializes and configures a Workbench application, setting up session management, error handling, and security measures to ensure a secure connection with Salesforce. It also checks for user authentication, validates CSRF tokens, and monitors user activity to prevent idle sessions from expiring prematurely.

9 require_once 'config.php';

10 if(is_file('configOverrides.php')) require_once 'configOverrides.php';

11

12 foreach ($config as $configKey => $configValue) {

49

50 //clear ResultsWithData and retrievedZips from session unless downloading them

51 if (isset($_SESSION['resultsWithData']) && basename($_SERVER['PHP_SELF']) != 'downloadResultsWithData.php') {

52 unset($_SESSION['resultsWithData']);

53 }

54

55 if (isset($_SESSION['retrievedZips']) && basename($_SERVER['PHP_SELF']) != 'metadataStatus.php') {

56 unset($_SESSION['retrievedZips']);

57 }

80 session_unset();

81 session_destroy();

82 header('Location: login.php');

83 exit;

84 }

IgnitionMap.resx (https://bitbucket.org/ecueditor/ecueditor/) Unknown · 326 lines

15 ... ado.net/XML headers & schema ...

16 <resheader name="resmimetype">text/microsoft-resx</resheader>

17 <resheader name="version">2.0</resheader>

18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>

19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>

20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>

21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>

28 </data>

29

30 There are any number of "resheader" rows that contain simple

31 name/value pairs.

32

94 </xsd:complexType>

95 </xsd:element>

96 <xsd:element name="resheader">

97 <xsd:complexType>

98 <xsd:sequence>

std_multiset.i (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 51 lines

5 %include <std_set.i>

6

7 %fragment("StdMultisetTraits","header",fragment="StdSequenceTraits")

8 %{

9 namespace swig {

gtk.m4 (git://github.com/xbmc/xbmc.git) m4 · 195 lines ✨ Summary

This M4 code checks if a GTK library is installed and configured correctly on the system. It runs a test program to verify that the correct version of GTK is being used, and provides error messages if the installation is incorrect or missing. If the installation is correct, it substitutes the GTK CFLAGS and LIBS into the build process, allowing the build to use the correct libraries.

104 (gtk_micro_version != GTK_MICRO_VERSION))

105 {

106 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",

107 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);

108 printf("*** library (version %d.%d.%d)\n",

example.i (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 77 lines

2 %module example

3 %{

4 /* Put headers and other declarations here */

5 #include "zlib.h"

6 %}

18 swig_barf (SWIG_BARF1_BAD_ARGUMENT_TYPE, "Argument $input is not a string");

19 }

20 $2 = (uLong) C_header_size ($input);

21 $1 = C_c_string ($input);

22 %}

58

59 %inline %{

60 /* %inline blocks are seen by SWIG and are inserted into the header

61 portion of example_wrap.c, so that they are also seen by the C

62 compiler. */

Modules.html (https://swig.svn.sourceforge.net/svnroot/swig) HTML · 350 lines ✨ Summary

This HTML code outputs a documentation page for SWIG, a software development tool that generates wrappers for C and C++ code to interface with multiple programming languages. The page explains various aspects of using SWIG, including importing modules, generating wrapper files, and optimizing their size. It also provides references and cautions about working with shared libraries and dynamically loaded modules.

145

146 <p>

147 It is sometimes desirable to import the header file rather than the interface file and overcome

148 the above warning.

149 For example in the case of the imported interface being quite large, it may be desirable to

150 simplify matters and just import a small header file of dependent types.

151 This can be done by specifying the optional <tt>module</tt> attribute in the <tt>%import</tt> directive.

152 The <tt>derived_module.i</tt> file shown above could be replaced with the following:

250 to be called. Calling these functions from a typemap is supported, since the typemap code

251 is embedded into the <tt>_wrap.c</tt> file, which has those declarations available. If you need

252 to call the SWIG run-time functions from another C file, there is one header you need

253 to include. To generate the header that needs to be included, run the following command:

258

259 <p>The filename argument is optional and if it is not passed, then the default filename will

260 be something like <tt>swigpyrun.h</tt>, depending on the language. This header file should

261 be treated like any of the other _wrap.c output files, and should be regenerated when the

262 _wrap files are. After including this header, your code will be able to call <tt>SWIG_TypeQuery</tt>,

exthdrs.c (http://photon-android.googlecode.com/svn/) C · 876 lines ✨ Summary

This C code is part of a network stack implementation, specifically handling IPv6 options. It manages and manipulates IPv6 options in socket data structures, including creating, renewing, and fixing up option sets for transmission over the network. The code ensures that options are properly aligned and formatted for efficient transmission.

292 if (ip6_parse_tlv(tlvprocdestopt_lst, skb)) {

293 dst_release(dst);

294 skb->transport_header += (skb_transport_header(skb)[1] + 1) << 3;

295 opt = IP6CB(skb);

296 #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)

340 }

341

342 hdr = (struct ipv6_rt_hdr *)skb_transport_header(skb);

343

344 if (ipv6_addr_is_multicast(&ipv6_hdr(skb)->daddr) ||

658 opt->hop = sizeof(struct ipv6hdr);

659 if (ip6_parse_tlv(tlvprochopopt_lst, skb)) {

660 skb->transport_header += (skb_transport_header(skb)[1] + 1) << 3;

661 opt = IP6CB(skb);

662 opt->nhoff = sizeof(struct ipv6hdr);

edit_blog.tmpl (git://github.com/openmelody/melody.git) Go Template · 173 lines ✨ Summary

This Go template code generates a web form for creating a new blog post, including fields for title, content, and language selection. It also includes settings for timezone, blog language, and action buttons. The form is wrapped in HTML structure with JavaScript functionality to change the language based on user selection. The output appears to be a simple web page with a form and some additional elements at the bottom.

49 <script type="text/javascript" src="<mt:var name="static_uri">js/screens/edit_blog.js"></script>

50 </mt:setvarblock>

51 <mt:include name="include/header.tmpl">

52

53 <form method="post" action="<mt:var name="script_url">" onsubmit="return validate(this)">

iriap.c (http://photon-android.googlecode.com/svn/) C · 1094 lines ✨ Summary

This C code implements a Linux kernel module that provides a file system interface to interact with LM-IAS (Logical Management Interface for Application Server) objects and their attributes. It allows users to list, read, and manipulate LM-IAS objects and their attributes using a sequence-based file system interface. The code also includes watchdog timer functionality to abort queries that take too long.

194 /* iriap_getvaluebyclass_request() will construct packets before

195 * we connect, so this must have a sane value... Jean II */

196 self->max_header_size = LMP_MAX_HEADER;

197

198 init_timer(&self->watchdog_timer);

756

757 self->max_data_size = max_seg_size;

758 self->max_header_size = max_header_size;

759

760 del_timer(&self->watchdog_timer);

802

803 new->max_data_size = max_seg_size;

804 new->max_header_size = max_header_size;

805

806 /* Clean up the original one to keep it in listen state */

solaris_lwp.cc (git://github.com/zpao/v8monkey.git) C++ · 436 lines ✨ Summary

This C++ code is part of a signal handling library for the Solaris operating system. It provides functions to analyze and manipulate stack frames, including finding the context of a signal handler function call, identifying mapped addresses, and listing modules loaded by the process. The code appears to be designed for low-level debugging and analysis of signal-related issues in Solaris systems.

212

213 size = statb.st_size;

214 if ((size / sizeof (prheader_t)) + 32 > HEADER_MAX) {

215 print_message1(2, "map size overflow\n");

216 return false;

217 }

218

219 if (pread(fd, lhp, size, 0) <= sizeof (prheader_t))

220 return false;

221

246 lwpstatus_t *Lsp;

247 lwpstatus_t *sp;

248 prheader_t lphp[HEADER_MAX];

249 prheader_t lhp[HEADER_MAX];

250 prheader_t *Lphp = lphp;

251 prheader_t *Lhp = lhp;

562835-1.html (git://github.com/zpao/v8monkey.git) HTML · 14 lines ✨ Summary

This HTML code creates a simple webpage with six levels of headings (h1-h6) and a border around each div element containing the heading. The styles applied to the div elements create a blue solid medium-width border, while the headings are displayed in their respective font sizes and styles.

1 <!DOCTYPE HTML>

2 <title>Fonts and margins of HTML headers</title>

3 <style type="text/css">

4

ChooseToolDefaultsDialog.cs (http://paint-mono.googlecode.com/svn/trunk/) C# · 437 lines ✨ Summary

This C# code defines a dialog box for setting tool defaults in an application. It displays a list of available tools and allows users to select one, load default settings from an app environment, or reset to default settings. The dialog also includes buttons for canceling and saving changes, with the option to load settings from a toolbar.

36 {

37 private ToolConfigStrip toolConfigStrip;

38 private HeaderLabel headerLabel;

39 private ToolBarConfigItems toolBarConfigItems;

40

47 }

48

49 public HeaderLabel HeaderLabel

50 {

51 get

74 this.toolBarConfigItems = toolBarConfigItems;

75

76 this.headerLabel = new HeaderLabel();

77 this.headerLabel.Name = "headerLabel:" + toolBarConfigItems.ToString();

270 this.toolConfigRows[i].HeaderLabel.Width = insetWidth;

271 y = this.toolConfigRows[i].HeaderLabel.Bottom + afterHeaderVMargin;

272

273 this.toolConfigRows[i].ToolConfigStrip.Location = new Point(leftMargin + 3, y);

suggestions.json.php (https://bitbucket.org/kraymitchell/fcd.git) PHP · 54 lines

1 <?php

2 /**

3 * @package Joomla.Site

45

46 // Use the correct json mime-type

47 header('Content-Type: application/json');

48

49 // Send the response.

ui.theme.css (git://github.com/bricas/cpanhq.git) CSS · 245 lines ✨ Summary

This CSS code defines styles for a user interface (UI) component, specifically for jQuery UI widgets. It sets various visual properties such as corner radii, overlay backgrounds, and shadow effects to create a consistent and visually appealing look across different elements of the UI. The styles are designed to work with both Mozilla Firefox and Safari browsers.

15 .ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; color: #222222/*{fcContent}*/; }

16 .ui-widget-content a { color: #222222/*{fcContent}*/; }

17 .ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; }

18 .ui-widget-header a { color: #222222/*{fcHeader}*/; }

44 .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; }

45 .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; }

46 .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/; }

47 .ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/; }

48 .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/; }

ueagle-atm.c (http://omnia2droid.googlecode.com/svn/trunk/) C · 2705 lines ✨ Summary

This C code implements a USB driver for an ADSL modem, specifically the ADI 930 and Eagle models. It registers with the USB subsystem, handles device detection and disconnection, and provides various configuration options for different devices. The code is written in a Linux kernel module style, allowing it to be loaded and unloaded dynamically by the system.

357 #define E4_PAGE_BYTES(PageSize) ((le32_to_cpu(PageSize) & 0x7fffffff) * 4)

358

359 #define E4_L1_STRING_HEADER 0x10

360 #define E4_MAX_PAGE_NUMBER 0x58

361 #define E4_NO_SWAPPAGE_HEADERS 0x31

363 /* l1_code is eagle4 dsp firmware format */

364 struct l1_code {

365 u8 string_header[E4_L1_STRING_HEADER];

366 u8 page_number_to_block_index[E4_MAX_PAGE_NUMBER];

367 struct block_index page_header[E4_NO_SWAPPAGE_HEADERS];

754 for (j = 0; j < blockcount; j++) {

755

756 /* enough space for block header? */

757 if (pp + 4 > len)

758 return 1;

nsRuleNetwork.cpp (git://github.com/zpao/v8monkey.git) C++ · 502 lines ✨ Summary

This C++ code implements a template matching system, specifically for XSLT (Extensible Stylesheet Language Transformations). It defines classes and functions to manage instantiations of templates, filter out invalid ones, and propagate valid instances up the template hierarchy. The code is part of a larger framework for compiling and executing XSLT stylesheets.

376 bool shouldCopy = (mKids.Count() > 1);

377

378 // See the header file for details about how instantiation ownership works.

379 if (! aInstantiations.Empty()) {

380 ReteNodeSet::Iterator last = mKids.Last();

igmp.h (http://omnia2droid.googlecode.com/svn/trunk/) C++ Header · 244 lines ✨ Summary

This is a C header file that defines various data structures and functions for managing multicast (multicast) functionality on a network device. It provides an interface for joining, leaving, and manipulating multicast groups, as well as handling incoming multicast packets. The code appears to be part of the Linux kernel’s networking subsystem.

25

26 /*

27 * Header in on cable format

28 */

29

134 static inline struct igmphdr *igmp_hdr(const struct sk_buff *skb)

135 {

136 return (struct igmphdr *)skb_transport_header(skb);

137 }

138

140 igmpv3_report_hdr(const struct sk_buff *skb)

141 {

142 return (struct igmpv3_report *)skb_transport_header(skb);

143 }

144