代码搜索:assertion
找到约 1,246 项符合「assertion」的源代码
代码结果 1,246
www.eeworm.com/read/447738/1696151
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/440906/1782348
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/422060/2044329
phpt assert.phpt
--TEST--
assert()
--INI--
error_reporting = 2039
--FILE--
www.eeworm.com/read/375190/2738334
cpp example04.cpp
#include
using namespace boost::unit_test;
class test_class {
public:
void test_method()
{
BOOST_CHECK( true /* test assertion */ );
}
};
//_
www.eeworm.com/read/366702/2883928
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/162614/5530852
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/192089/8407552
c main1.c
// #include
#include
#include "IntArray.h"
#include "IntArrayRC.h"
/**
**
swap() with IntArray ia1
swap() with IntArrayRC ia2
Assertion failed: ix >= 0 && ix < _s
www.eeworm.com/read/390106/8484084
htm assert_asserterror.htm
Handling an Assertion Error (Java Developers Almanac Example)
www.eeworm.com/read/289731/8531995
c main1.c
// #include
#include
#include "IntArray.h"
#include "IntArrayRC.h"
/**
**
swap() with IntArray ia1
swap() with IntArrayRC ia2
Assertion failed: ix >= 0 && ix < _s
www.eeworm.com/read/384965/8826431
c main1.c
// #include
#include
#include "IntArray.h"
#include "IntArrayRC.h"
/**
**
swap() with IntArray ia1
swap() with IntArrayRC ia2
Assertion failed: ix >= 0 && ix < _s