Using programming method to produce master boot record code in order to boot multiple operating systems.
使用编程方法生成主引导区启动代码,达到自动引导多个操作系统的目的。
Although this technique has been sufficient to our needs so far, we'll see in this section what happens when we extend our code to include a record enumerator.
尽管这种技术已经足以满足我们的需求,在这一节,我们还是会扩展自己的代码,加入一个记录枚举器看看会有什么结果。
As shown in the code snippet below, this requires keeping a counter so you know when to commit and write a log record, taking care not to count rows that cause an exception.
如下面的代码段所示,这需要维护一个计数器,以便能够知道什么时候进行提交并写日志记录,这个计数器不考虑导致异常的行。
The short code block in Listing 22 demonstrates how you can display a message to the console upon any adding, deleting, or changing a record in the RMS.
清单22中的一小段代码展示了如何在RMS的记录发生添加、删除或更改的时候把消息显示在控制台上。
This program accepts an operation code and a record key as inputs, then reads the VSAM dataset and returns the record back to CICS.
这个程序接受一个操作码和一个记录键作为输入,然后读取VSAM数据集并将记录返回给CICS。
Working through the entire record store, the enumeration and our search code build a result set that is sorted based on the specified search criteria.
枚举和我们的搜索代码将遍历整个记录存储,根据指定的搜索条件构建一个排序过的结果集。
To add a record definition, place the cursor on the last line of code in the editor.
要添加一条记录定义,将光标移到编辑器的最后一行代码上。
The principles and practices developers typically apply to creating code can serve them well when they have to elicit and record requirements.
当开发人员必须从事需求捕获和记录的工作时,他们通常用于创建代码的原则和经验能够很好地为他们服务。
In the record and playback script, you have to scroll through the code to find the search criteria.
在记录和回放脚本中,您必须滚动代码以发现搜索标准。
Once the developer has completed the coding changes, passed code review and unit tested the changes the record is closed.
一旦开发者完成了编码变更,通过了代码评审,单元测试变更的记录就将结束。
One of the primary benefits of incorporating a record enumerator into your code is that it includes options for searching the record store, and for retrieving records in sorted order.
在代码中加入一个记录枚举器的一个最大好处在于枚举器中包含搜索记录存储以及以排序的顺序提取记录的选项。
She updates the build notes to record that the bug is fixed in the code stream.
她更新构建说明,以记录代码流中的该错误已修复。
You then need to record the association of that EPC code with that specific product.
接下来需要记录EPC代码与该药品的关联。
A geographical hierarchy for a customer record may start at the street address and go up through the town, state, zip code, and country.
客户记录中有关地理位置的层次结构可从街道开始,接下来是城镇、州、以及国家。
One of the people listening to us record the podcast simply asked me why students coming out of our colleges today don't write good code (that is, readable, well-formatted, elegant code).
一个倾听我们记录的播客的人简单地问了这样一个问题:为什么当今大学毕业生不能够编写出干净的代码(也就是,易读的、结构合理的、优雅的代码)呢?
Active Record doesn't require a mapping file, as Hibernate does; in fact, a developer working with Active Record doesn't need to code getters or setters, or even the properties of the class.
与Hibernate一样,ActiveRecord不需要映射文件;实际上,使用Active Record的开发人员不需要对getter或setter、甚至类的属性进行编码。
The comparator class is followed by the code to create an instance of the comparator and pass this as a parameter when creating a record enumeration.
紧跟comparator类之后的代码创建了一个比较器的实例,并在创建记录枚举时将其作为一个参数。
Implementing a RecordListener in your code ensures that you will be notified of changes, additions, or deletions to the record store.
在代码中实现RecordListener可以保证当记录存储修改、添加或删除的时候您可以得到通知。
This code persists the record to Salesforce and returns a list of the save results, which shows whether the save was a success or a failure.
上述代码用来将记录保存到Salesforce并返回一个保存结果列表,它显示了这个保存是否成功。
To create a new record in the database, let's examine the code in the addEntry function, shown in Listing 5.
要在数据库中创建新记录,让我们看一看addentry函数中的代码,如清单5所示。
This article demonstrates the tools and code you'll need to modify sndpeek to record individual voice-print files for a given speaker.
本文将演示修改sndpeek所需的工具和代码,从而针对给定讲话者录制个人声波纹文件。
So, in principle, the protein can record the order of the bases (the chemical “letters” that carry the genetic code) which make up the molecule.
因此,原理上蛋白质能记录下组成DNA分子的碱基序列(一种带着基因编码的化学“字符”)。
Other mocking libraries require you to record expectations before execution, which tends to result in ugly setup code.
其它的mocking库需要你在执行前记录期望行为(expectations),而这导致了丑陋的初始化代码。
He also updates the appropriate record in IBM Rational ClearQuest to indicate that the state of his activity is "resolved" and the new code is ready for functional testing.
他还更新ibmRationalClearQuest中适当的记录以指示出他的活动状态为“resolved”,以及新代码已经为功能测试准备好。
Some of the benefits include a smaller set of operations associated with each record type, less ClearQuest hook code in each record type, and better performance due to the streamlining just mentioned.
其中一些好处包括与每个记录类型相关联的操作集更小,每个记录类型中的 ClearQuesthook编码更少,并且由于刚刚提到的流线化所导致的更好的性能。
Despite that, we still see code that first runs a SELECT statement to find the maximum id, then adds one to that id, as well as a new record.
除此之外,我们仍然会看到这样的代码,即首先运行一个select语句来找到最大的id,然后将该id增1,并找到一个新记录。
Your code interacts with the model objects, and Active Record creates the SQL to make the database do what you want.
你的程序码与model物件互动,然后ActiveRecord产生SQL让资料库如你所写。
new_rec is a property of page code bean that represents an SDO record, while PHOTO is a property of the SDO object that mapped to the PHOTO column(BLOB) of our table.
new_rec是页面代码bean的一个属性,代表一条SDO记录,而PHOTO 是映射到表中 PHOTO列 (BLOB) 的 SDO对象的一个属性。
The next section of code will read the Echo Tops image and record the appropriate setting of altitude based on the color of each pixel in the image.
代码的下一部分将读取EchoTops图像并根据图像中每个像素的颜色记录相应高度设置。
When the code in Listing 12 was modified to read records using record definition Listing 15 (while still writing it using record definition Listing 11) it produces the following result.
为了能读取清单15中记录定义中的记录,清单12中的代码在修改后(但仍然用清单11中的记录定义来写数据)生成下列结果。
应用推荐