这意味着FM 目前不支持显式地处理返回码。
This implies FM doesn't support handling return codes explicitly at this stage.
它的参数是连接对象,它返回已经执行的函数的返回码。
It takes the connection object as a parameter and returns the return code for the function that was executed.
在这个场景中,过程成功执行并将0的返回码返回给调用者。
In this scenario, the procedure completes successful execution and returns a return code of 0 to the caller.
如果对该接口的调用返回一个良好的返回码,则假定应用程序是健康的。
If the call to the interface returns a good return code, assume that the application is healthy.
事件生成器的返回码在sys/ahafs_evProds.h 中定义。
The return codes for event producers are defined in sys/ahafs_evProds.h.
清单3显示第一个错误的例子,sqlcode为sql 4301,返回码为0。
Listing 3 shows an example of our first error, sqlcode SQL4301 with return code 0.
限制这个等待时间,并发送关于一个错误返回码的警报,是非常有必要增加的一个功能。
Limiting the wait time and sending an alert on an error return code would be a very good thing to add.
而是创建一个如下所示的函数,此函数也可以处理返回码,如果有必要,还可以增加错误计数器
you could create a function such as the following, which also handles the return code and, if needed, increases the error counter
向清单8的代码行中添加一些注释和一个专门描述返回码的注释块,这样就可以显著降低理解难度。
Adding a few comments to the lines in Listing 8 and adding a section on which return codes are used and their descriptions cuts down on confusion immensely.
在shell脚本中,注释的另一个极其有帮助的用途是,解释变量的有效值以及解释返回码的含义。
Another extremely helpful use for comments in shell scripts is to explain what variables may be as well as explaining return codes.
变量 "$?"提供最近所调用命令的返回码;在下面的示例中,它提供了执行 "ls" 命令的返回码。
The variable "$?" provides the return code of the command recently invoked; in the example below, it provides the return code of the execution of the "ls" command.
最后需要做的事情是使用一个零返回码退出,以便触发器监控器提交它在触发器消息上执行的GET并等待另一条消息。
The last thing to do is exit with a zero return code so that the trigger monitor will commit the GET it performed on the trigger message and wait for another.
这个脚本增加了一个简单的函数来显示一个消息并带适当的返回码退出,还把所有操作转移到一个for循环中,这使这个脚本看起来更干净、更容易理解了。
By adding a simple function to display a message and exit with the appropriate return code as well as moving everything into a for loop, the script looks cleaner and is easier to understand.
如果尝试将INSTANCE_MEMORY配置参数更新为大于这些限制的值,那么会遭到失败,并收到SQL 5130 n返回码,指定该许可允许的限制范围。
Attempts to update the INSTANCE_MEMORY configuration parameter to values larger than these limits will fail with a SQL5130N return code, specifying the restricted range allowed for the license.
对ICompilerRequestor实现返回的字节码使用反射很容易做到。
This can be done easily using reflection on the bytecodes returned by the ICompilerRequestor implementation.
这个例程有两个参数,第二个参数是绝对时间值。如果在到达这个时间时还无法获得锁,例程会返回且状态码非零。
This routine takes in two arguments, the second being the absolute value of time by which, if the lock could not be acquired, the routine returns with a non-zero status.
只有在请求确实成功了而且返回的数据就是期望的数据的情况下,才应该发送回http响应码200,必须确保这一点。
Make sure an HTTP 200 response is sent back if and only if the response was successful and the returned data is the expected one.
然后transform方法实现各种修改,并返回一个包含修改的(或插装的)类的字节码的新字节数组。
The transform method can then implement all manner of modifications, and it returns a new byte array containing the bytecode of the modified (or instrumented) class.
在调用这个URL时,如果成功,就会隐式地返回状态码200。
When this URL is invoked, it implicitly returns a 200 status code when it succeeds.
确保应用程序返回正确的状态码。
指定返回的数据和状态码。
成功处理这个请求之后,该服务返回一个包含状态码200的响应。
After successfully processing this request, the service returns a response with the status code 200.
触发后,用于捕获实例的REST调用通过一个HTTP 202响应码返回成功消息,并将实例的状态属性更改为 “capturing”。
When triggered, the REST call to capture an instance returns success via a HTTP 202 response code. It also changes the state attribute of the instance to "capturing."
我们可能而且应该做的仅仅是返回一个HTTP 304状态码。
What we may - and should - do is simply return an HTTP 304 status code.
当shell脚本进程退出或返回到父进程时,退出码应该是0。
When a shell script process exits or returns to the parent process, the exit code should be 0.
因此,索引扫描返回所有具有相同hash码的已索引的字符串,作为可能的候选者。
Thus, all indexed strings with the same hash code are returned from the index scan as possible candidates.
服务器向浏览器返回的表明请求成功还是失败的状态码。
Status code the server returns to the browser to indicate its success or failure in generating the request.
散列码是一个整数,应该对每个键返回唯一的数字。
The hash code is an integer that should return a unique number of each unique key.
服务器状态行包括在服务器上运行的协议版本号、状态码和表示返回代码的文字消息。
The server status line includes the protocol version number running on the server, the status code, and a text message representing the return code. Below are several examples of valid status lines.
如果响应码是200,就缓冲HTTP响应中的内容并使用它作为方法的返回值。
If the response code is 200, it will buffer the content from the HTTP response and use it as a return value for the method.
应用推荐