In this application, we open the database in the initialize function.
在这个应用程序中,我们在初始化函数中打开了数据库。
If you open the connection from within a function, and only store the variable in a local variable, the connection will be closed when that function returns.
如果在一个函数中打开连接,并且只将句柄存储在一个本地变量中,那么当函数返回时,连接将被关闭。
You'll use this function to set the value of the currently open tag, as shown in Listing 5.
您将使用此函数设置当前打开标记的值,如清单5 所示。
You then use the slideUp function to close the message element if it is open already.
然后,如果消息元素是打开的,您需要使用slideup函数关闭它的。
First, you'll define a simple custom function and test it, as well. Open the main.lisp.
首先,还是定义并测试一个简单的自定义函数。
It is aligned to the business perspective of a service, which typically represents a discrete business function (for example, check credit, open account).
与服务的业务透视图保持一致,服务通常表示离散的业务功能(例如,检查信用、开立帐户)。
The constructor for the built-in open function is.
此内置open函数的构造函数是。
This function crafts the proper HTTP request to retrieve a list of documents in Google documents, which in turn can be used to open the said documents.
此函数制作了一个恰当的HTTP请求来检索Google文档内的文档列表,这之后可被用来打开这些文档。
However, notice that when you use its open function to open the connection, you pass a third parameter (true).
不过,请注意在使用它的open函数打开连接时,传递进第三个参数(true)。
Designed at the business level to represent a discrete business function (e.g. check credit, open account).
在业务级别设计,用于表示离散的业务功能(例如,检查信用、开立帐户)。
Open the connection to the database during the init function in your servlet.
在Servlet的init函数中,打开到数据库的连接。
You use the function CreateFile to open a device.
函数CreateFile用于打开设备。
In pseudo, the address returned for dlsym (RTLD_NEXT, "open") is stored in a function pointer named real_open .
在pseudo中,为dlsym (RTLD_NEXT,“open ”)返回的地址储存在名为real_open的函数指针中。
The first parameter fildes is the open file descriptor returned from the function open , referring to a specific device.
第一个参数fildes是函数open返回的文件描述符,用于指称具体设备。
Routing is a function associated with the network layer (layer 3) in the standard model of network programming, the Open Systems Interconnection (OSI) model.
在开放系统互连osi模型中,路由是网络层(第三层)的功能。
The fmemopen() function gives you a stdio FILE * object that refers to a buffer in memory. Replacing the open of test.jpg with a single call to fmemopen solves half the problem
fmemopen()函数提供了一个stdioFILE *对象,该对象表示内存中的一个缓冲区。
Open source projects function almost wholly through e-mail (with the addition of the Apache bug tracking database, which you'll find in the Resources section).
开发源码项目几乎完全是通过电子邮件(再加上Apachebug跟踪数据库,在参考资料小节中有这方面的内容)来运作的。
The open/close parentheses denote a function that takes no parameters.
开始/结束括号表示一个不带参数的函数。
There were about twelve different component teams, including teams working on two open-source technologies, which served as the basis for the technical function.
有大约十二个不同的组分团队,包括致力于开源技术的团队、它们是作为技术功能基础的团队。
Other open systems such as the mails, the roads or the telephones come to perform a function in society that transcends their simple technical characteristics.
其它的开放系统,例如邮政、道路或者是电话都承担了一个超越它们本身简单技术特征的社会服务功能。
Listing 3 contains this function, which attempts to open the database (if not already opened) and query the database.
清单3包含有这个函数,它尝试打开数据库(如果尚未打开的话)并查询数据库。
This led us to add things like shortcuts to bring up the search box next to the current bubble to easily open a new function side-by-side, go to definition, etc.
我们添加了很多类似快捷键的功能,如基于当前气泡的位置弹出搜索框以方便打开新函数,查找定义,等等。
All this is done in the OPEN call to the table function; in the FETCH calls, the next word is retrieved from the set and returned as index entry.
这些都是在对表函数的OPEN调用中完成;在FETCH调用中,从集合中检索下一个单词并作为索引条目返回。
As in the previous example, the print function raises an exception, because the file was not open for writing.
正如之前的例子所示,print函数抛出了一个异常,原因是文件尚未打开以供写入。
The call to shm_open() should look familiar; it is much like the open() function, including how to initialize the segment and permissions.
对 shm_open() 的调用看起来应该很熟悉;它与open()函数很相似,包括初始化内存段和设置权限的方式。
For any of these methods, you go through the standard process of using fopen to open the file, a function to read the data, then fclose to close the file, as shown in Listing 1.
对于这些方法中的任何一种,通过使用fopen(用于读取数据的函数)的标准方法打开文件,然后使用fclose关闭文件,如清单1所示。
File name: the name of the new static layout file that will open in the page Designer for further editing and will function as the layout file of the MyStaticPage portal page.
文件名:新静态布局文件的名字会在PageDesigner中打开以进行进一步的编辑,其功能相当于MyStaticPage门户页面的布局文件。
Let's create another Application class that will contain a main function to open the ContactUI and set up the context object.
让我们来创建另一个application类,其中会包含一个主函数,用来打开ContactUI和设置这个上下文对象。
Let's create another Application class that will contain a main function to open the ContactUI and set up the context object.
让我们来创建另一个application类,其中会包含一个主函数,用来打开ContactUI和设置这个上下文对象。
应用推荐