代码搜索:Loop
找到约 10,000 项符合「Loop」的源代码
代码结果 10,000
www.eeworm.com/read/190666/5172531
c loop1.c
// Verify that loop optimization takes into account the exception edge
// and does not increment I before the call.
// { dg-do run }
// { dg-options "-O2" }
extern "C" void abort();
static void bar(c
www.eeworm.com/read/190666/5173018
c loop2.c
// Build don't link:
// Special g++ Options: -O
class foo {
public:
operator const char*() const { return a; }
char *a;
};
class bar {
public:
~bar();
void operator++(int);
bool b() const;
www.eeworm.com/read/190666/5173284
c loop1.c
// Test for bad loop optimization of goto fixups.
// Special g++ Options: -O2
typedef bool (*ftype) ();
int c, d;
struct A {
A() { ++c; }
A(const A&) { ++c; }
~A() { ++d; }
};
void f (ftype f
www.eeworm.com/read/190666/5177928
c loop-8.c
double a[3] = { 0.0, 1.0, 2.0 };
void bar (int x, double *y)
{
if (x || *y != 1.0)
abort ();
}
int main ()
{
double c;
int d;
for (d = 0; d < 3; d++)
{
c = a[d];
if (c > 0.0) g
www.eeworm.com/read/190666/5177984
c loop-1.c
main ()
{
int i, j, k[3];
j = 0;
for (i=0; i < 3; i++)
{
k[i] = j++;
}
for (i=2; i >= 0; i--)
{
if (k[i] != i)
abort ();
}
exit (0);
}
www.eeworm.com/read/190666/5178024
c loop-9.c
/* Source: Neil Booth, from PR # 115. */
int false()
{
return 0;
}
extern void abort (void);
int main (int argc,char *argv[])
{
int count = 0;
while (false() || count < -123)
++count;
www.eeworm.com/read/190666/5178043
c loop-5.c
static int ap(int i);
static void testit(void){
int ir[4] = {0,1,2,3};
int ix,n,m;
n=1; m=3;
for (ix=1;ix
www.eeworm.com/read/190666/5178091
c loop-6.c
main()
{
char c;
char d;
int nbits;
c = -1;
for (nbits = 1 ; nbits < 100; nbits++) {
d = (1
www.eeworm.com/read/190666/5178114
c loop-4.c
int
f()
{
int j = 1;
long i;
for (i = -0x70000000L; i < 0x60000000L; i += 0x10000000L) j