代码搜索:assertion
找到约 1,246 项符合「assertion」的源代码
代码结果 1,246
www.eeworm.com/read/273662/4202100
rb my-assertions.rb
require "test/unit"
require "test/unit/assertions"
module Test
module Unit
module Assertions
def assert_true(boolean, message=nil)
_wrap_assertion do
assert_equal(true,
www.eeworm.com/read/273660/4203109
rb my-assertions.rb
require "test/unit"
require "test/unit/assertions"
module Test
module Unit
module Assertions
def assert_true(boolean, message=nil)
_wrap_assertion do
assert_equal(true,
www.eeworm.com/read/273525/4207740
mata assert.mata
*! version 1.0.0 15oct2004
version 9.0
mata:
/*
void assert(real scalar)
returns if scalar is true, aborts if false
*/
void assert(real scalar t)
{
if (t==0) _error("assertion i
www.eeworm.com/read/357022/3034976
dns_rbt_findname_3_data
#
# test data for dns_rbt_findname assertion 3
#
# format is:
#
dns_rbt.data search a.b.vix.com DNS_R_PARTIALMATCH
www.eeworm.com/read/208247/15250324
changelog
sonic-snap (1.7-1) unstable; urgency=low
* Improved normalization: don't act on sporadic isolated extremes.
* Investigated assertion failure: caused by bugged videodev2.h
* Made the failure of
www.eeworm.com/read/16589/680722
h assert.h
/*
* Assertion - use liberally for debugging. Defining NDEBUG
* turns assertions off.
* assert(exp) where exp is non-zero does nothing, while
* assert(exp) where exp evaluates to zero aborts t
www.eeworm.com/read/470720/1452203
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/470693/1464149
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/240162/4589894
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/233448/4685763
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