代码搜索:bug
找到约 10,000 项符合「bug」的源代码
代码结果 10,000
www.eeworm.com/read/125819/6021064
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/125819/6021069
c bug-460010.c
/* bug 460010
*/
#include
#if defined __mcs51 || defined __ds390 || defined __xa51
#define XDATA xdata
#else
#define XDATA
#endif
void
func( unsigned char a )
{
UNUSED(a);
}
void
te
www.eeworm.com/read/125819/6021071
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
*/
www.eeworm.com/read/125819/6021072
c bug-221100.c
/* bug-221100.c
If test_index is char, loses high bit when indexes table
workaround is to use [(unsigned int) test_index]
*/
#include
#ifdef __mcs51
xdata
#endif
static unsigned
www.eeworm.com/read/125819/6021075
c bug-435214.c
/* bug-435214.c
*/
#include
unsigned long divide(long a)
{
return a/512ul;
}
void
testDivide(void)
{
ASSERT(divide(1300) == 2);
ASSERT(divide(0x12345678) == 0x91A2B);
}
www.eeworm.com/read/125819/6021077
c bug-227710.c
/* bug-227710.c
*/
#include
static unsigned char __data[] = {
1, 2, 3, 4
};
unsigned char *p;
struct {
unsigned char index;
} s;
unsigned char
foo(void)
{
// BUG, t
www.eeworm.com/read/125819/6021078
c bug-477927.c
/* Tests an uninitalised variable bug.
t is not initalised in all paths in the do loop, causing the while
conditional to fail unpredictably.
Doesn't actually test, is really an example.
*/
www.eeworm.com/read/125133/6032813
failure stack-bug.failure
bin/idelvm: Bad object file in defn #0: Stack effects don't match across branches
www.eeworm.com/read/125133/6032988
failure stack-bug.failure
bin/idelvm: Bad object file in defn #0: Stack effects don't match across branches