更好的方法是传递一个文件名并从该文件中获得密码,但是为了保持简单性,我没有实现这种方法。
A better approach is to pass a file name and get the password from that file, but in the interest of simplicity, I did not implement it.
该脚本传递用户希望展开的文件的索引,因此必须在此列出目录并获得适当的文件名。
The script is passed the index of the file the user wants to expand, so it has to list the directory again and get the appropriate file name.
当然,有一种快捷方式可以快速获得您上次使用的文件名。
Well, there's a shortcut that can quickly retrieve the last file name you used.
您可以使用这里所显示的变量获得包含信息的文件的完整路径和文件名。
You use the variable shown here to get the complete path and file name of the file that contains the information.
stat()函数会将特定文件的相关信息填入struct stat结构中,如果您获得的是文件描述符而不是文件名,那么作为替代,您可以使用fstat() 函数。
The stat() function fills a struct stat structure with information about a specific file; if you've got a file descriptor instead of a file name, you can use the fstat() function instead.
该程序取得文件名(从命令行获得并传递给类的构造函数),然后执行下面的代码。
This program gets a filename (from the command-line, which it passes into the class's constructor), and then executes the following code.
如果我们从N_SOL符号(文件名)后获得该符号,则意味着以上文件名遇到一个函数。
If we get this symbol after an N_SOL symbol (file name), it means a function is encountered for the above file name.
如果您两次执行相同的autocmd,您就可以获得两个事件处理器,这两个处理器将会由那一点上相同的事件和文件名组合分别激活。
If you execute the same autocmd twice, you get two event handlers, both of which will be separately invoked by the same combination of event and filename from that point onward.
随后,此字符串将被传递给VectorSpace模块,并且数据散列的数据结构将依靠文件名来获得文件内的向量列表。
This string is then passed into the VectorSpace module, and a data hash data structure is keyed on the filename for the list of vectors within a file.
JNLP文件以一种与Web浏览器相似的方式(仅用url而不是特定的文件名)来获得并定位文件。
The JNLP file obtains and locates files in a manner similar to a Web browser, using only URLs and not specific file names.
您可以发送通过xargs来输出文件名的任何工具的输出,以便为其他某些接受文件名作为参数的工具获得参数列表,如以下示例所示。
You can send the output of any tool that outputs file names through xargs to get a list of arguments for some other tool that takes file names as an argument, as in the following example.
当您向lsof 传递文件名时,比如在 lsof /file/I/deleted 中,它首先使用stat()系统调用获得有关该文件的信息,不幸的是,这个文件已经被删除。
When you pass lsof the name of a file, such as in lsof /file/I/deleted, it first uses the stat() system call to get information about the file, which is, unfortunately, gone.
运行dtd2s ql时,它从STDIN或从命令行上给出的文件名中获得dtd。
When you run dtd2sql, it takes a DTD on either STDIN or from the filename given on the command line.
使用xpath函数replace,我获得原来的URL并用. html扩展名代替. xml作为新的文件名。
Using the XPath function replace, I take the original URL and replace the.xml extension with.html to create the new file name.
主存储文件的路径名。追加的文件名称,其中包括索引和锁文件,都是从这里计算的获得的。
Path name to the main storage file. the names for supplemental files, including index and lock files, will be computed from this.
获得指定文件名的MIME类型。
这样做也意味着你不能两次使用相同的文件名,因为它可能至少在两个地方(CDN/浏览器)被缓存,用户将在相当长一段时间内获得旧的缓存版本而不是新的版本。
Doing so also means you can't use the same filename twice, because it may be cached in at least two places and users will receive the cached version instead of the new one for quite a while.
这样做也意味着你不能两次使用相同的文件名,因为它可能至少在两个地方(CDN/浏览器)被缓存,用户将在相当长一段时间内获得旧的缓存版本而不是新的版本。
Doing so also means you can't use the same filename twice, because it may be cached in at least two places and users will receive the cached version instead of the new one for quite a while.
应用推荐