100+ results for 'i++; source:CodePlex'

Not the results you expected?

RubyArrayTests.cs (https://hg.codeplex.com/quartz) C# · 360 lines

128 foreach (object item in a) {

129 Assert(item.Equals(values[i]));

130 i++;

131 }

132 Assert(i == values.Length);

Access.cs (https://NBgeili.svn.codeplex.com/svn) C# · 222 lines

75 }

76 }

77 i++;

78 }

79 _InsStr.AppendFormat("{0} ({1}) values ({2}) ", _InsStrIns, _InsStrFields, _InsStrValues);

123 _strFieldValue.Append(" = '" + myEnumerator.Value + "'");

124 }

125 i++;

126 }

127 _strUpdate.AppendFormat("update {0} Set {1} where {2}", this.GetTableName(), _strFieldValue, _strWhere);

FeedRdfXmlParser.cs (https://infoservice.svn.codeplex.com/svn) C# · 124 lines

84 Utils.Clean(description, false, true, false, true, itemFilters);

85 rFeed.Items.Add(feedItem);

86 i++;

87 }

88 /* rFeed.Items = (from item in xmlFeed.Descendants(d + "item")

YnQuadTree.cs (https://git01.codeplex.com/yna) C# · 268 lines

260 }

261 else

262 i++;

263 }

264 }

ExpressionParserBase.cs (https://hg.codeplex.com/napp) C# · 346 lines

179

180 // get the next quoted string

181 i++;

182

183 AppendSearchText(quotedValues[i]);

DataRowConverter.cs (https://netjswire.svn.codeplex.com/svn) C# · 195 lines

105

106 ser.Serialize( writer, row[ i ] );

107 i++;

108 }

109 writer.WriteEndObject();

ParamsArgBuilder.cs (https://IronPython.svn.codeplex.com/svn) C# · 185 lines ✨ Summary

This C# code defines a class ParamsArgBuilder that builds an expression for a parameter array argument in a method call. It takes into account both expanded and collapsed arguments, and generates an expression that can be used to access the elements of the array. The generated expression is optimized for performance and can be used to create a delegate or evaluated as an expression tree.

115 );

116

117 i++;

118 }

119

KeywordTrigger.cs (https://smartersql.svn.codeplex.com/svn) C# · 302 lines

20 // ON { object_name | DATABASE | ALL SERVER } [ ; ]

21 public static void HandleEnableDisableTrigger(List<TokenInfo> lstTokens, ref int i) {

22 i++;

23 TokenInfo nextToken = InStatement.GetNextNonCommentToken(lstTokens, ref i);

24 if (null == nextToken) {

114 public static void HandleCreateAlterTrigger(StatementSpans currentStartSpan, List<TokenInfo> lstTokens, ref int i, ref int sysObjectId, List<SysObject> lstSysObjects) {

115 Parser parser = TextEditor.CurrentWindowData.Parser;

116 i++;

117 TokenInfo nextToken = InStatement.GetNextNonCommentToken(lstTokens, ref i);

118 if (null == nextToken || nextToken.Type != TokenType.Identifier) {

FormsyServiceTest.cs (https://formsy.svn.codeplex.com/svn) C# · 379 lines

243 if (test == null)

244 break;

245 formName = m_FormName + i++;

246 }

247

PartialFileRead.cs (https://bofc.svn.codeplex.com/svn) C# · 434 lines

249 sb.AppendLine(line);

250

251 i++;

252 OnReadFileProgress(i, Lines);

253 }

267 sb.AppendLine(line);

268

269 i++;

270 OnReadFileProgress(ReadChars, (long) percent);

271 }

300 {

301 sr.ReadLine();

302 i++;

303 OnReadFileProgress(i, StartLine);

304 }

MainTab.cs (https://hg01.codeplex.com/hydrodesktop) C# · 2369 lines ✨ Summary

This C# code initializes a menu system for a configuration editor application. It sets up various menu items, such as “File”, “Edit”, and “Help” menus, with sub-menus and actions associated with each item. The code also defines event handlers for when these menu items are clicked or selected.

188

189 oprFilename = args[i+1];

190 i++;

191 break;

192

203

204 omiFilename = args[i+1];

205 i++;

206 break;

207

EnumeratedValueArgument.cs (https://commandlineparser.svn.codeplex.com/svn) C# · 225 lines

41 {

42 typedValues[i] = Convert(value);

43 i++;

44 }

45 AllowedValues = typedValues;

ProviderMovingPictures.cs (https://infoservice.svn.codeplex.com/svn) C# · 223 lines

132 logger.WriteLog(string.Format("MovingPictures: Recently Added Movie {0} is {1}", i, movie.Title), LogLevel.Debug, InfoServiceModul.RecentlyAddedWatched);

133 items.Add(ra);

134 i++;

135 if (i == MaxRecentlyItems + 1) break;

136 }

179 items.Add(ra);

180 logger.WriteLog(string.Format("Moving Pictures: Recently Watched Movie {0} is {1}", i, movie.Title), LogLevel.Debug, InfoServiceModul.RecentlyAddedWatched);

181 i++;

182 if (i == MaxRecentlyItems + 1) break;

183 }

PEstructura.cs (https://hg.codeplex.com/vdata) C# · 195 lines

179 EscribirXml.EscribeNodo(xml, CEstructura.NodoCamposCampoLongitud, ListaLongitudCampos[i].ToString());

180 EscribirXml.FinElemento(xml);

181 i++;

182 }

183 EscribirXml.FinElemento(xml);

MessageClient.cs (https://socketslight.svn.codeplex.com/svn) C# · 310 lines

176 {

177 messageByteList.Insert(i, 0);

178 i++;

179 }

180

pongLens.cpp (https://mona.svn.codeplex.com/svn) C++ · 336 lines

77 if (strcmp(argv[i], "-trainingExamples") == 0)

78 {

79 i++;

80 if (i >= argc)

81 {

89 if (strcmp(argv[i], "-trainingEpochs") == 0)

90 {

91 i++;

92 if (i >= argc)

93 {

106 if (strcmp(argv[i], "-testingExamples") == 0)

107 {

108 i++;

109 if (i >= argc)

110 {

CssParser.cs (https://jumony.svn.codeplex.com/svn) C# · 521 lines

357 {

358 if ( enumerator.Current == '(' )

359 i++;

360

361 else if ( enumerator.Current == ')' )

JVertexCollector.cs (https://JADENGINE.svn.codeplex.com/svn) C# · 458 lines

393 _vertexBuffer.TexCoord[j, i] = vertex.TexCoord[j];

394 }

395 i++;

396 }

397

CustomMethodManager.cs (https://LateBindingApi.svn.codeplex.com/svn) C# · 276 lines

75 newParameter.Add(new XAttribute(itemAttribute.Name, itemAttribute.Value));

76 newParameters.Add(newParameter);

77 i++;

78 }

79

WbfsUsage.cs (https://wbfssync.svn.codeplex.com/svn) C# · 195 lines

39 {

40 int i = 0;

41 while (index >= rRegions[i + 1].Position) i++;

42 return rRegions[i].Value;

43 }

TagFromFileHelper.cs (https://gdflactool.svn.codeplex.com/svn) C# · 365 lines

114 separator = tagHelpers[i + 1].Variable;

115

116 i++;

117 }

118 }

AsyncTests.Creation.cs (https://git01.codeplex.com/rx) C# · 409 lines

247 () =>

248 {

249 i++;

250 return new MyD(() => { d++; });

251 },

268 () =>

269 {

270 i++;

271 return new MyD(() => { d++; });

272 },

293 () =>

294 {

295 i++;

296 return new MyD(() => { d++; });

297 },

MatrixConverter.cs (https://SpatialIndexing.svn.codeplex.com/svn) C# · 339 lines

154 {

155 int* ii = (int*)b;

156 imax = *ii++;

157 jmax = *ii++;

ArrOps.cs (https://cbucks.svn.codeplex.com/svn) C# · 834 lines

136 if(i < n) {

137 switch(iis[i]) {

138 case -1: iis[i]++; res[i] = a[i]; i++; break;

139 case 0: iis[i]++; res[i] = b[i]; i++; break;

186 arr2[i, j++] = v;

187 if(j == s) {

188 i++;

189 j = 0;

190 } // end of if()

231 arr2[p] = arr[i, j++];

232 if(j == s) {

233 i++;

234 j = 0;

235 } // end of if()

256 arr2[p0, p1, p2] = arr[i, j++];

257 if(j == s) {

258 i++;

259 j = 0;

260 } // end of if()

ArrOps.cs (https://cbucks.svn.codeplex.com/svn) C# · 645 lines

61 arr2[i, j++] = v;

62 if(j == s) {

63 i++;

64 j = 0;

65 } // end of if()

106 arr2[p] = arr[i, j++];

107 if(j == s) {

108 i++;

109 j = 0;

110 } // end of if()

131 arr2[p0, p1, p2] = arr[i, j++];

132 if(j == s) {

133 i++;

134 j = 0;

135 } // end of if()

Count_TipoProb.cs (https://inventariohardsoft.svn.codeplex.com/svn) C# · 430 lines

71 obj[5] = ((DateTime)obj[5]).Equals(DateTime.MinValue) ? String.Empty : ((DateTime)obj[5]).ToShortDateString();

72 dg.Rows.Add(obj);

73 i++;

74 }

75 dg.Columns[8].Visible = false;

116 obj[5] = ((DateTime)obj[5]).Equals(DateTime.MinValue) ? String.Empty : ((DateTime)obj[5]).ToShortDateString();

117 dg.Rows.Add(obj);

118 i++;

119 }

120 dg.Columns[8].Visible = true;

181 obj[5] = ((DateTime)obj[5]).Equals(DateTime.MinValue) ? String.Empty : ((DateTime)obj[5]).ToShortDateString();

182 dg.Rows.Add(obj);

183 i++;

184 }

185 dg.Columns[8].Visible = false;

ArchiveReaderSequential_Test.cs (https://openHistorian.svn.codeplex.com/svn) C# · 529 lines

388 while (scanner.Read())

389 {

390 xi++;

391 }

392 });

MicrosoftAjax.debug.js (https://myshop.svn.codeplex.com/svn) JavaScript · 6851 lines

544 if (format.charAt(i) === '{') {

545 result += '{';

546 i++;

547 continue;

548 }

MainTest.cs (https://PropertyExpression.svn.codeplex.com/svn) C# · 343 lines

38 public int NewId()

39 {

40 return i++;

41 }

42 }

MainTest.cs (https://PropertyExpression.svn.codeplex.com/svn) C# · 344 lines

39 // public int NewId()

40 // {

41 // return i++;

42 // }

43 // }

InStatement.cs (https://smartersql.svn.codeplex.com/svn) C# · 739 lines

25 nextToken = null;

26 int start = i;

27 i++;

28 for (int j = 0; j < kindToFind.Length; j++) {

29 nextToken = GetNextNonCommentToken(lstTokens, ref i);

39 nextToken = null;

40 int start = i;

41 i++;

42 for (int j = 0; j < typeToFind.Length; j++) {

43 nextToken = GetNextNonCommentToken(lstTokens, ref i);

66 int start = i;

67 for (int j = 0; j < kindToFind.Length; j++) {

68 i++;

69 nextToken = GetNextNonCommentToken(lstTokens, ref i);

70 if (null == nextToken || nextToken.Kind != kindToFind[j]) {

DbCommandHelper.cs (https://scl.svn.codeplex.com/svn) C# · 340 lines

209 {

210 newParam = string.Format("@p{0}", i);

211 i++;

212 }

213 usedParameterNames.Add(newParam);

QuadTree.cs (https://Helium.svn.codeplex.com/svn) C# · 602 lines

213 if (!PushItemDown(i))

214 {

215 i++;

216 }

217 }

CoordinateArrays.cs (https://azukimap.svn.codeplex.com/svn) C# · 417 lines

49 if (compare != 0)

50 return compare;

51 i++;

52 }

53

DenseAnsiBvtTestCases.cs (https://mbf.svn.codeplex.com/svn) C# · 479 lines

198 {

199 Assert.AreEqual(denseMatObj.RowKeys[i], rowKey);

200 i++;

201 }

202

SparseSequenceBvtTestCases.cs (https://mbf.svn.codeplex.com/svn) C# · 490 lines

341 Assert.AreEqual(i, by.Index);

342 Assert.AreEqual(byteArrayObj[i], by.Item);

343 i++;

344 }

345

438 {

439 Assert.AreEqual(byteArrayObj[i], seqObj.Current);

440 i++;

441 }

442 i = 0;

444 {

445 Assert.AreEqual(byteArrayObj[i], alp);

446 i++;

447 }

448

PolygonShape.cs (https://vecdraw.svn.codeplex.com/svn) C# · 824 lines

330 if (DefiningGeometry.Figures[0].Segments[i] is LineSegment)

331 {

332 i++;

333 }

334 else if (DefiningGeometry.Figures[0].Segments[i] is QuadraticBezierSegment)

338 if (tcnt == 2)

339 {

340 i++;

341 tcnt = 0;

342 }

348 if (tcnt == 3)

349 {

350 i++;

351 tcnt = 0;

352 }

DragDropGrid.cs (https://layout.svn.codeplex.com/svn) C# · 537 lines

241 return child;

242 }

243 i++;

244 }

245 return null;

TPCCGenData.cs (https://tpccbench.svn.codeplex.com/svn) C# · 648 lines

92 dt.Clear();

93

94 i++;

95 }

96 return;

154 dt.Clear();

155

156 i++;

157 }

158 return;

217 dt.Clear();

218

219 i++;

220 }

221 return;

ArrayExtensionsTests.cs (https://LinqLib.svn.codeplex.com/svn) C# · 1041 lines

29 arr1[y, x] = i;

30 expected[y][x] = i;

31 i++;

32 }

33 }

62 arr1[z, y, x] = i;

63 expected[z][y, x] = i;

64 i++;

65 }

66 }

98 arr1[a, z, y, x] = i;

99 expected[a][z, y, x] = i;

100 i++;

101 }

102 }

JobDetails.cs (https://scorch.svn.codeplex.com/svn) C# · 1773 lines

243 break;

244 }

245 i++;

246 }

247

SpinTest.cs (https://metanumerics.svn.codeplex.com/svn) C# · 1126 lines

204

205 symbols[i] = symbol;

206 i++;

207

208 }

AnalysisTest.cs (https://EpiInfo.svn.codeplex.com/svn) C# · 502 lines

128 rv = Double.TryParse(values[50], out dfkwts[i]);

129 rv = Double.TryParse(values[51], out pchikwts[i]);

130 i++;

131 if (i == linesinfile)

132 break;

333 rv = Double.TryParse(values[59], out dfkwts[i]);

334 rv = Double.TryParse(values[60], out pchikwts[i]);

335 i++;

336 if (i == linesinfile)

337 break;

467 rv = Double.TryParse(values[15], out fisher1s[i]);

468 rv = Double.TryParse(values[16], out fisher2s[i]);

469 i++;

470 if (i == linesinfile)

471 break;

ValidationTest.cs (https://hg01.codeplex.com/navigation) C# · 347 lines

29 {

30 valid = valid && message.ReferencedModelElements[i] == element;

31 i++;

32 }

33 return valid;

Rels.php (https://PHPExcel.svn.codeplex.com/svn) PHP · 380 lines ✨ Summary

This PHP class generates XML output for an Excel file’s relationships, such as image and drawing references. It creates a Shared_XMLWriter object to write the XML content, and uses methods like _writeRelationship to define the relationships between different parts of the Excel file. The output is a string representation of the XML code that can be used to recreate the Excel file’s structure.

221 );

222

223 $i++;

224 }

225 }

299

300 $iterator->next();

301 $i++;

302 }

303

UserDA.cs (https://plier.svn.codeplex.com/svn) C# · 259 lines

27 dr["AutoNumber"] = i;

28 dr.EndEdit();

29 i++;

30 }

31 return users;

PhysicalMeasure.2.Classes.cs (https://PhysicalMeasure.svn.codeplex.com/svn) C# · 7917 lines

135 { // Compare exponents where defined in both arrays

136 equal = exponents1[i] == exponents2[i];

137 i++;

138 }

139 while (equal && i < MinNoOfBaseUnits);

150 equal = exponents2[i] == 0;

151 }

152 i++;

153 }

154 return equal;

167 {

168 isDimensionless = exponents[i] == 0;

169 i++;

170 }

171 while (i < NoOfBaseUnits && isDimensionless);

MixedCodeDocument.cs (https://QuickDevFrameWork.svn.codeplex.com/svn) C# · 453 lines

81 case MixedCodeDocumentFragmentType.Text:

82 s += TokenResponseWrite + string.Format(TokenTextBlock, i) + "\n";

83 i++;

84 break;

85

GenerateEventAssembly.cs (https://HappyQ.svn.codeplex.com/svn) C# · 684 lines

375 MethodAttributes.HideBySig | MethodAttributes.Virtual | MethodAttributes.NewSlot,

376 i, luaTableField, returnTypesField, false, out returnTypes[i] );

377 i++;

378 }

379 else

383 GenerateMethod( myType, method, ( method.Attributes | MethodAttributes.NewSlot ) ^ MethodAttributes.NewSlot, i,

384 luaTableField, returnTypesField, true, out returnTypes[i] );

385 i++;

386 }

387 }

Scheduler.cs (https://mathphoenix.svn.codeplex.com/svn) C# · 1279 lines

426 }

427 Thread.Sleep(0x3e8);

428 i++;

429 endLoopIntHelperS0 = 120;

430 }

JavaCharStream.java (https://shaders.svn.codeplex.com/svn) Java · 618 lines

593 bufcolumn[j] = newCol + columnDiff;

594 columnDiff = nextColDiff;

595 i++;

596 }

597

MultiRectArea.cs (https://javapi.svn.codeplex.com/svn) C# · 952 lines

183 break;

184 }

185 i++;

186 }

187 cash[0] -= i - 1;

203 break;

204 }

205 i++;

206 }

207 cash[pos - 1] = index;

210 return;

211 }

212 i++;

213 }

214

Logical.cs (https://javapi.svn.codeplex.com/svn) C# · 803 lines

74 resDigits[i] = val.digits[i] + val.sign;

75 // Copying the remaining unchanged digit

76 for (i++; i < val.numberLength; i++) {

77 resDigits[i] = val.digits[i];

78 }

147 if (i == iNeg) {

148 resDigits[i] = -negative.digits[i] & positive.digits[i];

149 i++;

150 }

151 int limit = java.lang.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) {

Pixels.cs (https://PixelsCMS.svn.codeplex.com/svn) C# · 657 lines

317

318 ExtentedListItemAdapter.GetInstance().ExtentedListItemAddEdit(_subextentedlistitem);

319 i++;

320 }

321 }

Iter.js (https://ajaxcontrol.svn.codeplex.com/svn) JavaScript · 808 lines

237 // while (i < start) {

238 // rval = seq.next();

239 // i++;

240 // }

241 // if (start >= stop) {

437 // throw e;

438 // }

439 // i++;

440 // }

441 // try {

ImageProcessing.cs (https://b3.svn.codeplex.com/svn) C# · 452 lines

438 result[0][i] = resultX[x, y];

439 result[1][i] = resultY[x, y];

440 i++;

441 }

442 }

DockPanel.cs (https://guoyongrong.svn.codeplex.com/svn) C# · 2493 lines

23 {

24 documents[i] = content;

25 i++;

26 }

27

struct.cs (https://CoolEngine.svn.codeplex.com/svn) C# · 760 lines

124 while (Char.IsDigit(fmt[i])) {

125 count = count * 10 + (fmt[i] - '0');

126 i++;

127 }

128 if (Char.IsWhiteSpace(fmt[i])) Error("white space not allowed between count and format");

239 while (Char.IsDigit(fmt[i])) {

240 count = count * 10 + (fmt[i] - '0');

241 i++;

242 }

243 if (Char.IsWhiteSpace(fmt[i])) Error("white space not allowed between count and format");

331 while (Char.IsDigit(fmt[i])) {

332 count = count * 10 + (fmt[i] - '0');

333 i++;

334 }

335 i--;

EvolveMoxen.java (https://mona.svn.codeplex.com/svn) Java · 1787 lines

139 if (args[i].equals("-generations"))

140 {

141 i++;

142 if (i >= args.length)

143 {

156 if (args[i].equals("-steps"))

157 {

158 i++;

159 if (i >= args.length)

160 {

180 if (args[i].equals("-moxPopulations"))

181 {

182 i++;

183 if (i >= args.length)

184 {

MoxWorldBuilder.java (https://mona.svn.codeplex.com/svn) Java · 605 lines

261 if (args[i].equals("-steps"))

262 {

263 i++;

264 if (i >= args.length)

265 {

287 if (args[i].equals("-gridSize"))

288 {

289 i++;

290 if (i >= args.length)

291 {

309 System.exit(1);

310 }

311 i++;

312 if (i >= args.length)

313 {

Usuarios.xaml.cs (https://arso.svn.codeplex.com/svn) C# · 698 lines

326 estado1.Content = lista[i].Stado;

327 cambiar1.Visibility = Visibility.Visible;

328 i++;

329

330 if(lista.Count > 1)

362

363 }

364 i++;

365 if (lista.Count > 2)

366 {

391 cambiar5.Visibility = Visibility.Hidden;

392 }

393 i++;

394 if (lista.Count > 3)

395 {

Cronogramas.xaml.cs (https://arso.svn.codeplex.com/svn) C# · 624 lines

94

95

96 i++;

97

98 if (lista.Count > 1)

125

126 }

127 i++;

128 if (lista.Count > 2)

129 {

149 fecha6.Visibility = Visibility.Hidden;

150 }

151 i++;

152 if (lista.Count > 3)

153 {

GestionEmpleados.xaml.cs (https://arso.svn.codeplex.com/svn) C# · 760 lines

264 ver1.Visibility = Visibility.Visible;

265 editar1.Visibility = Visibility.Visible;

266 i++;

267

268 if (lista.Count > 1)

333

334 }

335 i++;

336 if (lista.Count > 2)

337 {

393 editar8.Visibility = Visibility.Hidden;

394 }

395 i++;

396 if (lista.Count > 3)

397 {

Atencion Consultorio.xaml.cs (https://arso.svn.codeplex.com/svn) C# · 578 lines

53

54 editar1.Visibility = Visibility.Visible;

55 i++;

56

57 if (lista2.Count > 1)

84

85 }

86 i++;

87 if (lista2.Count > 2)

88 {

111 editar5.Visibility = Visibility.Hidden;

112 }

113 i++;

114 if (lista2.Count > 3)

115 {

EDFHeader.cs (https://edf.svn.codeplex.com/svn) C# · 409 lines

213 header[i] = (char)32;

214 }

215 i++;

216 }

217

ShapesCollection.cs (https://drawingboard.svn.codeplex.com/svn) C# · 993 lines

300 foreach (var e in List)

301 if (e.IsSelected)

302 i++;

303 return i;

304 }

316 continue;

317 myArray[i] = e;

318 i++;

319 }

320 return myArray;

jquery.format.js (https://jquerywebtoolkit.svn.codeplex.com/svn) JavaScript · 522 lines

363 c = format.charAt(i);

364 if (c == '\'') {

365 i++;

366 if (format.charAt(i) == c) {

367 result = result + c;

368 i++;

369 } else {

370 s = !s;

ExecuteCustomCommands.cs (https://sharepointinstaller.svn.codeplex.com/svn) C# · 163 lines

111 commandLines.Add(tempSiteCommand);

112 }

113 i++;

114 } while (i < sites.Count);

115 j++;

cStringIO.cs (https://IronPython.svn.codeplex.com/svn) C# · 530 lines ✨ Summary

This C# code defines a custom implementation of StringIO classes, which are used to read and write strings to streams. The StringI class reads from a stream, while the StringO class writes to a stream. These classes mimic the behavior of Python’s built-in io.StringIO module, allowing for efficient string manipulation in C#.

94 char c = _data[i];

95 if (c == '\n' || c == '\r') {

96 i++;

97 if (c == '\r' && _position < _length && _data[i] == '\n') {

98 i++;

104 return res;

105 }

106 i++;

107 count++;

108 }

IListOfByteOps.cs (https://IronPython.svn.codeplex.com/svn) C# · 1343 lines ✨ Summary

This C# code provides a set of extension methods for working with byte arrays, allowing them to be treated as strings and enabling various string-like operations such as indexing, iteration, and conversion to other types like integers. It also includes functionality for converting hexadecimal strings to byte arrays and creating iterators for iterating over the bytes in an array.

285 currCharCased = false;

286 }

287 i++;

288 prevCharCased = currCharCased;

289 } while (i < retchars.Count);

343 }

344

345 i++;

346 }*/

