28+ results for 'i++;' (704 ms)
This C code is a Linux kernel module that provides a library for Libertas WLAN drivers. It implements various functions, including event queueing, command response handling, and RTAP interface support. The code initializes and exits the module, and sets up debugfs interfaces for configuration and monitoring purposes. It also handles device operations such as opening, stopping, and transmitting data over the network.
697 mc_list->dmi_addr); 698 i++; 699 }LEDMatrix.h https://github.com/AaronLiddiment/LEDMatrix.git | C Header | 509 lines
316 p_LED[i] = CRGB(0, 0, 0); 317 i++; 318 if (y > 1) 476 p_LED[i] = CRGB(0, 0, 0); 477 i++; 478 if (x > 1)CConfig.cpp https://github.com/azboul/multitheftauto.git | C++ | 423 lines
68 } 69 i++; 70 } 80 } 81 i++; 82 if ( ( szInput[i] == '\0' ) || ( szInput[i] == '\n' ) || ( szInput[i] == '#' ) ) { 91 szTemp[j] = szInput[i]; 92 i++; 93 j++; 153 } 154 i++; 155 } 358 if ( m_fp ) { 359 i++; 360 char szInput[256];Strings.java https://github.com/MIPS/external-bouncycastle.git | Java | 246 lines
137 138 i++; 139 }HashMapII.java https://gitlab.com/MineYourMind/MineTweaker3 | Java | 237 lines
233 private void skip() { 234 while (i < keys.length && keys[i] == Integer.MIN_VALUE) i++; 235 }fachadaInterface.php https://github.com/danielvaleradp/--ngara.git | PHP | 150 lines
96 $TmpP[$i] = self::consultarEstadisticas($Jugador); 97 $i++; 98 } else {SimpleArrayMap.java https://gitlab.com/Soundar028/mahendra_result_app | Java | 416 lines
362 } 363 i++; 364 } catch (NullPointerException e) { 382 result += (value == null ? 0 : value.hashCode()) ^ hashes[i]; 383 i++; 384 v += 2;ConnectFour_434.js https://github.com/ingrahaj/CTArcade.git | JavaScript | 348 lines
243 if (direction == 'DIAG1') { 244 i++; 245 j++;15.10.6.2-2.js https://bitbucket.org/ultra_iter/qt-vtl.git | JavaScript | 367 lines
355 expectedmatches[i] = expectedmatch; 356 i++; 357}Patch.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 395 lines
This Java code implements a patch editor that applies changes to a text file by applying chunks of text, known as “patches”, to the original file. It supports three types of patches: add (insertion), change (replacement), and delete (removal). The code uses an offset-based system to apply patches to the original file, allowing for precise control over where in the file each patch is applied.
335 buff.add( changeTo[ j ] ); 336 i++; 337 }BrowserColorsOptionPane.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 346 lines
This Java code creates a GUI component for managing browser colors. It allows users to add, remove, and edit color settings for different file types. The component displays a table with two columns: one for glob patterns and another for corresponding colors. Users can select new colors from a palette or enter custom values. The changes are saved when the user clicks “Save”.
182 Color.black))); 183 i++; 184 }SystemShell.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 1090 lines
This Java code is part of a console shell implementation, likely for an integrated development environment (IDE). It provides functionality for navigating directories, executing commands, and handling file operations. The code defines classes and methods for managing console states, processing commands, and escaping/unescaping special characters in command lines.
725 + i + ".expansion")); 726 i++; 727 } */ 749 + i + ".value")); 750 i++; 751 } */StylesheetParameterTableModel.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 237 lines
This Java code defines a table model for XSL stylesheet parameters, allowing users to add, edit, and delete parameter names and values in a table. It provides methods for adding, removing, and editing parameters, as well as getting the current value of each parameter at a specific row and column index.
189 } 190 i++; 191 }cmdline.c http://omnia2droid.googlecode.com/svn/trunk/ | C | 160 lines
This C code is used to parse kernel command line options and module parameters. It provides functions for parsing integers, ranges of numbers, and memory sizes with suffixes (e.g., kilobytes, megabytes). The get_options
function parses a string into an array of integers, while the memparse
function extracts a number from a string with a memory suffix. These functions are exported as symbols to be used by other kernel modules.
107 } 108 i++; 109 if (res == 1)Bookmarks.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 167 lines
This Java code defines a Bookmarks
class that extends AbstractTableModel
. It provides a model for displaying bookmarks with titles and URLs in a table, allowing users to add, delete, move up/down, and save changes to the bookmark data. The data is stored in a vector of BookmarksEntry
objects, which are accessed through methods like getTitle
, getURL
, and delete
.
156 jEdit.setProperty("infoviewer.bookmarks.url." + count, b.url); 157 i++; 158 count++;cocos2d_specifics.cpp https://bitbucket.org/Tsiannian/cocos2d-x.git | C++ | 686 lines
88 array->addObject(item); 89 i++; 90 } 147 array->addObject(item); 148 i++; 149 } 185 array->addObject(item); 186 i++; 187 }TreeElementPattern.java https://bitbucket.org/nbargnesi/idea.git | Java | 225 lines
181 if (i != j) return false; 182 i++; 183 break;JavaCharStream.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 548 lines
This Java class implements a line-based text scanner, allowing for tokenization and adjustment of line and column numbers at the start of a token. It reads input from an underlying stream (e.g., file or network connection) and provides methods to get the current line and column numbers, as well as the next character in the input. The class also supports adjusting the starting point of a token within the input.
525 columnDiff = nextColDiff; 526 i++; 527 }TokenMarker.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 938 lines
This Java code is part of a parser for regular expressions, specifically handling line-by-line parsing and syntax analysis. It manages persistent state per line, including rules, escape characters, and span information, to facilitate accurate parsing and error detection. The code provides a framework for processing input strings according to predefined grammar rules.
750 digit - '0')); 751 i++; 752 } 764 buf.append(ch); 765 i++; 766 }Resolver.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 571 lines
This Java code is part of a plugin for the text editor JEdit, specifically designed to handle XML files. It manages a cache of external resources (e.g., images) associated with XML documents, allowing users to download and store these resources locally. The code provides methods for checking if the cache should be used, downloading resources, and storing them in the cache.
171 do { 172 String prop = "xml.catalog." + i++; 173 uri = jEdit.getProperty(prop);Resolver.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 969 lines
This Java code is part of a JEdit plugin that manages external resources, such as XML files. It handles caching, network modes, and resource updates. The code provides methods for adding, updating, and removing resources from the cache, as well as handling changes to the user’s settings and file system. It also includes a class for handling VFS (Virtual File System) updates.
286 do { 287 String prop = "xml.catalog." + i++; 288 uri = jEdit.getProperty(prop);Chunk.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 589 lines
This Java code is part of a text rendering engine, responsible for laying out and rendering text on a screen. It uses font substitution to find suitable fonts for characters that can’t be rendered by the default font. The code creates glyph vectors, which represent the visual representation of text, and calculates their widths based on the chosen font.
246 userFonts.add(f); 247 i++; 248 }TreeSortFilter.cpp https://bitbucket.org/ultra_iter/qt-vtl.git | C++ | 122 lines
113 atLeastOneValidChild = filterAcceptsRow(i, current); 114 i++; 115 }ExtensionManager.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 176 lines
This Java code is part of an editor’s extension management system, handling ‘layers’ of extensions that can be added to a text area. It provides methods for adding, removing, and retrieving extensions, as well as painting screen line ranges and displaying tooltips. The code uses a linked list to store the extensions, allowing for efficient insertion and removal.
45 } 46 i++; 47 }aha1542.c http://photon-android.googlecode.com/svn/ | C | 1768 lines
This C code implements a SCSI (Small Computer System Interface) driver for Adaptec 1542 disk controllers. It provides functions to detect, release, queue commands, and handle device resets for these controllers. The code also includes a template for the SCSI host interface and a BIOS parameter function to translate sector sizes.
477 break; 478 mbi++; 479 if (mbi >= 2 * AHA1542_MAILBOXES)genimpl.c git://pkgs.fedoraproject.org/scilab | C | 179 lines
60 if (STEP<(Type)0) {\ 61 for (j=FIRST;j>=LAST;j=j+STEP) {i++;}\ 62 }\ 63 else if (STEP>(Type)0) {\ 64 for (j=FIRST;j<=LAST;j=j+STEP) {i++;}\ 65 }\ai_utils.cpp http://hl2sb-src.googlecode.com/svn/trunk/ | C++ | 581 lines
262 m_decayTime = m_decayTime + 0.1 * d; // appox interval call 263 i++; 264 }Tests.cs git://github.com/toptensoftware/PetaPoco.git | C# | 884 lines
This C# code is a test suite for a Poco (Plain Old CLR Object) library, specifically Petapoco. It tests various features such as dynamic queries, auto-selecting primary keys, and manual primary key usage. The tests cover scenarios like inserting, retrieving, updating, and deleting data, ensuring the library’s functionality and correctness.
253 Assert.AreEqual(p.id, id + i); 254 i++; 255 } 276 Assert.AreEqual(p.id, id + i + 5); 277 i++; 278 } 308 Assert.AreEqual(p.id, id + i + 5); 309 i++; 310 } 340 Assert.AreEqual(p.id, id + i + 5); 341 i++; 342 } 366 Assert.AreEqual(p.id, id + i + 5); 367 i++; 368 }