OK—退出代码0—表示服务正常地工作。
CRITICAL—退出代码2—表示服务处于危险状态。
Critical-exit code 2-indicates a service is in critical state.
下面所示的用户退出代码被编译成动态链接库(如dll)。
The user exit code shown below is compiled as a dynamic linking library (for example: DLL).
如果Zenity的退出代码是- 1,单击的是Cancel按钮。
If Zenity exits with code -1, the Cancel button was clicked.
再次说明,如果zenity的退出代码是0,那么ENTRY有某人的姓名。
Again, if the exit code of zenity is 0, then ENTRY has the person's name. Here is the calendar example from above rewritten to use zenity.
一般情况下,此退出代码为0指示成功;若为其他值,则指示不同类型的错误。
Typically, this exit code is 0 to indicate success with other values indicating different types of errors.
应用程序通常都会向操作系统返回一个退出代码,指示应用程序是否已成功退出。
An application typically returns an exit code to the operating system to indicate whether an application exited successfully or not.
表达式可以使用在常数值、命令的退出代码、字符串、宏和文件系统路径上使用的运算符。
Expressions can use operators that act on constant values, exit codes from commands, strings, macros, and file-system paths.
可以看到:在1.8 . x上面的输出结果是“42”,但是在1.9上面就变成了“1”(上面的“RESULT”是Ruby解释器的退出代码)。
Failed: As can be seen: the output in 1.8.x is "42", but in 1.9 becomes "1". (the "RESULT" here is the exit code of the Ruby interpreter).
如果由于该函数中代码的错误,您期望退出时为真的条件并不为真,那么这些断言能够确保您知道这一点。
This ensures that you get to know if, due to a bug in the code in this function, the conditions that you expect to be true on exit, are not.
我没有按通常作法将错误代码返回给父代应用程序,而是将错误打印到屏幕,然后退出程序。
Instead of gracefully returning an error code to the parent application, I print the error to the screen and bail out of the code.
当insert语句失败并且错误代码在DECLAREEXIThandler语句中指定,那么控制将传递到处理程序,而过程将退出。
When the INSERT statement fails with the error code specified in the DECLARE exit handler statement, control passes to the handler, and the procedure is exited.
因此代码将继续执行,就是说,将退出该方法而把控制返回给表单。
So the code will continue; in this case, that means that the method will exit and control will return to the form.
意外的代码路径:通过跟踪进入和退出点,可以看出程序是否采用了意外的代码路径。
Unexpected code paths: by following the entry and exit points, it is possible to see any unexpected code paths taken by the program.
我还在基本计时代码中增加了一个throwable处理,这样,当方法由于一个抛出而退出而不是正常返回时,在跟踪中就会加入基本抛出信息。
I've also added throwable handling to the basic timing code, so that when a method exits through a throw rather than a normal return the basic thrown information will be included in the trace.
INSERT错误将控制转移到 SQLSTATE代码的退出处理程序。
The INSERT error transfers control to the exit handler for that SQLSTATE code.
db2vend(隔离的供应商进程):代表一个EDU执行供应商代码,使实例执行用户退出程序,以便进行日志归档(仅在UNIX上)。
Db2vend (fenced vendor process) : Executes vendor code on behalf of an EDU, for instance to execute the user-exit program for log archiving (UNIX-only).
该功能允许在调试器会话中改变源代码,这比退出应用程序、更改代码、重新编译、然后启动另一个调试会话更好。
It allows the changing of source code during a debugger session, which is better than exiting the application, changing the code, recompiling, then starting another debugging session.
_exit使用错误代码0退出该程序,这个错误代码通常表示成功结束。
Exit exits the program with an error code of 0, traditionally associated with a successful completion.
gdb可以让您通过使用shell命令在不退出调试环境的情况下运行shell命令,调用形式是' shell [commandline] ',这有助于在调试时更改源代码。
Gdb allows you to run shell commands without exiting the debugging environment with the shell command, invoked as' shell [commandline] ', useful for making changes to source code whilst debugging.
这段代码以定义一个Gnumeric 文件名开始,接着是一个trap,用于在不找到文件时退出PHP。
The code begins by defining the name of the Gnumeric file, followed by a trap that exits PHP if the file is not found.
虽然,我看到很多代码的书面记录每一个进入和退出点从每个方法调用它并不是一个好的编程习惯(令人惊讶的一些)。
Although, I see a lot of code that's written to log every entry and exit point from each and every method called it isn't one of the good programming practices (it's surprising to some).
这样可以使网络代码让一个缓存退出使用,尽管此时网络协议也许并不清楚谁正在使用这个缓存。
This enables network code to pull a buffer out of use even when the network protocol has no idea who is currently using it.
这样可以使网络代码让一个缓存退出使用,尽管此时网络协议也许并不清楚谁正在使用这个缓存。
This enables network code to pull a buffer out of use even when the network protocol has no idea who is currently using it.
应用推荐