As a general rule, anywhere constants are in use, such as in places you are currently using the switch code to switch constants.
一条普遍规则是,任何使用常量的地方,例如目前用switch代码切换常量的地方。
You can switch back and forth between data and code sections, but when the program is assembled it will bring all of each section together into one unit.
您可以在数据部分和代码部分之间自由切换,但当程序被汇编时,会将所有部分汇编到一起,组成一个单元。
Switch to the stored procedure editor ASSOC_PROC and pass the code between the cursor declaration and the cursor "OPEN" statement.
切换到存储过程编辑器 ASSOC_PROC 并传递进指针声明和指针 “OPEN”语句之间的那些代码。
To improve performance, you may wish to factor out the code for each model attribute into its own method (or a single method with a "switch").
为了提高性能,您可能希望抽取每个模型属性的代码放到它自己的方法中(或者带有“开关”的单个方法)。
But assuming the types are okay, the code path is chosen first by a polymorphic dispatch, and second by procedural switch.
但是假定类型没问题,那么代码路径首先由多态分派选中,其次由过程切换选中。
Since the macro expands to regular code anyway, you can always switch back to imperative programming if the declarative language doesn't suit your needs.
因为宏可以以任何方式展开常规代码,所以如果声明式语言不能满足需要,那么随时可以切换回命令式编程。
What I'm going to tell you about in my 18 minutes is how we're about to switch from reading the genetic code to the first stages of beginning to write the code ourselves.
接下来18分钟里,我想与大家分享的是:我们是如何做到,从最初的阅读遗传编码,转换到现在我们开始自己编写这些编码。
Contiguous to each gene is DNA that doesn't code for protein; instead, it functions as the gene's on-off switch.
每个相邻基因之间是不能编码蛋白质的dna;相反,它起着基因启动-关闭开关的功能。
You can run code with this switch to see how much work will be necessary to port code to 3.0.
你可以使用该开关来运行代码,来看看要将代码移植到3.0需要做多少工作。
The interpreter code for these elements calls the outputter to switch to a new destination and subsequently to revert to the original destination.
这些元素的解释器代码调用输出器切换到新目的地,然后还原到原始目的地。
You won't have to change your code if you want to switch from JMS to RMI just to name an example.
如果你想从JMS转换为RMI(这只是举一个例子),你并不用修改你的代码。
First, you parse the ID from the XML structure returned from PHP, then you use a switch statement to direct the error to the appropriate message or associated code.
首先,从XML结构(从php返回的)中解析id,然后使用一个转换语句直接指向消息或者相关代码。
Switch back to the TestClient code and paste the address into the call to setEndpoint() and make the following modifications
切换回TestClient代码并将地址粘贴到对 setEndpoint()的调用,然后做如下修改
I find this pretty amazing, that you can switch between two architecture models (REST vs. SOAP) yet still code the same way for the other 90% of an application.
我发现一个神奇之处就是,你可以在两个架构模型(RESTvs .SOAP)之间切换,而应用程序中90%的代码都是完全相同的。
If you tell FindBugs where to find your source, it will highlight the offending line of code when you switch to the appropriate TAB.
如果告诉FindBugs在什么地方寻找代码,它就会在转换到相应的选项卡时突出显示有问题的那一行。
Click on the Source TAB in the lower left corner of the editing area to switch to the XML code view in the Source editor.
单击位于编辑区域左下角的Source选项卡,以切换到Source编辑器中的XML代码视图。
When executing the script containing getopt, named opttest, using a valid argument of -x-or --xxxxx, getopt recognizes the switch and executes the code within the case switch
在执行包含getopt(称为opttest)的脚本时,如果在 -x 或 --xxxxx 中使用有效的参数,getopt 会识别出开关并执行 case 开关中的代码
Switch to the JSP Source tab and verify the code (also see the screen output in Figure 37)
切换到JSPSource页签,并验证代码(也可以参见图 37中的屏幕输出
The -ss switch tells Axis2 to build the server side code.
ss开关告诉Axis2要构建服务器端代码。
The good news is that we don't have to change our code if we switch databases, except for the places -- such as the use statement and the new statement -- where we mention Persistent::MySQL by name.
令人欣慰的是,除了通过名称来引用Persistent::MySQL 之外(例如use语句和new 语句),在切换数据库时不需要更改代码。
The most important part of this code is the SQL query — in Listing 6, the Ajax will switch to POST, instead of GET (as seen in Listing 3), and send four variables: left, right, bottom, and top.
这段代码最重要的部分就是SQL查询——在清单6中,Ajax将会切换为POST,而不是GET(正如在清单3中看到的),并且传送4个变量:left、right、bottom和top。
Tools to easily switch the queries used by those pages without touching the Web page code (after your Web pages have accessed JPA data).
在不涉及Web页面代码的前提下,那些页面使用的能方便改变查询的工具(在您的Web页面访问JPA数据以后)。
As you switch from the Mail view to the Contacts view, a separate full page is not loaded, and hence the view-handling code doesn’t need to be reloaded or even reparsed.
当您从Mail视图切换到Contacts 视图时,不会另外加载一个完整的页面,因此不需要重新加载或解析视图处理代码。
For instance, when you are debugging, you switch to the debug perspective (choose Window - Open Perspective - Debug) where you can set/remove break points, watch variables, and step through code.
例如,当调试时,可以切换到调试透视图(选择Window-OpenPerspective -Debug),可以在其中设置 /删除断点、查看变量和遍历执行代码。
When given that option, ifrom will delete whatever mailbox is named by the -mailbox switch, so don't use it on the default INBOX mailbox! The Perl code involved couldn't be simpler
当使用这一选项时,ifrom将删除由 -mailbox开关命名的任何邮箱,因此不要对缺省的INBOX 邮箱使用该选项!
The application code receives the new subject, then invokes the WSSubject.setRunAsSubject(returned_subject) method to switch identity for the current thread.
应用程序代码接收新的主题,然后调用 WSSubject.setRunAsSubject(returned_subject)方法为当前线程切换标识。
Cisco is warning of three vulnerabilities within its Internet Operating System software that could allow a denial-of-service attack or let a hacker run arbitrary code on an affected switch router.
Cisco已经被警告,在InternetOperatingSystem软件中具有三个可能引发拒绝服务,运行任意代码和系统出错的漏洞. "因为运行IOS的设备跨越数个不同类型的网络,第二轮大型拒绝服务攻击可能因此而起."
After importing your code into RSA, switch to the modeling perspective and create a UML model from it, so you can see how UML has characterized your work.
当你把代码输入到RSA后,转到建模透视图并从此透视图创建了一个UML模型,现在你可以看到UML是如何定义你的工作方法。
Without coding standards, it is harder to refactor code, harder to switch pairs as often as you should, and harder to go fast.
如果没有编码标准,重新划分代码会更加困难,按应当的频度交换对更困难,快速前进也更困难。
This, in theory, lets you switch the logging implementations without changing your code.
从理论上来说,这样不用修改代码就可以进行日志实现的切换。
应用推荐