There's no error handling in this code, but note that you would need it in a real-world application.
这段代码中没有错误处理功能,但要注意,实际应用程序需要此功能。
Details, such as those shown in this code, reveal a lot about how the native processor itself operates.
细节信息,比如这段代码中所显示的这些信息,可以揭示有关本地处理器本身运行方式的很多内容。
First, be sure you understand the process that you created in this code (review Listing 10 if you need to).
首先一定要理解这些代码中的流程(如果需要请回顾清单10)。
You can, of course, add or change fields as you'd like, but let's take a look at what we have in this code.
您当然可以随心所欲地添加或更改字段,但是首先让我们看一下此代码中的内容。
I've placed explicit return calls in this code, both of which are optional in Groovy, but the code is even more cryptic without them!
我在代码中设置了显式return调用,这在Groovy中都是可选的,但如果不用,代码就更难懂了!
Why am I seeing curly braces in this code?
为什么我在这段代码中看到大括号?
The total number of member lookups in this code has been reduced from nine to five.
总的成员搜索次数从九次减少到五次。
Returns the collection that contains the object that supports this property or is contained in this code construct.
返回包含某个对象的集合,该对象支持此属性或包含在此代码构造中。
The first, and most obvious, change in this code is a new check for the PO namespace URI in addition to a check on the element's local name.
这段代码中第一个、也是最明显的改变是除了检查元素的本地名之后,还增加了对PO命名空间URI 的检查。
Note that nothing in this code so far is specific to the site example I'm using, so you should feel free to add this snippet to any site you are working on.
注意,到目前为止这段代码中没有任何内容是特定于我正在使用的站点示例的,因此您应当可以把这段代码片段随意添加到要使用的任意站点中。
If a law conflicts with a policy in this Code, the employees must comply with the law.
如本规范与任何相关法律法规相冲突,必须首先遵从法律法规。
In this code, the inner class MyInputValidator is responsible for validating input into the acronym list.
在这段代码中,内部类MyInputValidator负责验证缩略词列表的输入。
In this code, RNames is the name of your Reader Names field, and NewValue is a string or array of strings.
在这段代码中,RNames是ReaderNames字段的名称,NewValue是字符串或字符串数组。
In this code snippet, the constant ACRONYM_LIST is the key used to get and set the data in the preference store.
在这个代码片段中,常量acronym_list是用于获取和设置首选存储中的数据的关键字。
This call also initializes the semaphore count: int sem_init(sem_t *sem, int pshared, unsigned int value). In this code
它还会对信号量计数器进行初始化:intsem_init(sem_t *sem, intpshared,unsigned intvalue)。
In this code, you can't return a value, so you must add the newly created toppings panel to the parent as part of this method.
在这段代码中,不能返回值,因此必须将新创建的Toppings面板作为此方法的一部分添加到父面板中。
In this code: pid_t waitpid(pid_t pid, int *status, int options), waitpid() infinitely waits for the child process to terminate.
在这段代码中:pid_twaitpid(pid_t pid,int *status, intoptions),waitpid()会无限期等待子进程的终止。
In this code, you get the text contents of the file and load it into an XML object with a call to the SimpleXMLElement function.
在上述代码内,先是获得文件的文本内容并通过调用SimpleXMLElement函数将其加载到一个XML对象。
In this code, we get the account ID from the entity bean BankAccount, and then set the appropriate parameters on the CallableStatement.
在这些代码中,我们从实体bean BankAccount中获取帐户ID然后为CallableStatement设置适当的参数。
Article 11 the "building base" mentioned in this Code refers to ground occupied by a building and the statutory vacant space preserved.
第11条本法所称建筑基地,为供建筑物本身所占之地面及其所应留设之法定空地。
In Linux, the same semget call is used to open the semaphore with 0 as the value for the semflg: int semget (key, nsems, 0). In this code.
在Linux中,可以调用相同的semget来打开某个信号量,不过此时semflg的值为0:int semget (key,nsems, 0)。
In this code, which was exported from MySQL (make your own adjustments for other RDBMSs), the table is created if it does not already exist.
该代码是从MySQL导出的(其他RDBMS请自行调整),如果不存在表格,该代码将创建一个。
In this code, the Wicket page's constructor first determines that the request is a response from the OP to the earlier authentication request.
在这段代码中,Wicket页面的构造函数首先确定请求来自于OP,是对先前身份验证请求的响应。
In this code, the HTML element contains an attribute, title, which, when you hover the mouse over the word in the sentence, provides more specific information.
在这个代码中,HTML元素包含一个属性title,当您将鼠标悬停于句子中的这个单词上方时,该属性将提供更具体的信息。
In this code, you start by declaring a file pointer to standard input so that you can get interactive information from the keyboard during the spell-check process.
在这段代码中,您首先要为标准输入声明一个文件指针,以便您能够在拼写检查过程中从键盘获得交互式信息。
In this code, we are limiting access to a certain URL based on a given user's role and telling which authentication mechanism to use for someone who is not logged in.
在此代码中,根据用户的角色限制对特定url的访问,并指出对未登录用户使用的身份验证机制。
The Council, acting in accordance with the Regulation on Disciplinary Procedure, shall impose penalties for any breach of the rules of the profession as defined in this Code.
按照《纪律程序条例》,理事会将对任何违反本守则所界定的职业规则的行为予以惩罚。
The assemblies comprising pressure equipment assembled by a manufacturer to constitute an integrated and functional whole, shall be subject to the rules indicated in this Code.
由制造厂组装的构成完整的功能整体的包含压力设备的组件应受本规范规则的管辖。
The assemblies comprising pressure equipment assembled by a manufacturer to constitute an integrated and functional whole, shall be subject to the rules indicated in this Code.
由制造厂组装的构成完整的功能整体的包含压力设备的组件应受本规范规则的管辖。
应用推荐