Listing 2 shows how to switch the type of access when the project is already open.
列表2显示了当这个项目已经被打开时如何转换它的存取类型。
Listing 3 illustrates one way to open a connection and read data through a stream.
清单3展示了打开一个连接并从流中读取数据的一种方法。
As the article steps through the lines in this script file, you can either follow along with the code shown in Listing 1 or open the script file in your favorite text editor.
因为本文将逐步介绍该脚本文件中的代码行,所以您既可以参照清单1所示的代码,也可以用您偏爱的文本编辑器打开该脚本文件。
In Listing 1, you can see the code to open various connection types.
在清单1中,可以看到打开不同连接类型的代码。
Listing 3 contains this function, which attempts to open the database (if not already opened) and query the database.
清单3包含有这个函数,它尝试打开数据库(如果尚未打开的话)并查询数据库。
Listing 2 shows an example of handling multiple open results.
清单2展示的是一个处理多重打开结果的示例。
You'll use this function to set the value of the currently open tag, as shown in Listing 5.
您将使用此函数设置当前打开标记的值,如清单5 所示。
But when expo workers in Queens pried open the wooden crate, they found the massive marble masterpiece listing dangerously to one side, just a bump away from catastrophe.
然而到了皇后区,世博会工作人员撬开木箱,却发现这个硕大的大理石雕塑巨作倾向一侧,非常危险,只差一点点就要酿成大祸。
Listing 2 shows the files open for the sendmail process with the TXT files filtered out.
清单2显示了sendmail进程打开的文件,并使用txt对这些文件进行筛选。
With your preferred text editor, open the settings.py file and change it to match the Settings provided in Listing 4.
利用自己喜欢的文本编辑器,打开settings. py文件并改变它来匹配清单4内所示的设置。
Using a text editor, open policy.xml and enter the text shown in Listing 8.
使用文本编辑器,打开policy . xml并输入清单8中所示的文本。
The simplest method is to open Notepad, create a new file, copy the following code (Listing 2) into the new Notepad file, and save as PresentBlox.jsp.
最简单的方法是打开记事本,新建一个文件,将下列代码(清单2)复制到新记事本文件中,然后另存为 PresentBlox.jsp。
The first step is easy, you add a connection parameter to the servlet class you are creating, and then use the connection example, as shown above, to open the connection, as shown in Listing 7 below.
第一个步骤非常简单,您在所创建的servlet类中添加一个连接参数,然后使用这个连接示例,如上所述,打开该连接,如下面的清单7所示。
The code in Listing 4 shows how you can open a client socket from flex.
清单4中的代码展示了如何通过Flex打开客户端套接字?
In fact, if you were to open that index.html file, you'd see something like the markup in Listing 1.
事实上,如果您打开这个index . html文件,会看到类似于清单1中的标记。
In Listing 12 you can see that you open a simple HTTP connection to Twitter, and tell the system that you will write to and read from that connection.
在清单12中,我们打开一个连接到Twitter的简单HTTP连接,并告诉系统我们将通过这个连接进行读写。
Now open any text editor and enter the userscript shown in the listing below
现在,打开任一文本编辑器并输入如清单 1所示的用户脚本
Listing 5 shows how we would open an HTTP connection with a specified request method of GET, passing a parameter with the name size and a value of large.
清单5显示了如何用特定请求方法GET和一个名为size值为large的参数打开一个HTTP连接。
If you open the dump.pat file, you will find another simple file, shown in Listing 3.
如果打开这个dump . pat文件,您将发现另一个简单的文件,如清单3所示。
You can see the problem in Listing 2, which is a code snippet from Tomcat, the open source web application server.
您可以在清单2中看到这个问题,这是节选自开源web应用服务器Tomcat的代码片断。
Now, we open the datagram channel and set up the options for multicasting, as shown in Listing 4.
现在,打开数据报通道并设置多播选项,如清单4所示。
To do this, open the UML2ObjCClassRule class and add the import statements shown in Listing 10.
请打开UML2ObjCClassRule类,然后添加列表10中所示的导入语句。
All the listing options open a corresponding TAB, listing all objects of specified type with title, tags, last updated timestamp, rating, and author.
这些选项分别打开对应的选项卡,其中列出指定类型的所有对象以及标题、标签、最后更新时间戳、级别和作者。
Open your text editor and create a new file, adding the contents of Listing 2 to it.
打开文本编辑器并创建一个新的文件,将清单2中的内容添加到该文件中。
Photographs from a 2007 real estate listing show a stone-encircled swimming pool and an open-air sitting room with views of the ocean.
从一份2007年房地产清单照片来看,有一个石头围成的游泳池,一个能看到海的露天起居室。
Open this file with your favorite text editor, and add the following lines in Listing 1 to the bottom of the file.
使用您最喜欢的文本编辑打开该文件,然后将清单1中的行添加到该文件的底部。
Open this and remove the lines in Listing 8.
打开此文件并删除清单8中的代码行。
Open the file and paste the contents of Listing 3, following, into the file.
打开文件,粘贴列表3种的内容到这个文件中。
Open the file for editing, and find the following lines shown in Listing 1.
打开文件,寻找清单1 所示的代码行。
Open this file and examine it. It should follow the same format as that in Listing 1.
该文件的格式将与清单1中的格式相同。
应用推荐