代码搜索:bug
找到约 10,000 项符合「bug」的源代码
代码结果 10,000
www.eeworm.com/read/136989/5830035
mpc bug_1559.mpc
// -*- MPC -*-
// Bug_1559.mpc,v 1.3 2004/01/01 15:48:19 jwillemsen Exp
project(*Server): taoserver {
requires += interceptors
Source_Files {
test_i.cpp
Server_ORBInitializer.cpp
www.eeworm.com/read/126074/6018710
clp bug793.clp
(defclass BEclass (is-a USER)
(role concrete)
(slot sName (create-accessor read-write))
(multislot supertypes (create-accessor read-write))
(multislot subtypes (create-accessor read-write))
www.eeworm.com/read/126074/6018804
ins bug793.ins
([gen31h] of BECPMheader
(sName R940826))
([gen10003] of BEwindow)
([gen10004] of BEwindow
(windowCaption "System Configuration"))
([gen10005] of BEwindow
(windowCaption "win5"))
([gen100
www.eeworm.com/read/125819/6021005
c bug-460000.c
/* bug 460000
*/
#include
int
func( int a )
{
return a;
}
int x = -1024;
void
testByteShift(void)
{
ASSERT(func( x >> 8 ) == -4);
ASSERT(func( x / 256 ) == -4);
}
void
tes
www.eeworm.com/read/125819/6021008
c bug-607243.c
/* bad shift right 12 */
#include
typedef unsigned int u16_t;
struct myhdr { u16_t x; } h, *p;
#define NTOHS(n) (((((u16_t)(n) & 0xff)) > 8))
#define
www.eeworm.com/read/125819/6021009
c bug-524685.c
/* Division by powers of two.
*/
#include
void
testDivPow2(void)
{
volatile int left;
left = -18;
ASSERT(left/4 == (-18/4));
}
www.eeworm.com/read/125819/6021010
c bug-469671.c
/* bug 469671.c
storage: static,
*/
#include
void
testMul(void)
{
{storage} volatile int a, b;
a = 5;
b = a*2;
ASSERT(b == 10);
a = -33;
b = a*2;
ASSERT(b == -66);
}