To determine whether you have Gears installed, use the code in Listing 5.
要确定是否已安装Gears,使用清单5中的代码。
For example, if you read data from the file system, you can use the code in Listing 8.
例如,如果从文件系统读取数据,您可以使用清单8中的代码。
You can certainly use the code without doing either, but again you won't own it that way.
当然,你不用这么做也可以使用那段代码,但是那样的话你依旧不会拥有它。
You use the code in Listing 14 instead of the setter methods that you used in Listing 11.
使用清单14中的代码,而不使用清单11中使用的setter方法。
For example, you might use the code in Listing 2 to generate the VXML for a "local" search.
比方说,可以用清单2中的代码为“local”搜索生成VXML。
If you use the code with the download package, you will have 14 days to evaluate the product.
如果使用下载包中的代码,那么有14天的产品评估时间。
This allows you to use the code analyzer on your ActionScript code, so that is a good start.
它让你使用代码分析器分析ActionScript代码,这是一个好的开始。
For our case, we will use the code in the full disclosure archive submitted by IBM in May 2004.
对于我们的例子,我们将使用在2004年5月由IBM提交的完整报告中的代码。
You then use the code in listing 6 to retrieve the highlighted text in the handleEvent method.
然后使用清单6中所示的代码在handleEvent方法中检索突出显示的文本。
Therefore, to make the translation from one Object to another, you can use the code shown in listing 1.
因此,要想从一个对象转换成另一个对象,可以使用清单1所示的代码。
Although tailored to LDAP-type data, you can use the code above for any number of text-related queries.
虽然是为ldap类型的数据量身定做的,但是可以使用以上代码执行任意数量的文本相关查询。
You could make up messages and encrypt them, and your friend could use the code to decode the message.
您可以编制各种消息并对它们进行加密,您的伙伴可以使用暗号来解码这些消息。
To specify an int variable for an iterator and a String variable for element name, use the code in Listing 17.
要为迭代器指定一个int变量并为元素名称指定一个String变量,请使用清单17中的代码。
To use the memory-management functions to allow us to verify where our error is happening, we use the code below.
为了使用内存管理函数以使我们可以检验发生错误的位置,我们将使用以下代码。
For example, if you want to perform a specific action in a different directory, you could use the code in Listing 8.
例如,如果希望在另一个目录中执行某一操作,可以使用清单8中的代码。
For example, when we cache the code for a cause such as world peace or poverty alleviation, we use the code in Listing 8.
例如,当我们为特定的内容(比如世界和平或减少贫困)而进行代码缓存时,我们需要使用清单8中的代码。
To use the code listed in this document, you must have the associated application (Microsoft Word, in these examples) installed.
为了使用本文中的代码,必须安装相关的应用程序(以 Microsoft Word为例)。
In your own callback servlet, use the code below in Listing 3 to get the verifier and use it to request AccessToken and Secret.
在您自己的回调servlet中,使用清单3中的代码获取验证器,然后使用它来请求AccessToken和Secret。
In order to use the code in the listing, you will have to contact some XKMS service provider that has a demo or test XKMS service running.
为了使用该清单中的代码,必须与某个具有演示或测试XKMS服务运行的XKMS服务提供程序联系。
With the remote agent listening, you could use the code snippet in Listing 4 to obtain a reference to the associated MBean server connection.
有了远程代理侦听,就可以使用清单4中的代码段获得相关MBean服务器连接的引用。
The downside is that they all generate miserable code, so I don't use the code-generation or "round-trip engineering" features of these tools.
其缺点是它们都会生成极差的代码,所以我不使用这些工具的代码生成或“往返工程”特性。
If you use the code in the file provided in the Downloads section of this article, your preference page should look like the one shown in figure 3.
如果使用本文下载小节提供的文件中的代码,您的首选项页面应当如图3所示。
The wiser way is to define functions only when you need to use the code multiple times and there are no PHP built-ins for the task you want to achieve.
更明智的方法是,仅在需要多次使用代码,并且对于您希望实现的任务没有可用的内置php函数时才定义函数。
There is indeed a better solution, but let's just use the code first, which works fine in the WebSphere Test Environment of Application Developer V5.1.2.
的确存在一个更好的解决方案,但是让我们首先使用此代码,它在Application Developer V5.1.2的WebSphereTestEnvironment中工作得非常好。
Their output is itself code, which needs to be fed into a compiler; typically, additional user code is added to use the code generated by lex and/or yacc.
它们的输出本身是代码,需要提供给编译器;通常,要增加另外 的用户代码来使用lex和/或 yacc生成的代码。
For example, if you plan to use just servlets and JSP pages and you need to get your users back to the previous page, you can just use the code in Listing 21.
例如,如果您计划只使用servlet和jsp页面,并且需要让用户回到前一个页面,那么可以使用清单21中的代码。
You can use the code points of the individual characters in a string as a basis for collation, and it might work reasonably well if your stylesheets only have to collate data in English.
可以使用字符串中每个字符的代码点为基础进行排序,如果样式表只需要对英文数据排序那么这种方法非常合适。
To read the message from the queue (which in this case ultimately involves reading from the file system since we use the JNDI identifier for the file system), use the code in Listing 11.
要从队列中读取消息(在本例中最终涉及到从文件系统中读取数据,因为我们使用文件系统的JNDI标识符),使用清单11中的代码。
For instance, you could use the code in Listing 14 to achieve an effect similar to that shown in Listing 13; this time, all CDs are iterated over, and a Boolean XPath expression is applied.
比如,可使用清单14中的代码来实现和清单13类似的效果,这一次在迭代全部CD的过程中使用了xpath布尔表达式。
Developers can now build applications on top of Android's platform and then use the code for their own Android-like products, just as developers use Firefox code to build their own browsers.
现在,开发者可以通过Android平台构建应用程序,并使用代码制作自己的Android类产品,就像用火狐代码来制作自己的浏览器一样。
应用推荐