比方说,某个用来在文件中查找特定单词的程序也许会扩展为在web页面中通过URL获取InputStream的操作。
For example, a program that looks for specific words in a file might be extended to work with Web pages by using the URL class to obtain an InputStream.
例如,可以将nsswitch. conf文件配置为在文件中查找主机信息、查询DNS或使用NIS系统查找该信息。
For example, you can configure the nsswitch.conf file to look up host information in files, query the DNS, or use the NIS system to look up the information.
借助hash索引,可以通过为记录生成一个hash值,然后根据这个hash值在文件中查找该记录,从而在固定的时间内在给定的文件中找到一条记录。
With a hash index you can find a record in a given file in constant time by generating a hash value for the record and then looking up the record in the file based on that hash value.
较理想的做法是,字符串有一个如error或与之相似的子串(见蓝色粗体的语句),这个子串允许测试者很快地在输出文件中查找到错误。
Ideally, the string of characters should have a substring such as error or something similar (see the statement in bold blue), which will allow the tester to quickly find the error in the output file.
它首先尝试在面板资源文件中查找关键字,然后是页面资源文件,最后才是应用资源文件。
It first tries to find the key in the panel resource file, then the page resource file and finally the application resource file.
它没有使在系统中查找文件变得容易,也没有使应用程序运行的更快,不是吗?
It doesn't make finding a file on the system easier or make an application run faster, does it?
某些情况下,用请求数据在XML文件中查找响应。
In some cases, the request data is used to look up the response in an XML file.
因为将 /etc/nsswitch.conf文件配置为在NIS中查找公钥信息,并且 keylogin 将与 NIS 服务器进行通信,所以对于用户来说,这个操作是透明的。
This is transparent to the user as you configure the /etc/nsswitch.conf file to look up the publickey information in NIS and keylogin contacts the NIS server.
得到新的可执行应用程序之后,您就可以使用grep工具在映像文件中查找main来寻找它的地址了。
Having the new executable, you can use the grep utility to search for main in the map file to find its address.
在较大的包含许多方法的类文件中,按Ctrl +O可以打开Quick Outline,以便于快速查找方法或字段。
In large class files with many methods, pressing Ctrl + o to open the quick Outline helps you find a method or field quickly.
调试这个问题的一种方法是对这个可执行程序执行objdump命令,并将其结果保存到一个文件中;然后查找出错的指令(在本例中,出错的操作码是98080000)。
One way of debugging this failure is to do an object dump of the executable and save it in a file, then search for the failed instruction (in this case, the failed opcode is 98080000).
设想一个场景,您想要递归地访问一个目录树,在该树中的每个文件及目录上停下来,并为每个查找到的条目调用您自己的回调方法。
Imagine a scenario in which you want to traverse a directory tree recursively, stopping at each file and directory under that tree and having your own callback methods invoked for each entry found.
然而,如果您碰巧需要刚才删除(意外删除?)的文件或目录,您可以在存档中查找原始副本。
However, if you happen to need the file or directory you just deleted (by accident?), you can look in your archive for a pristine copy!
在搜索包含文件的过程中,编译器首先在每个目录中查找预编译头文件,然后再在这些目录中搜索包含文件。
As it searches for the included file, the compiler looks for a precompiled header in each directory just before it looks for the include file in that directory.
即使拥有世界上最好的计划,在一个大型日志文件中查找所需要的信息也可能仍然是一个耗时和棘手的过程。
Even with the best planning in the world, it can still be time consuming and tricky to find the information you're looking for in a large log file.
在标题或描述前面添加%表明CAE应该在适当的属性文件中查找位置的值。
Prefixing the value in your caption or description with % indicates that the CAE should look up the value in the appropriate property file for the locale.
毕竟文件在他手里,而且在战乱中,他们哪还有空查找呢?
He has the papers, after all, and in the havoc of war, what else will they have the time to look for?
Jester在类路径中查找它的配置文件,所以必须还要把Jester的主目录放在类路径中。
Jester looks for its configuration files in the classpath, so you must put the main Jester directory on the classpath too.
这些文件的位置可以在服务器配置文件目录的properties/ssl.client.props 中查找到,如清单5 所示。
The location of these files can be looked up in properties/ssl.client.props in the server profile directory, as shown in Listing 5.
比方说使用Google时,您可以在查找中增加“filetype:rss”以搜索. rss文件中的查找项。
With Google, for example, you can add "filetype: RSS" to a search to find your search terms in.rss files.
在Kerberos日志和online . log文件中查找错误消息。
Look for error messages in the Kerberos log and online.log file.
act参数指定调用哪个模块,index . php通过在模块源目录中查找名为act . php的文件来实现。
The act parameter specifies which module to invoke, which index.php does by looking for a file called act.php in the modules source directory.
在打开钟并启动Emacs之后,在状态区中查找该时间(在当前文件名称后)。
After turning on the clock and starting Emacs, look for the time in the status area (after the name of the current file).
回顾一下前面的讨论,OAT 启动index.php文件通过在模块目录中查找匹配act.php 的文件来加载模块。
Recall from an earlier discussion that the OAT bootstrap index.php loads modules by looking for a file matching act.php in the modules directory.
键入ls [a-c]*以查找以 a、b或c开头的所有文件名。此处的 *在Shell 中不像grep的解释器那样修饰 [a-c],*被解释为.*。?
Typing ls [a-c]* finds all file names that begin with a, b, or c. Here, the * does not modify the [a-c] as grep's interpreter would; in the shell, * is interpreted as .*.
PyWordNet在WNHOME环境变量所指定的位置查找 WordNet文件,如果没有在UNIX 机器上指定该变量,则在默认位置 /usr/local/wordnet2.0 中查找。
PyWordNet looks for the WordNet files in a location given by the WNHOME environment variable, or in /usr/local/wordnet2.0 by default on UNIX if this variable is not set.
在compiling. log文件中查找一个函数的开始地址和结束地址,它是十六进制的形式,其间就包含着错误地址。
Search through the compiling.log file for a function with a starting and ending hexadecimal address that surround the failing address.
同样在清单4中,第一个try语句从请求中传递一个键,生成器将使用它查找将被转换为响应POJO的XML文件。
Also in Listing 4, the first try statement passes a key from the request that will be used by the generator to locate the XML file that will be transformed into a response POJO.
这个函数指定了当解析器在XML文件中查找数据时需要请求什么函数。
This function specifies what function to be called whenever the parser finds data in the XML file.
这个函数指定了当解析器在XML文件中查找数据时需要请求什么函数。
This function specifies what function to be called whenever the parser finds data in the XML file.
应用推荐