The handler code in Listing 1 reads the message body and assigns it to a static variable.
清单1中的处理程序代码将读取消息主体,并将其赋值给静态变量。
Note that readdir is not thread-safe, because the returned structure is a static variable stored in the function library.
请注意,readdir不是线程安全的,因为所返回的结构是存储在函数库中的一个静态变量。
Therefore, you should perform the JNDI lookup once only, and then store the retrieved home object (for example in an instance or static variable).
因此,您应仅执行该JNDI查询一次,然后存储所检索到的主对象(例如,存储在实例中或静态变量中)。
Whenever the Web service is invoked, a message handler reads the body of the request and saves the whole body in the body_of_request static variable.
调用Web服务时,消息处理程序将读取请求的主体,并将整个主体保存在body _ of _ request静态变量中。
The setup_wrappers function only does this setup once; it then sets a static variable to indicate that it's already done, so future calls can return quickly.
setup_ wrappers函数仅进行一次设置;然后,它设置一个静态变量来表明已经完成,从而使未来的调用能够快速返回。
A static variable continues to exist and retains its most recent value.
静态变量可继续存在,并保留其最新值。
A static variable continues to exist for the lifetime of the class or module that it is defined in.
只要在其中定义静态变数的类别或模组存在,静态变数就会继续存在。
The side effect of the subprogram is produced by using public variable, or static variable, or pointer parameter in C Program.
在C语言子程序中由于使用了全局变量,或是使用了静态变量,或是使用了指针参数,从而产生副作用。
This error occurs if you apply code changes or invoke Edit and Continue with a debug command after renaming a global or static variable.
如果在重命名全局变量或静态变量后应用代码更改或用调试命令调用“编辑并继续”,则发生该错误。
The DefaultDAO class stores an instance of itself (as a Singleton) in the static variable instance, allowing access to that instance through the getInstance() method.
DefaultDAO 类在静态变量instance 中存储了它自己的一个实例(存储为Singleton),并允许通过getInstance()方法访问该实例。
For the purpose of meeting high efficiency and premium efficiency motor tests, a set of static variable frequency power supply test system was researched and designed.
从满足高效和超高效电机的效率测试出发,研究和设计了一套基于静止变频电源的电机效率测试系统。
In the past, you may have been tempted to take advantage of the multithreaded nature of JMS Connection objects and cache them in a static variable of an EJB component or servlet.
在过去,您也许曾经试图利用JMSConnection对象的多线程本性,并将它们缓冲到EJB组件或者servlet的静态变量中。
In the past, you may have been tempted to take advantage of the multithreaded nature of JMS Connection objects and cache them in a static variable of an EJB component or servlet.
在过去,您也许曾经试图利用JMSConnection对象的多线程本性,并将它们缓冲到EJB组件或者servlet的静态变量中。
应用推荐