100+ results for 'php constant'
Not the results you expected?
CopyRenameTest.php (https://github.com/zucchi/zf2.git) PHP · 364 lines
Properties.php (https://github.com/livinglab/openlab.git) PHP · 629 lines
Call.php (https://bitbucket.org/mrajoelisolo/ci_twig.git) PHP · 178 lines
Fetch.php (https://github.com/finger2000/horde.git) PHP · 518 lines
ms-default-filters.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 128 lines
1 <?php
2 /**
3 * Sets up the default filters and actions for Multisite.
6 * for which to use to remove the hook.
7 *
8 * Not all of the Multisite default hooks are found in ms-default-filters.php
9 *
10 * @package WordPress
11 * @subpackage Multisite
12 * @see default-filters.php
13 * @since 3.0.0
14 */
101 // Mail.
102 add_action( 'phpmailer_init', 'fix_phpmailer_messageid' );
104 // Disable somethings by default for multisite.
wrapper.php (https://gitlab.com/webkod3r/tripolis) PHP · 213 lines
keymap.c (https://gitlab.com/keppers/qmk_seiniku) C · 276 lines
Module.php (https://bitbucket.org/mrblackus/micro-muffin.git) PHP · 383 lines
1 <?php
3 /*
31 /**
32 * Compiles the node to PHP.
33 *
34 * @param Twig_Compiler A Twig_Compiler instance
48 if (!$this->getAttribute('index'))
49 {
50 $compiler->write('<?php');
51 }
53 $this->compileClassHeader($compiler);
55 if (count($this->getNode('blocks')) || count($this->getNode('traits')) || null === $this->getNode('parent') || $this->getNode('parent') instanceof Twig_Node_Expression_Constant)
56 {
57 $this->compileConstructor($compiler);
AbstractStructureParser.php (https://github.com/RichardDownes/PHPCodeParser.git) PHP · 608 lines
1 <?php
2 namespace Parser;
3 /*
17 */
19 use Meta\AbstractPHPStructure;
20 use Meta\DocBlock;
33 /**
34 * Responsible for parsing a php class
35 *
36 * @author Richard Downes <richard@sculpt.ie>
44 * Responsible for storing the information about the structure being parsed
45 *
46 * @var \Meta\AbstractPHPStructure $structure Stores meta information about the structure
47 */
48 protected $structure;
commandbuilder.h (https://github.com/SwissCheeseKnife/Protocol-7.git) C Header · 402 lines
114 }
116 FORCEINLINE void SetPixelShaderConstants( int nFirstConstant, int nConstants )
117 {
118 m_Storage.PutInt( CBCMD_SET_PIXEL_SHADER_FLOAT_CONST );
137 }
139 FORCEINLINE void SetPixelShaderConstant( int nFirstConstant, float const *pSrcData, int nNumConstantsToSet )
140 {
141 SetPixelShaderConstants( nFirstConstant, nNumConstantsToSet );
189 }
191 FORCEINLINE void SetVertexShaderConstant( int nFirstConstant, float const *pSrcData, int nConsts )
192 {
193 m_Storage.PutInt( CBCMD_SET_VERTEX_SHADER_FLOAT_CONST );
FilterTest.php (https://gitlab.com/arthur_quiroga/dystawork) PHP · 151 lines
34 $expr = new Twig_Node_Expression_Constant('foo', 1);
35 $node = $this->createFilter($expr, 'upper');
36 $node = $this->createFilter($node, 'number_format', array(new Twig_Node_Expression_Constant(2, 1), new Twig_Node_Expression_Constant('.', 1), new Twig_Node_Expression_Constant(',', 1)));
38 $tests[] = array($node, 'twig_number_format_filter($this->env, twig_upper_filter($this->env, "foo"), 2, ".", ",")');
60 $tests[] = array($node, 'twig_reverse_filter($this->env, "abc", true)');
61 $node = $this->createFilter($string, 'reverse', array(
62 'preserveKeys' => new Twig_Node_Expression_Constant(true, 1),
63 ));
64 $tests[] = array($node, 'twig_reverse_filter($this->env, "abc", true)');
104 $date = new Twig_Node_Expression_Constant(0, 1);
105 $node = $this->createFilter($date, 'date', array(
106 'foobar' => new Twig_Node_Expression_Constant('America/Chicago', 1),
107 ));
AuthorizerBase.java (https://github.com/sbower/kuali-rice-1.git) Java · 257 lines
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl1.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
16 package org.kuali.rice.krad.uif.authorization;
18 import org.kuali.rice.kim.api.KimConstants;
19 import org.kuali.rice.kim.api.identity.Person;
20 import org.kuali.rice.kim.api.identity.PersonService;
206 Map<String, String> roleQualification = new HashMap<String, String>();
207 addRoleQualification(primaryDataObjectOrDocument, roleQualification);
208 roleQualification.put(KimConstants.AttributeConstants.PRINCIPAL_ID, principalId);
210 return roleQualification;
basic_tests.cpp (https://bitbucket.org/prenaux/boost_1_53.git) C++ · 200 lines
33 void basic_tests()
34 {
35 using namespace boost::regex_constants;
36 TEST_REGEX_SEARCH("a", basic, "a", match_default, make_array(0, 1, -2, -2));
37 TEST_REGEX_SEARCH("a", basic, "bba", match_default, make_array(2, 3, -2, -2));
98 void test_non_marking_paren()
99 {
100 using namespace boost::regex_constants;
101 //
102 // non-marking parenthesis added 25/04/00
114 void test_partial_match()
115 {
116 using namespace boost::regex_constants;
117 //
118 // try some partial matches:
class.solrquery.html (https://github.com/cue-taro/emacs-setting-files.git) HTML · 648 lines
10 <div class="next" style="text-align: right; float: right;"><a href="solrquery.addfacetdatefield.html">SolrQuery::addFacetDateField</a></div>
11 <div class="up"><a href="book.solr.html">Solr</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.solrquery" class="reference">
54 <span class="modifier">const</span>
55 <span class="type">integer</span>
56 <var class="fieldsynopsis_varname"><a href="class.solrquery.html#solrquery.constants.order-asc">SolrQuery::ORDER_ASC</a></var>
57 <span class="initializer"> = 0</span>
58 ;</div>
61 <span class="modifier">const</span>
62 <span class="type">integer</span>
63 <var class="fieldsynopsis_varname"><a href="class.solrquery.html#solrquery.constants.order-desc">SolrQuery::ORDER_DESC</a></var>
64 <span class="initializer"> = 1</span>
65 ;</div>
class.solrdocument.html (https://github.com/cue-taro/emacs-setting-files.git) HTML · 533 lines
10 <div class="next" style="text-align: right; float: right;"><a href="solrdocument.addfield.html">SolrDocument::addField</a></div>
11 <div class="up"><a href="book.solr.html">Solr</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.solrdocument" class="reference">
62 <span class="modifier">const</span>
63 <span class="type">integer</span>
64 <var class="fieldsynopsis_varname"><a href="class.solrdocument.html#solrdocument.constants.sort-default">SolrDocument::SORT_DEFAULT</a></var>
65 <span class="initializer"> = 1</span>
66 ;</div>
69 <span class="modifier">const</span>
70 <span class="type">integer</span>
71 <var class="fieldsynopsis_varname"><a href="class.solrdocument.html#solrdocument.constants.sort-asc">SolrDocument::SORT_ASC</a></var>
72 <span class="initializer"> = 1</span>
73 ;</div>
Abstract.php (https://bitbucket.org/acidel/buykoala.git) PHP · 254 lines
1 <?php
2 /**
3 * Zend Framework
21 /** Zend_Form_Decorator_Interface */
22 #require_once 'Zend/Form/Decorator/Interface.php';
24 /**
30 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
31 * @license http://framework.zend.com/license/new-bsd New BSD License
32 * @version $Id: Abstract.php 21146 2010-02-23 14:35:57Z yoshida@zend.co.jp $
33 */
34 abstract class Zend_Form_Decorator_Abstract implements Zend_Form_Decorator_Interface
35 {
36 /**
37 * Placement constants
38 */
39 const APPEND = 'APPEND';
ext_icu_date_pattern_gen.cpp (https://gitlab.com/Blueprint-Marketing/hhvm) C++ · 388 lines
1 #include "hphp/runtime/ext/icu/ext_icu_date_pattern_gen.h"
2 #include "hphp/runtime/ext/icu/ext_icu_iterator.h"
4 namespace HPHP { namespace Intl {
5 //////////////////////////////////////////////////////////////////////////////
6 // Internal Resource Data
322 //////////////////////////////////////////////////////////////////////////////
324 #define UDATPG_CONST_FIELD(nm)Native::registerClassConstant<KindOfInt64>( \
325 s_IntlDatePatternGenerator.get(), \
326 makeStaticString(#nm "_PATTERN_FIELD"), \
327 UDATPG_ ## nm ## _FIELD);
329 #define UDATPG_CONST(nm)Native::registerClassConstant<KindOfInt64>( \
330 s_IntlDatePatternGenerator.get(), \
331 makeStaticString("PATTERN_" #nm), \
Token.php (https://bitbucket.org/mrblackus/micro-muffin.git) PHP · 221 lines
ast_tree_output.php (https://bitbucket.org/ericsagnes/ezpublish-multisite.git) PHP · 550 lines
1 <?php
2 /**
3 * File containing the ezcTemplateAstNodeGenerator class
59 /**
60 * visitConstantAstNode
61 *
62 * @param ezcTemplateConstantAstNode $node
63 * @return void
64 */
65 public function visitConstantAstNode( ezcTemplateConstantAstNode $node )
66 {
67 $this->text .= $this->outputNode( $node );
ConstraintType.java (https://gitlab.com/Codeaurora/platform_sdk) Java · 237 lines
6 * You may obtain a copy of the License at
7 *
8 * http://www.eclipse.org/org/documents/epl-v10.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
24 import static com.android.ide.common.api.SegmentType.TOP;
25 import static com.android.ide.common.api.SegmentType.UNKNOWN;
26 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ABOVE;
27 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BASELINE;
28 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BOTTOM;
29 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_LEFT;
30 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_BOTTOM;
31 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_LEFT;
BeanOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 424 lines
✨ Summary
This Java code is part of a graphical user interface (GUI) builder for creating properties and their editors. It displays a dialog with a list of properties, each with a “Customize…” button. When clicked, this button opens a modal dialog to edit the property’s value using a custom editor. The GUI also provides help text for each property when the mouse is hovered over it.
This Java code is part of a graphical user interface (GUI) builder for creating properties and their editors. It displays a dialog with a list of properties, each with a “Customize…” button. When clicked, this button opens a modal dialog to edit the property’s value using a custom editor. The GUI also provides help text for each property when the mouse is hovered over it.
md4.c (https://github.com/cparedes/omnibus.git) C · 281 lines
SubProcessRoutingTest.java (https://github.com/sbower/kuali-rice-1.git) Java · 116 lines
7 * You may obtain a copy of the License at
8 *
9 * http://www.opensource.org/licenses/ecl2.php
10 *
11 * Unless required by applicable law or agreed to in writing, software
34 import org.kuali.rice.kew.test.KEWTestCase;
35 import org.kuali.rice.kew.test.TestUtilities;
36 import org.kuali.rice.kew.util.KEWConstants;
38 public class SubProcessRoutingTest extends KEWTestCase {
66 if (request.getPrincipalId().equals(getPrincipalIdForName("bmcgough"))) {
67 isAck = true;
68 assertEquals("Wrong request type.", KEWConstants.ACTION_REQUEST_ACKNOWLEDGE_REQ, request.getActionRequested());
69 assertEquals("Wrong node.", ACKNOWLEDGE_NODE, nodeInstance.getRouteNode().getRouteNodeName());
70 assertNotNull("Should be in a sub process.", nodeInstance.getProcess());
NullTest.php (https://github.com/leerbag/zf2.git) PHP · 329 lines
1 <?php
2 /**
3 * Zend Framework
32 * @group Zend_Filter
33 */
34 class NullTest extends \PHPUnit_Framework_TestCase
35 {
36 /**
169 * @return void
170 */
171 public function testArrayConstantNotation()
172 {
173 $filter = new NullFilter(
221 * @return void
222 */
223 public function testMultiConstantNotation()
224 {
225 $filter = new NullFilter(
NonLiftedComparisonGreaterThanOrEqualNullableTests.cs (https://gitlab.com/0072016/0072016-corefx-) C# · 368 lines
177 Expression.Lambda<Func<bool>>(
178 Expression.GreaterThanOrEqual(
179 Expression.Constant(a, typeof(byte?)),
180 Expression.Constant(b, typeof(byte?)),
193 Expression.Lambda<Func<bool>>(
194 Expression.GreaterThanOrEqual(
195 Expression.Constant(a, typeof(char?)),
196 Expression.Constant(b, typeof(char?)),
209 Expression.Lambda<Func<bool>>(
210 Expression.GreaterThanOrEqual(
211 Expression.Constant(a, typeof(decimal?)),
212 Expression.Constant(b, typeof(decimal?)),
225 Expression.Lambda<Func<bool>>(
226 Expression.GreaterThanOrEqual(
227 Expression.Constant(a, typeof(double?)),
228 Expression.Constant(b, typeof(double?)),
kellys.vim (https://github.com/Aishinjiaolo/dotvim.git) Vim Script · 236 lines
6 " changelog:
7 " 0.3: 2008.12.07
8 " finished ada, haskell, html, lisp, pascal, php, python, ruby, scheme, sh, xml and vim
9 " changed preproc to slightly darker
10 " changed statement to bold
44 hi Comment guifg=#67686b guibg=#2a2b2f gui=none
45 hi Cursor guifg=#2a2b2f guibg=#e1e0e5 gui=none
46 hi Constant guifg=#d1c79e guibg=#2a2b2f gui=none
47 hi CursorLine guibg=#303132 gui=none
48 hi DiffAdd guifg=#2a2b2f guibg=#9ab2c8 gui=none
73 hi Comment ctermfg=239 ctermbg=235 cterm=none
74 hi Cursor ctermfg=235 ctermbg=254 cterm=none
75 hi Constant ctermfg=144 ctermbg=235 cterm=none
76 hi CursorLine ctermbg=236 cterm=none
77 hi DiffAdd ctermfg=235 ctermbg=74 cterm=none
udf-test-harness.h (https://gitlab.com/s9perween/Impala) C Header · 310 lines
125 std::vector<FunctionContext::TypeDesc> types; // TODO
126 boost::scoped_ptr<FunctionContext> context(UdfTestHarness::CreateTestContext(types));
127 SetConstantArgs(context.get(), constant_args);
128 if (!RunPrepareFn(init_fn, context.get())) return false;
129 RET ret = fn(context.get(), a1, a2.size(), &a2[0]);
140 std::vector<FunctionContext::TypeDesc> types; // TODO
141 boost::scoped_ptr<FunctionContext> context(UdfTestHarness::CreateTestContext(types));
142 SetConstantArgs(context.get(), constant_args);
143 if (!RunPrepareFn(init_fn, context.get())) return false;
144 RET ret = fn(context.get(), a1, a2, a3);
258 std::vector<FunctionContext::TypeDesc> types; // TODO
259 boost::scoped_ptr<FunctionContext> context(UdfTestHarness::CreateTestContext(types));
260 SetConstantArgs(context.get(), constant_args);
261 if (!RunPrepareFn(init_fn, context.get())) return false;
262 RET ret = fn(context.get(), a1, a2, a3, a4, a5, a6, a7, a8);
atlddx.h
(https://jedit.svn.sourceforge.net/svnroot/jedit)
C++ Header · 686 lines
✨ Summary
This C++ header file provides a set of functions and macros for handling data exchange between Windows controls and a custom control class. It supports various types of controls, including buttons, radio buttons, checkboxes, combo boxes, list boxes, and list views. The functions allow for easy data binding and validation, with overrideable error handling mechanisms.
This C++ header file provides a set of functions and macros for handling data exchange between Windows controls and a custom control class. It supports various types of controls, including buttons, radio buttons, checkboxes, combo boxes, list boxes, and list views. The functions allow for easy data binding and validation, with overrideable error handling mechanisms.
4 // This file is a part of the Windows Template Library.
5 // The use and distribution terms for this software are covered by the
6 // Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php)
7 // which can be found in the file CPL.TXT at the root of this distribution.
8 // By using this software in any fashion, you are agreeing to be bound by
37 {
39 // Constants
40 #define DDX_LOAD FALSE
41 #define DDX_SAVE TRUE
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';
6 class GraphTest extends PHPUnit_Framework_TestCase {
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>';
AppInstance.php (https://github.com/max-shamaev/phpdaemon.git) PHP · 277 lines
AudioSampleFormat.h (https://github.com/rillian/firefox.git) C Header · 259 lines
class.yaf-request-abstract.html (https://bitbucket.org/thncr/manuals.git) HTML · 601 lines
10 <div class="next" style="text-align: right; float: right;"><a href="yaf-request-abstract.getactionname.html">Yaf_Request_Abstract::getActionName</a></div>
11 <div class="up"><a href="book.yaf.html">Yaf</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.yaf-request-abstract" class="reference">
41 {</div>
43 <div class="classsynopsisinfo classsynopsisinfo_comment">/* Constants */</div>
44 <div class="fieldsynopsis">
45 <span class="modifier">const</span>
46 <span class="type">string</span>
47 <var class="fieldsynopsis_varname"><a href="class.yaf-request-abstract.html#yaf-request-abstract.constants.scheme-http"><var class="varname">SCHEME_HTTP</var></a></var>
48 <span class="initializer"> = http</span>
49 ;</div>
class.tokyotyrant.html (https://bitbucket.org/thncr/manuals.git) HTML · 1154 lines
10 <div class="next" style="text-align: right; float: right;"><a href="tokyotyrant.add.html">TokyoTyrant::add</a></div>
11 <div class="up"><a href="book.tokyo-tyrant.html">tokyo_tyrant</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.tokyotyrant" class="reference">
45 <span class="modifier">const</span>
46 <span class="type">integer</span>
47 <var class="fieldsynopsis_varname"><a href="class.tokyotyrant.html#tokyotyrant.constants.rdbdef-port"><var class="varname">RDBDEF_PORT</var></a></var>
48 <span class="initializer"> = 1978</span>
49 ;</div>
52 <span class="modifier">const</span>
53 <span class="type">integer</span>
54 <var class="fieldsynopsis_varname"><a href="class.tokyotyrant.html#tokyotyrant.constants.rdbqc-streq"><var class="varname">RDBQC_STREQ</var></a></var>
55 <span class="initializer"> = 0</span>
56 ;</div>
class.solrquery.html (https://bitbucket.org/thncr/manuals.git) HTML · 641 lines
10 <div class="next" style="text-align: right; float: right;"><a href="solrquery.addfacetdatefield.html">SolrQuery::addFacetDateField</a></div>
11 <div class="up"><a href="book.solr.html">Solr</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.solrquery" class="reference">
54 <span class="modifier">const</span>
55 <span class="type">integer</span>
56 <var class="fieldsynopsis_varname"><a href="class.solrquery.html#solrquery.constants.order-asc"><var class="varname">ORDER_ASC</var></a></var>
57 <span class="initializer"> = 0</span>
58 ;</div>
61 <span class="modifier">const</span>
62 <span class="type">integer</span>
63 <var class="fieldsynopsis_varname"><a href="class.solrquery.html#solrquery.constants.order-desc"><var class="varname">ORDER_DESC</var></a></var>
64 <span class="initializer"> = 1</span>
65 ;</div>
class.yaf-request-simple.html (https://bitbucket.org/thncr/manuals.git) HTML · 452 lines
10 <div class="next" style="text-align: right; float: right;"><a href="yaf-request-simple.clone.html">Yaf_Request_Simple::__clone</a></div>
11 <div class="up"><a href="book.yaf.html">Yaf</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.yaf-request-simple" class="reference">
47 {</div>
49 <div class="classsynopsisinfo classsynopsisinfo_comment">/* Constants */</div>
50 <div class="fieldsynopsis">
51 <span class="modifier">const</span>
52 <span class="type">string</span>
53 <var class="fieldsynopsis_varname"><a href="class.yaf-request-simple.html#yaf-request-simple.constants.scheme-http"><var class="varname">SCHEME_HTTP</var></a></var>
54 <span class="initializer"> = http</span>
55 ;</div>
class.mysqlnduhconnection.html (https://bitbucket.org/thncr/manuals.git) HTML · 669 lines
7 </head>
8 <body><div class="manualnavbar" style="text-align: center;">
9 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnd-uh.constants.html">预定义常量</a></div>
10 <div class="next" style="text-align: right; float: right;"><a href="mysqlnduhconnection.changeuser.html">MysqlndUhConnection::changeUser</a></div>
11 <div class="up"><a href="book.mysqlnd-uh.html">mysqlnd_uh</a></div>
12 <div class="home"><a href="index.html">PHP Manual</a></div>
13 </div><hr /><div id="class.mysqlnduhconnection" class="reference">
663 </div>
664 <hr /><div class="manualnavbar" style="text-align: center;">
665 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnd-uh.constants.html">预定义常量</a></div>
666 <div class="next" style="text-align: right; float: right;"><a href="mysqlnduhconnection.changeuser.html">MysqlndUhConnection::changeUser</a></div>
667 <div class="up"><a href="book.mysqlnd-uh.html">mysqlnd_uh</a></div>
AdminObjectAclData.php (https://gitlab.com/cuza/Clinic_Recods) PHP · 319 lines
RiParser.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 249 lines
✨ Summary
This Java code is a parser for Ruby’s RDoc format, specifically for documenting the Object
class in Ruby. It generates an initial implementation of the class’s methods and attributes based on the provided documentation comments. The output is likely used to populate a documentation system for Ruby classes.
This Java code is a parser for Ruby’s RDoc format, specifically for documenting the Object
class in Ruby. It generates an initial implementation of the class’s methods and attributes based on the provided documentation comments. The output is likely used to populate a documentation system for Ruby classes.
v3.7.3.html (https://bitbucket.org/ultra_iter/qt-vtl.git) HTML · 230 lines
svc.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 591 lines
✨ Summary
This C code implements a file locking service for the Network File System (NFS). It provides authentication, authorization, and statistics management for NFS clients and servers. The code defines various data structures, functions, and procedures to handle different aspects of the file locking service, including versioning, program initialization, and termination.
This C code implements a file locking service for the Network File System (NFS). It provides authentication, authorization, and statistics management for NFS clients and servers. The code defines various data structures, functions, and procedures to handle different aspects of the file locking service, including versioning, program initialization, and termination.
wavefront.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 696 lines
✨ Summary
This C++ header file defines an interface for interacting with a Turtle Beach YSS225 sound card’s audio processing capabilities. It provides functions and constants for controlling various aspects of the sound card, including FX (effect) settings, delay settings, pitch adjustments, and more. The code is likely used in a game or application that requires low-latency audio processing.
This C++ header file defines an interface for interacting with a Turtle Beach YSS225 sound card’s audio processing capabilities. It provides functions and constants for controlling various aspects of the sound card, including FX (effect) settings, delay settings, pitch adjustments, and more. The code is likely used in a game or application that requires low-latency audio processing.
ClassWriter.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 951 lines
✨ Summary
This Java code implements a constant pool for a class file format, specifically for storing string constants and their corresponding UTF-8 encoded byte sequences. It provides methods to add items to the constant pool’s hash table, retrieve existing items by hash code, and store name and type descriptors with associated names. The implementation ensures efficient storage and retrieval of constant pool entries.
This Java code implements a constant pool for a class file format, specifically for storing string constants and their corresponding UTF-8 encoded byte sequences. It provides methods to add items to the constant pool’s hash table, retrieve existing items by hash code, and store name and type descriptors with associated names. The implementation ensures efficient storage and retrieval of constant pool entries.
SaveAs.n (https://freespeech.svn.sourceforge.net/svnroot/freespeech) Unknown · 15 lines
performance.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This is a documentation page for a C++ library, specifically the Boost library. It provides an overview of the library’s features and performance characteristics, including memory usage and processor cycles. The page includes links to other resources, such as licensing information and contact details. It appears to be a generated HTML output from a documentation system.
This is a documentation page for a C++ library, specifically the Boost library. It provides an overview of the library’s features and performance characteristics, including memory usage and processor cycles. The page includes links to other resources, such as licensing information and contact details. It appears to be a generated HTML output from a documentation system.
200 Real-world machines will often exit and enter multiple states during a
201 transition, what further dwarfs pure dispatch time. This makes the
202 implementation of constant-time dispatch (as requested by a few people
203 during formal review) an undertaking with little merit. Instead, the
204 future optimization effort will concentrate on state-entry and
morphSaving.self (git://github.com/ticking/self.git) Unknown · 1626 lines
ArConstants.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 63 lines
✨ Summary
This Java interface defines constants used in an archive file format, specifically for AR archives. It specifies lengths and values for various fields within a file header, such as name, date, user ID, group ID, mode, size, and magic tags. These constants are likely used to parse and generate AR files.
This Java interface defines constants used in an archive file format, specifically for AR archives. It specifies lengths and values for various fields within a file header, such as name, date, user ID, group ID, mode, size, and magic tags. These constants are likely used to parse and generate AR files.
components.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header code provides a metafunction components
that decomposes a function type into its constituent parts, including the return type, parameter types, and cv-qualification. It handles various cases, such as member function pointers, to extract the relevant information. The output is an MPL sequence of types representing the components of the original function type.
This C++ header code provides a metafunction components
that decomposes a function type into its constituent parts, including the return type, parameter types, and cv-qualification. It handles various cases, such as member function pointers, to extract the relevant information. The output is an MPL sequence of types representing the components of the original function type.
18 #include <boost/type_traits/detail/template_arity_spec.hpp>
20 #include <boost/type_traits/integral_constant.hpp>
22 #include <boost/mpl/if.hpp>
112 typedef void function_arity;
114 typedef detail::constant<0> bits;
115 typedef detail::constant<0> mask;
289 // library work for cv-qualified function types).
290 template<typename T> struct encode_cv
291 { typedef char (& type)[1]; BOOST_STATIC_CONSTANT(std::size_t, value = 1); };
292 template<typename T> struct encode_cv<T const *>
293 { typedef char (& type)[2]; BOOST_STATIC_CONSTANT(std::size_t, value = 2); };
294 template<typename T> struct encode_cv<T volatile *>
295 { typedef char (& type)[3]; BOOST_STATIC_CONSTANT(std::size_t, value = 3); };
296 template<typename T> struct encode_cv<T const volatile *>
297 { typedef char (& type)[4]; BOOST_STATIC_CONSTANT(std::size_t, value = 4); };
perl_matcher_recursive.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file implements a regular expression engine, providing functions for matching and manipulating strings according to regular expression rules. It includes various match functions (match_recursion
, match_match
, etc.) that handle different aspects of pattern matching, such as recursion, lookahead, and capturing groups. The code is part of the Boost library, a popular C++ framework for functional programming and other utilities.
This C++ header file implements a regular expression engine, providing functions for matching and manipulating strings according to regular expression rules. It includes various match functions (match_recursion
, match_match
, etc.) that handle different aspects of pattern matching, such as recursion, lookahead, and capturing groups. The code is part of the Boost library, a popular C++ framework for functional programming and other utilities.
101 if(state_count > max_state_count)
102 raise_error(traits_inst, regex_constants::error_complexity);
103 while(pstate)
104 {
342 return false;
343 }
344 bool greedy = (rep->greedy) && (!(m_match_flags & regex_constants::match_any) || m_independent);
345 if(greedy)
346 {
410 ++count;
411 }
412 bool greedy = (rep->greedy) && (!(m_match_flags & regex_constants::match_any) || m_independent);
413 if(greedy)
414 {
InclusionExpression.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 261 lines
✨ Summary
This Java class represents an Inclusion Expression in a PHP parser, which is used to parse and analyze PHP code. It extends another class Expression
and implements several methods for parsing and analyzing the expression, including getting variables used, modified, and outside of the expression. It also provides information about the expression’s start and end positions in the code.
This Java class represents an Inclusion Expression in a PHP parser, which is used to parse and analyze PHP code. It extends another class Expression
and implements several methods for parsing and analyzing the expression, including getting variables used, modified, and outside of the expression. It also provides information about the expression’s start and end positions in the code.
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */
20 package net.sourceforge.phpdt.internal.compiler.ast;
22 import net.sourceforge.phpdt.internal.compiler.ast.declarations.VariableUsage;
23 import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
25 import java.util.List;
27 import gatchan.phpparser.project.itemfinder.PHPItem;
28 import gatchan.phpparser.parser.PHPParserConstants;
29 import gatchan.phpparser.parser.PHPParser;
74 private String keywordToString()
75 {
76 return PHPParserConstants.tokenImage[keyword];
77 } //}}}
BSHForStatement.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 144 lines
✨ Summary
This Java code implements a for(;;) statement in BeanShell, a JavaScript-like scripting language. It evaluates an infinite loop that continues as long as a condition is true, and executes a block of code repeatedly. The loop can be exited by breaking out of the innermost loop using a break statement or returning from the block.
This Java code implements a for(;;) statement in BeanShell, a JavaScript-like scripting language. It evaluates an infinite loop that continues as long as a condition is true, and executes a block of code repeatedly. The loop can be exited by breaking out of the innermost loop using a break statement or returning from the block.
collection_traits.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
ParserTokenManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 2108 lines
✨ Summary
This Java code is a part of a lexical analyzer (tokenizer) for a programming language. It processes input characters and determines the next state based on the current character and previous states. The output is a set of rules that define how to tokenize the input, which is used in parsing and compilation stages of the compiler.
This Java code is a part of a lexical analyzer (tokenizer) for a programming language. It processes input characters and determines the next state based on the current character and previous states. The output is a set of rules that define how to tokenize the input, which is used in parsing and compilation stages of the compiler.
vector-c.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.MPL library. It displays information about sequences, including vector
, set
, and list
classes, as well as examples and links to related pages. The content is structured into sections with headings, paragraphs, and code snippets, providing detailed explanations of sequence concepts and usage.
This HTML code outputs a documentation page for a C++ library, specifically the Boost.MPL library. It displays information about sequences, including vector
, set
, and list
classes, as well as examples and links to related pages. The content is structured into sections with headings, paragraphs, and code snippets, providing detailed explanations of sequence concepts and usage.
74 </pre>
75 </td>
76 <td>A <a class="reference internal" href="./vector.html">vector</a> of integral constant wrappers
77 <tt class="literal"><span class="pre"><a href="./integral-c.html" class="identifier">integral_c</a><T,</span></tt><em>c</em><sub>1</sub><tt class="literal"><span class="pre">></span></tt>,
78 <tt class="literal"><span class="pre"><a href="./integral-c.html" class="identifier">integral_c</a><T,</span></tt><em>c</em><sub>2</sub><tt class="literal"><span class="pre">></span></tt>, ...
preprocessed.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header defines a set of template metaprogramming utilities for working with function types, specifically for generating default constant expression tags (cc_tags) that can be used to manipulate and inspect function pointers. It provides a way to define custom cc_tags for specific function pointer types.
This C++ header defines a set of template metaprogramming utilities for working with function types, specifically for generating default constant expression tags (cc_tags) that can be used to manipulate and inspect function pointers. It provides a way to define custom cc_tags for specific function pointer types.
15 template<class Tag, class RefTag> struct selector_bits
16 {
17 BOOST_STATIC_CONSTANT(bits_t, value = (
18 (::boost::function_types::detail::bits<Tag> ::value & 0x00008000)
19 | (::boost::function_types::detail::bits<RefTag> ::value & 802)
32 };
33 class test_class;
34 typedef constant<0x00ff8000> cc_mask_constant;
35 template< > struct default_cc_tag<33282>
36 {
37 typedef void ( *tester)();
38 typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits;
39 typedef cc_mask_constant mask;
42 {
43 typedef void ( *tester)( ... );
44 typedef mpl::bitand_<components<tester> ::bits,cc_mask_constant> bits;
45 typedef cc_mask_constant mask;
IconComposer.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 292 lines
✨ Summary
This Java code is part of an icon composer, responsible for managing icons and their states. It retrieves file states, gets error messages, and composes icons from images based on these states. The Helper
class provides a way to access classes that may not be available in certain environments, allowing the icon composer to behave correctly.
This Java code is part of an icon composer, responsible for managing icons and their states. It retrieves file states, gets error messages, and composes icons from images based on these states. The Helper
class provides a way to access classes that may not be available in certain environments, allowing the icon composer to behave correctly.
ServiceHandler.java
(http://keywatch.googlecode.com/svn/trunk/)
Java · 316 lines
✨ Summary
This Java code is part of a service handler that manages tasks and jobs for an agent. It registers an agent with the system, sets its properties, and starts monitoring its activity. The code handles agent registration, job management, and property updates, ensuring seamless interaction between the agent and the system. It also logs events and errors to facilitate debugging and troubleshooting.
This Java code is part of a service handler that manages tasks and jobs for an agent. It registers an agent with the system, sets its properties, and starts monitoring its activity. The code handles agent registration, job management, and property updates, ensuring seamless interaction between the agent and the system. It also logs events and errors to facilitate debugging and troubleshooting.
27 * Handle incoming requests from agents
28 */
29 public class ServiceHandler implements Constants
30 {
31 private Context ctx;
129 try
130 {
131 Log.info(Constants.PROVIDER_AGENT_REGISTERING_PREFIX + agentHostId);
133 // Get a fresh tree to work on
162 // Default monitor rate is 1 minute
163 agentTask.setMonitorRate(Constants.MONITOR_RATE_DEFAULT_MIN);
165 // Update list of childs by copying the existing list (if any) and appending the new task
test_igamma_inva.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code runs a series of tests for the gamma function and its inverse, including incomplete gamma functions with varying sizes of input data. The tests verify that the functions produce accurate results for different types of floating-point numbers (float, double, long double) and concepts (real_concept). The output indicates whether each test passes or fails, providing a report on the accuracy of the implemented math functions.
This C++ code runs a series of tests for the gamma function and its inverse, including incomplete gamma functions with varying sizes of input data. The tests verify that the functions produce accurate results for different types of floating-point numbers (float, double, long double) and concepts (real_concept). The output indicates whether each test passes or fails, providing a report on the accuracy of the implemented math functions.
16 #include <boost/math/tools/stats.hpp>
17 #include <boost/math/tools/test.hpp>
18 #include <boost/math/constants/constants.hpp>
19 #include <boost/type_traits/is_floating_point.hpp>
20 #include <boost/array.hpp>
280 BOOST_MATH_CONTROL_FP;
282 #ifndef BOOST_MATH_BUGGY_LARGE_FLOAT_CONSTANTS
283 #ifdef TEST_FLOAT
284 test_gamma(0.1F, "float");
inserter-class.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code is a documentation page for a C++ library, specifically the Boost library. It displays information about the inserter
algorithm, including its usage, complexity, and example usage. The page includes links to related algorithms and documentation, as well as copyright information. The content is presented in a structured format with sections, paragraphs, and code examples.
This HTML code is a documentation page for a C++ library, specifically the Boost library. It displays information about the inserter
algorithm, including its usage, complexity, and example usage. The page includes links to related algorithms and documentation, as well as copyright information. The content is presented in a structured format with sections, paragraphs, and code examples.
interval_base_set.html (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
79 <span class="keyword">typedef</span> <a class="link" href="interval_base_set.html#id653003-bb"><span class="identifier">ICL_COMPARE_DOMAIN</span></a><span class="special">(</span><span class="identifier">Compare</span><span class="special">,</span> <span class="identifier">DomainT</span><span class="special">)</span><span class="special">;</span>
80 <span class="keyword">typedef</span> <a class="link" href="interval_base_set.html#id653021-bb"><span class="identifier">ICL_COMPARE_DOMAIN</span></a><span class="special">(</span><span class="identifier">Compare</span><span class="special">,</span> <span class="identifier">segment_type</span><span class="special">)</span><span class="special">;</span>
81 <a class="link" href="interval_base_set.html#id653036-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">fineness</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
82 <span class="keyword">void</span> <a class="link" href="interval_base_set.html#id653053-bb"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="interval_base_set.html" title="Class template interval_base_set">interval_base_set</a> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
83 <span class="keyword">void</span> <a class="link" href="interval_base_set.html#id653070-bb"><span class="identifier">clear</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
160 <pre class="literallayout"><span class="keyword">typedef</span> <a name="id653003-bb"></a><span class="identifier">ICL_COMPARE_DOMAIN</span><span class="special">(</span><span class="identifier">Compare</span><span class="special">,</span> <span class="identifier">DomainT</span><span class="special">)</span><span class="special">;</span></pre>Comparison functor for domain values. </li>
161 <li><pre class="literallayout"><span class="keyword">typedef</span> <a name="id653021-bb"></a><span class="identifier">ICL_COMPARE_DOMAIN</span><span class="special">(</span><span class="identifier">Compare</span><span class="special">,</span> <span class="identifier">segment_type</span><span class="special">)</span><span class="special">;</span></pre></li>
162 <li><pre class="literallayout"> <a name="id653036-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">fineness</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span></pre></li>
163 <li>
164 <pre class="literallayout"><span class="keyword">void</span> <a name="id653053-bb"></a><span class="identifier">swap</span><span class="special">(</span><a class="link" href="interval_base_set.html" title="Class template interval_base_set">interval_base_set</a> <span class="special">&</span> operand<span class="special">)</span><span class="special">;</span></pre>
javascript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 560 lines
constants.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 446 lines
✨ Summary
This C++ header file defines constants and enumerations for the SCTP (Stream Control Transmission Protocol) protocol, including transport layer parameters, address scopes, retransmit reasons, lower cwnd reasons, and authentication-related constants. It provides a set of values that can be used throughout an application or library implementing SCTP functionality.
This C++ header file defines constants and enumerations for the SCTP (Stream Control Transmission Protocol) protocol, including transport layer parameters, address scopes, retransmit reasons, lower cwnd reasons, and authentication-related constants. It provides a set of values that can be used throughout an application or library implementing SCTP functionality.
ParseException.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 193 lines
✨ Summary
This Java code defines a custom exception class ParseException
that is used to handle parsing errors in an HTML parser generated by JavaCC. It provides constructors for creating exceptions with different information, such as the current token and expected tokens, and a method to generate a human-readable error message. The exception can be thrown when a parsing error occurs during the parsing process.
This Java code defines a custom exception class ParseException
that is used to handle parsing errors in an HTML parser generated by JavaCC. It provides constructors for creating exceptions with different information, such as the current token and expected tokens, and a method to generate a human-readable error message. The exception can be thrown when a parsing error occurs during the parsing process.
ReturnControl.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 53 lines
✨ Summary
Java Code Explanation
This Java class represents a Return, Break, or Continue statement in a scripting language. It has three main components: kind
, which indicates the type of control (Return, Break, or Continue), value
, which holds the value returned by the statement, and returnPoint
, which stores the node where the return occurred for error message purposes.
Java Code Explanation
This Java class represents a Return, Break, or Continue statement in a scripting language. It has three main components: kind
, which indicates the type of control (Return, Break, or Continue), value
, which holds the value returned by the statement, and returnPoint
, which stores the node where the return occurred for error message purposes.
Token.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 84 lines
✨ Summary
This Java class represents a token in a parser, containing information such as its kind, position, and string image. It also has references to other tokens, including special tokens that occur before regular tokens. The class provides methods for accessing and manipulating this information, allowing it to be used in a parser’s lexical actions.
This Java class represents a token in a parser, containing information such as its kind, position, and string image. It also has references to other tokens, including special tokens that occur before regular tokens. The class provides methods for accessing and manipulating this information, allowing it to be used in a parser’s lexical actions.
1 /* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */
2 package gatchan.phpparser.parser;
4 /**
11 * An integer that describes the kind of this token. This numbering
12 * system is determined by JavaCCParser, and a table of these numbers is
13 * stored in the file ...Constants.java.
14 */
15 public int kind;
68 * you want to create if ofKind is ID, simlpy add something like :
69 *
70 * case MyParserConstants.ID : return new IDToken();
71 *
72 * to the following switch statement. Then you can cast matchedToken
HelpfulJTable.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 562 lines
✨ Summary
This Java code is part of a table component, specifically a JTable class, which provides functionality for sorting and resizing columns. It includes event listeners for mouse clicks on the table header to change sort order and column width. The code also handles tooltips and icons for sorting indicators. Its purpose is to provide interactive and customizable table behavior.
This Java code is part of a table component, specifically a JTable class, which provides functionality for sorting and resizing columns. It includes event listeners for mouse clicks on the table header to change sort order and column width. The code also handles tooltips and icons for sorting indicators. Its purpose is to provide interactive and customizable table behavior.
IconComposer.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 353 lines
✨ Summary
This Java code is part of a version control system, specifically a plugin for a text editor called PV. It provides functionality for composing icons based on file states and paths, allowing users to visualize changes in their files. The code includes helper classes for caching icons and retrieving file state information from various sources.
This Java code is part of a version control system, specifically a plugin for a text editor called PV. It provides functionality for composing icons based on file states and paths, allowing users to visualize changes in their files. The code includes helper classes for caching icons and retrieving file state information from various sources.
49 public final class IconComposer {
51 //{{{ Constants
52 public final static int FILE_STATE_NORMAL = 0;
53 public final static int FILE_STATE_CHANGED = 1;
330 *
331 * <p>No range checking is performed on the returned values, so
332 * make sure that the value is one of the defined constants.</p>
333 *
334 * @param f The file, if it's a local file.
343 * state.
344 *
345 * @param state One of the defined VC_STATE_* constants.
346 */
347 public Icon getIcon(int state); //}}}
BSHUnaryExpression.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 121 lines
✨ Summary
This Java code defines a class BSHUnaryExpression
that represents a unary expression in a programming language, such as an increment or decrement operator (++
or --
). It handles various types of operands and performs operations like negation, boolean conversion, and arithmetic operations on integers and longs.
This Java code defines a class BSHUnaryExpression
that represents a unary expression in a programming language, such as an increment or decrement operator (++
or --
). It handles various types of operands and performs operations like negation, boolean conversion, and arithmetic operations on integers and longs.
TabItemWidget.java
(http://keywatch.googlecode.com/svn/trunk/)
Java · 180 lines
✨ Summary
This Java code defines a TabItemWidget
class, which represents a single tab item on a desktop panel. It displays a label and a close button, allowing users to rename or remove the associated desktop. When the close button is clicked, it prompts the user to confirm removal. If renamed, it updates the desktop’s name and saves changes.
This Java code defines a TabItemWidget
class, which represents a single tab item on a desktop panel. It displays a label and a close button, allowing users to rename or remove the associated desktop. When the close button is clicked, it prompts the user to confirm removal. If renamed, it updates the desktop’s name and saves changes.
fcompiler.cpp
(git://github.com/ticking/self.git)
C++ · 251 lines
✨ Summary
This C++ code is part of a compiler, specifically for a Java-like language. It implements the “NIC” (Native Interface Compiler) which generates native machine code from bytecode. The code defines classes and functions that handle various aspects of compilation, such as accessing variables, handling method calls, and generating code for different types of methods.
This C++ code is part of a compiler, specifically for a Java-like language. It implements the “NIC” (Native Interface Compiler) which generates native machine code from bytecode. The code defines classes and functions that handle various aspects of compilation, such as accessing variables, handling method calls, and generating code for different types of methods.
Fonts.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 411 lines
✨ Summary
This Java code retrieves and manipulates font properties for a graphical user interface (GUI). It checks if fonts can display localized text, such as languages and characters, and returns boolean values indicating success or failure. The code uses desktop properties to retrieve font information from the operating system’s toolkit.
This Java code retrieves and manipulates font properties for a graphical user interface (GUI). It checks if fonts can display localized text, such as languages and characters, and returns boolean values indicating success or failure. The code uses desktop properties to retrieve font information from the operating system’s toolkit.
has_inverse_icl_split_i_id515985.html (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
41 <span class="comment">// <a class="link" href="has_inverse_icl_split_i_id515985.html#id516606-bb">public member functions</a></span>
42 <a class="link" href="has_inverse_icl_split_i_id515985.html#id516608-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="keyword">bool</span><span class="special">,</span> <span class="identifier">value</span> <span class="special">=</span> <span class="special">(</span><span class="identifier">has_inverse</span><span class="special"><</span> <span class="identifier">CodomainT</span> <span class="special">></span><span class="special">::</span><span class="identifier">value</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
43 <span class="special">}</span><span class="special">;</span></pre></div>
44 <div class="refsect1" lang="en">
47 <a name="id1204795"></a><h3>
48 <a name="id516606-bb"></a><code class="computeroutput">has_inverse</code> public member functions</h3>
49 <div class="orderedlist"><ol type="1"><li><pre class="literallayout"> <a name="id516608-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="keyword">bool</span><span class="special">,</span> <span class="identifier">value</span> <span class="special">=</span> <span class="special">(</span><span class="identifier">has_inverse</span><span class="special"><</span> <span class="identifier">CodomainT</span> <span class="special">></span><span class="special">::</span><span class="identifier">value</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre></li></ol></div>
50 </div>
51 </div>
macro-tips.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 970 lines
238 option type signifies the use of <guilabel>OK</guilabel>
239 and <guilabel>Cancel</guilabel> buttons. The
240 <constant>QUERY_MESSAGE</constant> message type causes the message box
241 to display a question mark icon.
242 </para>
324 The return value <varname>result</varname> will contain either the
325 <classname>String</classname> object representing the selected text
326 item or <constant>null</constant> representing no selection. Any
327 further use of this fragment would have to test the value of
328 <varname>result</varname> and likely exit from the macro if the value
329 equalled <constant>null</constant>.
330 </para>
ParserConstants.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 254 lines
✨ Summary
This Java code defines a set of constants for a parser, specifically for a programming language. It provides integer values and corresponding string representations for various keywords, literals, operators, and symbols in the language. These constants can be used to identify tokens during parsing and lexical analysis.
This Java code defines a set of constants for a parser, specifically for a programming language. It provides integer values and corresponding string representations for various keywords, literals, operators, and symbols in the language. These constants can be used to identify tokens during parsing and lexical analysis.
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.
bind_tests_advanced.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code is a test suite for the Phoenix library, which provides a set of functional programming utilities. It tests various features such as nested binds, unlambda functions, protect, and lambda functors used as arguments to other lambda functors. The tests verify that these features work correctly and produce expected results.
This C++ code is a test suite for the Phoenix library, which provides a set of functional programming utilities. It tests various features such as nested binds, unlambda functions, protect, and lambda functors used as arguments to other lambda functors. The tests verify that these features work correctly and produce expected results.
272 int k = 0;
273 // Was:
274 //((k += constant(1)) += protect(constant(2)))();
275 ((phoenix::ref(k) += 1) += phoenix::lambda[phoenix::cref(2)])();
276 BOOST_CHECK(k==1);
278 k = 0;
279 // Was:
280 //((k += constant(1)) += protect(constant(2)))()();
281 //((phoenix::ref(k) += 1) += phoenix::lambda[std::cout << phoenix::cref("ok ...\n"), phoenix::cref(2)])()();
282 //std::cout << ((phoenix::ref(k) += 1) + phoenix::lambda[phoenix::cref(2)])()() << "\n";
287 // note, the following doesn't work:
289 // ((var(k) = constant(1)) = protect(constant(2)))();
291 // (var(k) = constant(1))() returns int& and thus the
GalleryView.java (https://bitbucket.org/atchariya/nokia.git) Java · 290 lines
17 import com.nokia.cameraframe.MainMIDlet;
18 import com.nokia.cameraframe.utils.Commands;
19 import com.nokia.cameraframe.utils.Constants;
20 import com.nokia.cameraframe.utils.ImageUtils;
21 import com.nokia.cameraframe.utils.Log;
89 while (roots.hasMoreElements()) {
90 String root = (String) roots.nextElement();
91 root = root.replace('/', Constants.FILE_SEPARATOR.charAt(0));
92 append(root.substring(1), ROOT_IMAGE);
93 }
117 // Directory selected
118 if (selectedFile.endsWith(Constants.FILE_SEPARATOR)) {
119 try {
120 String tmp = selectedFile.replace(Constants.FILE_SEPARATOR.charAt(0), '/');
LoginDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 334 lines
✨ Summary
This Java code creates a GUI application for managing FTP connections. It allows users to input host, user, and password information, as well as select private keys for secure connections. The application also includes features like auto-completion and file selection for private key management.
This Java code creates a GUI application for managing FTP connections. It allows users to input host, user, and password information, as well as select private keys for secure connections. The application also includes features like auto-completion and file selection for private key management.
235 JLabel label = new JLabel(jEdit.getProperty("login.host"),
236 SwingConstants.RIGHT);
237 panel.add(label);
249 label = new JLabel(jEdit.getProperty("login.user"),
250 SwingConstants.RIGHT);
251 panel.add(label);
261 label = new JLabel(jEdit.getProperty("login.password"),
262 SwingConstants.RIGHT);
263 panel.add(label);
Token.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 91 lines
✨ Summary
This Java code defines a Token
class that represents an input token stream in a parser. It stores information about the token’s kind, position, and string image, as well as references to adjacent tokens. The class provides methods for accessing and manipulating this information, including creating new Token
objects based on their kind.
This Java code defines a Token
class that represents an input token stream in a parser. It stores information about the token’s kind, position, and string image, as well as references to adjacent tokens. The class provides methods for accessing and manipulating this information, including creating new Token
objects based on their kind.
20 * An integer that describes the kind of this token. This numbering
21 * system is determined by JavaCCParser, and a table of these numbers is
22 * stored in the file ...Constants.java.
23 */
24 public int kind;
75 * you want to create if ofKind is ID, simlpy add something like :
76 *
77 * case MyParserConstants.ID : return new IDToken();
78 *
79 * to the following switch statement. Then you can cast matchedToken
package.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 38 lines
✨ Summary
This HTML code outputs a documentation page explaining how to create custom nodes for a project viewer plugin. It outlines the steps required to create a new node class, node handler, and action, providing guidance on implementing these components to make the node persistently saved with the corresponding project. The process is considered experimental.
This HTML code outputs a documentation page explaining how to create custom nodes for a project viewer plugin. It outlines the steps required to create a new node class, node handler, and action, providing guidance on implementing these components to make the node persistently saved with the corresponding project. The process is considered experimental.
Display_Abbreviations.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 392 lines
core.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 781 lines
✨ Summary
This C code is part of a Linux kernel module that sets up a virtual machine (VM) using the LGuest hypervisor. It initializes the VM’s registers, loads the Guest Operating System (GOS), and configures the system call vector. The code also handles hypercalls from the GOS to interact with the host kernel. Its purpose is to enable secure boot and execution of untrusted code in a controlled environment.
This C code is part of a Linux kernel module that sets up a virtual machine (VM) using the LGuest hypervisor. It initializes the VM’s registers, loads the Guest Operating System (GOS), and configures the system call vector. The code also handles hypercalls from the GOS to interact with the host kernel. Its purpose is to enable secure boot and execution of untrusted code in a controlled environment.
times.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
gpl.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 472 lines
✨ Summary
This HTML code outputs a license agreement for free software, specifically the GNU General Public License (GPL). It provides terms and conditions for users to redistribute and modify the software, while also disclaiming any warranties and limiting liability. The code includes notices and examples of how to display these terms in various contexts, such as source files and interactive programs.
This HTML code outputs a license agreement for free software, specifically the GNU General Public License (GPL). It provides terms and conditions for users to redistribute and modify the software, while also disclaiming any warranties and limiting liability. The code includes notices and examples of how to display these terms in various contexts, such as source files and interactive programs.
join.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code is a unit test suite for the boost::range
library, specifically testing the join()
function. It creates various combinations of source range types and tests their join functionality with different target ranges, ensuring correct behavior and type demotion. The test suite covers various range types, including vectors, lists, and deques, to ensure comprehensive coverage.
This C++ code is a unit test suite for the boost::range
library, specifically testing the join()
function. It creates various combinations of source range types and tests their join functionality with different target ranges, ensuring correct behavior and type demotion. The test suite covers various range types, including vectors, lists, and deques, to ensure comprehensive coverage.
md_u.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 160 lines
✨ Summary
This C header file defines an interface between Linux raidtools and RAID drivers, providing a standardized API for user-space applications to interact with RAID systems. It specifies various ioctl commands, data structures, and constants for managing RAID arrays, disks, and bitmap files, allowing users to configure, manage, and monitor RAID systems.
This C header file defines an interface between Linux raidtools and RAID drivers, providing a standardized API for user-space applications to interact with RAID systems. It specifies various ioctl commands, data structures, and constants for managing RAID arrays, disks, and bitmap files, allowing users to configure, manage, and monitor RAID systems.
BSHClassDeclaration.java
(http://beanshell2.googlecode.com/svn/trunk/)
Java · 107 lines
✨ Summary
This Java class represents a class declaration in the BeanShell scripting language. It extends a SimpleNode
and provides methods for evaluating the class declaration, generating the corresponding Java class, and handling interface information. The class is used to parse and execute class declarations in BeanShell scripts.
This Java class represents a class declaration in the BeanShell scripting language. It extends a SimpleNode
and provides methods for evaluating the class declaration, generating the corresponding Java class, and handling interface information. The class is used to parse and execute class declarations in BeanShell scripts.
facade-and-adaptor.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code outputs a documentation page for a C++ library, specifically the function_output_iterator
class. It provides detailed information about the class’s constructors, operators, and behavior, written in reStructuredText format. The output includes explanations of technical terms and concepts, making it suitable as a reference manual or API documentation.
This HTML code outputs a documentation page for a C++ library, specifically the function_output_iterator
class. It provides detailed information about the class’s constructors, operators, and behavior, written in reStructuredText format. The output includes explanations of technical terms and concepts, making it suitable as a reference manual or API documentation.
150 Library, allowing algorithms to be re-used in in a wide variety of
151 contexts. The C++ Standard Library contains a wide variety of useful
152 iterators. Every one of the standard containers comes with constant
153 and mutable iterators<a class="footnote-reference" href="#mutable" id="id1"><sup>2</sup></a>, and also reverse versions of those
154 same iterators which traverse the container in the opposite direction.
161 and useful iterators are missing, and creating new iterator types is
162 still a common task for C++ programmers. The literature documents
163 several of these, for example line_iterator [3] and Constant_iterator
164 [9]. The iterator abstraction is so powerful that we expect
165 programmers will always need to invent new iterator types.</p>
199 <li>Several iterator adaptors from the MTL [12]. The MTL contains a
200 strided iterator, where each call to <tt class="docutils literal"><span class="pre">operator++()</span></tt> moves the
201 iterator ahead by some constant factor, and a scaled iterator, which
202 multiplies the dereferenced value by some constant.</li>
215 <tr><td class="label"><a class="fn-backref" href="#id1">[2]</a></td><td>The term mutable iterator refers to iterators over objects that
216 can be changed by assigning to the dereferenced iterator, while
217 constant iterator refers to iterators over objects that cannot be
218 modified.</td></tr>
219 </tbody>
qdrawhelper_sse2.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 544 lines
SimpleNode.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 225 lines
✨ Summary
This Java class represents a node in an abstract syntax tree (AST) used for parsing and evaluating programming languages. It provides methods for managing child nodes, accessing source file information, and evaluating expressions. The class is designed to be reusable and customizable, with features such as recursive dumping of child nodes and support for BeanShell-specific functionality.
This Java class represents a node in an abstract syntax tree (AST) used for parsing and evaluating programming languages. It provides methods for managing child nodes, accessing source file information, and evaluating expressions. The class is designed to be reusable and customizable, with features such as recursive dumping of child nodes and support for BeanShell-specific functionality.
VERSION.TXT (http://keywatch.googlecode.com/svn/trunk/) Plain Text · 1657 lines
int_float_mixture.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a set of metafunctions for working with integer and floating-point types, specifically designed for use with Boost’s numeric conversion library. It defines various integral constants and metafunctions to select the appropriate type based on the combination of input types. The code is part of the Boost library and is used to perform conversions between integers and floats.
This C++ header file provides a set of metafunctions for working with integer and floating-point types, specifically designed for use with Boost’s numeric conversion library. It defines various integral constants and metafunctions to select the appropriate type based on the combination of input types. The code is part of the Boost library and is used to perform conversions between integers and floats.
21 namespace boost { namespace numeric { namespace convdetail
22 {
23 // Integral Constants for 'IntFloatMixture'
24 typedef mpl::integral_c<int_float_mixture_enum, integral_to_integral> int2int_c ;
25 typedef mpl::integral_c<int_float_mixture_enum, integral_to_float> int2float_c ;
31 // get_int_float_mixture<T,S>::type
32 //
33 // Selects the appropriate Int-Float Mixture Integral Constant for the combination T,S.
34 //
35 template<class T,class S>
48 // for_int_float_mixture<Mixture,int_int,int_float,float_int,float_float>::type
49 //
50 // {Mixture} is one of the Integral Constants for Mixture, declared above.
51 // {int_int,int_float,float_int,float_float} are aribtrary types. (not metafunctions)
52 //
SideKickPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 435 lines
✨ Summary
This Java code is part of a text editor’s plugin that provides features like syntax highlighting, auto-completion, and parsing. It creates a background thread to parse buffers in real-time, updates the UI with parsed data, and manages toolbars and caret handlers for editing. The code also handles buffer parsing, parsing cancellation, and cleanup of resources when the view is stopped or removed.
This Java code is part of a text editor’s plugin that provides features like syntax highlighting, auto-completion, and parsing. It creates a background thread to parse buffers in real-time, updates the UI with parsed data, and manages toolbars and caret handlers for editing. The code also handles buffer parsing, parsing cancellation, and cleanup of resources when the view is stopped or removed.
NotifyCalledOnConditionInspection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 63 lines
18 import com.intellij.psi.PsiMethodCallExpression;
19 import com.intellij.psi.PsiType;
20 import com.siyeh.HardcodedMethodConstants;
21 import com.siyeh.InspectionGadgetsBundle;
22 import com.siyeh.ig.BaseInspection;
52 if (!MethodCallUtils.isCallToMethod(expression,
53 "java.util.concurrent.locks.Condition", PsiType.VOID,
54 HardcodedMethodConstants.NOTIFY) &&
55 !MethodCallUtils.isCallToMethod(expression,
56 "java.util.concurrent.locks.Condition", PsiType.VOID,
57 HardcodedMethodConstants.NOTIFY_ALL)) {
58 return;
59 }
emacs.css
(http://enginey.googlecode.com/svn/trunk/)
CSS · 37 lines
✨ Summary
This CSS code defines a set of styles for highlighting different elements within code blocks, such as comments, keywords, operators, names, strings, and numbers. It uses various colors and font weights to distinguish between these elements, making it easier to read and understand the structure of the code. The styles are designed to work with Pygments, a syntax highlighting library.
This CSS code defines a set of styles for highlighting different elements within code blocks, such as comments, keywords, operators, names, strings, and numbers. It uses various colors and font weights to distinguish between these elements, making it easier to read and understand the structure of the code. The styles are designed to work with Pygments, a syntax highlighting library.
Telerik.RazorConverter.Tests.Common.csproj (git://github.com/telerik/razor-converter.git) MSBuild · 68 lines
27 <Optimize>false</Optimize>
28 <OutputPath>bin\Debug\</OutputPath>
29 <DefineConstants>DEBUG;TRACE</DefineConstants>
30 <ErrorReport>prompt</ErrorReport>
31 <WarningLevel>4</WarningLevel>
35 <Optimize>true</Optimize>
36 <OutputPath>bin\Release\</OutputPath>
37 <DefineConstants>TRACE</DefineConstants>
38 <ErrorReport>prompt</ErrorReport>
39 <WarningLevel>4</WarningLevel>
DriverManagerGetConnectionInspection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 88 lines
20 import com.intellij.psi.PsiMethodCallExpression;
21 import com.intellij.psi.PsiReferenceExpression;
22 import com.siyeh.HardcodedMethodConstants;
23 import com.siyeh.InspectionGadgetsBundle;
24 import com.siyeh.ig.BaseInspection;
69 final String methodName = methodExpression.getReferenceName();
70 if (!HardcodedMethodConstants.GET_CONNECTION.equals(methodName)) {
71 return false;
72 }
init_32.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 536 lines
✨ Summary
This C code initializes and manages memory for a SPARC-based Linux system. It allocates valid address space, maps physical pages to virtual addresses, and tracks available memory. The code also handles memory initialization, freeing unused kernel memory, and flushing pages to RAM. Additionally, it provides functions for managing initrd memory and exporting the sparc_flush_page_to_ram
function.
This C code initializes and manages memory for a SPARC-based Linux system. It allocates valid address space, maps physical pages to virtual addresses, and tracks available memory. The code also handles memory initialization, freeing unused kernel memory, and flushing pages to RAM. Additionally, it provides functions for managing initrd memory and exporting the sparc_flush_page_to_ram
function.
is_interval_joiner.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
cfe_api.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 123 lines
✨ Summary
This C header file provides an interface for interacting with a Broadcom Common Firmware Environment (CFE). It defines constants, data structures, and function prototypes for tasks such as memory management, CPU control, environment enumeration, and device access. The functions allow applications to communicate with the CFE, which is used in various Broadcom devices.
This C header file provides an interface for interacting with a Broadcom Common Firmware Environment (CFE). It defines constants, data structures, and function prototypes for tasks such as memory management, CPU control, environment enumeration, and device access. The functions allow applications to communicate with the CFE, which is used in various Broadcom devices.
plugin-implement.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1233 lines
229 <para>
230 The first parameter is a <classname>String</classname> constant
231 identifying the dockable window list. The second is a static
232 <classname>String</classname> constant which is initialized in the
818 }));
819 label = new JLabel(pad.getFilename(),
820 SwingConstants.RIGHT);
821 label.setForeground(Color.black);
822 label.setVisible(jEdit.getProperty(
json.jj (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 763 lines
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.
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.
57 public interface PathIterator {
58 /**
59 * The winding rule constant for specifying an even-odd rule for determining
60 * the interior of a path. The even-odd rule specifies that a point lies
61 * inside the path if a ray drawn in any direction from that point to
66 /**
67 * The winding rule constant for specifying a non-zero rule for determining
68 * the interior of a path. The non-zero rule specifies that a point lies
69 * inside the path if a ray drawn in any direction from that point to
75 /**
76 * The segment type constant for a point that specifies the starting
77 * location for a new subpath.
78 */
test.rst
(git://github.com/IronLanguages/main.git)
ReStructuredText · 469 lines
✨ Summary
This is a Python module that provides various utility functions for unit testing. It includes functions to capture and check warnings, import modules with specific behaviors, and temporarily set environment variables.
This is a Python module that provides various utility functions for unit testing. It includes functions to capture and check warnings, import modules with specific behaviors, and temporarily set environment variables.
90 guidelines to be followed:
92 * The testing suite should exercise all classes, functions, and constants. This
93 includes not just the external API that is to be presented to the outside
94 world but also "private" code.
210 function.
212 The :mod:`test.test_support` module defines the following constants:
DropVertexTypeNode.cs
(git://github.com/sones/sones.git)
C# · 114 lines
✨ Summary
This C# code defines a class DropVertexTypeNode
that represents a statement node for dropping a vertex type in a graph database. It inherits from AStatement
and implements methods to initialize, execute, and generate output for the drop operation. The class is part of a larger system for managing graph data and provides a way to interact with the database using GraphQL queries.
This C# code defines a class DropVertexTypeNode
that represents a statement node for dropping a vertex type in a graph database. It inherits from AStatement
and implements methods to initialize, execute, and generate output for the drop operation. The class is part of a larger system for managing graph data and provides a way to interact with the database using GraphQL queries.
check.list (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 6 lines
bind_input.cpp
(https://bitbucket.org/vivkin/gam3b00bs/)
C++ · 78 lines
✨ Summary
This C++ code defines a Lua module for handling input events and constants. It provides functions to get key, button, wheel, cursor position, and cursor relative states, as well as a tick function. The bind_input
function initializes the module by setting up constants and registering the functions with Lua.
This C++ code defines a Lua module for handling input events and constants. It provides functions to get key, button, wheel, cursor position, and cursor relative states, as well as a tick function. The bind_input
function initializes the module by setting up constants and registering the functions with Lua.
cap_inline.h
(http://photon-android.googlecode.com/svn/)
C++ Header · 410 lines
✨ Summary
This C++ header file defines a set of functions for interacting with various components of a system, such as the ARM CPU, VPM, LCD, and others. It provides functions to check if certain features are present, retrieve maximum clock speeds, and determine LCD resolutions. The code is likely used in a low-level system or embedded device application.
This C++ header file defines a set of functions for interacting with various components of a system, such as the ARM CPU, VPM, LCD, and others. It provides functions to check if certain features are present, retrieve maximum clock speeds, and determine LCD resolutions. The code is likely used in a low-level system or embedded device application.
5 * agreement governing use of this software, this software is licensed to you
6 * under the terms of the GNU General Public License version 2, available at
7 * http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
8 *
9 * Notwithstanding the above, under no circumstances may you combine this
20 #include <cfg_global.h>
22 /* ---- Public Constants and Types --------------------------------------- */
23 #define CAP_CONFIG0_VPM_DIS 0x00000001
24 #define CAP_CONFIG0_ETH_PHY0_DIS 0x00000002