Opening the file, you should see your two generated methods.
打开该文件,您应该会看到两个生成的方法。
Opening a profile file with 10 versions does much more than opening a profile with one version or a model.
打开一个拥有10个版本的概要文件比只有一个版本或者模型的概要文件要复杂得多。
This is because we keep opening the same file, located in the same directory, adding the two strings as files, and closing again.
这是因为一直在打开同一个目录中的同一个文件,添加两个字符串作为文件,并再次关闭。
These scripts might execute a loop, or perhaps open a long list of files, forgetting to close the current file before opening a new one.
这些脚本可能执行循环,也可能打开一张长的文件列表,忘记在打开新文件之前先关闭当前文件。
Sixty years into the computer age, we still aren't checking basic things like the success of opening a file or whether memory allocation succeeds.
计算机的诞生已进入了六十个年头,我们仍旧没有检查基本的东西,如成功打开一个文件及内存分配是否成功。
Finally, a number refers to the application's file descriptor, which is an integer returned upon opening the file.
最后,数值表示应用程序的文件描述符,这是打开该文件时返回的一个整数。
In addition, you should avoid using a lot of external entities — such as external DTDs or imported XML Schemas — since opening and reading from a file is an expensive operation.
此外,还应避免使用大量的外部实体——例如外部DTD或导入的XML模式,因为打开和读取文件是代价很高的操作。
While these extra complications seem reasonable for a simple example like opening a file you soon run into problems as you add more functionality and further asynchronous reads to the application.
虽然对于一个打开文件的简单例子来说,这些额外的复杂操作似乎还是比较合理,但当你添加更多功能和更进一步的异步读取能力到应用程序中的时候,你不久就会麻烦不断了。
Would it be feasible to deploy the connector with the configuration data, so you could request the file from the application server instead of opening the file directly?
即使用配置数据来部署连接器的方法可行,也可以从应用服务器请求文件,而不是直接打开文件。
While this simple example of opening a file is still pretty understandable, things have definitely gotten more complicated.
这个简单的例子中,打开文件的代码还是容易理解的,不过接下来事情就很明显地变得愈来愈复杂了。
Before you start trying to restore a backup or repair a file, try opening other documents.
开始尝试恢复备份或修复文档之前,应试着打开一下其它文档。
This information can be used for various purposes, such as verifying the unzipped file size or just creating a listing of the contents of a zip file without opening it.
这些信息可用于各种目的,例如检验解压缩后的文件大小或只创建ZIP文件的内容清单而不打开它。
This function is a high-level way of opening a file; but, since the only way to open a file in Linux is to use the open system call, fopen makes use of open in its implementation.
该函数是打开文件的高层次方式;但是,因为在Linux中打开文件的唯一方法是使用open系统调用,所以fopen在其实现中利用open 。
Opening a file in the HTML editor involves
在HTML编辑器中打开文件需要执行以下操作
This script begins by opening the connection to the Arduino in a file pointer for reading.
脚本首先在一个文件指针内打开对Arduino的连接,以便读取它。
Note: Since the Design Data tool and the Design tool use the same file, it's a good practice to close one tool before opening the other.
注意:由于DesignData工具和 Design 工具使用同一个文件,因此最好在关闭一个工具之后再打开另一个工具。
You can view the Web site that defines the process by opening the index.htm file in the published directory.
您可以打开所发布的目录中的index . htm文件来查看定义该过程的Web站点。
This wasn't needed in fakeroot, which didn't track names, and thus didn't care about file opening.
这在不跟踪名称的fakeroot中是不需要的,因此不用关心文件打开的问题。
Before opening the file GSDB.changexml in the editor, ensure that the connection GSDB exists and is in the connected state.
在编辑器中打开GSDB .changexml文件之前,确保连接GSDB存在并且处于已连接状态。
If an applet is bundled in a JAR file, the applet's class files and associated resources can be downloaded by a browser in a single HTTP transaction, instead of opening a new connection for each file.
如果一个applet捆绑到一个JAR文件中,那么浏览器就可以在一个HTTP事务中下载这个applet的类文件和相关的资源,而不是对每一个文件打开一个新连接。
Be sure to check your installation to ensure that you are opening your Apache configuration file from the proper directory.
一定要检查您的安装,确保从正确的目录中打开Apache配置文件。
Remember from the section on opening and closing that we need two parameters (file path name and access mode to the device) to open a device on Linux.
从有关设备打开和关闭的讲解可知,我们需要两个参数(文件路径名和设备访问模式)来打开Linux设备。
It is needed for the file opening, closing, reading, and writing functions (fopen , fclose , fgets , getc , and so on), for the printf family of functions, and for the setvbuf function.
文件的打开、关闭、读和写函数(fopen 、fclose 、fgets 、getc等等)、printf函数系列和setvbuf函数都需要它。
The Python script treats sendmail this way by opening it as if it were a text file, writing the appropriate information to it, and then "closing" it.
Python脚本就像打开文本文件一样打开sendmail,向其中写入适当的信息,然后 “关闭”它。
When opening the report file in Visual Studio, make sure that the dynamic or static file is also opened. For example.
在VisualStudio中打开报告文件时,确定动态和静态文件也是打开的。
Figure 17 shows the option in the Portal Designer menu for opening the CSA theme files for editing in an XSL editor, and Figure 18 shows the actual theme file opened in the XSL editor.
图17显示了在PortalDesigner菜单中,打开CSA主题文件以在XSL编辑器中编辑的选项,图18显示了在XSL编辑器中打开的实际主题文件。
Opening the magical filehandle in Perl, opens every argument passed to Perl as a filename and reads in the contents of each file line by line.
在Perl中打开神奇的文件句柄(filehandle),这会将传送给Perl的每个参数作为文件名打开并逐行读取每个文件的内容。
You can create it by opening Notepad, entering the contents of the file, and saving it as.eclipseextension (ensure that "all files" is selected as the file type or Notepad appends.txt to the file).
通过打开Notepad,输入文件的内容,并将其保存为. eclipseextension(确保文件类型选中为“所有文件”,否则Notepad将会在文件名后添加. txt),可以创建这样的文件。
You can view the defined project values by opening the project properties dialog using File > Project Administration > Properties, as shown in Figure 5.
可以用File >ProjectAdministration >Properties打开项目属性对话框查看定义的项目值,如图 5 所示。
You can view the defined project values by opening the project properties dialog using File > Project Administration > Properties, as shown in Figure 5.
可以用File >ProjectAdministration >Properties打开项目属性对话框查看定义的项目值,如图 5 所示。
应用推荐