如果数据访问代码捕获了一个异常,不要忽略它。
If your data access code catches an exception, do not ignore it.
代码只是为占位符提供数据。
从本质上说,用于进行这种数据组织的代码应该是可移植的。
The code for such data organization, by its very nature, should be portable.
当然,我们必须以适当的数据访问代码来表达这种业务请求。
Of course, we had to express this business request in appropriate data access code.
这个系统调用向指定设备发送控制代码和其他数据。
This system call sends control code and other data to a specified device.
基于这一信任关系,应用程序可以安全地共享代码和数据。
Based on this trust relationship, applications can share code and data in a secure manner.
第二,每个数据验证点需要代码修饰。
Second, each data validation point requires code modification.
额外的数据类型检查代码是不必要的。
列表7的代码片段将数据装入第一个表。
The Listing 7 code snippet pushes data into the first table.
客户端代码调用数据逻辑方法可以捕获用户定义的异常。
Client code calling the data logic method can catch the user-defined exception.
无疑,对于简单的数据表来说,需要的代码更多。
It's certainly more code than that for a simple table of data.
清单1给出了这个数据结构根类的代码。
Listing 1 gives the code for the root class of this data structure.
清单5中所示的代码将设置该数据。
图6 - 8如图所示。之前反汇编的代码访问了数据。
Figure 6-8 - Data are accessed by previously disassembled code, as shown here.
后来,该协议或数据类型还将存储在代码中。
Later on, this protocol or data type will also be stored in the code.
将这当作JSON数据,即使您也可以调用代码。
Think of this as JSON data, even though you can invoke code as well.
也不会破坏和数据交互的已有代码。
It also should not break existing code that interacts with the data.
附录c中提供了自定义数据绑定的示例代码。
The sample code for a custom Data Binding is provided in Appendix c.
下面的示例代码填充输入数据对象。
Here is some sample code that populates the input data object.
XML被定义为数据而不是代码是有原因的。
There's a good reason XML is defined as data rather than code.
取出数据的代码与此类似,见清单3。
The code for popping data out is similar, as Listing 3 shows.
代码生成可以在几秒钟生成数据访问代码。
匿名函数的参数是两项市场数据:股票代码和价格。
The anonymous function takes two market data as arguments: a ticker symbol and a price.
清单1:从问题视图中收集数据的范例代码。
Listing 1: Sample code to collect data from the Problems view.
从问题视图中收集数据的范例代码。
清单2:从日志文件中获取数据的范例代码。
Ksplice可以替换程序代码和数据结构。
pureQuery可以帮助您以有助于优化性能的方式编写数据访问代码。
PureQuery can help you code data access in a way that helps optimize performance.
清单6. stateInfo数据结构代码示例
这一行代码返回数据树的userroot。
应用推荐