You could have simply numbered the registers, but then writing the code and remembering which register does what would get even more tedious than before.
您可能已经简单地对寄存器进行了编号,不过之后编写代码并记住哪个寄存器实现哪些功能会比以前更加乏味。
If the user changes the value in a textbox or switches the selected element in a dropdown list, you can register an event handler and have code execute when the event is raised.
如果用户改变了文本框中的值或切换了下拉列表中的选定元素,您就能够注册一个事件处理程序,引发事件时,执行代码。
It is not just technically minded developers who need to register file changes for a project, but also less technically aware business users who need to manage non-code related artifacts.
这不仅仅是有技术思想的开发人员需要为项目注册文件变更,同时还有少数技术意识业务用户需要管理构件相关的非代码。
Listing 9 contains a code example of the SQL CREATE procedure statement used to register an RPG program as an external stored procedure.
清单9包含一个用于将一个R PG程序注册为一个外部存储过程的SQLCREATEPROCEDURE语句的代码示例。
At times, semantically equivalent code, written in two different ways, might cause the optimizer to have a more difficult time performing good register allocation.
有时,语义上等同但采用两种不同方式编写的代码可能会使优化器在执行良好的寄存器分配上所花费的时间相差巨大。
Keep in mind that it is possible for this factory to register and create more than one type of aggregation, but you do this in the body of the code.
请记住,此工厂可以注册和创建多个聚合类型,但这需要在代码体中操作。
If there is no amount in the register, the account is converted according to the rules for currency conversion code d.
如果登记器中没有金额,则该账户根据货币转换码d的规则转换。
You register handler code for specific events that are triggered by different parts of XML markup (such as start and end tags, text, and entities).
XML标记的不同部分(如起始和结束标记、文本、实体)触发特殊的事件,然后为这些事件注册处理程序代码。
Use the kernel API kernel_thread to register this kernel thread in this pseudo code.
在下面的伪代码中,使用了内核api kernel _ thread来注册这个内核线程。
KDB allows the user to control execution of kernel code (including kernel extensions and device drivers), and to observe and modify the variables and register.
kdb允许用户控制内核代码的执行(包括内核扩展和设备驱动器),并观察和修改变量和寄存器。
The Unity Application Block can use configuration information exposed through configuration files to prepare the container, but you can also use code to register dependencies dynamically at run time.
Unity应用程序块可以通过配置文件来配置容器,但也支持通过代码在运行时动态注册依赖关系。
The code to register the custom validator with the FacesContext should look familiar to you by now.
您现在应该熟悉在FacesContext中注册自定义验证器的代码了。
To register the SunJCE provider dynamically, add the following lines of code at the beginning of your program.
要动态注册SunJCE提供者,请在您程序的开头处添加下列代码行。
The code does not use the traditional onClick within the button but USES the Dojo events system to register a method to call upon loading of the page.
代码没有在按钮内使用传统的onClick,而是使用Dojo事件系统注册一个在装载页面时调用的方法。
Listing 12 shows the sample code demonstrating how to register and start a vm using vmware-cmd; Listing 13 shows the sample code demonstrating how to register and start a vm using vmrun.
清单12显示了演示如何使用vmware - cmd注册和启动vm的样例代码;清单13显示了演示如何使用vmrun注册和启动vm的样例代码?
While you are in the tasklet, you will be able to modify the (local) register values at debug time and be able to step through all the paths and flow of the source code.
虽然我们处于一个basklet 中,但是仍然可以在调试时修改(本地)寄存器的值,并且可以单步跟踪所有的路径和源代码。
You will know the environment variable is not set if you attempt to use the Register API with the reg_flag_C2Wprop field set to 1 and the call fails with a return code 8 and reason code 21.
如果您试图使用reg_flag_C2Wprop字段设置为1的RegisterAPI时,您将知道未设置环境变量,调用将失败,并返回代码8和原因代码21。
Don't forget to register ErrorServlet in web.xml, along with the other servlets we'll create throughout this article. The code in Listing 12 registers an error page that points back to ErrorServlet.
不要忘记在web . xml中注册errorservlet,以及我们在本文所创建的其他Servlet。
For example, some companies want to approve every employee who registers on the site, while others prefer a self-service process where each employee must know a company code or password to register.
例如,一些公司希望批准每个在站点注册的员工,而其它公司可能更需要自服务的流程,每个员工必须知道公司代码或密码才能注册。
This way, if you need to add a register to your code later, the assembler will auto-recalculate the new register Numbers and you don't have to alter your register numbering convention.
这样,如果您以后需要向代码中添加一个寄存器,那么汇编程序就会自动重新计算新寄存器的编号,您也不必更改自己的寄存器编号约定。
A printer, for instance, could locate a surrogate host and deliver code in order to register a printing service on behalf of the printer.
例如,打印机可以定位代理主机并传递代码以便为该打印机注册打印服务。
Many Microsoft products make users enter an activation code to register the software and have it work properly.
许多微软产品让用户输入激活码来注册软件并让其正常工作。
The ppe does this through memory-mapped register access from kernel mode, while the SPE writes to its DMA channels from code running on the SPU.
PPE可以通过在内核模式中使用内存映射寄存器来发起dma传输,而SPE则可以使用在SPU上运行的代码来写入dma通道。
It's also easy to register with SAX, so handling errors is just a few lines of code away.
它可以很容易地注册SAX,处理错误时只需要几行代码。
Chapter 8 goes into more detail on how device drivers register their devices with the networking code.
第8章会更用网络代码详细的说明设备驱动是如何注册它们的设备的。
The CFG generation process can also be attacked by obfuscating the assembly code such that one cannot determine the correct target of a jump instruction, such as using a jump through register.
攻击CFG生成进程也可以是通过混淆汇编代码以致它不能够正确地确定跳转指令的目标,比如使用寄存器指示跳转目标。
When I tried going as low as 25 loops, the reflection code still took 6 ms to 7 ms to execute, while the generated code was too fast to register.
在循环减少至25次循环时,反射代码的执行仍然要用6ms到7 ms,而生成的代码运行得太快以致不能记录。
Rather than hand code method calls to surround each application call to an annotated interface methods, another option is to define a Hook to register with the annotated interface.
现在不需要手动编写方法调用,以便将每个应用程序调用围绕一个带注释的接口方法,而是采用另一种方法,定义一个Hook以注册到带注释的接口。
DB2 Visual Studio 2005 Add-in tooling provides an easy way to register XML schema using a simple registration designer, but this article shows you how XML schema can be registered using.net code.
DB 2VisualStudio 2005Add - in工具提供了一种使用简单的注册设计器来注册XML模式的简单方法,不过本文将展示如何使用. Net代码注册XML模式。
When you register for one of our services, the World Bank sets a cookie, a small bit of code stored on your computer's hard drive that enables you to manage your subscriptions and online profile.
当您注册使用我们的一项服务时,世行就设置了一个cookie,即储存在您电脑硬盘上的一小段代码,它可以帮您管理订阅的出版物和在线资料。
应用推荐