In order to return the SQLSTATE associated with a Perl DBI database handle or statement handle, you can invoke the state method.
为了返回与某个PerlDBI数据库句柄或语句句柄相关的SQLSTATE,可以调用state方法。
The method is that designing theory is simpleness and being understood is easy and avoiding complexity computation on state equations and drive equations.
该方法设计理论简单易懂,避免了状态方程和驱动方程的复杂计算。
Another method of saving state information is to store the information in hidden fields within a form.
保存状态信息的另一种方法是将信息存储在表单的隐藏域中。
A method with a side effect can return a value but also changes the program's state.
有副作用的方法可能返回一个值,但同时也修改了应用程序的状态。
These hyperlinks are the method by which a transition can take place that changes the resource state or transfers to another resource.
这些超链接是用以进行转换的方法,该转换或者改变资源状态,或者转移到另一个资源。
The city list is retrieved from the NWS using a private method if the NWS is online and from a file if the NWS is not online, and the method caches state and city information to improve performance.
在NWS在线的情况下使用私有方法来从 NWS检索城市列表,在 NWS不在线的情况下从文件中检索城市列表,该方法把州和城市信息存在高速缓存中以提高性能。
You can now call this method and interrupt execution at any point of the loop, capturing the state of the program.
现在,可以调用这个方法并在循环的任意位置中断执行,这会捕获程序的状态。
Number of blocks and total block time: the number of instances and total elapsed time when the thread was in a BLOCKED state while invoking a method or service.
阻塞数量和总阻塞时间:在调用某个方法或服务时,处于BLOCKED状态的线程的实例数量和总占用时间。
At this stage, the mock object is in record state - that is, you're simply defining the method calls it will expect along the way. So, the mock is recording expectations accordingly.
在此阶段,模拟对象处于记录状态——即简单地定义对象将一直期望的方法调用,因此,模拟将相应地记录期望。
It's also good practice, because you can tell from the method signature that calling the method can't alter the object's state.
这也是一种好的做法,因为你可以从方法声明中看出调用该方法不需要更新此对象的状态。
The first method in Listing 7 sets the initial state, updating an existing ActiveRecord column.
清单7中的第一个方法设置了初始状态,更新已有的ActiveRecord列。
The replicated state machine approach is a general method for implementing fault-tolerant systems by replicating components and coordinating their interaction via consensus algorithms.
复制状态机方法是实现容错系统的一种通用方法,它复制组件并通过consensus算法协调其交互。
The service provider state can be passed to the service requester directly in the event parameter of the update() method rather than as a separate call to getState().
服务提供者的状态可以作为update()方法的参数,直接传递给服务请求者,而不是单独调用 getState() 方法来获得服务提供者的状态。
Finally, Rails rolls those changes back to return the database to the state that existed before the test method ran.
最后,Rails回滚这些变化,将数据库返回到测试方法运行之前的状态。
For more detailed information on this method, you can read the manual page for AppConfig: : State.
有关这个方法的更详细信息,请阅读AppConfig: State的手册页。
This pair of methods demonstrates that script engines can maintain a state of application components and make that state available during subsequent calls to the engine's eval method.
这两个方法演示了脚本引擎可以维持应用程序组件的状态,并且能够在后续的eval方法调用过程中使用其状态。
Then, once you have the right state, you would use the new setExtendedState() method to change the frame's state.
然后,一旦您已经确定了正确的状态,就要使用新的setExtendedState()方法来更改Frame 状态。
You can see that the implementation of the add() method on the CalculatorService no longer obtains the calcID identifying the calculator state as an input parameter.
您可以看到,CalculatorService中的add()方法的实现不再获得 calcID 来确定作为输入参数的计算器状态。
The WorkingMemory class's insert method is called to state the knowledge that the rules engine should use when evaluating rules.
WorkingMemory类的insert方法被调用以声明在对规则求值时规则引擎应使用的知识。
S. state to allow it, the method led to a guilty plea in a car-theft case in Denver last year.
科罗拉多州是美国除加利福尼亚州以外唯一允许使用家族性DNA搜查的州,去年便在丹佛市的一起盗车案中用这一方法使疑犯认罪。
Method allocate (XMLStreamReader) is required to return an XMLEvent that represents the stream reader's current state, which cannot be modified by this method.
要返回一个表示streamreader当前状态的XMLEvent需要使用allocate (XMLStreamReader)方法,但该方法不能修改stream reader的当前状态。
At some unspecified later time, when the subject's state changes, the subject notifies the observer of the change event with the update method callback.
在随后某个未知的时候,目标对象的状态发生了更改,目标对象会使用update回调方法,通知观察者,告知已经发生了状态更改事件。
Some classes retain state information from one method invocation to the next, and it is difficult to make such classes thread-safe in any practical way.
有些类保留从一个方法调用到下一个方法调用的状态信息,要在实践中使这样的类成为线程安全的是困难的。
As soon as you implement a nontrivial class maintaining state between method calls, consumers of the class will want to know details about thread safety and performance.
一旦您实现了在方法调用之间保持状态的重要类,该类的使用者就会希望了解有关线程安全和性能的详细信息。
The API method performs the operation on the application state as requested in the input parameters received from the external client.
API方法将按照从外部客户端接收的输入参数中请求的方式对应用程序状态执行相关操作。
That is, ruled the Federal Circuit, the method 1 wasn't sufficiently tied to a machine and 2 failed to transform an article from one state to another.
即,联邦巡回上诉法院判决,该方法1未与一台机器有足够的联系,及2未能把一个物体从一种状态转换为另一种状态。
The process of heat treating is the method by which metals are heated and cooled in a series of specific operations that never allow the metal to reach the molten state.
金属热处理过程其实是一系列具体的操作,通过这些操作加热与冷却金属,但加热时进行控制,使得金属不达到熔融的状态。
If the login is unsuccessful, it should rollback operations performed in its login method (the first phase), resetting state, and discarding any credentials acquired for the login principal.
如果登录不成功,就要回滚在它的登录方法(第一阶段)执行的操作,并复位状态、废弃登录主体所获取的所有凭证。
Our detector needs to maintain state only during the byte code scanning phase, because we're looking for a method-level problem.
我们的检测器只需要在字节码扫描阶段维护状态,因为我们查找的是方法级的问题。
The forecast is retrieved from the NWS if the NWS is online and from a file if it is not online, and the method USES the cached state and city information to improve performance.
在nws在线的情况下从NWS检索预报,在nws不在线的情况下从文件中检索预报,该方法使用高速缓存的州和城市信息以提高性能。
应用推荐