PageRenderTime 2482ms queryTime 235ms sortTime 1081ms getByIdsTime 85ms findMatchingLines 19ms

100+ results results for 'i++' (2482 ms)

Not the results you expected?
CorrectionMarkerResolutionGenerator.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 418 lines
                    
160			Hashtable<ICompilationUnit, List<IProblemLocation>> problemLocations= new Hashtable<ICompilationUnit, List<IProblemLocation>>();
                    
161			for (int i= 0; i < markers.length; i++) {
                    
162				IMarker marker= markers[i];
                    
185				result[i]= new MultiFixTarget(cu, locations.toArray(new IProblemLocation[locations.size()]));
                    
186				i++;
                    
187			}
                    
235
                    
236					for (int i= 0, size= fileMarkers.size(); i < size; i++) {
                    
237						IMarker marker= fileMarkers.get(i);
                    
267
                    
268			for (int i= 0; i < markers.length; i++) {
                    
269				IMarker marker= markers[i];
                    
346					IMarkerResolution[] resolutions= new IMarkerResolution[nProposals];
                    
347					for (int i= 0; i < nProposals; i++) {
                    
348						resolutions[i]= new CorrectionMarkerResolution(context.getCompilationUnit(), location.getOffset(), location.getLength(), proposals.get(i), marker);
                    
                
TopBarView.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 433 lines
                    
119					Object[] views = topbarViews.toArray();
                    
120					for (int i = 0; i < views.length; i++) {
                    
121						try {
                    
151					topbarViews.clear();
                    
152					for (int i = 0; i < views.length; i++) {
                    
153						UISWTViewCore view = (UISWTViewCore) views[i];
                    
405		Control[] children = parent.getChildren();
                    
406		for (int i = 0; i < children.length; i++) {
                    
407			Control control = children[i];
                    
                
cvfacedetection.cpp https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C++ | 486 lines
                    
117    // find contours
                    
118    for (int l = iMinLevel, i = 0; l < iMaxLevel; l += iStep, i++)
                    
119    {
                    
309    
                    
310    for (int i = 0; i < m_seqRects->total; i++)
                    
311    {
                    
387
                    
388    for (int i = 0; i < m_seqRects->total; i++)
                    
389    {
                    
                
EC3TrackImpl.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 436 lines
                    
314                    }
                    
315                    for (int i = 0; i < (mixdeflen + 2); i++) {
                    
316                        brb.readBits(8);
                    
332                        } else {
                    
333                            for (int i = 0; i < numberOfBlocksPerSyncFrame; i++) {
                    
334                                if (1 == brb.readBits(1)) {
                    
                
inode.c https://bitbucket.org/Neos/tf101-kernel2.git | C | 586 lines
                    
93	xor = ptr[0];
                    
94	for (i = 1; i < OMFS_XOR_COUNT; i++)
                    
95		xor ^= ptr[i];
                    
148	/* if mirroring writes, copy to next fsblock */
                    
149	for (i = 1; i < sbi->s_mirrors; i++) {
                    
150		bh2 = omfs_bread(inode->i_sb, inode->i_ino + i);
                    
                
mssql_driver.php https://gitlab.com/jLKisni/furandpaw-frontend | PHP | 518 lines
                    
336		$retval = array();
                    
337		for ($i = 0, $c = count($query); $i < $c; $i++)
                    
338		{
                    
465					? '("[^\"]+")' : '(\[[^\]]+\])';
                    
466				for ($i = 0, $c = count($this->qb_select); $i < $c; $i++)
                    
467				{
                    
                
BlockChain.java https://gitlab.com/Ltaimao/bitherj | Java | 356 lines
                    
88
                    
89            for (int i = 0; b != null && i < step; i++) {
                    
90                b = AbstractDb.blockProvider.getMainChainBlock(b.getBlockPrev());
                    
129        }
                    
130        for (int i = 0; i < blocks.size(); i++) {
                    
131            Block block = blocks.get(i);
                    
191//            Block b = block;
                    
192//            for (int i = 0; b != null && i < BitherjSettings.BLOCK_DIFFICULTY_INTERVAL; i++) {
                    
193//                b = DbHelper.blockProvider.getBlock(b.getBlockPrev());
                    
261                    Block cursor = first;
                    
262                    for (int i = 0; i < BitherjSettings.BLOCK_DIFFICULTY_INTERVAL - block.getBlockNo() + first.getBlockNo(); i++) {
                    
263                        if (cursor == null) {
                    
                
ecmult_impl.h https://gitlab.com/akomba/ether-bot-wallet | C Header | 389 lines
                    
58    zr[0] = d.z;
                    
59    for (i = 1; i < n; i++) {
                    
60        secp256k1_gej_add_ge_var(&prej[i], &prej[i-1], &d_ge, &zr[i]);
                    
105    /* Convert them to compact storage form. */
                    
106    for (i = 0; i < n; i++) {
                    
107        secp256k1_ge_to_storage(&pre[i], &prea[i]);
                    
170        g_128j = gj;
                    
171        for (i = 0; i < 128; i++) {
                    
172            secp256k1_gej_double_var(&g_128j, &g_128j, NULL);
                    
326#ifdef USE_ENDOMORPHISM
                    
327    for (i = 0; i < ECMULT_TABLE_SIZE(WINDOW_A); i++) {
                    
328        secp256k1_ge_mul_lambda(&pre_a_lam[i], &pre_a[i]);
                    
                
jazzdma.c https://gitlab.com/envieidoc/advancedtomato2 | C | 566 lines
                    
52
                    
53	for (i = 0; i < VDMA_PGTBL_ENTRIES; i++) {
                    
54		pgtbl[i].frame = paddr;
                    
141
                    
142	for (i = first; i < last; i++) {
                    
143		entry[i].frame = frame;
                    
158		printk("LADDR: ");
                    
159		for (i = first; i < last; i++)
                    
160			printk("%08x ", i << 12);
                    
161		printk("\nPADDR: ");
                    
162		for (i = first; i < last; i++)
                    
163			printk("%08x ", entry[i].frame);
                    
164		printk("\nOWNER: ");
                    
165		for (i = first; i < last; i++)
                    
166			printk("%08x ", entry[i].owner);
                    
                
spm-v2.c https://gitlab.com/jhalayashraj/nkernel | C | 542 lines
                    
236
                    
237	for (i = 0; i < num_spm_entry; i++) {
                    
238		__raw_writel(dev->reg_seq_entry_shadow[i],
                    
261
                    
262		for (i = (*offset % 4) ; i < 4; i++) {
                    
263			last_cmd = *(cmd++);
                    
293		int i;
                    
294		for (i = 0; i < MSM_SPM_REG_NR; i++)
                    
295			pr_info("%s: reg %02x = 0x%08x\n", __func__,
                    
476
                    
477	for (i = 0; i < MSM_SPM_REG_NR_INITIALIZE; i++)
                    
478		msm_spm_drv_flush_shadow(dev, i);
                    
503
                    
504	for (i = 0; i < ARRAY_SIZE(saw2_info); i++)
                    
505		if (dev->major == saw2_info[i].major &&
                    
                
options_user_settings.php https://gitlab.com/alexprowars/bitrix | PHP | 364 lines
                    
41$deactivateDays[] = GetMessage("SEC_OTP_NO_DAYS");
                    
42for($i=1; $i <= 10; $i++)
                    
43{
                    
                
sch_gred.c https://github.com/kipill-nn/Kernel-for-Mega.git | C | 608 lines
                    
97	/* Really ugly O(n^2) but shouldn't be necessary too frequent. */
                    
98	for (i = 0; i < table->DPs; i++) {
                    
99		struct gred_sched_data *q = table->tab[i];
                    
181
                    
182		for (i = 0; i < t->DPs; i++) {
                    
183			if (t->tab[i] && t->tab[i]->prio < q->prio &&
                    
316
                    
317	for (i = 0; i < t->DPs; i++) {
                    
318		struct gred_sched_data *q = t->tab[i];
                    
368
                    
369	for (i = table->DPs; i < MAX_DPs; i++) {
                    
370		if (table->tab[i]) {
                    
515
                    
516	for (i = 0; i < MAX_DPs; i++) {
                    
517		struct gred_sched_data *q = table->tab[i];
                    
                
monreader.c https://github.com/kipill-nn/Kernel-for-Mega.git | C | 530 lines
                    
92
                    
93	for (i = 0; i < 8; i++) {
                    
94		if (ascii_name[i] == '\0')
                    
97	};
                    
98	for (; i < 8; i++)
                    
99		ebcdic_name[i] = ' ';
                    
174
                    
175	for (i = 0; i < MON_MSGLIM; i++)
                    
176		if (monpriv->msg_array[i])
                    
188		return NULL;
                    
189	for (i = 0; i < MON_MSGLIM; i++) {
                    
190		monpriv->msg_array[i] = kzalloc(sizeof(struct mon_msg),
                    
355
                    
356	for (i = 0; i < MON_MSGLIM; i++)
                    
357		kfree(monpriv->msg_array[i]);
                    
                
usbvision-i2c.c https://github.com/kipill-nn/Kernel-for-Mega.git | C | 530 lines
                    
67	buf[0] = 0x00;
                    
68	for (i = 0; i <= retries; i++) {
                    
69		ret = (usbvision_i2c_write(usbvision, addr, buf, 1));
                    
91	usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap);
                    
92	for (i = 0; i <= retries; i++) {
                    
93		ret = (usbvision_i2c_read(usbvision, addr, buf, 1));
                    
163
                    
164	for (i = 0; i < num; i++) {
                    
165		pmsg = &msgs[i];
                    
419	value[1] = ser_cont;
                    
420	for (i = 0; i < len; i++)
                    
421		value[i + 2] = buf[i];
                    
500		if (retval > 0) {
                    
501			for (i = 0; i < len; i++)
                    
502				buf[rdcount + i] = temp[i];
                    
                
phantom.c https://github.com/ssvb/linux-n810.git | C | 571 lines
                    
141			u32 m = min(rs.count, 8U);
                    
142			for (i = 0; i < m; i++)
                    
143				if (rs.mask & BIT(i))
                    
172		spin_lock_irqsave(&dev->regs_lock, flags);
                    
173		for (i = 0; i < m; i++)
                    
174			if (rs.mask & BIT(i))
                    
305
                    
306		for (i = 0; i < m; i++)
                    
307			if (r->mask & BIT(i))
                    
330
                    
331	for (i = 0; i < PHANTOM_MAX_MINORS; i++)
                    
332		if (phantom_devices[i] == 0)
                    
                
Animation.js https://bitbucket.org/mblomdahl/neonode-mobile.git | JavaScript | 431 lines
                    
100            }
                    
101            for (i = 0, ln = attrs.length; i < ln; i++) {
                    
102                oldCustomEasing[attrs[i]] = easing;
                    
118
                    
119        for (; i < ln; i++) {
                    
120            customEasing[attrs[i]] = easing;
                    
131        var i = 0, ln = attrs.length;
                    
132        for (; i < ln; i++) {
                    
133            delete this._customEasing[attrs[i]];
                    
145
                    
146            for (i = 0, ln = attrs.length; i < ln; i++) {
                    
147                oldCustomDuration[attrs[i]] = duration;
                    
164
                    
165        for (; i < ln; i++) {
                    
166            customDurations[attrs[i]] = duration;
                    
                
color.c https://bitbucket.org/petsc/petsc.git | C | 375 lines
                    
38  PetscFunctionBegin;
                    
39  for (i=0; i<m; i++) c = PetscMax(c,ia[i+1]-ia[i]);
                    
40  *minc = c;
                    
97    ISColoringValue *s = (ISColoringValue*) coloring;
                    
98    for (i=0; i<n; i++) {
                    
99      s[i] = (ISColoringValue) (coloring[i]-1);
                    
114    ierr = PetscMalloc1(N_loc+1,&colors_loc);CHKERRQ(ierr);
                    
115    for (i=rstart; i<rend; i++) {
                    
116      colors_loc[i-rstart] = iscoloring_seq->colors[i];
                    
210    ISColoringValue *s = (ISColoringValue*) coloring;
                    
211    for (i=0; i<n; i++) s[i] = (ISColoringValue) (coloring[i]-1);
                    
212    ierr = MatColoringPatch(mat_seq,ncolors,n,s,iscoloring);CHKERRQ(ierr);
                    
225    ierr = PetscMalloc1(N_loc+1,&colors_loc);CHKERRQ(ierr);
                    
226    for (i=rstart; i<rend; i++) colors_loc[i-rstart] = iscoloring_seq->colors[i];
                    
227
                    
                
Util.java https://github.com/bibulous/SkyrackJbill2.2.git | Java | 346 lines
                    
228        StringBuffer hexData = new StringBuffer();
                    
229        for (int i=0; i < readBytes; i++) {
                    
230           hexData.append(hexLookupTable[0xff & string[i]]);
                    
236        byte retValue[] = new byte[string.length()/2];
                    
237        for (int i=0; i < retValue.length; i++) {
                    
238            String digit = string.substring(i * 2, (i *2) + 2);
                    
268        String field = "";
                    
269        for (int i = 0; i < line.length(); i++) {
                    
270            if (line.charAt(i) == '\"') {
                    
272                    field += '\"';
                    
273                    i++; // skip over quote escape
                    
274                } else {
                    
319        StringBuilder builder = new StringBuilder(escapeStringForCsvFormat(values.get(0), fieldSeparator));
                    
320        for (int i = 1; i < values.size(); i++) {
                    
321            //add separator for 'not last' element
                    
                
FontMetrics.java https://github.com/penberg/classpath.git | Java | 448 lines
                    
239    int endOffset = offset + len;
                    
240    for (int i = offset; i < endOffset; i++)
                    
241      total_width += charWidth(buf[i]);
                    
256    int total_width = 0;
                    
257    for (int i = offset; i < len; i++)
                    
258      total_width = charWidth((char) buf[i]);
                    
270    int[] result = new int[256];
                    
271    for (char i = 0; i < 256; i++)
                    
272      result[i] = charWidth(i);
                    
                
uap_txrx.c https://gitlab.com/openbar/rpi-linux | C | 437 lines
                    
79
                    
80	for (i = 0; i < MAX_NUM_TID; i++, priv->del_list_idx++) {
                    
81		if (priv->del_list_idx == MAX_NUM_TID)
                    
                
pci_irq.c https://gitlab.com/openbar/rpi-linux | C | 513 lines
                    
129
                    
130	for (i = 0; i < ARRAY_SIZE(prt_quirks); i++) {
                    
131		quirk = &prt_quirks[i];
                    
                
dt2801.c https://github.com/tklauser/linux-nios2.git | C | 644 lines
                    
452
                    
453	for (i = 0; i < insn->n; i++) {
                    
454		dt2801_writecmd(dev, DT_C_READ_ADIM);
                    
                
sunvnet.c https://github.com/tklauser/linux-nios2.git | C | 567 lines
                    
162
                    
163	data[i++] = dev->stats.rx_packets;
                    
164	data[i++] = dev->stats.tx_packets;
                    
164	data[i++] = dev->stats.tx_packets;
                    
165	data[i++] = dev->stats.rx_bytes;
                    
166	data[i++] = dev->stats.tx_bytes;
                    
166	data[i++] = dev->stats.tx_bytes;
                    
167	data[i++] = dev->stats.rx_errors;
                    
168	data[i++] = dev->stats.tx_errors;
                    
168	data[i++] = dev->stats.tx_errors;
                    
169	data[i++] = dev->stats.rx_dropped;
                    
170	data[i++] = dev->stats.tx_dropped;
                    
170	data[i++] = dev->stats.tx_dropped;
                    
171	data[i++] = dev->stats.multicast;
                    
172	data[i++] = dev->stats.rx_length_errors;
                    
                
dwmac4_dma.c https://github.com/tklauser/linux-nios2.git | C | 437 lines
                    
44	 */
                    
45	for (i = 0; i < AXI_BLEN; i++) {
                    
46		switch (axi->axi_blen[i]) {
                    
180
                    
181	for (i = 0; i < DMA_CHANNEL_NB_MAX; i++)
                    
182		_dwmac4_dump_dma_regs(ioaddr, i, reg_space);
                    
                
thunk.c https://gitlab.com/paelzer/qemu | C | 481 lines
                    
89
                    
90    for (i = 0; i < ARRAY_SIZE(se->field_offsets); i++) {
                    
91        offset = 0;
                    
230            s = src;
                    
231            for(i = 0;i < array_length; i++) {
                    
232                thunk_convert(d, s, type_ptr, to_host);
                    
259                s = src;
                    
260                for(i = 0;i < se->nb_fields; i++) {
                    
261                    field_types = thunk_convert(d + dst_offsets[i],
                    
381
                    
382            for (i = 0; i < array_length; i++) {
                    
383                if (i > 0 && !is_string) {
                    
417                qemu_log("{");
                    
418                for (i = 0; i < se->nb_fields; i++) {
                    
419                    if (i > 0) {
                    
                
test-branch-combine.cc https://gitlab.com/MichelZuniga/node | C++ | 462 lines
                    
362TEST(BranchCombineInt32CmpAllInputShapes_materialized) {
                    
363  for (size_t i = 0; i < arraysize(int32cmp_opcodes); i++) {
                    
364    CmpMaterializeBoolGen gen(int32cmp_opcodes[i], false);
                    
371TEST(BranchCombineInt32CmpAllInputShapes_inverted_materialized) {
                    
372  for (size_t i = 0; i < arraysize(int32cmp_opcodes); i++) {
                    
373    CmpMaterializeBoolGen gen(int32cmp_opcodes[i], true);
                    
380TEST(BranchCombineInt32CmpAllInputShapes_branch_true) {
                    
381  for (int i = 0; i < static_cast<int>(arraysize(int32cmp_opcodes)); i++) {
                    
382    CmpBranchGen gen(int32cmp_opcodes[i], false, false, 995 + i, -1011 - i);
                    
389TEST(BranchCombineInt32CmpAllInputShapes_branch_false) {
                    
390  for (int i = 0; i < static_cast<int>(arraysize(int32cmp_opcodes)); i++) {
                    
391    CmpBranchGen gen(int32cmp_opcodes[i], false, true, 795 + i, -2011 - i);
                    
398TEST(BranchCombineInt32CmpAllInputShapes_inverse_branch_true) {
                    
399  for (int i = 0; i < static_cast<int>(arraysize(int32cmp_opcodes)); i++) {
                    
400    CmpBranchGen gen(int32cmp_opcodes[i], true, false, 695 + i, -3011 - i);
                    
                
process_vm_access.c https://github.com/herbertx/cryptodev.git | C | 496 lines
                    
264	 */
                    
265	for (i = 0; i < riovcnt; i++) {
                    
266		iov_len = rvec[i].iov_len;
                    
317
                    
318	for (i = 0; i < riovcnt && iov_l_curr_idx < liovcnt; i++) {
                    
319		rc = process_vm_rw_single_vec(
                    
                
WebSocketParserD12.java https://github.com/dekellum/jetty.git | Java | 373 lines
                    
155                            final int end=data.putIndex();
                    
156                            for (int i=data.getIndex();i<end;i++)
                    
157                                array[i]^=_mask[_m++%4];
                    
325                        final int end=data.putIndex();
                    
326                        for (int i=data.getIndex();i<end;i++)
                    
327                            array[i]^=_mask[_m++%4];
                    
                
shellSurfaces.C https://gitlab.com/johnvarv/OpenFOAM-3.0.x | C | 464 lines
                    
271                    candidateDistSqr[candidateI] = sqr(distances[levelI]);
                    
272                    candidateI++;
                    
273                    break;
                    
325                candidateMap[candidateI] = pointI;
                    
326                candidateI++;
                    
327            }
                    
378        {
                    
379            shellI++;
                    
380        }
                    
409
                    
410            shellI++;
                    
411        }
                    
                
polyMeshIO.C https://gitlab.com/johnvarv/OpenFOAM-3.0.x | C | 511 lines
                    
310
                    
311        for (label czI = oldSize; czI < newPointZones.size(); czI++)
                    
312        {
                    
351
                    
352        for (label fzI = oldSize; fzI < newFaceZones.size(); fzI++)
                    
353        {
                    
388
                    
389        for (label czI = oldSize; czI < newCellZones.size(); czI++)
                    
390        {
                    
                
qcommandline.cpp https://gitlab.com/atkrad/phantomjs | C++ | 534 lines
                    
104  d->args.clear();
                    
105  for (int i = 0; i < argc; i++)
                    
106    d->args.append(QLatin1String(argv[i]));
                    
297    else if (forward)
                    
298      i++;
                    
299  }
                    
322  foreach (QString key, switchs) {
                    
323    for (int i = 0; i < switchsFound[key]; i++) {
                    
324      if (d->help && key == helpEntry.longName)
                    
                
pycloud.js https://github.com/siong1987/PyCloud.git | JavaScript | 559 lines
                    
21	var len = localStorage.length;
                    
22	for (var i = 0; i < len; i++) {
                    
23		var key = localStorage.key(i);
                    
55	this.getFile = function(filename) {
                    
56		for (var i = 0; i < this.files.length; i++) {
                    
57			if (this.files[i].name == filename)
                    
65		localStorage.removeItem(key);
                    
66		for (var i = 0; i < this.files.length; i++) {
                    
67			if (this.files[i].name == file.name) {
                    
155	this.removeTempFile = function(file) {
                    
156		for (var i = 0; i < this.tempFiles.length; i++) {
                    
157			if (this.tempFiles[i].name == file.name) {
                    
174		// add files that are in storages
                    
175		for (var i = 0; i < this.storages.length; i++)
                    
176			files = files.concat(this.storages[i].files);
                    
                
dal.c https://github.com/VorkTeam/vorkKernel-DESIRE.git | C | 603 lines
                    
145	len /= 4;
                    
146	for (i = 0; i < len; i++) {
                    
147		if (!(i & 7))
                    
                
draw.h https://bitbucket.org/ardalanaz/dava.framework.git | C Header | 637 lines
                    
435		/* Output co-ordinate pairs: */
                    
436		for (i = 0; i < poly_line->count; i++)
                    
437		{	pt = fig_translate (API,poly_line->pt[poly_line->count-1-i]);
                    
496
                    
497			for (i = 0; i < poly_line->count; i++)
                    
498			{	pt = fig_translate (API,poly_line->pt[i]);
                    
534
                    
535			for (i = 0; i < poly_line->count; i++)
                    
536			{	pt = fig_translate (API,poly_line->pt[poly_line->count-1-i]);
                    
                
jl2005bcd.c https://gitlab.com/kush/linux | C | 531 lines
                    
149			return retval;
                    
150		i++;
                    
151	}
                    
187	/* Now actually get the ID string */
                    
188	for (i = 0; i < 6; i++) {
                    
189		retval = jl2005c_read_reg(gspca_dev, regs_to_read[i]);
                    
217
                    
218	for (i = 0; i < ARRAY_SIZE(instruction); i++) {
                    
219		msleep(60);
                    
240
                    
241	for (i = 0; i < ARRAY_SIZE(instruction); i++) {
                    
242		msleep(60);
                    
263
                    
264	for (i = 0; i < ARRAY_SIZE(instruction); i++) {
                    
265		msleep(60);
                    
                
decode_test.go https://gitlab.com/rpi-romlinch/drone | Go | 648 lines
                    
631//	var err error
                    
632//	for i := 0; i < c.N; i++ {
                    
633//		var v map[string]interface{}
                    
644//	c.ResetTimer()
                    
645//	for i := 0; i < c.N; i++ {
                    
646//		yaml.Marshal(&v)
                    
                
tags.js https://github.com/flynx/ImageGrid.git | JavaScript | 584 lines
                    
243	cur.map(function(gid){
                    
244		for(var i=0; i < subtagset.length; i++){
                    
245			if(subtagset[i].indexOf(gid) < 0){
                    
                
d10v_sim.h https://bitbucket.org/codefirex/toolchain_gdb.git | C Header | 487 lines
                    
136      int i; \
                    
137      for (i = 0; i < SLOT_NR; i++) \
                    
138	{ \
                    
165      int i; \
                    
166      for (i = 0; i < SLOT_NR; i++) \
                    
167	{ \
                    
                
mmc-twl4030.c https://github.com/JoeyJiao/android-huawei-kernel-common.git | C | 524 lines
                    
54
                    
55	for (i = 0; i < ARRAY_SIZE(hsmmc); i++) {
                    
56		struct omap_mmc_platform_data *mmc;
                    
105	/* require at least main regulator */
                    
106	for (i = 0; i < ARRAY_SIZE(hsmmc); i++) {
                    
107		if (hsmmc[i].name == mmc->slots[0].name) {
                    
171	gpio_free(mmc->slots[0].switch_pin);
                    
172	for(i = 0; i < ARRAY_SIZE(hsmmc); i++) {
                    
173		regulator_put(hsmmc[i].vcc);
                    
287
                    
288	for (i = 1; i < ARRAY_SIZE(hsmmc); i++) {
                    
289		if (mmc == hsmmc[i].mmc) {
                    
358
                    
359	for (i = 1; i < ARRAY_SIZE(hsmmc); i++) {
                    
360		if (mmc == hsmmc[i].mmc) {
                    
                
menu.php https://gitlab.com/edgarze188/sunrise | PHP | 269 lines
                    
58
                    
59		$submenu['edit.php'][$i++] = array( esc_attr( $tax->labels->menu_name ), $tax->cap->manage_terms, 'edit-tags.php?taxonomy=' . $tax->name );
                    
60	}
                    
70
                    
71		$submenu['upload.php'][$i++] = array( esc_attr( $tax->labels->menu_name ), $tax->cap->manage_terms, 'edit-tags.php?taxonomy=' . $tax->name . '&amp;post_type=attachment' );
                    
72	}
                    
89
                    
90		$submenu['edit.php?post_type=page'][$i++] = array( esc_attr( $tax->labels->menu_name ), $tax->cap->manage_terms, 'edit-tags.php?taxonomy=' . $tax->name . '&amp;post_type=page' );
                    
91	}
                    
140
                    
141		$submenu["edit.php?post_type=$ptype"][$i++] = array( esc_attr( $tax->labels->menu_name ), $tax->cap->manage_terms, "edit-tags.php?taxonomy=$tax->name&amp;post_type=$ptype" );
                    
142	}
                    
                
LexErrorList.cxx https://gitlab.com/cjeight/tortoisegit | C++ | 394 lines
                    
152		} state = stInitial;
                    
153		for (Sci_PositionU i = 0; i < lengthLine; i++) {
                    
154			char ch = lineBuffer[i];
                    
374
                    
375	for (Sci_PositionU i = startPos; i < startPos + length; i++) {
                    
376		lineBuffer[linePos++] = styler[i];
                    
                
SyncAdapter.java https://gitlab.com/kotaprabhakar/mutualapp | Java | 295 lines
                    
123            Log.d("SyncAdapter", "Friends: " + inputArray.toString());
                    
124            for(int i = 0; i < inputArray.length(); i++){
                    
125                JSONObject tempJSON = inputArray.getJSONObject(i);
                    
165
                    
166            for(int i = 0; i < inputArray.length(); i++){
                    
167                JSONObject tempJSON = inputArray.getJSONObject(i);
                    
208
                    
209            for(int i = 0; i < inputArray.length(); i++){
                    
210                JSONObject tempJSON = inputArray.getJSONObject(i);
                    
252
                    
253            for(int i = 0; i < inputArray.length(); i++){
                    
254                JSONObject tempJSON = inputArray.getJSONObject(i);
                    
                
mode-python.js https://bitbucket.org/berlotto/asciiblog.git | JavaScript | 397 lines
                    
60
                    
61        for (var i=startRow; i<= endRow; i++) {
                    
62            if (!re.test(doc.getLine(i))) {
                    
69            var deleteRange = new Range(0, 0, 0, 0);
                    
70            for (var i=startRow; i<= endRow; i++)
                    
71            {
                    
                
proc.c https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | C | 455 lines
                    
131  int i;
                    
132  for (i = 0; i < sensors_proc_chips_count; i++)
                    
133    if (sensors_match_chip(name, sensors_proc_chips[i].name))
                    
                
miscdtfm.cpp https://bitbucket.org/kennethendfinger/chromium.git | C++ | 378 lines
                    
119    logln("-------\t-------\t-------");
                    
120    for (int i = 0; i < 14/*dstring.length*/; i++)
                    
121    {
                    
                
X86CallingConv.cpp https://gitlab.com/williamwp/riscv-rv32x-llvm | C++ | 334 lines
                    
49  // Allocating the available registers.
                    
50  for (unsigned I = 0; I < RequiredGprsUponSplit; I++) {
                    
51
                    
                
rcubarrier.rst https://github.com/penberg/linux.git | ReStructuredText | 353 lines
                    
124 19   if (reader_tasks != NULL) {
                    
125 20     for (i = 0; i < nrealreaders; i++) {
                    
126 21       if (reader_tasks[i] != NULL) {
                    
138 33   if (fakewriter_tasks != NULL) {
                    
139 34     for (i = 0; i < nfakewriters; i++) {
                    
140 35       if (fakewriter_tasks[i] != NULL) {
                    
                
selector.js https://gitlab.com/courses-online/Angular2 | JavaScript | 339 lines
                    
143        }
                    
144        for (var i = 0; i < cssSelectors.length; i++) {
                    
145            this._addSelectable(cssSelectors[i], callbackCtxt, listContext);
                    
168        if (classNames) {
                    
169            for (var i = 0; i < classNames.length; i++) {
                    
170                var isTerminal = attrs.length === 0 && i === classNames.length - 1;
                    
233        var attrs = cssSelector.attrs;
                    
234        for (var i = 0; i < this._listContexts.length; i++) {
                    
235            this._listContexts[i].alreadyMatched = false;
                    
240        if (classNames) {
                    
241            for (var i = 0; i < classNames.length; i++) {
                    
242                var className = classNames[i];
                    
285        var result = false;
                    
286        for (var i = 0; i < selectables.length; i++) {
                    
287            selectable = selectables[i];
                    
                
truncate.c https://github.com/xdabravoteam/cm-kernel.git | C | 545 lines
                    
127	 */
                    
128	for (i = block1 ; i < block2; i++) {
                    
129		p = ufs_get_direct_data_ptr(uspi, ufsi, i);
                    
208	indirect_block = (DIRECT_BLOCK > offset) ? (DIRECT_BLOCK - offset) : 0;
                    
209	for (i = indirect_block; i < uspi->s_apb; i++) {
                    
210		ind = ubh_get_data_ptr(uspi, ind_ubh, i);
                    
233	}
                    
234	for (i = 0; i < uspi->s_apb; i++)
                    
235		if (!ufs_is_data_ptr_zero(uspi,
                    
288
                    
289	for (i = dindirect_block ; i < uspi->s_apb ; i++) {
                    
290		dind = ubh_get_data_ptr(uspi, dind_bh, i);
                    
297
                    
298	for (i = 0; i < uspi->s_apb; i++)
                    
299		if (!ufs_is_data_ptr_zero(uspi,
                    
                
autocorr.cpp https://github.com/jaumem/MoSync.git | C++ | 459 lines
                    
213
                    
214    for (i = 0; i < L_WINDOW; i++)
                    
215    {
                    
227
                    
228        for (i = 0; i < L_WINDOW; i++)
                    
229        {
                    
239
                    
240            for (i = 0; i < L_WINDOW; i++)
                    
241            {
                    
257
                    
258    for (i = 1; i <= m; i++)
                    
259    {
                    
                
bfad_debugfs.c https://gitlab.com/karrei/imx6-kernel | C | 550 lines
                    
314	spin_lock_irqsave(&bfad->bfad_lock, flags);
                    
315	for (i = 0; i < len; i++) {
                    
316		*regbuf = readl(reg_addr);
                    
503
                    
504		for (i = 0; i < ARRAY_SIZE(bfad_debugfs_files); i++) {
                    
505			file = &bfad_debugfs_files[i];
                    
530
                    
531	for (i = 0; i < ARRAY_SIZE(bfad_debugfs_files); i++) {
                    
532		if (bfad->bfad_dentry_files[i]) {
                    
                
main.c https://gitlab.com/karrei/imx6-kernel | C | 554 lines
                    
130
                    
131	for (i = 0; i < nvec; i++)
                    
132		table->msix_arr[i].entry = i;
                    
                
compound.c https://bitbucket.org/akristmann/custom_build.git | C | 489 lines
                    
133	num_crossings++;
                    
134    for (i = 1; i <= 3; i++) {
                    
135	old_sign = sign;
                    
155	num_crossings++;
                    
156    for (i = 1; i <= 3; i++) {
                    
157	old_sign = sign;
                    
255
                    
256    for (i = 0; i < 4; i++) {
                    
257	origpts[i] = pts[i];
                    
437		for (starti = endi; starti > 0; starti -= 3) {
                    
438		    for (i = 0; i < 4; i++)
                    
439			pts[i] = bez->list[starti - i];
                    
440		    if (splineIntersectf(pts, bb)) {
                    
441			for (i = 0; i < 4; i++)
                    
442			    bez->list[starti - i] = pts[i];
                    
                
constrained_majorization.c https://bitbucket.org/akristmann/custom_build.git | C | 496 lines
                    
93	if (graph[0].edists!=NULL) {
                    
94		for (i=0; i<n; i++) {
                    
95			for (j=1; j<graph[i].nedges; j++) {
                    
114			/* now copy the y-axis into the (dim-1)-axis */
                    
115			for (i=0; i<n; i++) {
                    
116				d_coords[dim-1][i] = d_coords[1][i];
                    
131			int stop;
                    
132			for (i=0; i<num_levels; i++) {
                    
133				displacement+=MAX((double)0,levels_gap-(y[ordering[levels[i]]]+displacement-y[ordering[levels[i]-1]]));
                    
193	length = n+n*(n-1)/2;
                    
194	for (i=0; i<length; i++) {
                    
195		if (Dij[i]>diameter) {
                    
203		double max=1;		
                    
204		for (i=0; i<dim; i++) {	
                    
205			for (j=0; j<n; j++) {
                    
                
mlxreg-fan.c https://github.com/acmel/linux.git | C | 523 lines
                    
308		state -= MLXREG_FAN_MAX_STATE;
                    
309		for (i = 0; i < state; i++)
                    
310			fan->cooling_levels[i] = state;
                    
310			fan->cooling_levels[i] = state;
                    
311		for (i = state; i <= MLXREG_FAN_MAX_STATE; i++)
                    
312			fan->cooling_levels[i] = i;
                    
397	fan->divider = MLXREG_FAN_TACHO_DIV_DEF;
                    
398	for (i = 0; i < pdata->counter; i++, data++) {
                    
399		if (strnstr(data->label, "tacho", sizeof(data->label))) {
                    
456	/* Init cooling levels per PWM state. */
                    
457	for (i = 0; i < MLXREG_FAN_SPEED_MIN_LEVEL; i++)
                    
458		fan->cooling_levels[i] = MLXREG_FAN_SPEED_MIN_LEVEL;
                    
458		fan->cooling_levels[i] = MLXREG_FAN_SPEED_MIN_LEVEL;
                    
459	for (i = MLXREG_FAN_SPEED_MIN_LEVEL; i <= MLXREG_FAN_MAX_STATE; i++)
                    
460		fan->cooling_levels[i] = i;
                    
                
LexLua.cxx https://github.com/LuaDist/scintilla.git | C++ | 453 lines
                    
157						if (i < 90)
                    
158							s[i++] = c;
                    
159						ln++;
                    
378
                    
379	for (unsigned int i = startPos; i < lengthDoc; i++) {
                    
380		char ch = chNext;
                    
                
gifdec.c https://gitlab.com/lenivyyluitel/hitagi | C | 530 lines
                    
109    if (bgcolor[0] || bgcolor[1] || bgcolor [2])
                    
110        for (i = 0; i < gif->width * gif->height; i++)
                    
111            memcpy(&gif->canvas[i*3], bgcolor, 3);
                    
384        str_len = entry.length;
                    
385        for (i = 0; i < str_len; i++) {
                    
386            p = frm_off + entry.length - 1;
                    
                
snic_disc.c https://gitlab.com/dieselnutjob/linux-next | C | 565 lines
                    
372
                    
373	for (i = 0; i < snic->disc.rtgt_cnt; i++) {
                    
374		tgt = snic_tgt_create(snic, &tgtid[i]);
                    
421
                    
422	for (i = 0; i < tgt_cnt; i++)
                    
423		SNIC_HOST_INFO(snic->shost,
                    
                
hda_hwdep.c https://github.com/concer/linux-2.6.git | C | 555 lines
                    
112	/* clear hints */
                    
113	for (i = 0; i < codec->hints.used; i++) {
                    
114		struct hda_hint *hint = snd_array_elem(&codec->hints, i);
                    
305	int i, len = 0;
                    
306	for (i = 0; i < codec->init_verbs.used; i++) {
                    
307		struct hda_verb *v = snd_array_elem(&codec->init_verbs, i);
                    
343	int i, len = 0;
                    
344	for (i = 0; i < codec->hints.used; i++) {
                    
345		struct hda_hint *hint = snd_array_elem(&codec->hints, i);
                    
355
                    
356	for (i = 0; i < codec->hints.used; i++) {
                    
357		struct hda_hint *hint = snd_array_elem(&codec->hints, i);
                    
434	int i, len = 0;
                    
435	for (i = 0; i < list->used; i++) {
                    
436		struct hda_pincfg *pin = snd_array_elem(list, i);
                    
                
break-substitution.cc https://gitlab.com/aguai/lilypond | C++ | 534 lines
                    
112      SCM nv = scm_c_make_vector (len, SCM_UNDEFINED);
                    
113      for (int i = 0; i < len; i++)
                    
114        {
                    
164  Grob **ptr = array;
                    
165  for (vsize i = 0; i < old_grobs.size (); i++)
                    
166    {
                    
352
                    
353  for (vsize i = 0; i < grob_array->size (); i++)
                    
354    {
                    
373  vector<Slice> spanner_indices;
                    
374  for (int i = 0; i <= system_range.length (); i++)
                    
375    {
                    
385
                    
386  for (int i = 0; i < item_index; i++)
                    
387    {
                    
                
jsuri-1.1.1.js https://gitlab.com/yenny.prathivi/My-Wallet | JavaScript | 473 lines
                    
37
                    
38            for (i = 0; i < ps.length; i++) {
                    
39                p = ps[i];
                    
51            var s = '', i, param;
                    
52            for (i = 0; i < params.length; i++) {
                    
53                param = params[i];
                    
70            var param, i;
                    
71            for (i = 0; i < params.length; i++) {
                    
72                param = params[i];
                    
81            var arr = [], i, param;
                    
82            for (i = 0; i < params.length; i++) {
                    
83                param = params[i];
                    
96
                    
97            for (i = 0; i < params.length; i++) {
                    
98
                    
                
fsevents-handler.js https://gitlab.com/sogeta_albazi/books-and-movies | JavaScript | 412 lines
                    
137  var i = 0;
                    
138  while (!path.indexOf(root) && (path = sysPath.dirname(path)) !== root) i++;
                    
139  return i;
                    
                
pcm_misc.c https://gitlab.com/webhaikal/SenseiRN3 | C | 518 lines
                    
466	int i;
                    
467	for (i = 0; i < (int)snd_pcm_known_rates.count; i++) {
                    
468		if (runtime->hw.rates & (1 << i)) {
                    
494
                    
495	for (i = 0; i < snd_pcm_known_rates.count; i++)
                    
496		if (snd_pcm_known_rates.list[i] == rate)
                    
512
                    
513	for (i = 0; i < snd_pcm_known_rates.count; i++)
                    
514		if ((1u << i) == rate_bit)
                    
                
helpview.cpp https://github.com/goofoo/Helium.git | C++ | 491 lines
                    
92
                    
93    for( i=1; i<argc; i++ )
                    
94    {
                    
209
                    
210    for( i=0; i<bookCount; i++ )
                    
211    {
                    
                
MKSerial.c https://github.com/CorvusCorax/my_OpenPilot_mods.git | C | 559 lines
                    
153
                    
154	for (int i = 0; i < msg->nbPars; i++) {
                    
155		DEBUG_MSG("%02x ", msg->pars[i]);
                    
295					int i;
                    
296					for (i = 0; i < 4; i++) {
                    
297						checkVal += buf[i];
                    
                
_base.js https://github.com/schnuffel/learncards-web.git | JavaScript | 574 lines
                    
35}
                    
36for(var i=0,_6;_6=this._dicts[i];i++){
                    
37if(typeof _6[_4]!="undefined"){
                    
93_14=_14||999;
                    
94while(i++<_14&&(bit=_a.exec(this.contents))){
                    
95bit=bit[0];
                    
173var _2a=dojo.trim(tag).split(/\s+/g);
                    
174for(var i=0,_2b;_2b=_2a[i];i++){
                    
175dojo["require"](_2b);
                    
220},{render:function(_3a,_3b){
                    
221for(var i=0,l=this.contents.length;i<l;i++){
                    
222if(this.contents[i].resolve){
                    
249var pos,arg;
                    
250for(var i=0,has=[];i<arguments.length;i++){
                    
251has[i]=(typeof arguments[i]!="undefined"&&typeof arguments[i]=="string"&&arguments[i]);
                    
                
Util.java https://gitlab.com/hounge.mobile/apkinspector | Java | 461 lines
                    
46    long result = 1;
                    
47    for (long i = 1; i <= n_; i++)
                    
48      result *= i;
                    
78    int result = 1;
                    
79    for (int i = 1; i <= n_; i++)
                    
80      result *= i;
                    
103    s.append("[");
                    
104    for (int i = 0; i < ints_.length; i++) {
                    
105      if (i > 0)
                    
119    s.append(start);
                    
120    for (int i = 0; i < o.length; i++) {
                    
121      if (o[i] != null) {
                    
332
                    
333      for (int i = 0; i < fields.length; i++) {
                    
334        // Make this field accessible
                    
                
transport_data.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 336 lines
                    
80#endif
                    
81  for (size_t i = 0; i < num_handles; i++) {
                    
82    if (Dispatcher* dispatcher = (*dispatchers)[i].get()) {
                    
131  size_t current_offset = serialized_dispatcher_start_offset;
                    
132  for (size_t i = 0; i < num_handles; i++) {
                    
133    Dispatcher* dispatcher = (*dispatchers)[i].get();
                    
271      "Message contains invalid serialized dispatcher";
                    
272  for (size_t i = 0; i < num_handles; i++) {
                    
273    size_t offset = handle_table[i].offset;
                    
318          static_cast<const char*>(buffer) + sizeof(Header));
                    
319  for (size_t i = 0; i < num_handles; i++) {
                    
320    size_t offset = handle_table[i].offset;
                    
                
g450_pll.c https://github.com/mturquette/linux-omap.git | C | 538 lines
                    
218
                    
219			for (i = 0; i < 100; i++) {
                    
220				r += matroxfb_DAC_in(minfo, regidx) & 0x40;
                    
314	mnp_key &= G450_MNP_FREQBITS;
                    
315	for (i = 0; i < ci->valid; i++) {
                    
316		if (ci->data[i].mnp_key == mnp_key) {
                    
                
srat_64.c https://github.com/teknologist/HTC-Hero-Teknologist-Kernel.git | C | 522 lines
                    
50	int i;
                    
51	for (i = 0; i < num_node_memblks; i++) {
                    
52		struct bootnode *nd = &node_memblk_range[i];
                    
87	found_add_area = 0;
                    
88	for (i = 0; i < MAX_LOCAL_APIC; i++)
                    
89		apicid_to_node[i] = NUMA_NO_NODE;
                    
89		apicid_to_node[i] = NUMA_NO_NODE;
                    
90	for (i = 0; i < MAX_NUMNODES; i++)
                    
91		nodes_add[i].start = nodes[i].end = 0;
                    
329	node_clear(node, nodes_parsed);
                    
330	for (i = 0; i < MAX_LOCAL_APIC; i++) {
                    
331		if (apicid_to_node[i] == node)
                    
346	/* First clean up the node list */
                    
347	for (i = 0; i < MAX_NUMNODES; i++) {
                    
348		cutoff_node(i, start, end);
                    
                
postgresql-jdbc-unspec-string.patch https://github.com/commandprompt/PGSQLRPMS.git | Patch | 279 lines
                    
84     boolean hasUnresolvedTypes() {
                    
85         for (int i=0; i< paramTypes.length; i++) {
                    
86-            if (paramTypes[i] == Oid.INVALID)
                    
                
dominos-commandline-pizza.js https://gitlab.com/edelmaks/PizzaPI | JavaScript | 510 lines
                    
256            console.log('\n');
                    
257            for(var i=0; i<count; i++){
                    
258                var store=openStores[i];
                    
295    var items=items.split(',');
                    
296    for(var i=0; i<items.length; i++){
                    
297        //create a new product to add to the order
                    
                
GridFileStreamTest.cs https://github.com/nikunjdhawan/mongodb-csharp.git | C# | 379 lines
                    
94            buff = new byte[4];
                    
95            for(int i = 0; i < size/4; i++){
                    
96                read = gfs.Read(buff,0,4);
                    
117            int val;
                    
118            for(int i = 1; i <= size/4 - offset; i++){
                    
119                read = gfs.Read(buff,0,4);
                    
141            byte[] one = new byte[]{1};
                    
142            for(int i = 0; i < chunksize/2; i++){
                    
143                gfs.Write(one, 0, 1);
                    
205            GridFileStream gfs = fs.Create(filename);
                    
206            for(int i = 1; i <= 50; i++){
                    
207                gfs.Write(BitConverter.GetBytes(i), 0, 4);
                    
214            int read;
                    
215            for(int i = 1; i <= 50; i++){
                    
216                read = gfs.Read(buff,0,4);
                    
                
vtkReflectionFilter.cxx https://github.com/dgobbi/VTK.git | C++ | 471 lines
                    
192    {
                    
193    for (i = 0; i < numPts; i++)
                    
194      {
                    
241
                    
242  for (i = 0; i < numPts; i++)
                    
243    {
                    
271    {
                    
272    for (i = 0; i < numCells; i++)
                    
273      {
                    
290  // Generate reflected cells.
                    
291  for (i = 0; i < numCells; i++)
                    
292    {
                    
                
update_account.jsp https://github.com/jdbaltazar/CMSC-198-IAPPSAM-System.git | JavaServer Pages | 396 lines
                    
143									int j = 0;
                    
144									for (int i = 0; i < employees.size(); i++) {
                    
145								%>
                    
220												<%
                    
221													for (int i = 0; i < dList.size(); i++) {
                    
222												%>
                    
260
                    
261											for (int i = 0; i < contacts.length; i++) {
                    
262												if (contacts[i].getType().equals(ContactType.EMAIL))
                    
276											if (!mobile.isEmpty()) {
                    
277												for (int i = 0; i < mobile.size(); i++) {
                    
278										%> <input type="text" name="cellphoneNumber"
                    
294
                    
295												for (int i = 0; i < landline.size(); i++) {
                    
296										%> <input type="text" name="landline" id="landline"
                    
                
loadsounds.cpp https://github.com/simX/d2x-xl.git | C++ | 495 lines
                    
125PrintLog ("unloading custom sounds\n");
                    
126for (i = 0; i < 2; i++)
                    
127	for (j = 0, dsP = gameData.pig.sound.sounds [i].Buffer (); j < MAX_SOUND_FILES; j++, dsP++)
                    
168nDataOffs = nHeaderOffs + nLoadedSounds * sizeof (tPIGSoundHeader);
                    
169for (i = b11K ? 0 : nLoadedSounds / 2; i < nLoadedSounds; i++) {
                    
170	cf.Seek ((long) (nHeaderOffs + i * sizeof (tPIGSoundHeader)), SEEK_SET);
                    
243	}
                    
244for (i = 0; i < nSounds; i++) {
                    
245	PIGSoundHeaderRead (&sndh, cf);
                    
280	return 1;
                    
281for (i = 0; i < MAX_SOUNDS; i++) {
                    
282	if ((AltSounds [gameStates.app.bD1Mission][i] < 255) && (Sounds [gameStates.app.bD1Mission][AltSounds [gameStates.app.bD1Mission][i]] == nSound))
                    
475{
                    
476for (int i = 0; i < int (sizeofa (addonSounds)); i++)
                    
477	LoadAddonSound (AddonSoundName (i));
                    
                
packet.go https://gitlab.com/zanderwong/lantern | Go | 539 lines
                    
183		}
                    
184		for i := 0; i < lengthBytes; i++ {
                    
185			length <<= 8
                    
                
TestCustomScoreQuery.java https://github.com/simplegeo/lucene-solr-3.1.git | Java | 348 lines
                    
198    assertEquals(N_DOCS, hits.totalHits);
                    
199    for(int i=0;i<N_DOCS;i++) {
                    
200      final int doc = hits.scoreDocs[i].doc;
                    
341    Map<Integer,Float> h = new HashMap<Integer,Float>();
                    
342    for (int i=0; i<td.totalHits; i++) {
                    
343      h.put(td.scoreDocs[i].doc, td.scoreDocs[i].score);
                    
                
hsr_framereg.c https://gitlab.com/buktemirlnk/mirrors | C | 502 lines
                    
160	now = jiffies;
                    
161	for (i = 0; i < HSR_PT_PORTS; i++)
                    
162		node->time_in[i] = now;
                    
162		node->time_in[i] = now;
                    
163	for (i = 0; i < HSR_PT_PORTS; i++)
                    
164		node->seq_out[i] = seq_out;
                    
240	ether_addr_copy(node_real->MacAddressB, eth_hdr(skb)->h_source);
                    
241	for (i = 0; i < HSR_PT_PORTS; i++) {
                    
242		if (!node_curr->time_in_stale[i] &&
                    
                
OrderablePartitioner.cs https://gitlab.com/0072016/0072016-corefx- | C# | 276 lines
                    
175            IEnumerator<TSource>[] partitions = new IEnumerator<TSource>[partitionCount];
                    
176            for (int i = 0; i < partitionCount; i++)
                    
177            {
                    
                
Style.js https://github.com/joshuaoa/MapDev.git | JavaScript | 411 lines
                    
128    destroy: function() {
                    
129        for (var i=0, len=this.rules.length; i<len; i++) {
                    
130            this.rules[i].destroy();
                    
156        var appliedRules = false;
                    
157        for(var i=0, len=rules.length; i<len; i++) {
                    
158            rule = rules[i];
                    
174            appliedRules = true;
                    
175            for(var i=0, len=elseRules.length; i<len; i++) {
                    
176                this.applySymbolizer(elseRules[i], style, feature);
                    
287        var symbolizer, value;
                    
288        for (var i=0, len=rules.length; i<len; i++) {
                    
289            symbolizer = rules[i].symbolizer;
                    
364        var prefixes = OpenLayers.Style.SYMBOLIZER_PREFIXES;
                    
365        for (var i=0, len=prefixes.length; i<len; i++) {
                    
366            if (geometry.CLASS_NAME.indexOf(prefixes[i]) != -1) {
                    
                
StatusBarOptionPane.java https://github.com/RoDaniel/featurehouse.git | Java | 470 lines
                    
181		StringBuilder buf = new StringBuilder();
                    
182		for(int i = 0; i < listModel.getSize(); i++)
                    
183		{
                    
                
runtime.js https://github.com/rexrainbow/C2_plugins.git | JavaScript | 457 lines
                    
36	    var exist=false;
                    
37	    for(var i=0;i<scripts.length;i++)
                    
38	    {
                    
239		var i, friend_item;
                    
240		for (i=0; i<friend_cnt; i++)
                    
241	    {
                    
                
FCH.java https://github.com/agilebirds/openflexo.git | Java | 334 lines
                    
88			}
                    
89			for (int i = 0; i < component.getComponentCount(); i++) {
                    
90				Component comp = component.getComponent(i);
                    
                
Util.pm https://github.com/formbuilder/fbwebsite.git | Perl | 498 lines
                    
100    my($pkg,$file,$line,$func);
                    
101    while (my @stk = caller($i++)) {
                    
102        ($pkg,$file,$line,$func) = @stk;
                    
116    my($pkg,$file,$line,$func);
                    
117    while (my @stk = caller($i++)) {
                    
118        ($pkg,$file,$line,$func) = @stk;
                    
                
FileUploadPlugin.java https://github.com/czarneckid/blojsom-sourceforge.git | Java | 282 lines
                    
143            _acceptedFileTypes = new HashMap(parsedListOfTypes.length);
                    
144            for (int i = 0; i < parsedListOfTypes.length; i++) {
                    
145                String type = parsedListOfTypes[i];
                    
248                File deletedFile;
                    
249                for (int i = 0; i < filesToDelete.length; i++) {
                    
250                    String fileToDelete = filesToDelete[i];
                    
269                resourceFilesMap = new HashMap(resourceFiles.length);
                    
270                for (int i = 0; i < resourceFiles.length; i++) {
                    
271                    File resourceFile = resourceFiles[i];
                    
                
rt5640_ioctl.c https://gitlab.com/T-Firefly/fireprime-kernel | C | 468 lines
                    
53
                    
54	for(i = 0; i <= EQ_REG_NUM; i++) {
                    
55		if(hweq_param[mode].reg[i])
                    
                
RadioGroup.js https://github.com/fjakobs/qooxdoo.git | JavaScript | 524 lines
                    
207
                    
208      for (var i = 0, l = arguments.length; i < l; i++) {
                    
209        item = arguments[i];
                    
319
                    
320      for (var i = 0; i < this.__items.length; i++) {
                    
321        item = this.__items[i];
                    
340    _applyInvalidMessage(value, old) {
                    
341      for (var i = 0; i < this.__items.length; i++) {
                    
342        this.__items[i].setInvalidMessage(value);
                    
347    _applyValid(value, old) {
                    
348      for (var i = 0; i < this.__items.length; i++) {
                    
349        this.__items[i].setValid(value);
                    
356      if (value == null) {
                    
357        for (var i = 0, l = items.length; i < l; i++) {
                    
358          items[i].resetEnabled();
                    
                
police.c https://github.com/huitebe/fuck_reuben.git | C | 612 lines
                    
79
                    
80	for (i = 0; i < MY_TAB_SIZE; i++) {
                    
81		p = tcf_police_ht[tcf_police_hash(i)];
                    
100			r->rta_len = skb->tail - (u8*)r;
                    
101			n_i++;
                    
102		}
                    
                
gobj.c https://github.com/ivanwyc/google-go.git | C | 732 lines
                    
152		n = a->sval;
                    
153		for(i=0; i<NSNAME; i++) {
                    
154			Bputc(b, *n);
                    
                
namei.c https://github.com/midyer/linux.git | C | 584 lines
                    
352		while (sbi->s_volume[i])	/* Cannot overflow */
                    
353			*p++ = sbi->s_volume[i++];
                    
354		spin_unlock(&sbi->symlink_lock);
                    
358			*p++ = '/';
                    
359			i++;
                    
360			symname += 2;
                    
367			lc   = c;
                    
368			i++;
                    
369		}
                    
                
CssTransition.js https://bitbucket.org/mvelikov/90-days-diet-sencha.git | JavaScript | 409 lines
                    
54
                    
55            for (i = 0,ln = toPropertyNames.length; i < ln; i++) {
                    
56                name = toPropertyNames[i];
                    
134
                    
135            for (i = 0; i < ln; i++) {
                    
136                session = sessions[i];
                    
142        else {
                    
143            for (i = 0; i < ln; i++) {
                    
144                session = sessions[i];
                    
254
                    
255        for (i = 0,ln = animations.length; i < ln; i++) {
                    
256            animation = animations[i];
                    
399
                    
400                for (i = 0,ln = sessions.length; i < ln; i++) {
                    
401                    session = sessions[i];
                    
                
grid.custom.js https://github.com/huconco/jqgrid_demo_app.git | JavaScript | 437 lines
                    
14		var cM = $t.p.colModel;
                    
15		for ( var i =0;i<cM.length;i++ ) {
                    
16			if ( cM[i].name == colname ) {
                    
28					var cM = this.p.colModel;
                    
29					for ( var i =0;i<cM.length;i++ ) {
                    
30						if ( cM[i].name == colname ) {
                    
43			if ( !colname ) { colname = $t.p.sortname; }
                    
44			for ( var i=0;i<$t.p.colModel.length;i++ ) {
                    
45				if ( $t.p.colModel[i].index == colname || $t.p.colModel[i].name==colname ) {
                    
                
MeshGenerator.cs https://gitlab.com/Bezerra/rpg | C# | 394 lines
                    
97        EdgeCollider2D[] currentColliders = gameObject.GetComponents<EdgeCollider2D> ();
                    
98        for (int i = 0; i < currentColliders.Length; i++) {
                    
99            Destroy(currentColliders[i]);
                    
                
browser.js https://gitlab.com/gtekelis/modbus_project | JavaScript | 477 lines
                    
186    if (l === +l) {
                    
187        for (var i = 0; i < l; i++) {
                    
188            fn.call(ctx, obj[i], i, obj);
                    
233    var boundArgs = [];
                    
234    for (var i = 0; i < boundLength; i++) {
                    
235        boundArgs.push('$' + i);
                    
                
muselection_search.js https://gitlab.com/Daniel-Bessa/dev-vm | JavaScript | 325 lines
                    
275                            var listselected = ''
                    
276                            for (var i = 0; i < this.getView().byId("Tree").getSelectedItems().length; i++) {
                    
277                                listselected += this.getView().byId("Tree").getSelectedItems()[i].getBindingContext("Multiinput_1").getObject().text + ","
                    
                
emul_op.cpp https://github.com/amade/SheepShaver_oldstuff.git | C++ | 492 lines
                    
78				len &= 0x7fff;
                    
79				for (uint32 i=0; i<len; i++)
                    
80					XPRAM[((ofs + i) & 0xff) + 0x1300] = *adr++;
                    
81			} else {
                    
82				for (uint32 i=0; i<len; i++)
                    
83					*adr++ = XPRAM[((ofs + i) & 0xff) + 0x1300];
                    
242				int i;
                    
243				for (i=0; i<pstr[0]; i++)
                    
244					str[i] = pstr[i+1];
                    
                
common.c https://github.com/asankah/heimdal.git | C | 487 lines
                    
118
                    
119    for (i = 0; i < entry->keys.len; i++) {
                    
120	Key *key = &entry->keys.val[i];
                    
288    }
                    
289    for (i = 0; i < aliases->aliases.len; i++) {
                    
290	krb5_data akey;
                    
318
                    
319    for (i = 0; i < aliases->aliases.len; i++) {
                    
320	hdb_entry_alias entryalias;
                    
351
                    
352    for (i = 0; aliases && i < aliases->aliases.len; i++) {
                    
353	hdb_entry_alias alias;
                    
                
init.c https://bitbucket.org/mirror/linux.git | C | 461 lines
                    
109
                    
110	for (i = 0; i < MT7615_WTBL_SIZE; i++)
                    
111		mt7615_mac_wtbl_update(dev, i,
                    
249
                    
250	for (i = 0; i < sband->n_channels; i++) {
                    
251		struct ieee80211_channel *chan = &sband->channels[i];
                    
                
CronParser.php https://github.com/kiirti/Ushahidi_MHI.git | PHP | 429 lines
                    
105			$count = count($tmp1);
                    
106			for ($i=0;$i<$count;$i++){//Loop through each comma-separated value
                    
107				if (strstr($tmp1[$i],  "-")){ //If there's a range in this place, expand that too
                    
119			$range = explode("-", $str);
                    
120			for ($i=$range[0];$i<=$range[1];$i++){
                    
121				$ret[] = $i;
                    
139			$count = count($tmp1);
                    
140			for ($i=0;$i<$count;$i++){//Loop through each comma-separated value
                    
141				if (strstr($tmp1[$i],  "-")){ //If there's a range in this place, expand that too
                    
160			$range = explode("-", $str);
                    
161			for ($i=$start;$i<=$range[1];$i++){
                    
162				for ($n=1;$n<=$daysInMonth;$n++){
                    
378   			$this->debug("Days in ".$month.", ".$this->now[5].": ".$daysinmonth);
                    
379   			for($i = 1;$i<=$daysinmonth;$i++){
                    
380   				$days[] = $i;
                    
                
TrilinosDetail.cpp https://github.com/tlmquintino/coolfluid3.git | C++ | 417 lines
                    
166    const int var_start_gid = var_offset * gid.global_nb_gid;
                    
167    for (int i=0; i<nb_nodes_for_rank; i++)
                    
168    {
                    
235    const int var_start_gid = var_offset * gid.global_nb_gid;
                    
236    for (int i=0; i<nb_nodes_for_rank; i++)
                    
237    {
                    
275      const Uint neq = variables.var_length(var_idx);
                    
276      for (int i=0; i<nb_nodes_for_rank; i++)
                    
277      {
                    
293      const Uint neq = variables.var_length(var_idx);
                    
294      for (int i=0; i<nb_nodes_for_rank; i++)
                    
295      {
                    
340      const Uint neq = variables.var_length(var_idx);
                    
341      for (int i=0; i<nb_nodes_for_rank; i++)
                    
342      {
                    
                
UserObjectImp.cpp https://github.com/blackberry/WebKit-Smartphone.git | C++ | 417 lines
                    
68        if (jsArgs) {
                    
69            for (CFIndex i = 0; i < argCount; i++) {
                    
70                JSUserObject* jsArg = KJSValueToJSObject(exec->argument(i), exec);
                    
104            CFIndex i;
                    
105            for (i = 0; i < count; i++) {
                    
106                CFStringRef propertyName = (CFStringRef)CFArrayGetValueAtIndex(cfPropertyNames, i);
                    
                
format.js.uncompressed.js https://github.com/cfxram/grails-dojo.git | JavaScript | 478 lines
                    
43			iTxt = "";
                    
44			for(i = 0; i < indentBy; i++){
                    
45				iTxt += " ";
                    
106			var i, txt = "";
                    
107			for(i = 0; i < indentDepth; i++){
                    
108				txt += iTxt;
                    
116			var i;
                    
117			for(i = 0; i < indentDepth; i++){
                    
118				content.push(iTxt);
                    
147			var _lines = txt.split("\n");
                    
148			for(i = 0; i < _lines.length; i++){
                    
149				_lines[i] = lang.trim(_lines[i]);
                    
167								// Couldn't find a split going back, so go forward.
                    
168								for(i = maxLine; (i < txt.length && txt.charAt(i) !== " "); i++){
                    
169									// Do nothing, we're just looking for a space to split at.
                    
                
ByteEncoding.cs https://github.com/grendello/mono.git | C# | 495 lines
                    
91			lock (normalization_bytes) {
                    
92				for (int i = 0; i < 0x100; i++)
                    
93					normalization_bytes [i] = (byte) i;
                    
                
V2d_Viewer.cxx https://github.com/AsherBond/MondocosmOS.git | C++ | 445 lines
                    
217  Standard_Integer i,index=0;
                    
218  for ( i=1; i<= Size; i++) {
                    
219   if(myColorMap->Entry(i).Color().IsEqual(color)) 
                    
223    Handle(Aspect_GenericColorMap) map = new Aspect_GenericColorMap;
                    
224    for (i=1; i<= Size; i++) {
                    
225      map->AddEntry(myColorMap->Entry(i));
                    
228    TColStd_MapOfInteger M;
                    
229    for ( i=1; i<= Size; i++) {
                    
230      M.Add(myColorMap->Entry(i).Index());
                    
237      if(!M.Contains(i)) index =i;
                    
238      i++;
                    
239    }
                    
                
lineprimitives.js http://demoasp.googlecode.com/svn/trunk/ | JavaScript | 397 lines
                    
344  // Generate the individual vertices in our vertex buffer.

                    
345  for (var i = 0; i <= subdivisions; i++) {

                    
346    var theta = 2 * Math.PI * i / subdivisions;

                    
353  // Connect the vertices by simple lines.

                    
354  for (var i = 0; i < subdivisions; i++) {

                    
355    vertexInfo.addLine(i, i+1);

                    
                
MetaDataHelper.java http://pride-toolsuite.googlecode.com/svn/ | Java | 342 lines
                    
124        if (targets != null) {
                    
125            for (int i = 0; i < targets.size(); i++) {
                    
126                String prefix = Constants.TARGET + " " + (i + 1) + " - ";
                    
189        if (proMethods != null) {
                    
190            for (int i = 0; i < proMethods.size(); i++) {
                    
191                String prefix = Constants.PROCESSING_METHOD + " " + (i + 1) + " - ";
                    
216        if (steps != null) {
                    
217            for (int i = 0; i < steps.size(); i++) {
                    
218                String prefix = Constants.PROTOCOL_STEP + " " + (i + 1) + " - ";
                    
                
l_struct.c http://bzzwolfmp.googlecode.com/svn/trunk/ | C | 508 lines
                    
68
                    
69	for ( i = 0; defs[i].name; i++ )
                    
70	{
                    
404	indent++;
                    
405	for ( i = 0; def->fields[i].name; i++ )
                    
406	{
                    
                
SimpleTextLayout.java git://github.com/metsci/glimpse.git | Java | 459 lines
                    
220
                    
221            for ( int i = lastBreakIdx; i < text.length( ) && breakAt == BreakIterator.DONE; i++ )
                    
222            {
                    
282        double prevMinX = 0;
                    
283        for ( int i = 1; i < breaks.size( ); i++ )
                    
284        {
                    
                
CharpterController.m http://read-book.googlecode.com/svn/trunk/ | Objective C | 394 lines
                    
91		i = (charpaterIndex - 1) * 22;
                    
92		for (i;  i < total; i++) {
                    
93			UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
                    
136		i = (charpaterIndex - 1) * 15;
                    
137		for (i;  i < total; i++) {
                    
138			UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
                    
                
DataParser.cs http://kidvn-lab.googlecode.com/svn/trunk/ | C# | 390 lines
                    
134
                    
135                for (int i = 0; i < elemAttribList.Count; i++)
                    
136                {
                    
167                XmlNodeList elemFilterList = elemRoot.GetElementsByTagName(XmlConst.DATA_FILTER);
                    
168                for (int i = 0; i < elemFilterList.Count; i++)
                    
169                {
                    
283
                    
284                for (int i = 0; i < this.parsedDataItems.Count; i++)
                    
285                {
                    
330                //outputData.Append(this.generateHeader(separator));
                    
331                for (int i = 0; i < strInputData.Length; i++)
                    
332                {
                    
                
 

Source

Language