347 result.Add(Substring(str, i));

375 }

376

377 i++;

378 }

379

LiteralParser.cs (https://IronPython.svn.codeplex.com/svn) C# · 620 lines ✨ Summary

This C# code is a Python interpreter implementation, providing methods for parsing and evaluating Python expressions, including arithmetic operations, complex numbers, and string manipulation. It includes functions for parsing strings, replacing Unicode digits, and handling exceptions, allowing it to execute Python-like code in C#. The code provides a way to run Python scripts or interact with Python from within a C# application.

95 case '\'': buf.Append('\''); continue;

96 case '\"': buf.Append('\"'); continue;

97 case '\r': if (i < l && text[i] == '\n') i++; continue;

98 case '\n': continue;

99 case 'x': //hex

116 if (i < l && HexValue(text[i], out onechar) && onechar < 8) {

117 val = val * 8 + onechar;

118 i++;

119 if (i < l && HexValue(text[i], out onechar) && onechar < 8) {

120 val = val * 8 + onechar;

121 i++;

122 }

123 }

cStringIO.cs (https://IronPython.svn.codeplex.com/svn) C# · 546 lines ✨ Summary

This C# code defines a StringStream class, which is used to represent an in-memory string stream. It provides classes for reading and writing strings, including StringI for input and StringO for output. The classes implement various methods for manipulating the string stream, such as seeking, truncating, and writing. They also provide support for iteration and disposal.

79 char c = _data[i];

80 if (c == '\n' || c == '\r') {

81 i++;

82 if (c == '\r' && _position < _data.Length && _data[i] == '\n') {

83 i++;

89 return res;

90 }

91 i++;

92 count++;

93 }

cStringIO.cs (https://IronPython.svn.codeplex.com/svn) C# · 509 lines ✨ Summary

This C# code defines a class StringIO that provides a way to create streams for reading and writing strings. It includes two classes: StringI (for input) and StringO (for output), which implement the Stream interface. The StringIO class is used to create instances of these classes, allowing developers to read and write strings in a stream-like manner.

88 char c = data[i];

89 if (c == '\n' || c == '\r') {

90 i++;

91 if (c == '\r' && position < length && data[i] == '\n') {

92 i++;

98 return res;

99 }

100 i++;

101 }

102

KeywordDerivedTable.cs (https://smartersql.svn.codeplex.com/svn) C# · 183 lines

163 int matchingParenIndex = token.MatchingParenToken;

164 List<string> lstNewColumNames = new List<string>();

165 i++;

166 while (i < matchingParenIndex) {

167 token = InStatement.GetNextNonCommentToken(lstTokens, ref i);

174 break;

175 }

176 i++;

177 }

178 return lstNewColumNames;

Utils.cs (https://apworks.svn.codeplex.com/svn) C# · 179 lines

64 if (i != genericArgs.Length - 1)

65 sb.Append(", ");

66 i++;

67 }

68 sb.Append("]");

102 if (i != genericTypes.Length - 1)

103 sb.Append(", ");

104 i++;

105 }

106 sb.Append("]");

116 if (i != parameters.Length - 1)

117 sb.Append(", ");

118 i++;

119 }

120 }

