没有参数的函数将实际激发该事件。
The function with no parameters will actually trigger that event.
如何调用一个函数没有参数的V8 ?
在清单9中,定义了一个没有参数的简单函数。
In Listing 9, I define a simple function that takes no parameters.
还可以创建没有参数的宏,在这种情况下不指定任何数字。
Macros can also be created without arguments, in which case they don't specify any number.
当调用没有参数的方法,确保在方法名之后加入空括号。
When invoking a method without parameters, be sure to add empty parentheses after the method-name.
结构不能声明默认构造函数(没有参数的构造函数)或析构函数。
A struct may not declare a default constructor (a constructor without parameters) or a destructor.
属性表达式现在应该参考没有参数的公共方法除了传统的属性名外。
Property expressions may now reference public methods (with no parameters) in addition to traditional property names.
对于没有参数的情况,我们获取序列[01]并将它连到一个表达式。
For the no-arguments case, we take the sequence [0 1] and concatenate it to an expression.
注意,你在使用默认构造函数时可以不用写括号(例如,没有参数的构造函数)。
Note that you can drop the parentheses when using a default constructor (i.e., one that takes no arguments).
没有参数的匿名方法加上空的圆括号。除非这个匿名方法可能被用到任何类型的委托上。
Use empty parentheses on parameter-less anonymous methods. Omit the parentheses only if the anonymous method could have been used on any delegate.
注意,不能以这种方式提供请求参数—页面可以在没有参数的情况下调用(或使用默认参数)。
Note that you cannot supply request parameters in that fashion - pages will be invoked without (or with default) arguments.
最简单的AdminTask命令是执行时没有参数的命令,它的基本语法是admintask后跟命令名。
The simplest AdminTask commands are executed without parameters, and the syntax is basically AdminTask followed by the command name.
在没有参数的情况下执行这个xml - format . sh脚本会显示有关脚本如何使用的总结信息,如清单7所示。
Executing the xml-format.sh script with no arguments displays summary information about how the script should be used, as in Listing 7.
当您调用一个没有参数的Groovy方法时,您必须使用一对空括号调用它,这使得Groovy可以分清一个属性访问和一个方法调用之间的区别。
When you invoke a Groovy method that has no parameters, you must call it with an empty set of parentheses, which allows Groovy to distinguish between a property access from a method call.
如下所示,所使用方法的名称中没有参数。
因为我们的示例是简单的而且只使用原始的参数类型,因而没有部分。
Because our example is simple and USES only primitive argument types, there is no section.
第一个定义没有参数,因此方括号是空的。
The first definition has no arguments, hence the empty square brackets.
通过异构批量更新,可以将有或没有参数占位符的多个sql语句组合到一个单独的网络调用中。
A heterogeneous batch update lets you combine several SQL statements with or without parameter markers into a single network call.
此外,还需要考虑没有提供搜索参数的默认场景。
In addition, the default scenario needs to be considered if no search parameters are given.
还有很多本文中没有讨论的选项参数。
There are also a number of other optional arguments not discussed in this article.
第一,没有检查输入的参数,即使知道处于某些状态的参数会造成方法出现异常。
One is not checking the parameters coming in, even though you know at this point that a parameter in a certain state will cause an exception in your method.
特别地,可能是内核参数没有进行适当的调优。
Specifically, the kernel parameters are not turned properly.
没有圆括号的命名参数。
Rails并不会解析带有这些请求的参数,但是它可能没有足够的保护你的应用程序。
Rails does not parse the parameters provided with these requests, but that may not be enough to protect your application.
当然,如果没有命令行参数的话,shell脚本的价值就没有那么大了。
Of course, a shell script would be somewhat worthless without command-line arguments.
如果在没有输入参数的情况下被调用,它将使用一个名为rss_feed_sources . xml的默认文件名。
If it is called with no input argument, then it will use a default filename called rss_feed_sources.xml.
通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
举一个极端的例子,可能没有对参数编制文档,而代码与缺省的参数集一起分发。
As an extreme case, parameters could be undocumented and the code distributed together with a default parameter set.
如果所有的特征都被设置成默认值,那么转变就只会生成没有任何参数的属性。
If all the properties are set to default values, transformation generates only the attribute without any parameter.
事实上,上面的错误消息是不正确的;如果需要某个参数的选项没有参数,也会生成此消息。
In fact, the error message above is incorrect; it can also be generated if an option that requires an argument does not have one.
应用推荐