100+ results for 'i++; source:GoogleCode'
Not the results you expected?
string.cpp (http://itexmacs.googlecode.com/svn/trunk/) C++ · 406 lines
204 int i=0, n=N(s), val=0;
205 if (n==0) return 0;
206 if (s[0]=='-') i++;
207 while (i<n) {
208 if (s[i]<'0') break;
210 val *= 10;
211 val += (int) (s[i]-'0');
212 i++;
213 }
214 if (s[0]=='-') val=-val;
283 int i=0, n=N(s);
284 if (n==0) return false;
285 if (s[i]=='+') i++;
286 if (s[i]=='-') i++;
295 int i=0, n=N(s);
296 if (n==0) return false;
297 if (s[i]=='+') i++;
298 if (s[i]=='-') i++;
grdiff.c (http://archfs.googlecode.com/svn/trunk/) C · 351 lines
modern_xptheme.cpp (http://miranda-dev.googlecode.com/svn/trunk/) C++ · 270 lines
VCensor.cs (http://pako.googlecode.com/svn/trunk/) C# · 230 lines
GeneralAlgorithm.cs (http://thoikhoabieu.googlecode.com/svn/) C# · 320 lines
IRNR.java (https://code.google.com/p/voteutil/) Java · 334 lines
28 for ( int i = 0; i < argv.length; i++ ) {
29 if ( argv[i].equals( "track" ) ) {
30 i++;
31 voterToTrack = Integer.parseInt( argv[i] );
32 } else if ( argv[i].equals( "show" ) ) {
299 actives[i] = (boolean[])debugHistory.elementAt( i * 2 );
300 tallies[i] = (double[]) debugHistory.elementAt( i * 2 + 1 );
301 i++;
302 }
303 StringBuffer toret = new StringBuffer( 2048 );
PanelGridRenderer.java (http://primefaces.googlecode.com/svn/primefaces/trunk/) Java · 318 lines
132 writer.endElement("td");
134 i++;
135 colMod = i % columns;
150 String rowStyleClass = i % 2 == 0 ? PanelGrid.TABLE_ROW_CLASS + " " + PanelGrid.EVEN_ROW_CLASS : PanelGrid.TABLE_ROW_CLASS + " " + PanelGrid.ODD_ROW_CLASS;
151 encodeRow(context, (Row) child, "gridcell", rowStyleClass, PanelGrid.CELL_CLASS);
152 i++;
153 }
154 else {
235 writer.endElement("div");
237 i++;
238 colMod = i % columns;
data_cache.cpp (http://itexmacs.googlecode.com/svn/trunk/) C++ · 252 lines
181 while (i<n) {
182 int start= i;
183 while (i<n && cached[i] != '\n') i++;
184 string key= cached (start, i);
185 i++; start= i;
186 while (i<n && (cached[i] != '\n' ||
187 !test (cached, i+1, "%-%-tm-cache-%-%"))) i++;
188 string im= cached (start, i);
189 i++;
190 while (i<n && cached[i] != '\n') i++;
191 i++;
proto.t (http://perl5005.googlecode.com/svn/trunk/) Perl · 459 lines
ggg.cpp (http://barcodegui.googlecode.com/svn/trunk/) C++ · 312 lines
DiscoCB.cs (http://pako.googlecode.com/svn/trunk/) C# · 182 lines
KLubCmpl_Blocker.cpp (http://mmo-resourse.googlecode.com/svn/) C++ · 519 lines
DataObject.java (http://jumpwisely.googlecode.com/svn/) Java · 288 lines
ARGB.as (http://templelibrary.googlecode.com/svn/trunk/) ActionScript · 213 lines
Traffic.pm (http://guanoo.googlecode.com/svn/trunk/) Perl · 270 lines
ArrayExtensions.as (http://breaktrycatchrepo.googlecode.com/svn/trunk/) ActionScript · 313 lines
FormEnumViewer.cs (http://cellengine.googlecode.com/svn/trunk/) C# · 414 lines
Stats.cs (http://xe8tmw7c.googlecode.com/svn/) C# · 316 lines
ListeAchatMarcheControleur.php (http://zeybux.googlecode.com/svn/trunk/) PHP · 269 lines
Strings.java (http://bitcoinspinner.googlecode.com/svn/trunk/) Java · 247 lines
TopicAssocDep.java (http://ontopia.googlecode.com/svn/trunk/) Java · 399 lines
splitReps.c (http://dgpu-ep-htsr-a.googlecode.com/svn/trunk/) C · 441 lines
l_memory.c (http://bzzwolfmp.googlecode.com/svn/trunk/) C · 447 lines
ConsultationResultsTag.java (https://code.google.com/p/fsnet/) Java · 273 lines
AbstractArgMultiple.java (http://symja.googlecode.com/svn/trunk/) Java · 262 lines
LexLisp.cxx (http://anotherclojurebox.googlecode.com/svn/trunk/) C++ · 549 lines
209 } else if (state == SCE_LISP_MULTI_COMMENT) {
210 if (ch == '|' && chNext == '#') {
211 i++;
212 chNext = styler.SafeGetCharAt(i + 1);
213 styler.ColourTo(i, state);
217 if (ch == '\\') {
218 if (chNext == '\"' || chNext == '\'' || chNext == '\\') {
219 i++;
220 chNext = styler.SafeGetCharAt(i + 1);
221 }
389 if (ch == '\\') {
390 if (chNext == '\"' || chNext == '\'' || chNext == '\\') {
391 i++;
392 chNext = styler.SafeGetCharAt(i + 1);
393 }
UCCategory.ascx (http://lefter.googlecode.com/svn/trunk/) ASP.NET · 509 lines
SVMNetworkPersistor.cs (http://encog-cs.googlecode.com/svn/trunk/) C# · 433 lines
WtCookie.c (http://mod-wtcl.googlecode.com/svn/trunk/) C · 926 lines
279 break;
280 } else {
281 i++;
282 }
283 } else if (!strcmp(argStr, "-domain")) {
289 } else {
290 WtCookieSetDomain(cookie, objv[i + 1], interp);
291 i++;
292 }
293 } else if (!strcmp(argStr, "-path")) {
299 } else {
300 WtCookieSetPath(cookie, objv[i + 1], interp);
301 i++;
302 }
303 } else if (!strcmp(argStr, "-secure")) {
orden.php (http://mierdaselfservice-sisvox.googlecode.com/svn/trunk/) PHP · 207 lines
43 <b><?php echo $lista_productos[$i][1]." - ".$lista_productos[$i][2]; ?></b>
44 <br>
45 <?php echo $lista_productos[$i][4]." BsF."; $i++;?>
46 </td>
47 </tr>
64 </tr>
65 <?php
66 $i++;
67 }
68 ?>
126 while ($i < sizeof($lista_estados)){
127 echo '<option value="'.$lista_estados[$i][0].'">'.$lista_estados[$i][1].'</option>';
128 $i++;
129 }
130 ?>
LSOOptimizer.cs (http://lsotool.googlecode.com/svn/trunk/) C# · 388 lines
MainView.java (http://gflot.googlecode.com/svn/trunk/) Java · 422 lines
Container.java (http://phantom-labs-mc.googlecode.com/svn/trunk/) Java · 424 lines
growTree.c (https://code.google.com/p/poy/) C · 1008 lines
binencode.c (https://code.google.com/p/poy/) C · 620 lines
Validate.inc (https://code.google.com/p/ztitools/) PHP · 862 lines
ChunkProviderHell.java (http://phantom-labs-mc.googlecode.com/svn/trunk/) Java · 552 lines
BlockChest.java (http://phantom-labs-mc.googlecode.com/svn/trunk/) Java · 634 lines
JavaCharStream.java (http://antonyminijava.googlecode.com/svn/trunk/) Java · 617 lines
MemSearch.cs (http://geckowii.googlecode.com/svn/trunk/) C# · 1996 lines
ri_geometry.cpp (https://code.google.com/p/kaze-renderer/) C++ · 1469 lines
EDIT.C (http://thai-writer.googlecode.com/svn/trunk/TW/) C · 781 lines
TclElastomericBearingCommand.cpp (https://code.google.com/p/opensees-websocket/) C++ · 459 lines
VectorPath.hx (http://aggx.googlecode.com/svn/trunk/) Haxe · 553 lines
338 _vertices.modifyVertex(pathId, x.value, y.value);
339 }
340 i++;
341 }
342 }
373 _vertices.getVertex(start + (i + 1) % np, x2, y2);
374 area += x1.value * y2.value - y1.value * x2.value;
375 i++;
376 }
377 return (area < 0.0) ? PathFlags.CW : PathFlags.CCW;
402 {
403 _vertices.modifyCommand(i, _vertices.getCommand(i + 1));
404 i++;
405 }
frmThemCapNhatHangHangKhong.cs (http://qtcs-1041358-1041376-1041378.googlecode.com/svn/trunk/) C# · 301 lines
FakeNode.java (http://ideah.googlecode.com/svn/trunk/) Java · 455 lines
cv.js (https://code.google.com/p/fsnet/) JavaScript · 554 lines
GreatestCommonDivisorAbstract.java (http://symja.googlecode.com/svn/trunk/) Java · 1037 lines
HNauty.pm (https://code.google.com/p/bionetgen/) Perl · 1011 lines
sources.js (http://simile-widgets.googlecode.com/svn/) JavaScript · 289 lines
Iteration.java (http://sourcebox.googlecode.com/svn/trunk/) Java · 1038 lines
decoder_modulation.c (http://project-static.googlecode.com/svn/trunk/) C · 1086 lines
Expression.java.html (https://code.google.com/p/doubleko/) HTML · 154 lines
54 <font color="#ffff00"><b> 43 </b></font> } <br>
55 <font color="#ffff00"><b> 44 </b></font> flag = <font color="#ff40ff"><b>true</b></font>; <br>
56 <font color="#ffff00"><b> 45 </b></font> i++; <br>
57 <font color="#ffff00"><b> 46 </b></font> } <font color="#ffffff"><b>else</b></font> { <br>
58 <font color="#ffff00"><b> 47 </b></font> flag = <font color="#ff40ff"><b>false</b></font>; <br>
61 <font color="#ffff00"><b> 50 </b></font> op.push(ch); <br>
62 <font color="#ffff00"><b> 51 </b></font> System.out.println(<font color="#ff40ff"><b>"push:"</b></font>+op.peek());<br>
63 <font color="#ffff00"><b> 52 </b></font> i++; <br>
64 <font color="#ffff00"><b> 53 </b></font> <font color="#ffffff"><b>break</b></font>; <br>
65 <font color="#ffff00"><b> 54 </b></font> <font color="#ffff00"><b>case</b></font> <font color="#ff40ff"><b>'='</b></font>: <br>
66 <font color="#ffff00"><b> 55 </b></font> System.out.println(<font color="#ff40ff"><b>"pop:"</b></font>+op.peek());<br>
67 <font color="#ffff00"><b> 56 </b></font> op.pop(); <br>
68 <font color="#ffff00"><b> 57 </b></font> i++; <br>
69 <font color="#ffff00"><b> 58 </b></font> <font color="#ffffff"><b>break</b></font>; <br>
70 <font color="#ffff00"><b> 59 </b></font> <font color="#ffff00"><b>case</b></font> <font color="#ff40ff"><b>'>'</b></font>: <br>
SCOList.java (http://jdbcperf.googlecode.com/svn/trunk/) Java · 633 lines
XmlParsing.java (http://fbdtoverilog.googlecode.com/svn/trunk/) Java · 522 lines
XMLite.cpp (http://wiredplane-wintools.googlecode.com/svn/trunk/) C++ · 2239 lines
chanInterference.pl (http://uu-cope.googlecode.com/svn/trunk/) Perl · 314 lines
61 print Destination 'v -t ', @fields[1], ' -e sim_annotation ', @fields[1],' ', $i,' NODE 2 MOVES ',"\n";
62 $last_time = @fields[1]+0.00005;
63 $i++;
64 if ($num_mov == 0)
65 {
74 print Destination 'v -t ', $last_time,' -e sim_annotation ', $last_time,' ',$i,' Node 2 is in range of Node 1, close enough to',"\n";
75 $last_time = $last_time + 0.00005;
76 $i++;
77 print Destination 'v -t ',$last_time,' -e sim_annotation ',$last_time,' ',$i,' interfere with Node 0 but not the same distance as Node 0 from Node 1',"\n";
78 }
79 $i++;
81 $num_mov ++;
rts-cts-data-ack.pl (http://uu-cope.googlecode.com/svn/trunk/) Perl · 511 lines
87 {
88 print Destination 'v -t ', @fields[1], ' -e sim_annotation ', @fields[1], ' ', $i, ' NODE MOVES : Sender nodes can hear both RTS and CTS ', "\n";
89 $i++;
90 }
91 elsif ($num_mov == 2)
92 {
93 print Destination 'v -t ', @fields[1], ' -e sim_annotation ', @fields[1], ' ', $i, ' NODE MOVES : Sender nodes can hear CTS but not RTS', "\n";
94 $i++;
95 }
96 $line = <Source>;
111 $come = 1;
112 print Destination 'v -t ', @fields[1], ' -e sim_annotation ', @fields[1], ' ', $i, ' CASE 1 : NO CONTENTION. ', "\n";
113 $i++;
114 @fields[1] = @fields[1] + 0.00005;
115 print Destination 'v -t ', @fields[1], ' -e sim_annotation ', @fields[1], ' ', $i, ' Only one node sends data, it does a simple RTS-CTS_DATA-ACK exchange ', "\n";
base.item.content.class.php (http://php-ppcms.googlecode.com/svn/trunk/) PHP · 849 lines
base.item.type.class.php (http://php-ppcms.googlecode.com/svn/trunk/) PHP · 523 lines
127 }
128 $query_order_str .= " " . $v . " " . $as;
129 $i++;
130 }
131 } else {
415 }
416 $query_str .= " " . $this->prefix . $field . " like '%" . $filter['keyword'] . "%' ";
417 $i++;
418 }
419 $query_str .= " ) ";
479 }
480 $query .= (($p == '') ? '' : $p . ".") . $this->prefix . "type = '" . $v . "' ";
481 $i++;
482 }
483 }
base.item.description.class.php (http://php-ppcms.googlecode.com/svn/trunk/) PHP · 402 lines
base.item.join.class.php (http://php-ppcms.googlecode.com/svn/trunk/) PHP · 509 lines
base.item.user.class.php (http://php-ppcms.googlecode.com/svn/trunk/) PHP · 501 lines
base.item.bind.class.php (http://php-ppcms.googlecode.com/svn/trunk/) PHP · 566 lines
CombineEngine.java (http://fbdtoverilog.googlecode.com/svn/trunk/) Java · 361 lines
QuickCached.java (http://quickcached.googlecode.com/svn/trunk/) Java · 143 lines
HuffmanTable.cs
(http://s5230wallpapercreator.googlecode.com/svn/trunk/)
C# · 488 lines
✨ Summary
This is a C# class that encodes and decodes JPEG images using the Huffman coding technique. It takes in a byte array representing the image data and returns a new byte array with the encoded image data. The class also has methods for initializing the Huffman coding tables and encoding/decoding individual blocks of pixels.
This is a C# class that encodes and decodes JPEG images using the Huffman coding technique. It takes in a byte array representing the image data and returns a new byte array with the encoded image data. The class also has methods for initializing the Huffman coding tables and encoding/decoding individual blocks of pixels.
CSSSelector.java
(http://mt4j.googlecode.com/svn/trunk/)
Java · 756 lines
✨ Summary
This Java code is a CSS selector parser for a graphical user interface (GUI) framework, likely used to style components in a web application. It checks if an object’s name or ID matches a given CSS selector, and returns true if it does, indicating that the component can be styled with that selector.
This Java code is a CSS selector parser for a graphical user interface (GUI) framework, likely used to style components in a web application. It checks if an object’s name or ID matches a given CSS selector, and returns true if it does, indicating that the component can be styled with that selector.
Logical.cs
(http://deveeldb.googlecode.com/svn/trunk/)
C# · 802 lines
✨ Summary
The provided C# code calculates the bitwise XOR of two integers, a
and b
, using a recursive approach with memoization to optimize performance. It returns the result as a new integer object. The code handles edge cases such as zero inputs and negative numbers, and it uses bitwise operations to minimize calculations.
The provided C# code calculates the bitwise XOR of two integers, a
and b
, using a recursive approach with memoization to optimize performance. It returns the result as a new integer object. The code handles edge cases such as zero inputs and negative numbers, and it uses bitwise operations to minimize calculations.
73 resDigits[i] = val.digits[i] + val.sign;
74 // Copying the remaining unchanged digit
75 for (i++; i < val.numberLength; i++) {
76 resDigits[i] = val.digits[i];
77 }
147 if (i == iNeg) {
148 resDigits[i] = -negative.digits[i] & positive.digits[i];
149 i++;
150 }
151 int limit = System.Math.Min(negative.numberLength, positive.numberLength);
190 }
191 if (digit == 0) {
192 for (i++; i < shorter.numberLength && (digit = ~(longer.digits[i] | shorter.digits[i])) == 0; i++)
193 ; // digit = ~longer.digits[i] & ~shorter.digits[i]
194 if (digit == 0) {
a_env.cpp
(https://code.google.com/p/csvfix/)
C++ · 498 lines
✨ Summary
This C++ code defines classes and functions for working with command-line environment variables, such as parsing flags, storing values, and retrieving them. It provides a way to access environment variables in a program, including checking if they exist and getting their values. The code is part of a larger project, likely a build system or compiler, and is used to manage command-line options and file paths.
This C++ code defines classes and functions for working with command-line environment variables, such as parsing flags, storing values, and retrieving them. It provides a way to access environment variables in a program, including checking if they exist and getting their values. The code is part of a larger project, likely a build system or compiler, and is used to manage command-line options and file paths.
CoreFeaturesTest.cs
(https://code.google.com/p/dataobjectsdotnet/)
C# · 0 lines
✨ Summary
This C# code tests the performance of various data structures (arrays, dictionaries) under different conditions (filling, reading, enumerating). It measures the time taken for each operation and displays the results in a readable format, allowing developers to compare the efficiency of their chosen data structure. The output provides insight into how different operations affect the performance of each data structure.
This C# code tests the performance of various data structures (arrays, dictionaries) under different conditions (filling, reading, enumerating). It measures the time taken for each operation and displays the results in a readable format, allowing developers to compare the efficiency of their chosen data structure. The output provides insight into how different operations affect the performance of each data structure.
filequeue.php
(http://creative-portal.googlecode.com/svn/trunk/)
PHP · 693 lines
✨ Summary
This PHP code generates a web page for managing a file queue, allowing administrators to view and edit files uploaded to the system. It displays a list of files with their upload time, category, and title, along with options to edit each file’s details. The page also includes links to add new files and refresh the content.
This PHP code generates a web page for managing a file queue, allowing administrators to view and edit files uploaded to the system. It displays a list of files with their upload time, category, and title, along with options to edit each file’s details. The page also includes links to add new files and refresh the content.
This PHP code generates a web page for managing a file queue, allowing administrators to view and edit files uploaded to the system. It displays a list of files with their upload time, category, and title, along with options to edit each file’s details. The page also includes links to add new files and refresh the content.
This PHP code generates a web page for managing a file queue, allowing administrators to view and edit files uploaded to the system. It displays a list of files with their upload time, category, and title, along with options to edit each file’s details. The page also includes links to add new files and refresh the content.
Sigslot.h (http://sumatrapdf.googlecode.com/svn/trunk/) C Header · 1861 lines
GeometryConverterToGeoAPI.cs (http://nettopologysuite.googlecode.com/svn/trunk/) C# · 583 lines
419 //if (shape.HasM()) c.M = shape.M[i];
420 if (shape.HasZ()) c.Z = shape.Z[i];
421 i++;
422 }
423 }
448 //if (shape.HasM()) c.M = M[i];
449 if (shape.HasZ()) c.Z = shape.Z[i];
450 i++;
451 }
452 lines.Add(factory.CreateLineString(coords.ToArray()));
485 //if (shape.HasM()) c.M = M[i];
486 if (shape.HasZ()) c.Z = shape.Z[i];
487 i++;
488 coords.Add(c);
489 }
MarcheValid.js (http://zeybux.googlecode.com/svn/trunk/) JavaScript · 134 lines
ProduitMarcheValid.php (http://zeybux.googlecode.com/svn/trunk/) PHP · 546 lines
DetailReservationMarcheValid.php (http://zeybux.googlecode.com/svn/trunk/) PHP · 454 lines
ListeProduitValid.php (http://zeybux.googlecode.com/svn/trunk/) PHP · 583 lines
x86func.cpp (http://asmjit.googlecode.com/svn/trunk/) C++ · 646 lines
testcp.cs (http://or-tools.googlecode.com/svn/trunk/) C# · 461 lines
MFView.cs (http://my-films.googlecode.com/svn/) C# · 606 lines
Pivot.php (http://openbiz-cubi.googlecode.com/svn/trunk/) PHP · 531 lines
162 case 1:
163 foreach ($tmp as $p0 => $p0Values) {
164 @$i++;
165 $_out = $_lineTotal = array();
166 $_out[self::_ID] = ++$cont;
270 $_out[$pivotOn] = null;
271 }
272 $i++;
273 }
274 foreach ($p0Total as $split => $values) {
362 $_out[$pivotOn] = null;
363 }
364 $i++;
365 }
366 foreach ($p0Total as $split => $values) {
qiterator.h (https://code.google.com/p/phantomjs/) C Header · 192 lines
63 inline void toBack() { i = c.constEnd(); } \
64 inline bool hasNext() const { return i != c.constEnd(); } \
65 inline const T &next() { return *i++; } \
66 inline const T &peekNext() const { return *i; } \
67 inline bool hasPrevious() const { return i != c.constBegin(); } \
97 inline void toBack() { i = c->end(); n = i; } \
98 inline bool hasNext() const { return c->constEnd() != const_iterator(i); } \
99 inline T &next() { n = i++; return *n; } \
100 inline T &peekNext() const { return *i; } \
101 inline bool hasPrevious() const { return c->constBegin() != const_iterator(i); } \
133 inline void toBack() { i = c.constEnd(); n = c.constEnd(); } \
134 inline bool hasNext() const { return i != c.constEnd(); } \
135 inline Item next() { n = i++; return n; } \
136 inline Item peekNext() const { return i; } \
137 inline bool hasPrevious() const { return i != c.constBegin(); } \
longlong.cpp (http://dynamica.googlecode.com/svn/trunk/) C++ · 1364 lines
ocr-classify-zones.cc (https://code.google.com/p/ocropus/) C++ · 696 lines
14 while(i < MAX_LEN) {
15 histogram_comp(j) = histogram(i);
16 i++;
17 if(i > COMP_START){
18 m = min(MAX_LEN, m+k);
19 while(i < m){
20 histogram_comp(j)+= histogram(i);
21 i++;
22 }
23 k = COMP_LEN_INC_A * k + COMP_LEN_INC_B;
47 while(i < MAX_LEN) {
48 histogram_2D_comp(n,j) = histogram_2D(n,i);
49 i++;
50 if(i > COMP_START) {
51 m = min(MAX_LEN, m+k);
ps_product.inc (http://phpshop.googlecode.com/svn/trunk/) PHP · 784 lines
196 $i = 0;
197 while($db->next_record()) {
198 $i++;
199 $q2 = "INSERT INTO product_attribute ";
200 $q2 .= "(product_id,attribute_name,attribute_value) ";
280 $i = 0;
281 while($db->next_record()) {
282 $i++;
283 $q2 = "UPDATE product_attribute SET ";
284 $q2 .= "attribute_value='" . $d["attribute_$i"] . "' ";
506 while($db->next_record()) {
507 $list[$i] = $db->f("product_id");
508 $i++;
509 }
510 return $list;
ebpls.global.db.funcs.php
(http://ebpls.googlecode.com/svn/trunk/)
PHP · 488 lines
✨ Summary
This PHP code is part of a larger system for managing business transactions and tax fees. It provides functions for creating and updating records in various tables, such as ebpls_business_nature
, ebpls_tax_fee_table
, and ebpls_transaction_payables
. The code handles data validation, error handling, and database interactions to ensure accurate and consistent data storage.
This PHP code is part of a larger system for managing business transactions and tax fees. It provides functions for creating and updating records in various tables, such as ebpls_business_nature
, ebpls_tax_fee_table
, and ebpls_transaction_payables
. The code handles data validation, error handling, and database interactions to ensure accurate and consistent data storage.
ArrayDescriptor.cs (http://zeroflag.googlecode.com/svn/trunk/) C# · 277 lines
ImageUtils.java (http://breaktrycatchrepo.googlecode.com/svn/trunk/) Java · 312 lines
dotest.cpp (http://stuffpack.googlecode.com/svn/) C++ · 383 lines
GroebnerBasePseudoRecSeq.java (http://symja.googlecode.com/svn/trunk/) Java · 254 lines
LexCrontab.cxx (http://commitmonitor.googlecode.com/svn/trunk/) C++ · 227 lines
Matrix.java (http://jvmnotebook.googlecode.com/svn/trunk/) Java · 1612 lines
clsDataTable.cs (http://inferno4proteomics.googlecode.com/svn/trunk/) C# · 742 lines
86 {
87 excelSheets[i] = row["TABLE_NAME"].ToString();
88 i++;
89 }
90 string sheetCmd = "SELECT * FROM [" + excelSheets[0] +"]"; //read the first table
196 {
197 excelSheets[i] = row["TABLE_NAME"].ToString();
198 i++;
199 }
200 string sheetCmd = "SELECT * FROM [" + excelSheets[0] + "]"; //read the first table
296 mstrSheet = row["TABLE_NAME"].ToString();
297 marrExcelSheets.Add(mstrSheet);
298 i++;
299 }
300 frmSelectExcelSheet mfrmSheets = new frmSelectExcelSheet();
ShapeUtil.java (http://rugl.googlecode.com/svn/trunk/) Java · 1137 lines
xnoise-markup-node.vala (https://code.google.com/p/xnoise/) Vala · 500 lines
chinese.class.php (http://ownerpress.googlecode.com/svn/trunk/) PHP · 255 lines
DlgAddNode.cpp (http://mmo-resourse.googlecode.com/svn/) C++ · 315 lines
LexYAML.cpp
(http://qtluapad.googlecode.com/svn/trunk/)
C++ · 315 lines
✨ Summary
This C++ code defines a lexer module for parsing YAML (YAML Ain’t Markup Language) syntax. It includes functions for tokenizing input, coloring output, and folding comments to improve readability. The ColouriseYAMLDoc
function colors the output based on the parsed tokens, while FoldYAMLDoc
folds comments together to reduce clutter. The lexer module is registered with a name “yaml” for use in a larger text processing system.
This C++ code defines a lexer module for parsing YAML (YAML Ain’t Markup Language) syntax. It includes functions for tokenizing input, coloring output, and folding comments to improve readability. The ColouriseYAMLDoc
function colors the output based on the parsed tokens, while FoldYAMLDoc
folds comments together to reduce clutter. The lexer module is registered with a name “yaml” for use in a larger text processing system.
88 // Skip initial spaces
89 while ((i < lengthLine) && lineBuffer[i] == ' ') { // YAML always uses space, never TABS or anything else
90 i++;
91 }
92 if (lineBuffer[i] == '\t') { // if we skipped all spaces, and we are NOT inside a text block, this is wrong
106 styler.ColourTo(startLine + i, SCE_YAML_OPERATOR);
107 // Non-folding scalar
108 i++;
109 while ((i < lengthLine) && isspacechar(lineBuffer[i]))
110 i++;
114 lineBuffer[endValue + 1] = '\0';
115 if (lineBuffer[i] == '|' || lineBuffer[i] == '>') {
116 i++;
117 if (lineBuffer[i] == '+' || lineBuffer[i] == '-')
118 i++;
GTMUIKit+UnitTesting.m
(git://github.com/route-me/route-me.git)
Objective C · 122 lines
✨ Summary
This Objective-C code provides a category for UIView
and UIImage
to make unit testing of graphics/UI easier. It allows saving a view’s representation as an image file, comparing views with previously stored representations, and encoding the state of objects in a manner suitable for comparison against master state files.
This Objective-C code provides a category for UIView
and UIImage
to make unit testing of graphics/UI easier. It allows saving a view’s representation as an image file, comparing views with previously stored representations, and encoding the state of objects in a manner suitable for comparison against master state files.