Xdebug将在49次函数调用后介入并得到图2(顺便说一句,main的初始调用用于启动程序计数作为第1次调用)。
Xdebug intervenes after 49 function calls and yields Figure 2. (By the way, the initial invocation of main to launch the program counts as the first frame.)
如果您需要更改规则,那么只要在存储过程中更改一次,而不需要在调用该存储过程的每个应用程序中都进行更改。
If you need to change the rules, you only need to make the change once in the stored procedure, not in every application that calls the stored procedure.
在每一个实例下,我运行一个简单的程序,测定循环调用一个方法10,000,000次所需的运行时间,我调用了同步和非同步两个版本,并比较了结果。
In each case, I ran a simple program that measured the run time of a loop calling a method 10,000,000 times, calling both a synchronized and an unsynchronized version, and compared the results.
结果就是,在某些情况下,可能永远不会用到编译的版本,例如对于计算密集型程序,在这类程序中所有的计算都是在方法的一次调用中完成的。
The result, in some cases, was that the compiled version was never used, such as the case of a compute-intensive program, where all the computation is done in a single invocation of a method.
最后,我们可能会希望获得一个“带注解的源代码”清单,它会将源代码输出到应用程序中,并加上每个函数被调用了多少次的注释。
Finally, you might want to have an "annotated source" listing, which prints out the source code to the application, with notes on how many times each function is called.
可以用一个内容处理程序来处理这两种情况,但每次解析器调用处理程序时,都需要进行一次检查,以查看到底是哪一种情况需要被处理。
You can have one content handler that handles both cases, but this requires a check to see which case needs to be handled each time the parser invokes the handler.
该方法的问题是,和为错误的构造函数调用报告错误一样,程序员将无法预知其程序的某一次运行将崩溃。
The problem with this approach is that, like signaling errors for bad constructor calls, the programmer will have no way of predicting that a given run of his program will crash.
对于使用XML存储数据的多数应用程序来说,“读文档”用对解析器的一次调用实现最方便。
For most applications that store their data in XML, it is more efficient as "reading a document" is implemented as one call to the parser.
对于平面文件中的每个行,数据处理程序模块都将执行一次目标服务调用。
For each line in the flat file, the data handler module performs a target service invocation.
使用您脚本的用户不会看出其中的不同,只不过第一次调用使用内联的代码时,程序将多花一点时间来完成对嵌入代码的编译。
The user of your script will never know the difference, except that the first invocation of Inline-enabled code takes a little time to complete the compilation of the embedded code.
客户端应用程序通过调用存储过程只需要访问数据库一次就可以执行一系列本地操作,而不用多次访问数据库服务器。
A client application can call on the stored procedure to perform a series of native operations in one trip to the database, rather than involving multiple trips to the database server.
本文中的应用程序场景进行了一次服务调用——发出一个XML请求及收到一个 XML响应。
The application scenario in this article makes one service invocation that sends one XML request and receives one XML response.
如果一次调用会导致存储某些数据用于后续调用,则称这样的应用程序是有状态的。
An application is said to be stateful if there is storage of some data resulting from a call that is used in a subsequent call.
为了访问所有信息,应用程序为每列调用一个取值方法—共有五次方法调用,每次都会多占用一点rmi通信时间。
To access all that information, the application would invoke every accessor method for every column — that's five method invocations, each one sucking up just a little more RMI traffic time.
当监视应用程序试图执行另一次select或阻塞的read调用时,这些调用会立即返回,因为缓冲区中有未读的事件发生数据。
Once the monitoring application attempts another select or blocking read , those calls will return immediately since there is unread event occurrence data waiting in the buffer.
例如,xdebug.max_nesting_level =50 将把递归深度限定为 50 次嵌套调用,然后将强制终止应用程序。
50 limits recursion to a depth of 50 nested calls before the application is forced to terminate.
一些确实具有main方法的应用程序可能也不希望这个方法被不止一次的调用。
Some applications that do have a main method may not expect that method to be called more than once.
在删除开始处与加载该应用程序相关的输出内容后,您可以看到所进行的三次系统调用。
After removing the output at the beginning relating to loading the application, you can see that three system calls are made.
在第4次重试(第5提交)时,消息被SCA中断,并将消息和故障原因一并提交回调用程序,所以在最后的消息重新提交过程中,Pojo2始终不被调用。
On the fourth retry (fifth delivery), the message is interrupted by SCA, and delivered back to the caller with the reason for the failure, so Pojo2 is never invoked during the last message redelivery.
因为每次只能有一个未捕获的处理程序处理一个活动进程,构造函数应该只被调用一次,因此要采用singleton模式。
Since there can be only one un-caught handler per process active at a time, the constructor should be invoked only once; hence, the reason for the singleton pattern.
这些程序每秒钟要调用数千次,因此,尽可能的简洁将有助于提高游戏的性能。
They are the routines that are called a few thousand times a second, so making the routine as tight as possible really helped the performance of the game.
失败以前该程序可能已调用了该函数数百次。
The program probably calls that function a couple hundred times before it fails.
同时减少了一次网卡驱动程序向用户空间复制网络数据包的系统调用。
At the same time reduced a net card driver to the user space duplication network data packet system call.
相机在使用。关闭任何使用它的应用程序,再试一次。在黑莓z10调用相机在黑莓10级联。
The camera is in use. Close any applications using it and try again. in Blackberry Z10 when invoking the camera in Blackberry 10 Cascades.
在计算机程序设计中指执行一次调用。
对每帧调用一次此事件处理程序方法。
对每帧调用一次此事件处理程序方法。
应用推荐