代码搜索:bug
找到约 10,000 项符合「bug」的源代码
代码结果 10,000
www.eeworm.com/read/178760/5313652
c bug-524697.c
/* Bad addition for adding a length and char[]
*/
#include
#if defined(SDCC_mcs51)
#define SZ_SIZE 89
#else
#define SZ_SIZE 90
#endif
typedef struct _Foo
{
char sz[SZ_SIZE];
} Foo;
t
www.eeworm.com/read/178760/5313656
c bug-524209.c
/* Problem with casts and warnings.
*/
#include
#include
typedef unsigned short UINT16;
typedef struct _Class Class;
typedef struct _Instance
{
Class *pClass;
} Instance;
www.eeworm.com/read/178760/5313657
c bug1057979.c
/*
bug1057979.c
*/
#include
#include
#include
#include
char s[12+1];
void
test_sprintf(void)
{
s[12] = 0x12;
sprintf( s, "%d", 99 );
ASSERT( 0
www.eeworm.com/read/178760/5313660
c bug663539.c
/*
bug663539.c
*/
#include
#if defined (SDCC_ds390) || defined (SDCC_mcs51)
volatile xdata at 0x7654 char x;
#endif
void
test_volatile(void)
{
ASSERT (1);
#if defined (SDCC_ds39
www.eeworm.com/read/178760/5313662
c bug-221220.c
/* bug-221220.c
Or an approximation there of.
*/
#include
typedef struct {
int filler;
int value;
} TESTSTRUCT;
static void
incrementValue(TESTSTRUCT *ps)
{
ps->value++;
}
www.eeworm.com/read/178760/5313664
c bug1464657.c
/*
bug1464657.c
*/
#include
static void f1(void)
{
}
static short f2(void)
{
return 0;
}
static unsigned char f3(unsigned char a)
{
return a+5;
}
unsigned char var;
void f()
{
www.eeworm.com/read/178760/5313668
c bug-908454.c
/* promoting bit to char */
#include
#if defined(PORT_HOST) || defined(SDCC_z80) || defined(SDCC_gbz80) || defined(SDCC_hc08) || defined(SDCC_pic16)
# define NO_BIT_TYPE
#endif
#if def
www.eeworm.com/read/178760/5313669
c bug-460010.c
/* bug 460010
*/
#include
#ifdef SDCC
#ifdef SDCC_pic16
#define ADDRESS 0x0070
#else
#define ADDRESS 0xa000
#endif /* SDCC_pic16 */
#endif /* SDCC */
void
func( unsigned char a )
{
www.eeworm.com/read/178760/5313670
c bug1185672.c
/*
bug1057979.c
*/
#include
int srlen;
int l_regrd(int ad)
{
return ad;
}
void head_send(int i)
{
srlen= i;
if ((l_regrd(0x1234) & 0x0200) == 0)
{
srlen= 0;
}
}
void
www.eeworm.com/read/178760/5313672
c bug-453196.c
/* Demonstrates the aliasing problem with the z80 port when loop
induction is turned on. Run_Index and Int_2_Loc get joined into
the same spill location.
Stripped down version of dhry.c
*/