A few things are happening in the above code.
上面代码中发生了以下几件事。
In the above code snippet, we check for the expected user role.
在上面的代码片段中,我们检查是否有预期的用户角色。
Thus in the above code, $newownernode becomes a child of $newfilesnode.
因此在上面的代码中,$newownernode成为了 $newfilesnode的子节点。
The cure for this problem is to perform the little.readlines loop in the above code.
这个问题的解决方法是在以上代码中执行小小的. readlines循环。
This approach would eliminate the need to cast in the above code, but it would not fix the bug.
这种方法可除去上面代码中类型强制转换的需要,但不修正错误。
Even in the absence of system failures, there is another risk worth discussing in the above code — concurrency.
甚至在系统没有发生故障时,上面讨论的代码还有另一种风险——并发性。
Three interesting things can be seen in the above code, demonstrating additional flexibility in configuring XMLToSQL
从上面的代码中可以发现三件有趣的事情,它展示了在配置XMLToSQL 的过程中其他的一些灵活性
In the above code snippet, we connect the "destroy" signal of our main window object to the gtk_main_quit function.
在上面的代码段中,我们将主窗口对象的“destroy ”信号连接到gtk_main _ quit函数。
So where we had done something like floor -= 4 in the above code, we could equally well have used subtract(floor,4,floor).
所以,我们在前面的代码中使用的floor-=4 ,可以替换为 subtract(floor,4,floor) 。
In the above code we are using a SQL statement that bypasses Entity Framework to get back the desired Destination objects.
在上面的代码中,我们使用一个SQL语句,绕过实体框架取回所需的目标对象。
In the above code snippet, the compiler will warn you about the not exported base class and the not exported class of the data member.
在上面的代码片断,编译器会警告你没有导出基类和类的数据成员。
In the above code, you declare that your document will have a root element called RSS and that this element will have a child element called channel.
在以上代码中,您声明文档将有一个rss根元素,并且它有一个channel子元素。
For example, besides house number and street name, the Address object has one more optional property as Cross street which is not shown in the above code segment.
例如,除了门牌号和街道名称,Address对象还有几个可选属性,如CrossStreet,它在上面的代码片段中并没有用到。
The client deployment descriptor, in a file called application-client.xml, contains references to the JNDI names of the JMS connection factory and queue that are used in the above code.
客户端部署描述符,在一个称为application-client.xml的文件中,包含对用于上述代码中JMS连接工厂和队列中JNDI名称的引用。
As shown in the above code, the idea is to implement the required business logic and then either prepare the Properties object or else pass the file name so that the custom FTP class is invoked.
如以上代码所示,我们要先执行所需的业务逻辑,然后准备Properties对象,或者传递文件名,以便调用自定义ftp类。
In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
In the code above, where would we signal an error?
在上面的代码中,我们在哪里报告错误呢?
There is nothing special or new in the code above.
上述代码没有什么特别或新颖之处。
You no doubt noticed the ellipsis in the code above.
您一定注意到上述代码中的省略号。
For example, in the code above we used -d "for the command line option defining a name-value pair."
比方说,在上面的代码中我们用“- D”这一命令行选项来定义名-值对。
In the code above, we change the last name of the current row entry.
在上面的代码中,我们更改了当前行条目的lastname字段。
In the code above, we create a table object, t, with three columns and two rows.
在上面的代码中,创建了一个表格对象,t,它有三列、两行。
In the code above, I create a com.sun.rowset.CachedRowSetImpl object.
在上面的代码中,我创建了一个com . sun . rowset . CachedRowSetImpl对象。
Note that the object template in the code above is created at the same time as the context.
注意:代码中的对象模板在context创建的时候就被创建。
You can see in the above trace the -4499 return code.
从上面的跟踪中可以看到- 4499这个返回代码。
If you'd like to change the colors, modify the code in the above listing to suit your preferences.
如果想改变颜色,请把上述清单中的代码改为适合于您的偏好的代码。
The above code is similar in meaning to the EJB environment parameters, discussed earlier.
上面的代码在意义上类似于前面讨论的EJB环境参数。
Listing 5 below prints the available IPs on the system from the list in the code above.
下面的清单5显示了上面代码的列表中获得的系统中可用的IP。
In fact, the code above won't quite work: it gets a bus error when the SPE tries to retrieve its arguments.
实际上,上面的代码并没有多少工作:当SPE试图检索自己的参数时,会得到一个总线错误。
In fact, the code above won't quite work: it gets a bus error when the SPE tries to retrieve its arguments.
实际上,上面的代码并没有多少工作:当SPE试图检索自己的参数时,会得到一个总线错误。
应用推荐