代码搜索:bug
找到约 10,000 项符合「bug」的源代码
代码结果 10,000
www.eeworm.com/read/125819/6021011
c bug-500536.c
/* Bad mangaling of support names.
*/
#include
/* The original bug */
float z1(void)
{
return 5;
}
float fun( void )
{
unsigned long i;
float f;
i=5.5 * z1();
f=i;
if
www.eeworm.com/read/125819/6021012
c bug-441448.c
/* bug-441448.c
PENDING
*/
#include
#define DATA
typedef struct
{
unsigned char buffer[0x18];
unsigned char OutPtr, InPtr;
unsigned char Count;
} Fifo;
DATA Fifo Tx
www.eeworm.com/read/125819/6021017
c bug-524211.c
/* Problem with casts and warnings.
*/
#include
#if 0
/* Disabled as this only shows a warning */
typedef unsigned short UINT16;
typedef unsigned char UINT8;
typedef struct _Class Clas
www.eeworm.com/read/125819/6021019
c bug-524195.c
/* Problem with inverting constants
*/
#include
enum
{
USEDFLAG = 1
};
typedef struct _HeapEntry HeapEntry;
typedef unsigned int UINT;
struct _HeapEntry
{
HeapEntry *pPrev;
www.eeworm.com/read/125819/6021025
c bug-524691.c
/* Division by powers of two.
*/
#include
#if defined __mcs51 || defined __ds390 || defined __xa51
#define XDATA xdata
#else
#define XDATA
#endif
typedef unsigned int UINT;
typedef str
www.eeworm.com/read/125819/6021026
c bug-408972.c
/* Fake header.
*/
#include
long leftShiftLong (long l) {
/* PENDING: Disabled.
return (l
www.eeworm.com/read/125819/6021027
c bug-426632.c
/* bug-436632.c
PENDING
*/
#include
typedef struct {
unsigned char year; /* Current year (with offset 1900) */
unsigned char month; /* Month (1 = Jan., ..., 12 = Dec.) */
www.eeworm.com/read/125819/6021028
c bug-485362.c
/** Shows segfault.
type: int
*/
#include
void
spoil({type} f)
{
UNUSED(f);
}
void
testDivBySelf(void)
{
volatile {type} left, result;
left = 17;
result = left/left;
spo
www.eeworm.com/read/125819/6021029
c bug-448984.c
/* bug-448984.c
*/
#include
void
testRshRem(void)
{
volatile int rem, quot;
quot = 4;
rem = 5000;
rem = rem - (quot*1024);
ASSERT(rem == 904);
}
www.eeworm.com/read/125819/6021031
c bug-460444.c
/* bug 460444
*/
#include
void
testXOR(void)
{
volatile int p = 5;
if (p ^ 0x60) {
// Good.
}
else {
FAIL();
}
/* Test is to see if it compiles. */
ASSERT((p^0x