代码搜索:assertion
找到约 1,246 项符合「assertion」的源代码
代码结果 1,246
www.eeworm.com/read/216502/4891417
c malloc.c
#define ASSERT(p) if(!(p))botch("p");else
botch(s)
char *s;
{
printf("assertion botched: %s\n",s);
abort();
}
/* C storage allocator
* circular first-fit strategy
* works with noncontiguous, but m
www.eeworm.com/read/190666/5179719
c assert2.c
/* Malformed assertion tests. */
/* { dg-do preprocess } */
/* { dg-options "-fno-show-column" } */
#assert /* { dg-error "without predicate" "assert w/o predicate" } */
#assert % /* { dg-error "an
www.eeworm.com/read/347503/3169987
s err-abi-64.s
! Check .abi pseudo assertion.
! { dg-do assemble }
! { dg-options "-abi=32" }
.text
.abi 64 ! { dg-error "options do not specify 64-bit ABI" }
start:
nop
www.eeworm.com/read/347503/3170045
s err-abi-32.s
! Check .abi pseudo assertion.
! { dg-do assemble }
! { dg-options "-abi=64" }
.text
.abi 32 ! { dg-error "options do not specify 32-bit ABI" }
start:
nop
www.eeworm.com/read/340665/3266570
s err-abi-64.s
! Check .abi pseudo assertion.
! { dg-do assemble }
! { dg-options "-abi=32" }
.text
.abi 64 ! { dg-error "options do not specify 64-bit ABI" }
start:
nop
www.eeworm.com/read/340665/3266628
s err-abi-32.s
! Check .abi pseudo assertion.
! { dg-do assemble }
! { dg-options "-abi=64" }
.text
.abi 32 ! { dg-error "options do not specify 32-bit ABI" }
start:
nop
www.eeworm.com/read/340665/3280672
c assert2.c
/* Malformed assertion tests. */
/* { dg-do preprocess } */
/* { dg-options "-fno-show-column" } */
#assert /* { dg-error "without predicate" "assert w/o predicate" } */
#assert % /* { dg-error "an
www.eeworm.com/read/286854/4031909
h assert.h
/** @file assert.h
*
* A new assert.h to override a broken one in the 9210i SDK version 1.2.
* Panics the application if an assertion fails.
*
* Copyright 2002 Petteri Kangaslampi
*
* See lice
www.eeworm.com/read/447738/1696093
s err-abi-64.s
! Check .abi pseudo assertion.
! { dg-do assemble }
! { dg-options "-abi=32" }
.text
.abi 64 ! { dg-error "options do not specify 64-bit ABI" }
start:
nop