代码搜索:bug

找到约 10,000 项符合「bug」的源代码

代码结果 10,000
www.eeworm.com/read/144361/12800704

c bug6.c

#include int main (void) { char buf[80]; int i; int lost = 0; scanf ("%2s", buf); lost |= (buf[0] != 'X' || buf[1] != 'Y' || buf[2] != '\0'); if (lost) puts ("test of %2s f
www.eeworm.com/read/144361/12800753

c bug11.c

#include #include int main (int argc, char *argv[]) { int ret; char buf [1024] = "Ooops"; ret = sscanf ("static char Term_bits[] = {", "static char %s = {", buf); printf
www.eeworm.com/read/144361/12800757

c bug1.c

#include #include #include int main (void) { char *bp; size_t size; FILE *stream; int lose = 0; stream = open_memstream (&bp, &size); fprintf (stream, "he
www.eeworm.com/read/144361/12800759

c bug7.c

/* Regression test for fseek and freopen bugs. */ #include int main (int argc, char *argv[]) { int lose = 0; char filename[L_tmpnam]; FILE *fp; if (tmpnam (filename) == NULL)
www.eeworm.com/read/144361/12800766

c bug2.c

#include int main (void) { int i; puts ("This should print \"wow = I\" for I from 0 to 39 inclusive."); for (i = 0; i < 40; i++) printf ("%s = %d\n", "wow", i); return 0; }
www.eeworm.com/read/144361/12800772

c bug13.c

#include int main (void) { int res = 0; char buf[100]; #define TEST(nr, result, format, args...) \ if (sprintf (buf, format, ## args) != result) \ { \
www.eeworm.com/read/144361/12800816

input bug6.input

XY 1234L
www.eeworm.com/read/144361/12800880

c bug14.c

/* Test case by Al Viro . */ #include #include #include #include /* MB_CUR_MAX multibyte ones (6 UTF+0080, in this case) */ static const c
www.eeworm.com/read/144361/12800890

input bug1.input

95
www.eeworm.com/read/144361/12800893

c bug15.c

#include #include int main (void) { char buf[10]; setlocale (LC_ALL, "vi_VN.TCVN-5712"); return sprintf (buf, "%.*s", 2, "vi") != 2; }