代码搜索:try
找到约 10,000 项符合「try」的源代码
代码结果 10,000
www.eeworm.com/read/470693/1457452
c init7.c
// simplified from testcase in Windows Developer Journal,
// submitted by eyal.ben-david@aks.com
// The initialization of a static local variable must be retried if a
// previous try finished by thro
www.eeworm.com/read/470693/1460117
c eb66.c
#include
#include
int bar ()
{
throw 100;
}
int main ()
{
int i = 0;
try
{
i = bar ();
}
catch (...)
{
}
// std::cout
www.eeworm.com/read/470693/1463499
c 20020109-1.c
/* This testcase ICEd when 2 different successors of a basic block
were successfully threaded and try_forward_edges was not expecting
that. */
typedef struct A
{
struct A *s, *t;
unsigned
www.eeworm.com/read/469338/1480177
java testpaper.java
package org.mmxbb.exam.bean;
import java.io.Serializable;
public class TestPaper
implements Serializable {
public TestPaper() {
try {
jbInit();
} catch (Exception ex) {
www.eeworm.com/read/469304/1480833
java modifyldapname.java
import javax.naming.ldap.*;
import javax.naming.*;
/*
* Shows ways of modifying an LdapName
*
*/
public class ModifyLdapName {
public static void main(String args[]) {
try {
www.eeworm.com/read/469304/1481465
java knockknockserver.java
import java.net.*;
import java.io.*;
public class KnockKnockServer {
public static void main(String[] args) throws IOException {
ServerSocket serverSocket = null;
try {
www.eeworm.com/read/469304/1481481
java cat.java
import java.io.*;
public class Cat {
public static void concatenate(String fileName) {
RandomAccessFile raf = null;
String line = null;
try {
raf = new Random
www.eeworm.com/read/469304/1481529
java filewriter.java
import java.io.*;
public class FileWriter {
public static void main(String[] args) {
try {
long dataPosition = 0; //to be determined later
int data = 123;
RandomAccessFile
www.eeworm.com/read/468455/1489252
js risewindow.js
function moveWindowUp() {
amount = parseInt((winHeight-total) * 0.2);
total += amount;
if(total0) {
try {
window.moveBy(0, (-1) * amount);
}
catch(e){
}
}
www.eeworm.com/read/464699/1525236
js jscript.js
//本例是通过纯JavaScript实现
//创建XMLHttpRequest异步对象
function getXmlHttpRequest()
{
var xmlHttp;
try
{ // Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();
}