ExpressionTests.cs (https://LinqOverCSharp.svn.codeplex.com/svn) C# · 1333 lines

154 /// ++i;

155 /// --i;

156 /// i++;

157 /// i--;

158 /// </summary>

PkFunction.cs (https://hg.codeplex.com/httpwatch) C# · 456 lines

132 foreach (Process thisproc in Process.GetProcessesByName(processName))

133 {

134 i++;

135

136 }

ProcessBuilderTests.cs (https://hg.codeplex.com/flower) C# · 1536 lines

354 .Exec(_ => { Pos1 = POS1; })

355

356 .For(_ => { I = 0; }, _ => I < Iterations, _ => { I++; })

357 .Exec(_ => { Pos2 = POS2; })

358 .End()

820 {

821 bld

822 .For(_ => { i = 0; }, _ => i < 8, _ => { i++; })

823 .Enqueue(_ => SET, _ => i.ToString(), _ => 1 << i, _ => MessageFormat.BinXml)

824 .End()

IndexSearchTests.cs (https://hg.codeplex.com/dotnetrdf) C# · 461 lines

104 foreach (IFullTextSearchResult result in provider.Match("http", 5))

105 {

106 i++;

107 Console.WriteLine(result.Node.ToString(formatter) + " - Scores " + result.Score);

108 }

172 foreach (IFullTextSearchResult result in provider.Match("http", 1.0d, 5))

173 {

174 i++;

175 Console.WriteLine(result.Node.ToString(formatter) + " - Scores " + result.Score);

176 Assert.IsTrue(result.Score >= 1.0d, "Score should be higher than desired threshold");

240 foreach (IFullTextSearchResult result in provider.Match("http", 5))

241 {

242 i++;

243 Console.WriteLine(result.Node.ToString(formatter) + " - Scores " + result.Score);

244 }

jazor.js (https://hg.codeplex.com/armza) JavaScript · 599 lines

498 if (stream[i] == ".") {

499 state = 4;

500 i++;

501 continue;

502 }

parray.h (https://git01.codeplex.com/z3) C Header · 622 lines

533 cs.push_back(c);

534 c = c->next();

535 i++;

536 }

537 if (c->kind() != ROOT) {

MathLexer.cs (https://git01.codeplex.com/xfunc) C# · 557 lines

60 if (pre == '(')

61 {

62 i++;

63 continue;

64 }

66 else

67 {

68 i++;

69 continue;

70 }

82 tokens.Add(token);

83

84 i++;

85 continue;

86 }

HTMLWikiProcessor.cs (https://git01.codeplex.com/wikiprepsharp) C# · 674 lines

80 {

81 letter = extrawords[extraword_i];

82 extraword_i++;

83 if (extraword_i == extraword_counter)

84 {

322 {

323 letter = extrawords[extraword_i];

324 extraword_i++;

325 if (extraword_i == extraword_counter)

326 {

EnumerableExtensions.cs (https://git01.codeplex.com/signum) C# · 1130 lines

390 if (EqualityComparer<T>.Default.Equals(item, val))

391 return i;

392 i++;

393 }

394 return -1;

403 if (condition(val))

404 return i;

405 i++;

406 }

407 return -1;

EnumerableEx.Single.cs (https://git01.codeplex.com/rx) C# · 673 lines

245 yield return buffers.Dequeue();

246

247 i++;

248 }

249

EnumerableEx.Buffering.cs (https://git01.codeplex.com/rx) C# · 648 lines

260 break;

261

262 i++;

263 }

264 }

476 break;

477

478 i++;

479 }

480 }

Tests.Buffering.cs (https://git01.codeplex.com/rx) C# · 626 lines

152 {

153 t(i);

154 yield return i++;

155 }

156 }

pe.js (https://git01.codeplex.com/pejs) JavaScript · 3400 lines

173 var b = this._view.getUint8(this.offset + i);

174 if(b == 0) {

175 i++;

176 break;

177 }

311 var b = this._array[this.offset + i];

312 if(b == 0) {

313 i++;

314 break;

315 }

DirectoryDiff.cs (https://sharpbox.svn.codeplex.com/svn) C# · 210 lines

68

69 // increase local

70 i++;

71 }

72 else if (left == null)

97

98 // increase both

99 i++;

100 j++;

101 }

107

108 // increase in local

109 i++;

110 }

111 else

Graph.cpp (https://xray.svn.codeplex.com/svn) C++ · 1039 lines

853 i = m_pPoints[u].packed_xz * m_uGridCY;

854 while (m_pGrid[i] != -1)

855 i++;

856 m_pGrid[i] = u;

857 }

WriteType.cs (https://hg.codeplex.com/yafnet) C# · 285 lines

217 if (WriteTypeInfo != null || JsState.IsWritingDynamic)

218 {

219 if (JsConfig.PreferInterfaces && TryWriteSelfType(writer)) i++;

220 else if (TryWriteTypeInfo(writer, value)) i++;

Actions.cs (https://TfsIterationManager.svn.codeplex.com/svn) C# · 335 lines

60 while (n.PreviousSibling != null)

61 {

62 i++;

63 n = n.PreviousSibling;

64 }

Form1.cs (https://C4FDevKit.svn.codeplex.com/svn) C# · 419 lines

133 while (File.Exists(cardName + " (" + i + ")" + "." + extension))

134 {

135 i++;

136 }

137 cardName = cardName + " (" + i + ")" + "." + extension;

167 while (File.Exists(cardName + " (" + i + ")" + "." + extension))

168 {

169 i++;

170 }

171 cardName = cardName + " (" + i + ")" + "." + extension;

285 while (File.Exists(cardName + " (" + i + ")" + "." + extension))

286 {

287 i++;

288 }

289 cardName = cardName + " (" + i + ")" + "." + extension;

DynamicMethods.cs (https://MyDistrictBuilder.svn.codeplex.com/svn) C# · 470 lines

113 //array[i] = item as typeof(type);

114 targetList[i] = addObject;

115 i++;

116 }

117 }

RAM_Test.cpp (https://netmf.svn.codeplex.com/svn) C++ · 492 lines

223 for (cursor = Start; cursor < Stop; cursor+=4)

224 {

225 i++;

226 if (i & 0x1)

227 Set32(cursor,0x55555555);

234 for (cursor = Start; cursor < Stop; cursor+=4)

235 {

236 i++;

237 if (i & 0x1)

238 result = result & CheckSet32(cursor,0xAAAAAAAA,0x55555555);

246 for (cursor = Start; cursor < Stop; cursor+=4)

247 {

248 i++;

249

250 if (i & 0x1)

Rels.php (https://PHPExcel.svn.codeplex.com/svn) PHP · 279 lines ✨ Summary

This PHP code generates XML relationships for Microsoft Office documents, specifically Excel worksheets and drawings. It writes relationships between elements such as images, drawing collections, and worksheets, using a standardized format. The output can be used to import or export data from these documents in a structured way.

242

243 $iterator->next();

244 $i++;

245 }

246

PEReader.cs (git://github.com/xxVisorxx/nemerle.git) C# · 545 lines ✨ Summary

This C# code defines a class PEReader that loads and parses executable files, specifically Windows PE format files. It provides methods to load an executable file, check if it’s console-based, and dispose of resources when done. The class uses structs to represent the file’s structure, such as IMAGE_FILE_HEADER, IMAGE_OPTIONAL_HEADER32, and IMAGE_DATA_DIRECTORY.

221 {

222 this.inputReader.ReadUInt16();

223 i++;

224 someVar1 = 3;

225 }