PageRenderTime 5090ms queryTime 632ms sortTime 1154ms getByIdsTime 68ms findMatchingLines 87ms

100+ results results for 'while' (5090 ms)

Not the results you expected?
ExtensionMechanismsHelper.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 338 lines
                    
144     * Get commonly used tagged value types. <p>
                    
145     * While in early UML 1.x versions only String was provided, in UML 2.x
                    
146     * tagged values are stereotype properties with any possible type. However
                    
166     * Tests if a stereotype has a given name and given base class.
                    
167     * While comparing the baseclass, inheritance is not considered.
                    
168     *
                    
                
AutomaticIndexStatisticsMultiTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 349 lines
                    
68
                    
69        // Start the threads and let them run for a while.
                    
70        Thread[] threads = new Thread[threadCount];
                    
131
                    
132        // Start the threads and let them run for a while.
                    
133        for (int i=0; i < threadCount; i++) {
                    
269            int counter = 0;
                    
270            while (System.currentTimeMillis() - started < runTime) {
                    
271                try {
                    
318                Statement stmt = con.createStatement();
                    
319                while (System.currentTimeMillis() - started < runTime) {
                    
320                    if (lastWasCreate) {
                    
                
ec.c https://gitlab.com/thomasphillips3/node | C | 365 lines
                    
122    argv++;
                    
123    while (argc >= 1) {
                    
124        if (strcmp(*argv, "-inform") == 0) {
                    
                
files.cpp https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C++ | 482 lines
                    
15{
                    
16    while (*p && isspace(*p)) {
                    
17        p++;
                    
35{
                    
36    while (*p) {
                    
37        if (!isspace(*p)) {
                    
46is_exclude_line(const char* p) {
                    
47    while (*p) {
                    
48        if (*p == '-') {
                    
65    enum { WHITE, TEXT, IN_QUOTE } state = WHITE;
                    
66    while (*p) {
                    
67        if (*p == '#') {
                    
152            string::size_type pos = 0;
                    
153            while((pos = result.find(it->first, pos)) != string::npos) {
                    
154                result = result.replace(pos, it->first.length(), it->second);
                    
                
VisualizerTest.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 336 lines
                    
169                int looperWaitCount = MAX_LOOPER_WAIT_COUNT;
                    
170                while ((mWaveform == null) && (looperWaitCount-- > 0)) {
                    
171                    try {
                    
185                int looperWaitCount = MAX_LOOPER_WAIT_COUNT;
                    
186                while ((mFft == null) && (looperWaitCount-- > 0)) {
                    
187                    try {
                    
259        int looperWaitCount = MAX_LOOPER_WAIT_COUNT;
                    
260        while (!mInitialized && (looperWaitCount-- > 0)) {
                    
261            try {
                    
                
FileSystemPathBuilder.cpp https://gitlab.com/mkroehnert/ArmarXCore | C++ | 347 lines
                    
59        boost::match_results<std::string::const_iterator> match;
                    
60        while (boost::regex_search(start, end, match, expression))
                    
61        {
                    
                
array_slice.h https://gitlab.com/hrishikeshvganu/tensorflow | C Header | 314 lines
                    
20// object, and clients must arrange for the backing store to remain
                    
21// live while the ArraySlice object is in use.
                    
22//
                    
                
ntor_ref.py https://gitlab.com/envieidoc/advancedtomato2 | Python | 405 lines
                    
108    i = 1
                    
109    while len(out) < n:
                    
110        m = last + info + int2byte(i)
                    
                
show-hint.js https://gitlab.com/Arevico/personal-finance | JavaScript | 335 lines
                    
161  function getHintElement(hintsElement, el) {
                    
162    while (el && el != hintsElement) {
                    
163      if (el.nodeName.toUpperCase() === "LI" && el.parentNode == hintsElement) return el;
                    
                
ffi.c https://gitlab.com/fskolodny/ecl | C | 423 lines
                    
107
                    
108                while((reg_mask >> index) & 1)
                    
109                    index++;
                    
316
                    
317                while((reg_mask >> index) & 1)
                    
318                    index++;
                    
                
holder.js https://gitlab.com/Mirros/cdnjs | JavaScript | 362 lines
                    
18//getElementsByClassName polyfill
                    
19document.getElementsByClassName||(document.getElementsByClassName=function(e){var t=document,n,r,i,s=[];if(t.querySelectorAll)return t.querySelectorAll("."+e);if(t.evaluate){r=".//*[contains(concat(' ', @class, ' '), ' "+e+" ')]",n=t.evaluate(r,t,null,0,null);while(i=n.iterateNext())s.push(i)}else{n=t.getElementsByTagName("*"),r=new RegExp("(^|\\s)"+e+"(\\s|$)");for(i=0;i<n.length;i++)r.test(n[i].className)&&s.push(n[i])}return s})
                    
20
                    
                
CompCSTaskObject.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 422 lines
                    
407		Iterator iterator = fFieldDependencies.iterator();
                    
408		while (iterator.hasNext()) {
                    
409			ICompCSDependency dependency = (ICompCSDependency) iterator.next();
                    
                
ClassifierRoleNotationUml.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 299 lines
                    
145
                    
146            while (st.hasMoreTokens()) {
                    
147                token = st.nextToken();
                    
231
                    
232            // copy - can't iterate modify live collection while iterating it
                    
233            Collection b = new ArrayList(Model.getFacade().getBases(cls));
                    
242
                    
243            while (it.hasNext()) {
                    
244                c = it.next();
                    
251        addBases:
                    
252            while (it.hasNext()) {
                    
253                String d = ((String) it.next()).trim();
                    
255                Iterator it2 = b.iterator();
                    
256                while (it2.hasNext()) {
                    
257                    c = it2.next();
                    
                
coffee-script.js https://gitlab.com/adamlwalker/phonegap-nfc-reader | JavaScript | 358 lines
                    
197      }
                    
198      while (extensions.shift()) {
                    
199        curExtension = '.' + extensions.join('.');
                    
                
AnalyzerRegions.html https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | HTML | 260 lines
                    
53different levels of analysis precision and scalability concerning the reasoning
                    
54of program memory. Meanwhile, the core path-sensitive engine makes no
                    
55assumptions about either points, and queries a StoreManager about the bindings
                    
                
080-06-fib_trie-Optimize-fib_table_lookup-to-avoid-wasting-.patch https://gitlab.com/YoungCereal/openwrt-bpi-r1 | Patch | 343 lines
                    
6This patch is meant to reduce the complexity of fib_table_lookup by reducing
                    
7the number of variables to the bare minimum while still keeping the same if
                    
8not improved functionality versus the original.
                    
109-
                    
110-	while (pn) {
                    
111-		pos = pn->pos;
                    
269 
                    
270+		while ((n = rcu_dereference(*cptr)) == NULL) {
                    
271 backtrace:
                    
274-		/* As zero don't change the child key (cindex) */
                    
275-		while ((chopped_off <= pn->bits)
                    
276-		       && !(cindex & (1<<(chopped_off-1))))
                    
311+			 */
                    
312+			while (!cindex) {
                    
313+				t_key pkey = pn->key;
                    
                
Habitats.hpp https://gitlab.com/natural-computing-optimization/ecological-inspired-algorithm-cpp | C++ Header | 420 lines
                    
207
                    
208	while (sum_tabu < size-1)
                    
209	{
                    
321		j = 0;
                    
322		while (i <= g_habitatsSize && cur_habitat < 0)
                    
323		{
                    
323		{
                    
324			while (j < H[i].h_sp_count && cur_habitat < 0)
                    
325			{
                    
337			i = 0;
                    
338			while (H[cur_habitat].h_sp[i] >= 0)
                    
339				i++;
                    
373				k = aleatory.nextInt(H[i].h_sp_count);
                    
374				while (sp_int[H[i].h_sp[j]] == 0)
                    
375				{
                    
                
diff.c https://gitlab.com/oyvholm/git | C | 474 lines
                    
131	int cached = 0;
                    
132	while (1 < argc) {
                    
133		const char *arg = argv[1];
                    
224
                    
225	while (1 < argc && argv[1][0] == '-') {
                    
226		if (!strcmp(argv[1], "--base"))
                    
                
arm_fir_q7.c https://gitlab.com/YaoQ/mbed-for-linknode | C | 397 lines
                    
106   ** a second loop below computes the remaining 1 to 3 samples. */
                    
107  while(blkCnt > 0u)
                    
108  {
                    
136
                    
137    while(i > 0u)
                    
138    {
                    
203    i = numTaps - (tapCnt * 4u);
                    
204    while(i > 0u)
                    
205    {
                    
249
                    
250  while(blkCnt > 0u)
                    
251  {
                    
270      i--;
                    
271    } while(i > 0u);
                    
272
                    
                
cpu.c https://gitlab.com/kush/linux | C | 455 lines
                    
41
                    
42	while (msr < end) {
                    
43		msr->valid = !rdmsrl_safe(msr->info.msr_no, &msr->info.reg.q);
                    
52
                    
53	while (msr < end) {
                    
54		if (msr->valid)
                    
                
pci-dma.c https://gitlab.com/kush/linux | C | 480 lines
                    
100		pte++;
                    
101	} while (vaddr < end);
                    
102	return 0;
                    
123		pmd++;
                    
124	} while (vaddr < end);
                    
125	return 0;
                    
144		dir++;
                    
145	} while (vaddr && (vaddr < end));
                    
146	return 0;
                    
181		printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
                    
182	} while (vaddr < end);
                    
183}
                    
208		pmd++;
                    
209	} while (vaddr < end);
                    
210}
                    
                
DinoUmlToGraphConverter.h https://gitlab.com/cjeight/tortoisegit | C Header | 334 lines
                    
139		 *  is saved as string in the hash table of the parser, hence we can
                    
140		 *  use the info index of it. While scanning for relations between nodes
                    
141		 *  we encounter the xmi.id attribute values of the involved elements referenced
                    
234		 *  the parse tree (starting at \a currentRootTag) and inserts a new node
                    
235		 *  for each classifier. This function will call itself recursively while
                    
236		 *  traversing nested packages.
                    
                
Concurrent_compact_container.h https://gitlab.com/Namdhari/cgal-AnatoMeCo | C Header | 333 lines
                    
61Other operations are not concurrency-safe.
                    
62For example, one should not parse the container while others are modifying it.
                    
63It matches all the 
                    
233  /// returns the number of items in `ccc`. 
                    
234  /// Note: do not call this function while others are inserting/erasing elements
                    
235  size_type size() const;
                    
                
ntp_lists.h https://gitlab.com/micromax/ntpsec | C Header | 443 lines
                    
122#ifndef NTP_DEBUG_LISTS
                    
123#define MAYBE_Z_LISTS(p)	do { } while (false)
                    
124#else
                    
131	(listhead) = (pentry);					\
                    
132} while (false)
                    
133
                    
138	pptail = &(listhead);					\
                    
139	while (*pptail != NULL)					\
                    
140		pptail = &((*pptail)->nextlink);		\
                    
143	*pptail = (pentry);					\
                    
144} while (false)
                    
145
                    
154	ppentry = &(listhead);					\
                    
155	while (true) {						\
                    
156		if (NULL == *ppentry || (beforecur)) {		\
                    
                
zl10353.c https://gitlab.com/envieidoc/advancedtomato2 | C | 429 lines
                    
44		if (debug) printk(KERN_DEBUG "zl10353: " args); \
                    
45	} while (0)
                    
46
                    
                
snmpwalk.c https://gitlab.com/envieidoc/advancedtomato2 | C | 352 lines
                    
122    case 'C':
                    
123        while (*optarg) {
                    
124            switch (*optarg++) {
                    
240
                    
241    while (running) {
                    
242        /*
                    
                
mbfilter_utf7imap.c https://gitlab.com/envieidoc/advancedtomato2 | C | 372 lines
                    
61
                    
62#define CK(statement)	do { if ((statement) < 0) return (-1); } while (0)
                    
63
                    
                
test_oom.c https://gitlab.com/envieidoc/advancedtomato2 | C | 365 lines
                    
83
                    
84  while (n_bytes) {
                    
85    size_t this_add = n_bytes > sizeof(b) ? sizeof(b) : n_bytes;
                    
                
magic.c https://gitlab.com/envieidoc/advancedtomato2 | C | 478 lines
                    
158		} \
                    
159	} while (/*CONSTCOND*/0)
                    
160				
                    
                
cms-examples.pl https://gitlab.com/envieidoc/advancedtomato2 | Perl | 409 lines
                    
111
                    
112while (<IN>) {
                    
113    next unless (/^\|/);
                    
                
cmd.c https://gitlab.com/jhalayashraj/nkernel | C | 496 lines
                    
40	intr = wl1251_reg_read32(wl, ACX_REG_INTERRUPT_NO_CLEAR);
                    
41	while (!(intr & WL1251_ACX_INTR_CMD_COMPLETE)) {
                    
42		if (time_after(jiffies, timeout)) {
                    
                
de_win.c https://gitlab.com/lexicall/ecl | C | 369 lines
                    
78   if (command_line != 0) {
                    
79       while (isspace(*command_line)) command_line++;
                    
80       while (*command_line != 0 && !isspace(*command_line)) command_line++;
                    
80       while (*command_line != 0 && !isspace(*command_line)) command_line++;
                    
81       while (isspace(*command_line)) command_line++;
                    
82   } */
                    
89
                    
90        while (*p != 0 && !isspace(*(unsigned char *)p))
                    
91            p++;
                    
116
                    
117   while (GetMessage (&msg, NULL, 0, 0))
                    
118   {
                    
                
qxtabstracthttpconnector.cpp https://gitlab.com/jeanim/libqxt | C++ | 313 lines
                    
80        }
                    
81        while (requests.contains(nextRequestID)); // yeah, right
                    
82        requests[nextRequestID] = connection;
                    
                
ui.accordion.js https://gitlab.com/endomorphosis/betterchoice.biz | JavaScript | 397 lines
                    
162function completed(cancel) {
                    
163	// if removed while animated data can be empty
                    
164	if (!$.data(this, "accordion")) {
                    
                
rangy-serializer.js https://gitlab.com/Spilky/diplomova_prace | JavaScript | 295 lines
                    
48                j = 8;
                    
49                while (j--) {
                    
50                    if ((crc & 1) == 1) {
                    
124        rootNode = rootNode || dom.getDocument(node).documentElement;
                    
125        while (n && n != rootNode) {
                    
126            pathParts.push(dom.getNodeIndex(n, true));
                    
139
                    
140        while (i--) {
                    
141            nodeIndex = parseInt(nodeIndices[i], 10);
                    
                
aoedev.c https://gitlab.com/SpasilliumNexus/frankenclark_kernel | C | 529 lines
                    
170		return;
                    
171	while ((bio = d->ip.nxbio)) {
                    
172		clear_bit(BIO_UPTODATE, &bio->bi_flags);
                    
227	if (d->blkq) {
                    
228		while ((rq = blk_peek_request(d->blkq))) {
                    
229			blk_start_request(rq);
                    
406		return;
                    
407	while (atomic_read(&skb_shinfo(skb)->dataref) != 1 && i-- > 0)
                    
408		msleep(Sms);
                    
                
csr_log.h https://gitlab.com/SpasilliumNexus/frankenclark_kernel | C Header | 223 lines
                    
104		} \
                    
105	} while (0)
                    
106#else
                    
112		} \
                    
113	} while (0)
                    
114#endif
                    
                
signal.c https://gitlab.com/SpasilliumNexus/frankenclark_kernel | C | 444 lines
                    
21 * Atari :-) Current limitation: Only one sigstack can be active at one time.
                    
22 * If a second signal with SA_ONSTACK set arrives while working on a sigstack,
                    
23 * SA_ONSTACK is ignored. This behaviour avoids lots of trouble with nested
                    
                
i2c-wmt.c https://gitlab.com/openbar/rpi-linux | C | 476 lines
                    
101	timeout = jiffies + WMT_I2C_TIMEOUT;
                    
102	while (!(readw(i2c_dev->base + REG_CSR) & CSR_READY_MASK)) {
                    
103		if (time_after(jiffies, timeout)) {
                    
142		/*
                    
143		 * We still need to run through the while (..) once, so
                    
144		 * start at -1 and break out early from the loop
                    
178
                    
179	while (xfer_len < pmsg->len) {
                    
180		wait_result = wait_for_completion_timeout(&i2c_dev->complete,
                    
268
                    
269	while (xfer_len < pmsg->len) {
                    
270		wait_result = wait_for_completion_timeout(&i2c_dev->complete,
                    
                
slb.c https://gitlab.com/openbar/rpi-linux | C | 349 lines
                    
67	/*
                    
68	 * Clear the ESID first so the entry is not valid while we are
                    
69	 * updating it.  No write barriers are needed here, provided
                    
                
unzip.h https://gitlab.com/smurmann/KDUProjects | C Header | 271 lines
                    
218// char ibuf[1024]; ZRESULT zr=ZR_MORE; unsigned long totsize=0;
                    
219// while (zr==ZR_MORE)
                    
220// { zr = UnzipItem(hz,i, ibuf,1024);
                    
                
RightTupleIndexHashTableIteratorTest.java https://gitlab.com/MichelZuniga/drools | Java | 255 lines
                    
118                Entry entry = table[i];
                    
119                while ( entry != null ) {
                    
120                    entries.add( entry );
                    
                
orientFaceZone.C https://gitlab.com/johnvarv/OpenFOAM-3.0.x | C | 394 lines
                    
182
                    
183    while (true)
                    
184    {
                    
                
trace.c https://gitlab.com/oyvholm/git | C | 449 lines
                    
121	/* align trace output (column 40 catches most files names in git) */
                    
122	while (buf->len < 40)
                    
123		strbuf_addch(buf, ' ');
                    
301
                    
302	while (*path) {
                    
303		switch (*path) {
                    
379		scale = 32;
                    
380		while (scaled_low_ns >= 0x100000000LL) {
                    
381			scaled_low_ns >>= 1;
                    
                
arm_iir_lattice_q31.c https://gitlab.com/YaoQ/mbed-for-linknode | C | 350 lines
                    
93  /* Sample processing */
                    
94  while(blkCnt > 0u)
                    
95  {
                    
128
                    
129    while(tapCnt > 0u)
                    
130    {
                    
197
                    
198    while(tapCnt > 0u)
                    
199    {
                    
237  /* copy data */
                    
238  while(tapCnt > 0u)
                    
239  {
                    
253  /* Copy the remaining q31_t data */
                    
254  while(tapCnt > 0u)
                    
255  {
                    
                
x509_csr.c https://gitlab.com/YaoQ/mbed-for-linknode | C | 423 lines
                    
64static void mbedtls_zeroize( void *v, size_t n ) {
                    
65    volatile unsigned char *p = v; while( n-- ) *p++ = 0;
                    
66}
                    
405    name_cur = csr->subject.next;
                    
406    while( name_cur != NULL )
                    
407    {
                    
                
envelope-detector.c https://gitlab.com/kush/linux | C | 418 lines
                    
94	 * But there might have been a pending irq that
                    
95	 * happened while the irq was disabled that fires
                    
96	 * just as the irq is reenabled. That is not what
                    
                
buffered_stream.cpp https://gitlab.com/cdeclare/intcrypt | C++ | 364 lines
                    
175  std::size_t bytes_written = 0;
                    
176  while (bytes_written < sizeof(write_data))
                    
177  {
                    
186  std::size_t bytes_read = 0;
                    
187  while (bytes_read < sizeof(read_data))
                    
188  {
                    
197  bytes_written = 0;
                    
198  while (bytes_written < sizeof(write_data))
                    
199  {
                    
205  bytes_read = 0;
                    
206  while (bytes_read < sizeof(read_data))
                    
207  {
                    
295  std::size_t bytes_written = 0;
                    
296  while (bytes_written < sizeof(write_data))
                    
297  {
                    
                
breaders.c https://gitlab.com/zimumavo/gnuplot | C | 395 lines
                    
79    int k = -1;
                    
80    while (tbl[++k].key)
                    
81	if (tbl[k].key && !strncmp(search_str, tbl[k].key, strlen(tbl[k].key)))
                    
138    value_ptr = 1 + strchr(value_ptr + strlen(key), '=');
                    
139    while (isspace((unsigned char)*value_ptr)) 
                    
140	value_ptr++;
                    
156    /* read header: it is a multiple of 512 B ending by "}\n" */
                    
157    while (header_size == 0 || strncmp(&header[header_size-2],"}\n",2)) {
                    
158	int header_size_prev = header_size;
                    
                
testptp.c https://gitlab.com/Aminadav/linux | C | 523 lines
                    
189	progname = progname ? 1+progname : argv[0];
                    
190	while (EOF != (c = getopt(argc, argv, "a:A:cd:e:f:ghi:k:lL:p:P:sSt:T:v"))) {
                    
191		switch (c) {
                    
434		}
                    
435		while (1) {
                    
436			pause();
                    
                
transfer.go https://gitlab.com/vectorci/docker-1 | Go | 401 lines
                    
215			// watchers were released, then another one was added
                    
216			// while waiting for a previous watcher goroutine to
                    
217			// finish.
                    
                
tkHorizontalGroup.cs https://gitlab.com/saneknovco/refregerator | C# | 249 lines
                    
158                // step2..n: Iterate until each item has a width greater than its minimum width.
                    
159                while (true) {
                    
160                tryAgain:
                    
                
pwbox.c https://gitlab.com/asn/tor | C | 519 lines
                    
12    (obj)->trunnel_error_code_ = 1; \
                    
13  } while (0)
                    
14
                    
28    }                                                            \
                    
29  } while (0)
                    
30
                    
                
eeprom.c https://gitlab.com/jiangming1399/u-boot | C | 444 lines
                    
163
                    
164	while (offset < end) {
                    
165		alen = eeprom_addr(dev_addr, offset, addr);
                    
399
                    
400	while (ret--)
                    
401		NEXT_PARAM(argc, index);
                    
                
Pel.php https://gitlab.com/madebycloud/derekman | PHP | 372 lines
                    
101     *
                    
102     * If this variable is set to true, then most errors while loading
                    
103     * images will result in exceptions being thrown.  Otherwise a
                    
231     *
                    
232     * If strict parsing is enabled, then most errors while loading
                    
233     * images will result in exceptions being thrown.  Otherwise a
                    
                
ol_tx_queue.c https://gitlab.com/Codeaurora/platform_vendor_qcom-opensource_wlan_qcacld-3.0 | C | 429 lines
                    
92	vdev->ll_pause.is_q_timer_on = false;
                    
93	while (vdev->ll_pause.txq.head) {
                    
94		cdf_nbuf_t next =
                    
                
spi-sun6i.c https://gitlab.com/andreascian/linux-stable | C | 490 lines
                    
117
                    
118	while (len--) {
                    
119		byte = readb(sspi->base_addr + SUN6I_RXDATA_REG);
                    
131
                    
132	while (len--) {
                    
133		byte = sspi->tx_buf ? *sspi->tx_buf++ : 0;
                    
                
omap-mpuss-lowpower.c https://gitlab.com/andreascian/linux-stable | C | 446 lines
                    
14 * because the mode is not supported by hw constraints of dormant
                    
15 * mode. While waking up from the dormant mode, a reset  signal
                    
16 * to the Cortex-A9 processor must be asserted by the external
                    
292	 * power domain can transitions to programmed low power
                    
293	 * state while doing WFI outside the low powe code. On
                    
294	 * secure devices, CPUx does WFI which can result in
                    
                
print-babel.c https://gitlab.com/HowTheStoryEnds/freebsd11-psm-port | C | 414 lines
                    
199    i = 0;
                    
200    while(i < bodylen) {
                    
201        const u_char *message;
                    
                
digamma.c https://gitlab.com/HowTheStoryEnds/freebsd11-psm-port | C | 378 lines
                    
89      f = 10 * n + 4;
                    
90      while (expu < exps)
                    
91        {
                    
98  n0 = ++n;
                    
99  while (n--)
                    
100    mpz_clear (B[n]);
                    
107  f = 0;
                    
108  while (e > 1)
                    
109    {
                    
235      j = 0;
                    
236      while (mpfr_cmp_ui (x_plus_j, min) < 0)
                    
237        {
                    
                
hash.c https://gitlab.com/HowTheStoryEnds/freebsd11-psm-port | C | 466 lines
                    
151	t->bucketPtr = hp = bmake_malloc(sizeof(*hp) * i);
                    
152	while (--i >= 0)
                    
153		*hp++ = NULL;
                    
414	 */
                    
415	while (e == NULL) {
                    
416		if (searchPtr->nextIndex >= t->size)
                    
454	t->bucketPtr = hp = bmake_malloc(sizeof(*hp) * i);
                    
455	while (--i >= 0)
                    
456		*hp++ = NULL;
                    
                
test_lru_dist.c https://gitlab.com/freesoftware/linux | C | 543 lines
                    
230
                    
231	while (next_to_try < nr_cpus) {
                    
232		CPU_ZERO(&cpuset);
                    
367
                    
368		while (start_key <= end_key) {
                    
369			bpf_map_lookup_elem(map_fd, &start_key, value);
                    
                
dma_port.c https://gitlab.com/freesoftware/linux | C | 519 lines
                    
258		usleep_range(50, 100);
                    
259	} while (time_before(jiffies, end));
                    
260
                    
391		buf += nbytes;
                    
392	} while (size > 0);
                    
393
                    
441		buf += nbytes;
                    
442	} while (size > 0);
                    
443
                    
                
rtc-tps65910.c https://gitlab.com/freesoftware/linux | C | 475 lines
                    
114
                    
115	/* Stop RTC while updating the RTC time registers */
                    
116	ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL,
                    
                
kura.adoc https://gitlab.com/matticala/apache-camel | AsciiDoc | 320 lines
                    
41register its `start` and `stop` lifecycle methods
                    
42while http://eclipse.github.io/kura/doc/hello-example.html#create-component-class[creating
                    
43Kura bundle component class].
                    
                
stem_UTF_8_swedish.c https://gitlab.com/lishaomin/firtex2 | C | 330 lines
                    
158    }
                    
159    while(1) { /* goto, line 30 */
                    
160        int c = z->c;
                    
170    }
                    
171    while(1) { /* gopast, line 30 */
                    
172        if (!(out_grouping_U(z, g_v, 97, 246))) goto lab1;
                    
                
Settings.cpp https://gitlab.com/akien/lugaru | C++ | 328 lines
                    
185    printf("Loading config\n");
                    
186    while (!ipstream.eof()) {
                    
187        ipstream.getline(setting, sizeof(setting));
                    
                
ShellCommand.java https://gitlab.com/drgroovestarr/frameworks_base | Java | 326 lines
                    
109            eout.println();
                    
110            eout.println("Exception occurred while executing:");
                    
111            e.printStackTrace(eout);
                    
                
PersistentResource.php https://gitlab.com/pankajmohale/chef2go | PHP | 391 lines
                    
185
                    
186        while (true) {
                    
187            $this->refresh($this->getProperty($this->primaryKeyField()));
                    
                
UsageStatsXmlV1.java https://gitlab.com/amardeep434/nitro_base | Java | 271 lines
                    
211        int outerDepth = parser.getDepth();
                    
212        while ((eventCode = parser.next()) != XmlPullParser.END_DOCUMENT
                    
213                && (eventCode != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
                    
                
mpu3050.c https://gitlab.com/gioge/linux-imx_3.10.53_1.1.0_ga | C | 482 lines
                    
8 *
                    
9 * This is a 'lite' version of the driver, while we consider the right way
                    
10 * to present the other features to user space. In particular it requires the
                    
                
cred.h https://gitlab.com/willemmali-linux/linux | C Header | 411 lines
                    
62		groups_free(group_info);		\
                    
63} while (0)
                    
64
                    
195	__validate_creds((cred), __FILE__, __LINE__);	\
                    
196} while(0)
                    
197
                    
200	__validate_process_creds(current, __FILE__, __LINE__);	\
                    
201} while(0)
                    
202
                    
392	*(_gid) = __cred->gid;			\
                    
393} while(0)
                    
394
                    
400	*(_egid) = __cred->egid;		\
                    
401} while(0)
                    
402
                    
                
Crawler.java https://gitlab.com/nyimbi/ache | Java | 397 lines
                    
215         long time = System.currentTimeMillis();
                    
216         while(!stop) {
                    
217             setStartCicleTime(System.currentTimeMillis());
                    
316                 catch(Exception exc) {
                    
317                     logger.info("Problem while executing cleanup.", exc);
                    
318                 }
                    
334         catch(Exception exc) {
                    
335             logger.info("Problem while finishing crawler thread.", exc);
                    
336         }
                    
                
SUUpdater.h https://gitlab.com/18runt88/CocoaPods-app | C Header | 364 lines
                    
57/*!
                    
58    Explicitly checks for updates and displays a progress dialog while doing so.
                    
59
                    
85    You may want to respond to the userDidCancelDownload delegate method in case
                    
86    the user clicks the "Cancel" button while the update is downloading.
                    
87 */
                    
241/*!
                    
242    Called when the user clicks the cancel button while and update is being downloaded.
                    
243
                    
                
fterrdef.h https://gitlab.com/Teo-Mirror/Urho3D | C Header | 249 lines
                    
143  FT_ERRORDEF_( Raster_Negative_Height,                      0x63, \
                    
144                "negative height while rastering" )
                    
145
                    
                
SDL_blit_0.c https://gitlab.com/Teo-Mirror/AtomicGameEngine | C | 483 lines
                    
46    if (map) {
                    
47        while (height--) {
                    
48            Uint8 byte = 0, bit;
                    
63    } else {
                    
64        while (height--) {
                    
65            Uint8 byte = 0, bit;
                    
101
                    
102    while (height--) {
                    
103        Uint8 byte = 0, bit;
                    
137
                    
138    while (height--) {
                    
139        Uint8 byte = 0, bit;
                    
177
                    
178    while (height--) {
                    
179        Uint8 byte = 0, bit;
                    
                
tar.js https://gitlab.com/pmuontains/Odoo | JavaScript | 352 lines
                    
85    var seen = {}
                    
86    while (requiredBy.length) {
                    
87      var req = requiredBy.shift()
                    
                
collision_tile.js https://gitlab.com/hwhelchel/mapbox-gl-js | JavaScript | 299 lines
                    
268        // If this collision occurs at a lower scale than previously found collisions
                    
269        // and the collision occurs while the other label is visible
                    
270
                    
                
dma.c https://gitlab.com/webhaikal/SenseiRN3 | C | 450 lines
                    
92
                    
93	while (prtd->dma_loaded < limit) {
                    
94		pr_debug("dma_loaded: %d\n", prtd->dma_loaded);
                    
                
flash.html https://gitlab.com/eMerzh/pictogo | HTML | 320 lines
                    
41      </div>
                    
42      <!-- While we pause -->
                    
43    </div>
                    
                
ExportCsv.php https://gitlab.com/jmcdowall/transactions | PHP | 331 lines
                    
263        // Format the data
                    
264        while ($row = $GLOBALS['dbi']->fetchRow($result)) {
                    
265            $schema_insert = '';
                    
325            }
                    
326        } // end while
                    
327        $GLOBALS['dbi']->freeResult($result);
                    
                
modwebsocket.c https://gitlab.com/unofficial-mirrors/micropython | C | 313 lines
                    
78    const mp_stream_p_t *stream_p = mp_get_stream_raise(self->sock, MP_STREAM_OP_READ);
                    
79    while (1) {
                    
80        if (self->to_recv != 0) {
                    
                
wireless_handlers.cpp https://gitlab.com/ajaik91/Team_AutoNav | C++ | 343 lines
                    
41        char c = 0;
                    
42        while (n.getChar(&c, 5)) {
                    
43            ;
                    
67         */
                    
68        while (n.getChar(&c, timeout_ms))
                    
69        {
                    
95                            "channel is too slow.  Please follow the suggestions at "
                    
96                            "file: %s a little bit above while loop at line number %i\n",
                    
97                            dropped, __FILE__, __LINE__);
                    
136    // Sorry for the dirty hack #define
                    
137    #define doRetry() ++retries; n.printf("\n"); n.flush(); while (n.getChar(&c, timeout)); goto retry
                    
138
                    
139    output.printf("Transfer %s --> %i:%s\n", srcFile, addr, dstFile);
                    
140    while(FR_OK == f_read(&file, buffer, sizeof(buffer), &bytesRead) && bytesRead > 0)
                    
141    {
                    
                
mailparser.rb https://gitlab.com/jontow/cpx | Ruby | 423 lines
                    
126    after = v
                    
127    while not after.empty? and after =~ /^(\\.|\"(\\.|[^\\\"])*\"|[^\\\(])*/no do
                    
128      ret << $&
                    
166    r = ""
                    
167    while not v.empty? do
                    
168      if v =~ /^(\s+|[0-9A-Za-z\!\#\$\%\&\'\*\+\-\/\=\?\^\_\`\{\|\}\~]+|\"(\\.|[^\\\"])*\")/ then
                    
206      pending_ext = {}
                    
207      while true do
                    
208        if params =~ /;\s*([a-z0-9_-]+)(?:\*(\d+))?\s*=\s*(?:\"((?:\\\"|[^\"])*)\"|([^\s\(\)\<\>\@\,\;\:\\\"\/\[\]\?\=]*))\s*/nio then
                    
309      msg._each_with_multiple_delimiter(bd) do end	# skip preamble
                    
310      while msg.last_line == bd[-1] do
                    
311        m = parse_message2(msg, bd)
                    
                
tablednd.js https://gitlab.com/e0/web-developer | JavaScript | 314 lines
                    
20 *		 flexible than using onDragStyle since it can be inherited by the row cells and other content. The default
                    
21 *		 is class is tDnD_whileDrag. So to use the default, simply customise this CSS class in your
                    
22 *		 stylesheet.
                    
79								onDropStyle: options.onDropStyle,
                    
80				// Add in the default class for whileDragging
                    
81				onDragClass: options.onDragClass ? options.onDragClass : "tDnD_whileDrag",
                    
161
                    
162				while (e.offsetParent){
                    
163						left += e.offsetLeft;
                    
                
cifs_dfs_ref.c https://gitlab.com/freesoftware/linux | C | 425 lines
                    
82	/* trim off any trailing delimiters */
                    
83	while (*pos == '\\') {
                    
84		--pos;
                    
218		off += noff;
                    
219	} while (tkn_e);
                    
220	strcat(mountdata, sb_mountdata + off);
                    
                
ext_xenon.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 338 lines
                    
42  sem_t* sem = static_cast<sem_t*>(arg);
                    
43  while (true) {
                    
44    if (sem_wait(sem) == 0) {
                    
                
usersfile.c https://gitlab.com/ssbarnea/oath-toolkit | C | 495 lines
                    
91
                    
92  while (getline (lineptr, n, infh) != -1)
                    
93    {
                    
247
                    
248  while (getline (lineptr, n, infh) != -1)
                    
249    {
                    
347
                    
348    while ((rc = fcntl (fileno (lockfh), F_SETLKW, &l)) < 0 && errno == EINTR)
                    
349      continue;
                    
                
toolbar.js https://gitlab.com/itlboy/yii2-starter-installed | JavaScript | 298 lines
                    
158            ) {
                    
159                while (target !== this) {
                    
160                    if (target.href) {
                    
175    function findAncestor(el, cls) {
                    
176        while ((el = el.parentElement) && !el.classList.contains(cls));
                    
177        return el;
                    
250                }
                    
251                while (tbody.firstChild) {
                    
252                    tbody.removeChild(tbody.firstChild);
                    
                
ReadWriteWalker.cs https://gitlab.com/sharadag/TestProject2 | C# | 263 lines
                    
239        {
                    
240            while (underlying != null)
                    
241            {
                    
                
restangular.js https://gitlab.com/Mirros/cdnjs | JavaScript | 290 lines
                    
107            var parents = [];
                    
108            while(!_.isUndefined(current)) {
                    
109                parents.push(current);
                    
                
fuse.js https://gitlab.com/Mirros/cdnjs | JavaScript | 367 lines
                    
166        binMid = binMax;
                    
167        while (binMin < binMid) {
                    
168          if (match_bitapScore(i, MATCH_LOCATION + binMid) <= scoreThreshold) {
                    
                
ViewDropZone.js https://gitlab.com/Mirros/cdnjs | JavaScript | 342 lines
                    
47     * @cfg {Number} expandDelay
                    
48     * The delay in milliseconds to wait before expanding a target tree node while dragging a droppable node
                    
49     * over the target.
                    
                
FontFamilyMatcherMac.mm https://gitlab.com/0072016/Facebook-SDK- | Objective C++ | 293 lines
                    
106    NSFontTraitMask mask;
                    
107    while ((mask = masks[i++])) {
                    
108        BOOL desired = (desiredTraits & mask) != 0;
                    
172    NSString *availableFamily;
                    
173    while ((availableFamily = [e nextObject])) {
                    
174        if ([desiredFamily caseInsensitiveCompare:availableFamily] == NSOrderedSame)
                    
184        NSFontTraitMask desiredTraitsForNameMatch = desiredTraits | (appKitFontWeight >= 7 ? NSBoldFontMask : 0);
                    
185        while ((availableFont = [availableFonts nextObject])) {
                    
186            if ([desiredFamily caseInsensitiveCompare:availableFont] == NSOrderedSame) {
                    
                
HTMLPrinter.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 374 lines
                    
90		StringBuffer buffer= new StringBuffer();
                    
91		while (current > -1) {
                    
92			buffer.append(text.substring(previous, current));
                    
148			int n= rd.read(readBuffer);
                    
149			while (n > 0) {
                    
150				buffer.append(readBuffer, 0, n);
                    
                
BcelGenericSignatureToTypeXConverter.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 259 lines
                    
115			GenericSignature.TypeSignature ats = aFieldTypeSignature;
                    
116			while (ats instanceof GenericSignature.ArrayTypeSignature) {
                    
117				dims++;
                    
                
XMLDocumentCB.js https://gitlab.com/blocknotary/IonicInterviews | JavaScript | 402 lines
                    
269    XMLDocumentCB.prototype.end = function() {
                    
270      while (this.currentLevel >= 0) {
                    
271        this.up();
                    
                
ImageGridActivity.java https://gitlab.com/lisit1003/TTAndroidClient | Java | 346 lines
                    
180                    
                    
181                    while (iter.hasNext()) {
                    
182                        int position = iter.next();
                    
298        if (map != null) {
                    
299            while (it.hasNext()) {
                    
300                int key = (Integer) it.next();
                    
309        } else {
                    
310            while (it.hasNext()) {
                    
311                int key = (Integer) it.next();
                    
                
class-terminus-command.php https://gitlab.com/Blueprint-Marketing/cli | PHP | 418 lines
                    
142
                    
143    while (!$finished) {
                    
144      $paged_path = $path . '?limit=' . $limit;
                    
342    $tries    = 0;
                    
343    while (!isset($result)) {
                    
344      if (in_array($result, array('failed', 'aborted'))) {
                    
                
child_process_security_policy_impl.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 255 lines
                    
225  // You must acquire this lock before reading or writing any members of this
                    
226  // class.  You must not block while holding this lock.
                    
227  base::Lock lock_;
                    
                
 

Source

Language