代码搜索:assertion
找到约 1,246 项符合「assertion」的源代码
代码结果 1,246
www.eeworm.com/read/101015/6262077
c assertns.c
/*
COW : Character Oriented Windows
assertns.c : AssertFailed() procedures for DOS 3/5 non-swapped
*/
#define COW
#include
#include /* for EndCow() */
#define LINT_
www.eeworm.com/read/478557/6709817
h assert.h
/* PROGRAM ASSERTION HEADER
* Copyright (c) 2006 by COSMIC Software
*/
#undef assert
#ifndef NDEBUG
#define assert(expr) \
{ \
if (!(expr)) \
{ \
printf("\nassert error at %s:%d\n", \
www.eeworm.com/read/158649/11595843
java assert.java
//: com:bruceeckel:tools:debug:Assert.java
// Assertion tool for debugging.
package com.bruceeckel.tools.debug;
public class Assert {
private static void perr(String msg) {
System.err.pri
www.eeworm.com/read/260903/11687665
cpp 1705.cpp
#include
#include
#include
#include
#include
using namespace std;
mapitem;
int que;
int Assertion;
struct rate
{
int x,y;
};
int
www.eeworm.com/read/155317/11885325
c assert.c
#include
#include
void _assert(char *s, char *f, int l)
{
printf("assertion error: \"%s\" on file %s line %d\n", s, f, l);
exit(1);
}