该程序有一个性能缺陷—我是按值而不是按指针在关联的字符串表中检索字符串条目的。
The program has one performance flaw-i retrieve the string entry in the associated string table by value rather than pointer.
这样,我可以让它们作为散列的键、将要被检索的字符串列表,等等。
Thus, I can use them as hash keys, lists of strings to be searched, etc.
我鼓励您进一步探索编目,以便加深对什么是可用信息以及如何检索所需信息的理解。
I encourage you to explore the catalog to further your understanding of what is available and how to retrieve the information that you need.
除了使我能够检索有关该RSS文件的元数据以外,它还提供了从存储中除去该信息的便利方法。
Besides enabling me to retrieve metadata about the RSS file, it provides a handy way to remove that information from the store.
清单5显示了一个使用一些我所提到的参数检索XML文档的示例。
Listing 5 shows an example that retrieves an XML document using some of the parameters that I mentioned.
我本来想找到一种非常有用的工具,它可以保存XML文档、在节点上执行类似数据库的查询以及检索部分或整个文档。
I would have found a tool which saved the XML documents, performed database-like queries on nodes, and retrieved partial or full documents very useful.
这种新的方法也需要从我自己的服务器上检索XSLT文件。
In this new approach, I also need to retrieve the XSLT file from my own server.
布鲁克斯:我从小就爱收集地图,为了给这些地图做索引,我曾尝试了各种各样的方法,在这种不断的尝试过程中,我对自动数据检索的概念产生了浓厚兴趣。
Fred Brooks: I collected maps as a kid. I had tried all kinds of ways to index my map collection, which got me interested in the notion of automatic data retrieval.
在本文中,我将通过实际的例子展示如何从DB 2udb系统编目检索有用的信息。
In this article, I will show you, by way of working examples, how to retrieve useful information from the DB2 UDB system catalog.
一定程度上,我应该关注OODBMS最引人注目的功能:面向对象数据的存储、操作和检索。
In part, I've wanted to focus on what is most compelling about the OODBMS, which is object-oriented data storage, manipulation, and retrieval.
因此,我只关注检索传输对象的方法。
Thus, I will only look at the methods to retrieve the transfer objects.
用来创建元素的方法与文档关联并成为一个整体,所以我需要在所有者文档中检索当前我正在处理的元素(第 17行)。
The method used to create an element is associated with the document as a whole, so I need to retrieve the owner document for the element I'm currently processing (line 17).
挑选一副眼镜大约花费我一小时,费心浏览150-200条检索结果并且核对参数是否适合我的眼睛。
Picking out each frame took me about an hour, after wading through 150-200 results and checking measurements on the ones that caught my eye.
我没有不断检查看我的队列是否有消息,我提供了一个休眠函数,如没有检索到消息就等待30秒。
Rather than continuously checking to see if my queue has a message, I provide a sleep function that waits 30 seconds in the event that no message was retrieved.
在样本代码(第5行)中,我检索了用于构建文档的(缺省)文档工厂,并将它存储在一个实例变量(m_factory)中以供modify方法使用。
In the sample code (line 5) I retrieve the (default) document factory used to build the document and store it in an instance variable (m_factory) for use by the modify method.
从文档的第一个起始标签开始(根元素标签),我从该元素中检索kind属性。
At the very first start tag of the document (the root element tag), I retrieve the kind attribute from this element.
从被检索的页面中拉取我感兴趣的信息。
Pull out the information that interests me from those retrieved pages.
我这样做的原因是,在每次执行get操作之后,位置都会移动,所以不需要手工来声明要检索的位置。
I do so because after each get operation the position is moved, so you needn't manually state which position to retrieve.
我还曾使用该技术来检索链接标题:只要采用document函数的URI,就可以恢复文档标题。
I have also used it to retrieve link titles: Just follow the URI with the document function and recover the document title.
当与grep命令组合使用时,我可以检索布法罗市的天气状况。
When combined with the grep command, I can retrieve the conditions in Buffalo.
您可以从清单3中看出:我已经(任意)虚构了一个URI来表示对一个文件进行的第52365次检索。
You can see from Listing 3 that I've (arbitrarily) invented a URI to represent the 52,365th retrieval of a file.
注意,FreeDB中每一个检索结果都由唯一的ID来标识,这也是一直到后面程序中我所存贮的全部内容。
Note that every search result in FreeDB is identified by a unique id, and that's all I'm storing until much later in the program.
上一次我使用了db4o的QBE引擎演示了数据检索,这里将快速回顾一下。
I demonstrated data retrieval using db4o's QBE engine last time, but I'll quickly recap here.
同样,我使用% freedb_searches散列来生成一个检索的列表。
Again, I use the % freedb_searches hash to make a list of searches.
创建表示应用程序窗体类型的Type对象之后,我使用Type .GetField方法检索Form对象中指定字段(控件)的信息。
After creating a type object that represents the application form's type, I retrieve information about a specified field (a control) on the form object by using the Type.GetField method.
例如,假设我获取一个有效的AWS连接和包含消息的队列的句柄,我可以如清单4所示检索消息。
For example, assuming I've got a valid connection to AWS and a handle to a queue containing messages, I can retrieve messages as shown in Listing 4.
至于无用的单词和字符,我指的是普通语言中的词,比如冠词(a,an,the,等)和一些对检索没有用的字符串(比如s)。
By useless words and characters I mean common language words such as articles (a, an, the, etc.) and other strings that would be useless for searching (e.g. 's).
我还展示了如何使用YQL搜索和检索HTML页面上的数据以及rss和atom等结构化xml格式的数据。
I also show you how to use YQL to search through and retrieve data from HTML pages as well as structured XML formats such as RSS and Atom.
当然,如果任务做了一些有趣的事情,则您可以将此数据保存到数据库并在以后检索它 —这是我将要向我的用户的Twitter转发的。
Of course, if a task does something interesting, you can save that data into the datastore and retrieve it at some later point — which is what I'm going to do with my user's Twitter retweets.
当然,如果任务做了一些有趣的事情,则您可以将此数据保存到数据库并在以后检索它 —这是我将要向我的用户的Twitter转发的。
Of course, if a task does something interesting, you can save that data into the datastore and retrieve it at some later point — which is what I'm going to do with my user's Twitter retweets.
应用推荐