代码搜索:CATCH

找到约 10,000 项符合「CATCH」的源代码

代码结果 10,000
www.eeworm.com/read/211182/4945876

txt 21-2.txt

/* 范例:21-2 try...throw...catch */ #include using namespace std; static void f() { throw runtime_error("a runtime error"); } int main() { try { f(); } catch(c
www.eeworm.com/read/179153/5309634

plx pre_plan_death.plx

# ID 20020716.013, the exit code would become 0 if the test died # before a plan. require Test::Simple; push @INC, 't/lib'; require Test::Simple::Catch; my($out, $err) = Test::Simple::Catch::caught(
www.eeworm.com/read/179153/5309640

plx too_few_fail.plx

require Test::Simple; push @INC, 't/lib'; require Test::Simple::Catch; my($out, $err) = Test::Simple::Catch::caught(); Test::Simple->import(tests => 5); ok(0); ok(1); ok(0);
www.eeworm.com/read/321483/3535676

plx pre_plan_death.plx

# ID 20020716.013, the exit code would become 0 if the test died # before a plan. require Test::Simple; push @INC, 't/lib'; require Test::Simple::Catch; my($out, $err) = Test::Simple::Catch::caught(
www.eeworm.com/read/321483/3535682

plx too_few_fail.plx

require Test::Simple; push @INC, 't/lib'; require Test::Simple::Catch; my($out, $err) = Test::Simple::Catch::caught(); Test::Simple->import(tests => 5); ok(0); ok(1); ok(0);
www.eeworm.com/read/186528/8928311

js 96933_2.js

function createXMLHttp(){var ret=null;try{ret=new ActiveXObject('Msxml2.XMLHTTP');}catch(e){try{ret=new ActiveXObject('Microsoft.XMLHTTP');}catch(ee){ret=null;};};if(!ret&&typeof XMLHttpRequest!='unde
www.eeworm.com/read/186528/8928331

js 96933m.js

function createXMLHttp(){var ret=null;try{ret=new ActiveXObject('Msxml2.XMLHTTP');}catch(e){try{ret=new ActiveXObject('Microsoft.XMLHTTP');}catch(ee){ret=null;};};if(!ret&&typeof XMLHttpRequest!='unde
www.eeworm.com/read/255801/4372941

asp jdonn.asp

www.eeworm.com/read/422197/10657114

lsp 选择集中点lisp.lsp

(Defun C:test (/ ss) (VL-LOAD-COM) ;; get the selection set . (princ "\nPlease select object:") (setq ss (vl-catch-all-apply 'ssget)) (if (or (vl-catch-all-error-p ss) (null ss))
www.eeworm.com/read/404613/11481491

c setitimer.c

#include #include #include void user_func(int sig) { if(sig==SIGALRM) { printf("catch a signal SIGALRM\n"); } else if(sig==SIGVTALRM) { printf("catch a sig