从此之后,60,000名用户注册了OpenNTF,并开始下载代码。
Since then 60,000 users have registered on OpenNTF to download code.
当从小部件代码调用该方法时,就跨用户会话持久化项(名-值对)。
When this method is invoked from the widget code, the items (name-value pairs) are persisted across the user session.
我在代码示例中使用ext作为路径名来防止版本冲突(参阅下载,访问本文示例源代码)。
I will refer to the directory in my code examples as ext to prevent inconsistency between versions (see Downloads to access the source code for the examples in this article).
该程序将数组节点转换为说明性更强的变量名,从而使代码更易于阅读。
The program transfers the array nodes into more descriptive variable names, making the code easier to follow.
这个事实清楚地证明:长期项目需要那些拥有良好变量名和干净设计的清晰代码。
This speaks volumes about the need for clear code with good variable names and clean design on a long-term project.
通用性:由于不需要列出所有可能的元素名,使代码更加通用,可以包含可能出现在实例文档中的不同特性元素的变体。
Generality: Without having to list all possible element names, the code is general enough to encompass the variation of different feature elements that might appear in instance documents.
prefix参数被用作在已生成的代码内部的变量名的前缀。
The prefix argument is used as a prefix for the variable names inside the generated code.
尽管这是相同代码中的相同变量名,不过num这次不同了。
Even though it is the same variable name in the same code, num is different this time.
为确保这个脚本不能用于访问数据库中的任何表,代码首先检查被请求的表名。
To ensure that the script can't be used to access any table in the database, the code first checks the table name requested.
代码输出的是一个包含同等服务名的数组。
The output of this code is a list as an array of equivalent names of the service.
如果希望使用自己的XML文档也完全可以,只要调整示例代码和文档的结构与逻辑名匹配即可。
If you want to use your own XML documents, feel free; you just need to adjust the sample code to match the structure and logical names in your own document.
这样就可以更容易地发现代码中的问题(例如输错的变量名)。
This makes it much easier to find problems in the code (such as mis-typed variable names).
以后您将把此J2C连接工厂的JNDI名绑定到生成的部署代码的会话bean中。
You will later bind this J2C connection factory's JNDI name to the generated deploy code's session bean.
为了完成交易,eBay雇佣了上千名软件工程师编写了上百万行代码。
To accomplish this, eBay employs thousands of software engineers who crank out millions of lines of code.
因此,您必须使用这个引用名,除非您对代码作相应的修改。
Therefore, you have to follow this reference name unless you make the corrresponding changes in the code.
有三名哈佛大学学生坚称是他们提出了最初构想,祖克伯格只是他们雇来为网站编写代码的人,而他却剽窃了他们的点子并创建了Facebook。
Three other Harvard students maintain that they came up with the original idea and that Mr. Zuckerberg, whom they had hired to write code for the site, stole the idea to create Facebook.
通过使用全局转发,只要逻辑引用名不变,我们就不必因为URI有所变动而修改我们的代码。
Using global forwards, we protect our code from changes to the URI as long as the logic reference name remains constant.
当在代码里显式地为变量指定类型信息时,类型注解应该跟在变量名的冒号后面(也就是类pascal语法)。
When explicit type information for variables is written in the code, these type annotations follow the colon after the item name (i.e., Pascal-like syntax).
没有任何理由编写“丑陋”的代码、长达数页的函数,或是稀奇古怪的变量名。
There is never any reason to write ugly code, a method that spawns multiple pages, or code with cryptic variable names.
虽然这样很方便,但如果拼错了变量名,可能会在代码中导致细微的错误。
While this is convenient, it can lead to subtle errors in your code if you misspell a variable name.
SQ2和SQ3的WSDL代码是相同的(除了绑定的过程、服务和类名之外)。
The WSDL code for SQ2 and SQ3 is identical, except of course for the binding, service, and class names.
上面代码中的格式化字符串 %1$tB告诉程序使用第一个参数并打印date对象的完整月名。
The %1$tB formatting string in the code above tells the program to use the first argument and print out the full month name for the date object.
调用代码可以获取它需要传递给过程的信息,然后调用单个过程名,无论它传递的是什么参数。
The calling code can obtain the information it needs to pass to the procedure and then call a single procedure name, no matter what arguments it is passing.
对于本文,我们要解析的“语言”是“智能ASCII”所使用的一组标记代码,这些代码用来表示诸如黑体、模块名以及书籍标题之类的内容。
For this article, the "language" we will parse is the set of markup codes used by "smart ASCII" to indicate things like boldface, module names, and book titles.
不要认为自己必须是一名本机代码或JNI专家,或者必须知道每个操作系统。
Don't think that you need to be an expert in native code or JNI or must know every OS.
执行清单11中的代码并检查几个文件名,会产生清单12所示的输出。
Executing the code in Listing 11 and checking a few file names produces the output shown in Listing 12.
本节中的样例keytool命令使用了与附带的示例代码相同的文件名和密码。
The sample keytool command lines in this section use the same file names and passwords as in the supplied example code.
为此,需要添加代码来处理上传,解析文件名,以及创建与上述模式相匹配的目录路径。
To do so, you need to add code to handle the upload, parse the file name, and create the directory paths to match the scheme above.
本文中的示例代码专用于为您提供与给定查询相关的适当文件名。
Note that the example code in this article is designed to give you the appropriate file name associated with a given query.
本文中的示例代码专用于为您提供与给定查询相关的适当文件名。
Note that the example code in this article is designed to give you the appropriate file name associated with a given query.
应用推荐