代码搜索:assertion
找到约 1,246 项符合「assertion」的源代码
代码结果 1,246
www.eeworm.com/read/318168/13484483
def python.def
[ArithmeticError |G Base class for arithmetic errors.]
ArithmeticError(|)
;
[AssertionError |G Assertion failed.]
AssertionError(|)
;
[AttributeError |G Attribute not found.]
AttributeErro
www.eeworm.com/read/129944/14216334
txt moz0806ex.txt
NS_IMETHODIMP
nsMyImplementation::QueryInterface( REFNSIID aIID, void** aInstancePtr )
{
NS_ASSERTION(aInstancePtr, "QueryInterface requires a non-NULL destination!");
if ( !aInstancePtr )
www.eeworm.com/read/459034/1574803
java assertionfailederror.java
package jmathlib.tools.junit.framework;
/**
* Thrown when an assertion failed.
*/
public class AssertionFailedError extends Error {
public AssertionFailedError () {
}
public AssertionF
www.eeworm.com/read/168239/5447681
java addressbookdemo.java
/**
* A demo class for AddressBook.
* Some basic test methods are included. The purpose of these
* is to see whether assertion errors are triggered for some
* of the basic operations on an address
www.eeworm.com/read/459685/7268785
bshrc beanshellassertion.bshrc
// Sample BeanShell Assertion initialisation file
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
www.eeworm.com/read/149876/5695074
c fpu-tst.c
#define ASSERT(EXPRESSION) \
do { \
if (!(EXPRESSION)) { \
fprintf (stderr, "%s:%d: assertion failed - %s\n", \
__FILE__, __LINE__, #EXPRESSION); \
abort (); \
} \
} while (0)
www.eeworm.com/read/148694/5710513
c fpu-tst.c
#define ASSERT(EXPRESSION) \
do { \
if (!(EXPRESSION)) { \
fprintf (stderr, "%s:%d: assertion failed - %s\n", \
__FILE__, __LINE__, #EXPRESSION); \
abort (); \
} \
} while (0)
www.eeworm.com/read/117181/6109355
c fpu-tst.c
#define ASSERT(EXPRESSION) \
do { \
if (!(EXPRESSION)) { \
fprintf (stderr, "%s:%d: assertion failed - %s\n", \
__FILE__, __LINE__, #EXPRESSION); \
abort (); \
} \
} while (0)
www.eeworm.com/read/479931/1325585
c fpu-tst.c
#define ASSERT(EXPRESSION) \
do { \
if (!(EXPRESSION)) { \
fprintf (stderr, "%s:%d: assertion failed - %s\n", \
__FILE__, __LINE__, #EXPRESSION); \
abort (); \
} \
} while (0)
www.eeworm.com/read/451866/1659186
java assertionfailederror.java
package momeunit.framework;
/**
* An Error thrown when an assertion fails.
*
* @version 1.1.2
* @author Sergio Morozov
*/
public class AssertionFailedError extends Error
{
/**
* Instantia