93+ results for 'lower strip' (0 ms)
Not the results you expected?
cx25821-reg.h (https://github.com/drowningchild/android_kernel_samsung_dempsey.git) C Header · 1096 lines
239 //*****************************************************************************
240 #define GPIO_LO 0x110010 // Lower of GPIO pins [31:0]
241 #define GPIO_HI 0x110014 // Upper WORD of GPIO pins [47:31]
243 #define GPIO_LO_OE 0x110018 // Lower of GPIO output enable [31:0]
244 #define GPIO_HI_OE 0x11001C // Upper word of GPIO output enable [47:32]
vi_keymap.c (https://github.com/cparedes/omnibus.git) C · 877 lines
143 { ISFUNC, rl_vi_goto_mark }, /* ` */
145 /* Lowercase alphabet. */
146 { ISFUNC, rl_vi_append_mode }, /* a */
147 { ISFUNC, rl_vi_prev_word }, /* b */
423 { ISFUNC, rl_insert }, /* ` */
425 /* Lowercase alphabet. */
426 { ISFUNC, rl_insert }, /* a */
427 { ISFUNC, rl_insert }, /* b */
674 /* Uppercase alphabet. */
675 { ISFUNC, rl_do_lowercase_version }, /* A */
676 { ISFUNC, rl_do_lowercase_version }, /* B */
677 { ISFUNC, rl_do_lowercase_version }, /* C */
678 { ISFUNC, rl_do_lowercase_version }, /* D */
emacs_keymap.c (https://github.com/cparedes/omnibus.git) C · 873 lines
142 { ISFUNC, rl_insert }, /* ` */
144 /* Lowercase alphabet. */
145 { ISFUNC, rl_insert }, /* a */
146 { ISFUNC, rl_insert }, /* b */
392 /* Uppercase alphabet. */
393 { ISFUNC, rl_do_lowercase_version }, /* Meta-A */
394 { ISFUNC, rl_do_lowercase_version }, /* Meta-B */
395 { ISFUNC, rl_do_lowercase_version }, /* Meta-C */
396 { ISFUNC, rl_do_lowercase_version }, /* Meta-D */
397 { ISFUNC, rl_do_lowercase_version }, /* Meta-E */
398 { ISFUNC, rl_do_lowercase_version }, /* Meta-F */
Caching_Utility_T.cpp (https://github.com/LORDofDOOM/MMOTBC.git) C++ · 500 lines
108 if (min > (*iter).int_id_.second)
109 {
110 // Ah! an item with lower ATTTRIBUTES...
111 min = (*iter).int_id_.second;
112 key_to_remove = &(*iter).ext_id_;
223 else
224 {
225 // Ah! an entry with lower ATTTRIBUTES...
226 if (min > (*iter).int_id_.second)
227 {
348 else
349 {
350 // Ah! an entry with lower ATTTRIBUTES...
351 if (min > (*iter).int_id_.second ())
352 {
Javascript.php (https://github.com/ManpreetS512/Webpage.git) PHP · 871 lines
cx25821-reg.h (https://github.com/tworaz/linux.git) C Header · 1055 lines
239 /* ***************************************************************************** */
240 #define GPIO_LO 0x110010 /* Lower of GPIO pins [31:0] */
241 #define GPIO_HI 0x110014 /* Upper WORD of GPIO pins [47:31] */
243 #define GPIO_LO_OE 0x110018 /* Lower of GPIO output enable [31:0] */
244 #define GPIO_HI_OE 0x11001C /* Upper word of GPIO output enable [47:32] */
database_test.html (https://github.com/johnjbarton/JavaScriptLibraries.git) HTML · 699 lines
TopFieldCollector.cs (https://bitbucket.org/jmblair/lucene.net.git) C# · 1137 lines
NavigableMap.java (https://bitbucket.org/aways/android_libcore.git) Java · 395 lines
14 * A {@link SortedMap} extended with navigation methods returning the
15 * closest matches for given search targets. Methods
16 * {@code lowerEntry}, {@code floorEntry}, {@code ceilingEntry},
17 * and {@code higherEntry} return {@code Map.Entry} objects
18 * associated with keys respectively less than, less than or equal,
19 * greater than or equal, and greater than a given key, returning
20 * {@code null} if there is no such key. Similarly, methods
21 * {@code lowerKey}, {@code floorKey}, {@code ceilingKey}, and
22 * {@code higherKey} return only the associated keys. All of these
23 * methods are designed for locating, not traversing entries.
31 * and {@code tailMap} differ from the like-named {@code
32 * SortedMap} methods in accepting additional arguments describing
33 * whether lower and upper bounds are inclusive versus exclusive.
34 * Submaps of any {@code NavigableMap} must implement the {@code
35 * NavigableMap} interface.
omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s (https://bitbucket.org/aways/android_frameworks_av.git) Assembly · 480 lines
sad_inline.h (https://bitbucket.org/aways/android_frameworks_av.git) C Header · 539 lines
146 x10 = x5 - (x4 << 8); /* extract low bytes */
147 x10 = x10 + x4; /* add with high bytes */
148 x10 = x10 + (x10 << 16); /* add with lower half word */
150 if (((uint32)x10 >> 16) <= (uint32)dmin) /* compare with dmin */
316 x10 = x5 - (x4 << 8); /* extract low bytes */
317 x10 = x10 + x4; /* add with high bytes */
318 x10 = x10 + (x10 << 16); /* add with lower half word */
320 __asm
504 x10 = x5 - (x4 << 8); /* extract low bytes */
505 x10 = x10 + x4; /* add with high bytes */
506 x10 = x10 + (x10 << 16); /* add with lower half word */
508 if (((uint32)x10 >> 16) <= (uint32)dmin) /* compare with dmin */
fastidct.cpp (https://bitbucket.org/aways/android_frameworks_av.git) C++ · 1888 lines
83 x1 = blk[8];
84 x0 = ((int32)blk[0] << 11) + 128;
85 /* both upper and lower*/
87 x7 = W7 * x1;
187 x1 = blk[8];
188 /* both upper and lower*/
190 x7 = W7 * x1;
447 x0 = ((*(blk += 8)) << 8) + 8192;
448 *blk = 0; /* for proper rounding in the fourth stage */
449 /* both upper and lower*/
450 /* both x2orx6 and x0orx4 */
pvamrwbdecoder_basic_op_cequivalent.h (https://bitbucket.org/aways/android_frameworks_av.git) C Header · 545 lines
http11_parser.c (https://github.com/rkh/puma.git) C · 1225 lines
ftoption.h (https://github.com/aparvath/multitheftauto.git) C Header · 565 lines
CharIndexed.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 66 lines
✨ Summary
This Java interface defines a common interface for different types of source text, such as strings, buffers, and input streams. It provides methods to access characters at specific positions in the text, including moving the cursor position and checking if it’s valid. The interface also includes constants for handling out-of-range indices.
This Java interface defines a common interface for different types of source text, such as strings, buffers, and input streams. It provides methods to access characters at specific positions in the text, including moving the cursor position and checking if it’s valid. The interface also includes constants for handling out-of-range indices.
Create_Constructor.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 222 lines
rebol.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 547 lines
ftimage.h (https://github.com/JSilver99/mozilla-central-old.git) C Header · 802 lines
reflect.js (https://github.com/JSilver99/mozilla-central-old.git) JavaScript · 579 lines
280 "Enumerated attributes should be case-insensitive.");
281 is(element.getAttribute(contentAttr), v.toUpperCase(),
282 "Content attribute should not be lower-cased.");
283 element.removeAttribute(contentAttr);
294 "Enumerated attributes should be case-insensitive.");
295 is(element.getAttribute(contentAttr), v.toUpperCase(),
296 "Content attribute should not be lower-cased.");
297 element.removeAttribute(contentAttr);
298 });
329 "Enumerated attributes should be case-insensitive.");
330 is(element.getAttribute(contentAttr), v.toUpperCase(),
331 "Content attribute should not be lower-cased.");
332 element.removeAttribute(contentAttr);
ReadSecurityTest.java (https://github.com/jianguo11/openmicroscopy.git) Java · 894 lines
217 oneToMany(r, true, true);
219 // RW_RW_RW / RW_RW_xx : now lets lower visibility
220 // thumbnail readable by other but not by world
221 permsA = RW_RW_RW;
300 oneToMany(r, true, true);
302 // RW_RW_RW / RW_RW_xx : now lets lower visibility
303 // thumbnail readable by other but not by world
304 permsA = RW_RW_RW;
SuperComponent.java (https://github.com/grapestack/railo.git) Java · 668 lines
web_tester.php (https://github.com/lightyoruichi/DIY.git) PHP · 1410 lines
expectation.php (https://github.com/lightyoruichi/DIY.git) PHP · 984 lines
327 class WithinMarginExpectation extends SimpleExpectation {
328 private $upper;
329 private $lower;
331 /**
340 parent::__construct($message);
341 $this->upper = $value + $margin;
342 $this->lower = $value - $margin;
343 }
351 */
352 function test($compare) {
353 return (($compare <= $this->upper) && ($compare >= $this->lower));
354 }
tinymce.Formatter_apply.html (https://github.com/chrisdarroch/tinymce.git) HTML · 1054 lines
SkylineMatrix.h (https://bitbucket.org/rlyspn/androidrr.git) C Header · 862 lines
167 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
168 if (inner >= minInnerIndex)
169 return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
170 else
171 return Scalar(0);
214 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
215 eigen_assert(inner >= minInnerIndex && "you try to acces a coeff that do not exist in the storage");
216 return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
217 }
218 } else {
249 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
250 if (inner >= minInnerIndex)
251 return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
252 else
253 return Scalar(0);
hcicmds.c (https://bitbucket.org/rlyspn/androidrr.git) C · 1968 lines
umodarith.lisp (https://github.com/albertz/CPython.git) Lisp · 692 lines
TestRunner.js (https://github.com/nonano/yui3.git) JavaScript · 1009 lines
basicTypes.xsd (https://github.com/bwoodhead/islandora_xml_forms.git) XML Schema · 429 lines
85 <xs:complexType name="MultiplicityRange_Type">
86 <xs:annotation>
87 <xs:documentation>A component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound.</xs:documentation>
88 </xs:annotation>
89 <xs:complexContent>
90 <xs:extension base="gco:AbstractObject_Type">
91 <xs:sequence>
92 <xs:element name="lower" type="gco:Integer_PropertyType"/>
93 <xs:element name="upper" type="gco:UnlimitedInteger_PropertyType"/>
94 </xs:sequence>
postgres_schema.sql (https://github.com/naderman/phpbb-orchestra.git) SQL · 1309 lines
15 Operation Functions
16 */
17 CREATE FUNCTION _varchar_ci_equal(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) = LOWER($2)' LANGUAGE SQL STRICT;
18 CREATE FUNCTION _varchar_ci_not_equal(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) != LOWER($2)' LANGUAGE SQL STRICT;
19 CREATE FUNCTION _varchar_ci_less_than(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) < LOWER($2)' LANGUAGE SQL STRICT;
20 CREATE FUNCTION _varchar_ci_less_equal(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) <= LOWER($2)' LANGUAGE SQL STRICT;
21 CREATE FUNCTION _varchar_ci_greater_than(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) > LOWER($2)' LANGUAGE SQL STRICT;
22 CREATE FUNCTION _varchar_ci_greater_equals(varchar_ci, varchar_ci) RETURNS boolean AS 'SELECT LOWER($1) >= LOWER($2)' LANGUAGE SQL STRICT;
Palette.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 387 lines
✨ Summary
This JavaScript code defines a generate
function for creating palettes using various color manipulation techniques, such as shades, tints, tones, and more. It takes two arguments: a base color and an optional type of generator to use. The function returns a new palette object based on the specified generator or function definition.
This JavaScript code defines a generate
function for creating palettes using various color manipulation techniques, such as shades, tints, tones, and more. It takes two arguments: a base color and an optional type of generator to use. The function returns a new palette object based on the specified generator or function definition.
schema1.xsd (https://github.com/jasphior/bandhu.git) XML Schema · 516 lines
web_tester.php (https://github.com/jeffmay/Bonfire.git) PHP · 1413 lines
unit_tester.php (https://github.com/jeffmay/Bonfire.git) PHP · 420 lines
tag.php (https://github.com/jeffmay/Bonfire.git) PHP · 1418 lines
30 * string values. Note that
31 * the keys must have been
32 * converted to lower case.
33 */
34 function __construct($name, $attributes) {
35 $this->_name = strtolower(trim($name));
36 $this->_attributes = $attributes;
37 $this->_content = '';
103 */
104 function getAttribute($label) {
105 $label = strtolower($label);
106 if (! isset($this->_attributes[$label])) {
107 return false;
expectation.php (https://github.com/jeffmay/Bonfire.git) PHP · 895 lines
328 class WithinMarginExpectation extends SimpleExpectation {
329 var $_upper;
330 var $_lower;
332 /**
341 parent::__construct($message);
342 $this->_upper = $value + $margin;
343 $this->_lower = $value - $margin;
344 }
352 */
353 function test($compare) {
354 return (($compare <= $this->_upper) && ($compare >= $this->_lower));
355 }
tag.php (https://github.com/markjames/sapphire.git) PHP · 1418 lines
30 * string values. Note that
31 * the keys must have been
32 * converted to lower case.
33 */
34 function SimpleTag($name, $attributes) {
35 $this->_name = strtolower(trim($name));
36 $this->_attributes = $attributes;
37 $this->_content = '';
103 */
104 function getAttribute($label) {
105 $label = strtolower($label);
106 if (! isset($this->_attributes[$label])) {
107 return false;
calendar-debug.js (https://github.com/adben/core.git) JavaScript · 1610 lines
168 */
169 addProperty: function ( key, propertyObject ) {
170 key = key.toLowerCase();
171 YAHOO.log("Added property: " + key, "info", "Config");
221 */
222 getProperty: function (key) {
223 var property = this.config[key.toLowerCase()];
224 if (property && property.event) {
225 return property.value;
237 resetProperty: function (key) {
239 key = key.toLowerCase();
241 var property = this.config[key];
container_core.js (https://github.com/adben/core.git) JavaScript · 1526 lines
166 */
167 addProperty: function ( key, propertyObject ) {
168 key = key.toLowerCase();
170 this.config[key] = propertyObject;
218 */
219 getProperty: function (key) {
220 var property = this.config[key.toLowerCase()];
221 if (property && property.event) {
222 return property.value;
234 resetProperty: function (key) {
236 key = key.toLowerCase();
238 var property = this.config[key];
iresizable.js (https://github.com/adben/core.git) JavaScript · 452 lines
extra2.c (https://github.com/tmacreturns/XBMC_wireless_setup.git) C · 792 lines
extra1.c (https://github.com/tmacreturns/XBMC_wireless_setup.git) C · 563 lines
types.i (https://github.com/tmacreturns/XBMC_wireless_setup.git) Swig · 515 lines
SyntaxTree.hs (https://github.com/haxis-fx/R5RS-Haskell.git) Haskell · 389 lines
51 parseBool = do try $ char '#'
52 x <- oneOf "tTfF"
53 return $ case toLower x of 't' -> Bool True
54 'f' -> Bool False
55 _ -> error "Will not come here"
101 exactness s = try (do s0 <- do e0 <- char '#'
102 e1 <- oneOf exactStr
103 return $ [e0, toLower e1]
104 s1 <- do r0 <- char '#'
105 r1 <- oneOf s
106 return $ [r0, toLower r1]
107 return $ s0 ++ s1)
108 <|>
hw_atl_llh_internal.h (https://github.com/tiwai/sound.git) C Header · 1250 lines
109 /* bitmask for bitfield itr_reg_res_dsbl */
110 #define HW_ATL_ITR_REG_RES_DSBL_MSK 0x20000000
111 /* lower bit position of bitfield itr_reg_res_dsbl */
112 #define HW_ATL_ITR_REG_RES_DSBL_SHIFT 29
113 /* register address for bitfield iscr_lsw[1f:0] */
119 /* bitmask for bitfield itr_reset */
120 #define HW_ATL_ITR_RES_MSK 0x80000000
121 /* lower bit position of bitfield itr_reset */
122 #define HW_ATL_ITR_RES_SHIFT 31
131 /* width of bitfield rsc_delay */
132 #define HW_ATL_ITR_RSC_DELAY_WIDTH 4
133 /* lower bit position of bitfield rsc_delay */
134 #define HW_ATL_ITR_RSC_DELAY_SHIFT 0
dcn_1_0_offset.h (https://github.com/tiwai/sound.git) C Header · 573 lines
144 #define mmCORB_SIZE 0x0001
145 #define mmCORB_SIZE_BASE_IDX 0
146 #define mmRIRB_LOWER_BASE_ADDRESS 0x0002
147 #define mmRIRB_LOWER_BASE_ADDRESS_BASE_IDX 0
168 #define mmIMMEDIATE_COMMAND_STATUS 0x0008
169 #define mmIMMEDIATE_COMMAND_STATUS_BASE_IDX 0
170 #define mmDMA_POSITION_LOWER_BASE_ADDRESS 0x000a
171 #define mmDMA_POSITION_LOWER_BASE_ADDRESS_BASE_IDX 0
214 #define mmAZSTREAM0_1_OUTPUT_STREAM_DESCRIPTOR_FORMAT 0x0012
215 #define mmAZSTREAM0_1_OUTPUT_STREAM_DESCRIPTOR_FORMAT_BASE_IDX 0
216 #define mmAZSTREAM0_1_OUTPUT_STREAM_DESCRIPTOR_BDL_POINTER_LOWER_BASE_ADDRESS 0x0014
217 #define mmAZSTREAM0_1_OUTPUT_STREAM_DESCRIPTOR_BDL_POINTER_LOWER_BASE_ADDRESS_BASE_IDX 0
236 #define mmAZSTREAM1_1_OUTPUT_STREAM_DESCRIPTOR_FORMAT 0x001a
237 #define mmAZSTREAM1_1_OUTPUT_STREAM_DESCRIPTOR_FORMAT_BASE_IDX 0
238 #define mmAZSTREAM1_1_OUTPUT_STREAM_DESCRIPTOR_BDL_POINTER_LOWER_BASE_ADDRESS 0x001c
239 #define mmAZSTREAM1_1_OUTPUT_STREAM_DESCRIPTOR_BDL_POINTER_LOWER_BASE_ADDRESS_BASE_IDX 0
utdebug.c (https://github.com/tiwai/sound.git) C · 611 lines
KaleoDefinitionLocalServiceWrapper.java (https://github.com/stevenjiancao/liferay-plugins.git) Java · 435 lines
102 *
103 * @param dynamicQuery the dynamic query
104 * @param start the lower bound of the range of model instances
105 * @param end the upper bound of the range of model instances (not inclusive)
106 * @return the range of matching rows
123 *
124 * @param dynamicQuery the dynamic query
125 * @param start the lower bound of the range of model instances
126 * @param end the upper bound of the range of model instances (not inclusive)
127 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
181 * </p>
182 *
183 * @param start the lower bound of the range of kaleo definitions
184 * @param end the upper bound of the range of kaleo definitions (not inclusive)
185 * @return the range of kaleo definitions
KBArticleLocalServiceWrapper.java (https://github.com/stevenjiancao/liferay-plugins.git) Java · 529 lines
103 *
104 * @param dynamicQuery the dynamic query
105 * @param start the lower bound of the range of model instances
106 * @param end the upper bound of the range of model instances (not inclusive)
107 * @return the range of matching rows
123 *
124 * @param dynamicQuery the dynamic query
125 * @param start the lower bound of the range of model instances
126 * @param end the upper bound of the range of model instances (not inclusive)
127 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
197 * </p>
198 *
199 * @param start the lower bound of the range of k b articles
200 * @param end the upper bound of the range of k b articles (not inclusive)
201 * @return the range of k b articles
CalendarResourceLocalServiceWrapper.java (https://github.com/stevenjiancao/liferay-plugins.git) Java · 400 lines
104 *
105 * @param dynamicQuery the dynamic query
106 * @param start the lower bound of the range of model instances
107 * @param end the upper bound of the range of model instances (not inclusive)
108 * @return the range of matching rows
125 *
126 * @param dynamicQuery the dynamic query
127 * @param start the lower bound of the range of model instances
128 * @param end the upper bound of the range of model instances (not inclusive)
129 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
200 * </p>
201 *
202 * @param start the lower bound of the range of calendar resources
203 * @param end the upper bound of the range of calendar resources (not inclusive)
204 * @return the range of calendar resources
CalendarBookingLocalService.java (https://github.com/stevenjiancao/liferay-plugins.git) Java · 327 lines
105 *
106 * @param dynamicQuery the dynamic query
107 * @param start the lower bound of the range of model instances
108 * @param end the upper bound of the range of model instances (not inclusive)
109 * @return the range of matching rows
123 *
124 * @param dynamicQuery the dynamic query
125 * @param start the lower bound of the range of model instances
126 * @param end the upper bound of the range of model instances (not inclusive)
127 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
189 * </p>
190 *
191 * @param start the lower bound of the range of calendar bookings
192 * @param end the upper bound of the range of calendar bookings (not inclusive)
193 * @return the range of calendar bookings
c35503c.ada (https://bitbucket.org/pizzafactory/pf-gcc.git) Ada · 543 lines
61 END IF;
62 IF INTEGER'IMAGE (-500)'FIRST /= 1 THEN
63 FAILED ( "INCORRECT LOWER BOUND FOR '-500'" );
64 END IF;
68 END IF;
69 IF NEWINT'IMAGE (2 ** 6)'FIRST /= 1 THEN
70 FAILED ( "INCORRECT LOWER BOUND FOR '2 ** 6'" );
71 END IF;
75 END IF;
76 IF NATURAL'IMAGE (-1E2)'FIRST /= 1 THEN
77 FAILED ( "INCORRECT LOWER BOUND FOR '-1E2'" );
78 END IF;
GrabKeyDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 544 lines
✨ Summary
This Java code creates a dialog for setting and managing keyboard shortcuts. It allows users to input a shortcut, check if it’s already in use, and override existing shortcuts. The dialog also includes options to remove an old shortcut, cancel changes, and confirm duplicate shortcuts. It uses a custom ActionHandler
class to handle user interactions and display error messages or confirmation prompts as needed.
This Java code creates a dialog for setting and managing keyboard shortcuts. It allows users to input a shortcut, check if it’s already in use, and override existing shortcuts. The dialog also includes options to remove an old shortcut, cancel changes, and confirm duplicate shortcuts. It uses a custom ActionHandler
class to handle user interactions and display error messages or confirmation prompts as needed.
Get_Class_Name.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 93 lines
BoyerMooreSearchMatcher.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 317 lines
✨ Summary
The provided Java code implements a Boyer-Moore string searching algorithm, which efficiently searches for a substring within a larger text. It uses a skip table to determine how many characters can be skipped when a mismatch occurs during the search process, allowing it to quickly move past irrelevant parts of the text and focus on more promising regions.
The provided Java code implements a Boyer-Moore string searching algorithm, which efficiently searches for a substring within a larger text. It uses a skip table to determine how many characters can be skipped when a mismatch occurs during the search process, allowing it to quickly move past irrelevant parts of the text and focus on more promising regions.
container.js (https://bitbucket.org/khuongduybui/openfisma.git) JavaScript · 1480 lines
166 */
167 addProperty: function ( key, propertyObject ) {
168 key = key.toLowerCase();
170 this.config[key] = propertyObject;
221 */
222 getProperty: function (key) {
223 var property = this.config[key.toLowerCase()];
224 if (property && property.event) {
225 return property.value;
236 */
237 resetProperty: function (key) {
238 key = key.toLowerCase();
240 var property = this.config[key];
wrapper.c (https://github.com/YokoZar/wine.git) C · 1126 lines
277 PCtxtHandle realCtxt = (PCtxtHandle)phContext->dwLower;
278 myCtxt.dwUpper = realCtxt->dwUpper;
279 myCtxt.dwLower = realCtxt->dwLower;
280 }
341 PCtxtHandle realCtxt = (PCtxtHandle)phContext->dwLower;
342 myCtxt.dwUpper = realCtxt->dwUpper;
343 myCtxt.dwLower = realCtxt->dwLower;
344 }
394 TRACE("realCtx: %p\n", realCtxt);
395 myCtxt.dwUpper = realCtxt->dwUpper;
396 myCtxt.dwLower = realCtxt->dwLower;
397 }
primitives.c (https://github.com/YokoZar/wine.git) C · 1484 lines
357 do_rop_8(ptr++, byte_and, byte_xor);
359 if(rc->right & 1) /* lower nibble untouched */
360 do_rop_8(ptr, byte_and | 0x0f, byte_xor & 0xf0);
361 }
658 {
659 /* FIXME: Two pixels at a time */
660 if(x & 1) /* lower dst nibble */
661 {
662 if(brush_x & 1) /* lower pat nibble */
673 else /* upper dst nibble */
674 {
675 if(brush_x & 1) /* lower pat nibble */
676 {
677 byte_and = (*and_ptr++ << 4) | 0x0f;
API-Types.js (https://github.com/drslump/titanium_desktop.git) JavaScript · 600 lines
254 value_of(b1.substring).should_be_function();
255 value_of(b1.substr).should_be_function();
256 value_of(b1.toLowerCase).should_be_function();
257 value_of(b1.toUpperCase).should_be_function();
258 value_of(b1.length).should_be(0);
272 value_of(b1.substring).should_be_function();
273 value_of(b1.substr).should_be_function();
274 value_of(b1.toLowerCase).should_be_function();
275 value_of(b1.toUpperCase).should_be_function();
276 value_of(b1.length).should_be(8);
562 value_of(blob.substring(10,0)).should_be("Mozilla");
563 },
564 test_blob_tolowercase: function()
565 {
566 var blob = Titanium.API.createBytes("Mozilla123!?");
fo_state.c (https://bitbucket.org/peixuan/chromium_r197479_base.git) C · 659 lines
test.c (https://github.com/zen-kernel/zen-kernel.git) C · 1696 lines
ta.es5.js (https://github.com/joomla/joomla-cms.git) JavaScript · 449 lines
64 "Disc": "\u0bb5\u0b9f\u0bcd\u0b9f\u0bc1",
65 "Square": "\u0b9a\u0ba4\u0bc1\u0bb0\u0bae\u0bcd",
66 "Lower Alpha": "\u0b95\u0bc0\u0bb4\u0bcd \u0b8e\u0bb4\u0bc1\u0ba4\u0bcd\u0ba4\u0bc1",
67 "Lower Greek": "\u0b95\u0bc0\u0bb4\u0bcd \u0b95\u0bbf\u0bb0\u0bc7\u0b95\u0bcd\u0b95\u0bae\u0bcd",
68 "Lower Roman": "\u0b95\u0bc0\u0bb4\u0bcd \u0bb0\u0bcb\u0bae\u0bbe\u0ba9\u0bbf\u0baf\u0bae\u0bcd",
69 "Upper Alpha": "\u0bae\u0bc7\u0bb2\u0bcd \u0b8e\u0bb4\u0bc1\u0ba4\u0bcd\u0ba4\u0bc1",
70 "Upper Roman": "\u0bae\u0bc7\u0bb2\u0bcd \u0bb0\u0bcb\u0bae\u0bbe\u0ba9\u0bbf\u0baf\u0bae\u0bcd",
406 "Insert\/edit iframe": "iframe \u0b9a\u0bc6\u0bb0\u0bc1\u0b95\u0bc1\u0b95\/\u0ba4\u0bca\u0b95\u0bc1\u0b95\u0bcd\u0b95",
407 "Capitalization": "\u0b8e\u0bb4\u0bc1\u0ba4\u0bcd\u0ba4\u0bbe\u0b95\u0bcd\u0b95\u0bae\u0bcd",
408 "lowercase": "\u0b9a\u0bbf\u0bb1\u0bcd\u0bb1\u0bc6\u0bb4\u0bc1\u0ba4\u0bcd\u0ba4\u0bc1",
409 "UPPERCASE": "\u0baa\u0bc7\u0bb0\u0bc6\u0bb4\u0bc1\u0ba4\u0bcd\u0ba4\u0bc1",
410 "Title Case": "\u0ba4\u0bb2\u0bc8\u0baa\u0bcd\u0baa\u0bc1 \u0bb5\u0b9f\u0bbf\u0bb5\u0bae\u0bcd",
api-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 3415 lines
pl-sql.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 398 lines
318 <KEYWORD2>LN</KEYWORD2>
319 <KEYWORD2>LOG</KEYWORD2>
320 <KEYWORD2>LOWER</KEYWORD2>
321 <KEYWORD2>LPAD</KEYWORD2>
322 <KEYWORD2>LTRIM</KEYWORD2>
327 <KEYWORD2>NLSSORT</KEYWORD2>
328 <KEYWORD2>NSL_INITCAP</KEYWORD2>
329 <KEYWORD2>NLS_LOWER</KEYWORD2>
330 <KEYWORD2>NLS_UPPER</KEYWORD2>
331 <KEYWORD2>NVL</KEYWORD2>
tip65.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 9 lines
✨ Summary
The HTML code explains how the ignore case
search and replace flag works in a text editor. When replacing occurrences of a search string, if the original occurrence is all lower case, upper case, or title case, the replacement string will be automatically converted to the relevant case when inserted into the buffer, but only if the replacement string itself is all-lower case.
The HTML code explains how the ignore case
search and replace flag works in a text editor. When replacing occurrences of a search string, if the original occurrence is all lower case, upper case, or title case, the replacement string will be automatically converted to the relevant case when inserted into the buffer, but only if the replacement string itself is all-lower case.
1 <html><body>The <b>ignore case</b> search and replace flag behaves
2 in an intelligent manner when replacing occurrences of the search string.
3 If the occurrence is all lower case, all upper case or title case,
4 the replace string will be converted into the relevant case when
5 inserted into the buffer.<p>
7 This automatic conversion is only performed if the replacement
8 string is all-lower case.</body></html>
test_chart2d.html
(http://enginey.googlecode.com/svn/trunk/)
HTML · 681 lines
✨ Summary
This HTML code generates a page with multiple charts, each rendered using JavaScript and a templating engine. The charts are defined as data objects in an array, which is then used to populate a template that creates a container for each chart. Each chart is assigned a unique ID and its corresponding data object is passed to the makeChart
function, which renders the chart using the Dojo library.
This HTML code generates a page with multiple charts, each rendered using JavaScript and a templating engine. The charts are defined as data objects in an array, which is then used to populate a template that creates a container for each chart. Each chart is assigned a unique ID and its corresponding data object is passed to the makeChart
function, which renders the chart using the Dojo library.
59 (new dojox.charting.Chart2D(node)).
60 setTheme(dojox.charting.themes.Tufte).
61 addAxis("x", { fixLower: "minor", fixUpper: "minor", natural: true }).
62 addAxis("y", { vertical: true, fixLower: "major", fixUpper: "major", includeZero: true }).
172 setTheme(dojox.charting.themes.PlotKit.cyan).
173 addAxis("x", {
174 fixLower: "minor", fixUpper: "minor"
175 }).
176 addAxis("y", {
177 vertical: true, fixLower: "minor", fixUpper: "minor"
178 }).
179 addSeries("Series A", [1, 2, 1, 2, 1, 2, 1]).
188 setTheme(dojox.charting.themes.PlotKit.green).
189 addAxis("x", {
190 fixLower: "major", fixUpper: "major"
191 }).
192 addAxis("y", {
omnimark.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 456 lines
OperatingSystem.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 191 lines
✨ Summary
This Java code defines an abstract class OperatingSystem
that provides a platform-independent interface for operating system-specific functionality, such as finding installation directories and creating scripts. It uses polymorphism to delegate tasks to concrete implementations (e.g., MacOS
, Unix
, Windows
) based on the underlying operating system.
This Java code defines an abstract class OperatingSystem
that provides a platform-independent interface for operating system-specific functionality, such as finding installation directories and creating scripts. It uses polymorphism to delegate tasks to concrete implementations (e.g., MacOS
, Unix
, Windows
) based on the underlying operating system.
75 public String getInstallDirectory(String name, String version)
76 {
77 return "/usr/local/share/" + name.toLowerCase()
78 + "/" + version;
79 }
90 // create app start script
91 String script = binDir + File.separatorChar
92 + name.toLowerCase();
94 // Delete existing copy
107 String jar = installDir + File.separator
108 + name.toLowerCase() + ".jar";
110 out.write("-jar \"" + jar + "\" $@\n");
GUIUtilities.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1516 lines
✨ Summary
This Java code is part of a text editor’s GUI implementation, providing utility methods for displaying icons, showing splash screens, and managing components in the editor’s window hierarchy. It loads icons from a resource directory, displays a splash screen during initialization, and advances its progress to indicate loading completion. The code also provides methods for checking if one component is an ancestor of another.
This Java code is part of a text editor’s GUI implementation, providing utility methods for displaying icons, showing splash screens, and managing components in the editor’s window hierarchy. It loads icons from a resource directory, displays a splash screen during initialization, and advances its progress to indicate loading completion. The code also provides methods for checking if one component is an ancestor of another.
315 if(index != -1 && label.length() - index > 1)
316 {
317 mnemonic = Character.toLowerCase(label.charAt(index + 1));
318 label = label.substring(0,index).concat(label.substring(++index));
319 }
861 String styleName = "view.style."
862 + Token.tokenToString((byte)i)
863 .toLowerCase();
864 styles[i] = GUIUtilities.parseStyle(
865 jEdit.getProperty(styleName),
XThis.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 195 lines
✨ Summary
This Java code extends the This
class to provide support for dynamic proxy mechanisms introduced in JDK1.3, allowing bsh scripted objects to implement arbitrary interfaces. It creates a cache of proxy interface handlers and provides an invocation handler that delegates method calls to the underlying interpreter. This enables scripting languages to interact with Java classes dynamically.
This Java code extends the This
class to provide support for dynamic proxy mechanisms introduced in JDK1.3, allowing bsh scripted objects to implement arbitrary interfaces. It creates a cache of proxy interface handlers and provides an invocation handler that delegates method calls to the underlying interpreter. This enables scripting languages to interact with Java classes dynamically.
writing-modes.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 910 lines
740 <para>Here is a <literal>SEQ_REGEXP</literal> rule from moin.xml that
741 uses the <literal>HASH_CHARS</literal> attribute, to describe a keyword
742 (wikiword) that can start with any uppercase letter and contain lower
743 case letters and at least one uppercase letter in the middle.</para>
744 <programlisting>
lisp.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1038 lines
tcl.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 683 lines
268 <KEYWORD2>label</KEYWORD2>
269 <KEYWORD2>listbox</KEYWORD2>
270 <KEYWORD2>lower</KEYWORD2>
271 <KEYWORD2>menu</KEYWORD2>
272 <KEYWORD2>menubutton</KEYWORD2>
427 <KEYWORD3>tail</KEYWORD3>
428 <KEYWORD3>tclversion</KEYWORD3>
429 <KEYWORD3>tolower</KEYWORD3>
430 <KEYWORD3>toupper</KEYWORD3>
431 <KEYWORD3>trim</KEYWORD3>
Grid.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 379 lines
✨ Summary
This JavaScript code defines a dojox.Grid
class, which is an alias for the existing dojox.Grid
class. It also provides a constructor function that creates a new instance of the grid and initializes its properties based on the provided options. The constructor checks if a model or structure is specified, and if not, it tries to automatically discover one from the HTML table element.
This JavaScript code defines a dojox.Grid
class, which is an alias for the existing dojox.Grid
class. It also provides a constructor function that creates a new instance of the grid and initializes its properties based on the provided options. The constructor checks if a model or structure is specified, and if not, it tries to automatically discover one from the HTML table element.
primitive.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 40 lines
✨ Summary
The code defines a JavaScript module for creating a primitive scaler in a charting library. It provides functions to build the scaler, ticks, and transformers from model and plot data. The scaler object is returned with its bounds and scale properties set. The transformer functions are used to map input values to output values based on the scaler’s settings.
The code defines a JavaScript module for creating a primitive scaler in a charting library. It provides functions to build the scaler, ticks, and transformers from model and plot data. The scaler object is returned with its bounds and scale properties set. The transformer functions are used to map input values to output values based on the scaler’s settings.
BshClassManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 353 lines
✨ Summary
This Java code defines a class called BshClassManager
that manages the loading of classes for a BeanShell scripting environment. It provides methods to add and remove listeners, reload classes, and set an external class loader. The class also maintains caches of loaded classes and provides methods to clear these caches.
This Java code defines a class called BshClassManager
that manages the loading of classes for a BeanShell scripting environment. It provides methods to add and remove listeners, reload classes, and set an external class loader. The class also maintains caches of loaded classes and provides methods to clear these caches.
cobol.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1002 lines
52 <KEYWORD1>ALPHABET</KEYWORD1>
53 <KEYWORD1>ALPHABETIC</KEYWORD1>
54 <KEYWORD1>ALPHABETIC-LOWER</KEYWORD1>
55 <KEYWORD1>ALPHABETIC-UPPER</KEYWORD1>
56 <KEYWORD1>ALPHANUMERIC</KEYWORD1>
362 <KEYWORD1>LOW-VALUE</KEYWORD1>
363 <KEYWORD1>LOW-VALUES</KEYWORD1>
364 <KEYWORD1>LOWER</KEYWORD1>
365 <KEYWORD1>LOWLIGHT</KEYWORD1>
671 <KEYWORD2>LOG</KEYWORD2>
672 <KEYWORD2>LOG10</KEYWORD2>
673 <KEYWORD2>LOWER-CASE</KEYWORD2>
674 <KEYWORD2>MAX</KEYWORD2>
675 <KEYWORD2>MEAN</KEYWORD2>
CssClassStore.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 170 lines
✨ Summary
This JavaScript code defines a store called dojox.data.CssClassStore
that provides information about CSS classes on a webpage. It allows users to get information about active CSS classes, filter out classes from specific stylesheets, and expose attributes such as class name and class without dot. The store can be used in conjunction with other Dojo stores to fetch and manipulate CSS class data.
This JavaScript code defines a store called dojox.data.CssClassStore
that provides information about CSS classes on a webpage. It allows users to get information about active CSS classes, filter out classes from specific stylesheets, and expose attributes such as class name and class without dot. The store can be used in conjunction with other Dojo stores to fetch and manipulate CSS class data.
macro-tips.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 982 lines
ShortcutsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 443 lines
✨ Summary
This Java code creates a graphical user interface (GUI) for managing shortcuts in an application. It allows users to add, edit, and delete shortcuts, with options to customize their names and shortcuts. The GUI displays a table of existing shortcuts, enabling users to modify them as needed. The code also saves changes to the shortcuts when the user clicks “OK”.
This Java code creates a graphical user interface (GUI) for managing shortcuts in an application. It allows users to add, edit, and delete shortcuts, with options to customize their names and shortcuts. The GUI displays a table of existing shortcuts, enabling users to modify them as needed. The code also saves changes to the shortcuts when the user clicks “OK”.
173 public String prepareFilter(String filter)
174 {
175 return filter.toLowerCase();
176 }
179 public boolean passFilter(int row, String filter)
180 {
181 String name = delegated.getBindingAt(row, 0).label.toLowerCase();
182 return name.contains(filter);
183 }
408 public int compare(GrabKeyDialog.KeyBinding[] k1, GrabKeyDialog.KeyBinding[] k2)
409 {
410 String label1 = k1[0].label.toLowerCase();
411 String label2 = k2[0].label.toLowerCase();
AbbrevsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 510 lines
✨ Summary
This Java code defines a GUI application for managing abbreviations and expansions. It creates a table model to display abbreviations and their corresponding expansions, with options to add, remove, and sort entries. The data is stored in a hash table for efficient lookup. The application uses a custom compare class to sort the data alphabetically by abbreviation or expansion.
This Java code defines a GUI application for managing abbreviations and expansions. It creates a table model to display abbreviations and their corresponding expansions, with options to add, remove, and sort entries. The data is stored in a hash table for efficient lookup. The application uses a custom compare class to sort the data alphabetically by abbreviation or expansion.
324 // workaround for Swing's annoying processing of
325 // labels starting with <html>, which often breaks
326 if(valueStr.toLowerCase().startsWith("<html>"))
327 valueStr = " " + valueStr;
328 return super.getTableCellRendererComponent(table,valueStr,
476 if(col == 0)
477 {
478 String abbrev1 = a1.abbrev.toLowerCase();
479 String abbrev2 = a2.abbrev.toLowerCase();
484 else
485 {
486 String expand1 = a1.expand.toLowerCase();
487 String expand2 = a2.expand.toLowerCase();
TextUtilities.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 714 lines
✨ Summary
This Java code provides various string manipulation and formatting functions, including:
- String case detection (mixed, lower case, upper case, title case)
- String conversion to title case
- Line wrapping and formatting for text with a specified maximum line length
- Leading whitespace trimming and calculation
- Tokenization of strings into words
These functions can be used in various applications, such as text editing or formatting.
This Java code provides various string manipulation and formatting functions, including:
- String case detection (mixed, lower case, upper case, title case)
- String conversion to title case
- Line wrapping and formatting for text with a specified maximum line length
- Leading whitespace trimming and calculation
- Tokenization of strings into words
These functions can be used in various applications, such as text editing or formatting.
597 //{{{ getStringCase() method
598 public static final int MIXED = 0;
599 public static final int LOWER_CASE = 1;
600 public static final int UPPER_CASE = 2;
601 public static final int TITLE_CASE = 3;
603 /**
604 * Returns if the specified string is all upper case, all lower case,
605 * or title case (first letter upper case, rest lower case).
620 state = UPPER_CASE;
621 else
622 state = LOWER_CASE;
623 }
632 {
633 case UPPER_CASE:
634 if(Character.isLowerCase(ch))
635 {
636 if(i == 1)
regexps.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 132 lines
61 <listitem><para><literal>[:digit:]</literal> A decimal digit</para></listitem>
62 <listitem><para><literal>[:graph:]</literal> A non-space, non-control character</para></listitem>
63 <listitem><para><literal>[:lower:]</literal> A lowercase letter</para></listitem>
64 <listitem><para><literal>[:print:]</literal> Same as <literal>[:graph:]</literal>, but also space and tab</para></listitem>
65 <listitem><para><literal>[:punct:]</literal> A punctuation character</para></listitem>
ActionBar.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 555 lines
✨ Summary
This Java code implements a custom text input field with auto-completion functionality. It creates a window that displays a list of possible completions when the user types a few characters, and allows the user to select one from the list. The input field also handles keyboard events, such as pressing Enter or Tab, to invoke completion suggestions or focus on the input field.
This Java code implements a custom text input field with auto-completion functionality. It creates a window that displays a list of possible completions when the user types a few characters, and allows the user to select one from the list. The input field also handles keyboard events, such as pressing Enter or Tab, to invoke completion suggestions or focus on the input field.
214 private String[] getCompletions(String str)
215 {
216 str = str.toLowerCase();
217 String[] actions = jEdit.getActionNames();
218 ArrayList returnValue = new ArrayList(actions.length);
219 for(int i = 0; i < actions.length; i++)
220 {
221 if(actions[i].toLowerCase().indexOf(str) != -1)
222 returnValue.add(actions[i]);
223 }
lua.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 235 lines
RETokenChar.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 73 lines
✨ Summary
This Java class, RETokenChar
, represents a single character token in a regular expression. It extends the REToken
class and provides methods for matching characters against input strings, chaining tokens together, and dumping the token’s contents to a string buffer. The class is designed to optimize performance when working with strings.
This Java class, RETokenChar
, represents a single character token in a regular expression. It extends the REToken
class and provides methods for matching characters against input strings, chaining tokens together, and dumping the token’s contents to a string buffer. The class is designed to optimize performance when working with strings.
entry-macro.S
(http://omnia2droid.googlecode.com/svn/trunk/)
Assembly · 48 lines
✨ Summary
This Assembly code defines macros for handling interrupts on IXP4xx-based platforms. It retrieves the interrupt status register, checks if an upper IRQ is present, and calculates the IRQ number based on the lower and upper IRQs. The macros are designed to work with different CPU models (IXP46X and IXP43X) that have varying interrupt configurations.
This Assembly code defines macros for handling interrupts on IXP4xx-based platforms. It retrieves the interrupt status register, checks if an upper IRQ is present, and calculates the IRQ number based on the lower and upper IRQs. The macros are designed to work with different CPU models (IXP46X and IXP43X) that have varying interrupt configurations.
RecentFilesProvider.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 194 lines
✨ Summary
This Java code implements a menu provider for a text editor, specifically a “Recent Files” menu. It displays a list of recently opened files and allows users to navigate through them by typing file names in a search field. The menu also includes options to clear the recent files history and sort the list alphabetically.
This Java code implements a menu provider for a text editor, specifically a “Recent Files” menu. It displays a list of recently opened files and allows users to navigate through them by typing file names in a search field. The menu also includes options to clear the recent files history and sort the list alphabetically.