Linux相当频繁地使用常量检测。
支持ORDERBY子句中使用常量已经过时。
Support for constants in ORDER BY clause have been depreciated.
如果你不需要改变它,使用常量引用。
通过使用常量字符串,可以避免分配内存、复制字符串和编码转换过程。
By using a constant string, you avoid allocating memory, copying the string, and the transcoding process.
当然,如果您不需要更多的灵活性,那么可以在函数主体中直接使用常量,而不是参数。
Of course, you could use constants directly in the function body instead of parameters if you don't need the additional flexibility.
一条普遍规则是,任何使用常量的地方,例如目前用switch代码切换常量的地方。
As a general rule, anywhere constants are in use, such as in places you are currently using the switch code to switch constants.
无论是需要常量反向输入迭代器还是常量反向输出迭代器,均可以使用常量反向双向迭代器。
Constant reverse bidirectional iterators can be used anywhere that a constant reverse input or constant reverse output iterator is required.
您需要使用常量来表示基本SimpleDB操作的照片模式和评论模式,因此在此处定义它们。
You'll need constants to represent the image mode versus the comment mode for the basic SimpleDB operations, so define them here.
能够进一步提高servlet/JSP应用程序的可管理性的一种方式就是使用常量来引用所有 JSP页面目标。
One way you can further improve the manageability of your servlet/JSP application is to use constants for referencing all your JSP page destinations.
KentBeck将模拟对象描述为测试对象,该对象可以使用常量进行响应,从而实现开销大或复杂的资源的模仿版本。
Kent Beck describes a mock object as a testing object, one that implements a fake version of an expensive or complicated resource by answering constants.
例如,Python有一个内置的“ % ”操作符,它就执行格式化操作(“ % ”前面的参数就是指定的格式),因此要确保攻击者不会控制这个格式,也就是说使用常量作为字符串的格式。
For example, Python has a built-in "%" operator that does formatting (the argument before "%" is the format), so make sure the attacker can't control the format, say by making it a constant.
第二个case表达式在Person的firstName部分使用了一个通配符,但在lastName 部分使用常量字符串Neward 来匹配,在age 部分使用通配符来匹配。
The second case expression uses a wildcard for the firstName part of Person but matches against the constant string Neward in the lastName part and wildcards against the age part.
如果您认为自己的查询总是使用相同的常量值过滤数据,那么您可能选择在MQT中包含一些过滤器谓词。
You may choose to include some of the filter predicates in MQTs if you think that your queries would always filter data using the same constant value.
这可以确保在代码中重复使用相同的常量字符串时,可以利用相同的字符串引用。
This ensures that repeated use of the same constant strings in your code will utilize the same string reference.
如果源代码文件中有名称空间声明,那么对类、函数和常量的所有引用都使用名称空间语义。
If a source file has a namespace declaration, then all references to classes, functions, and constants use the namespace semantics.
换句话说,在使用这类带有整型常量的类时,该解决方案也许可行,但并不是非常有效。
In other words, while using classes with integer constants like this might be a passable solution, it's not a very efficient one.
具有相同值的字符串常量是由VM规范保证使用同一个实例的。
Strings constants with the same value are guaranteed by the VM specification to use the same instance.
为演示新的AWT功能,我们将创建一个程序将屏幕设为全屏(最小化桌面装饰如工具栏)并使用新的颜色常量设置背景。
To demonstrate the new AWT features, we'll create a program that sizes the screen to the full size (minus desktop adornments like the toolbar) and USES the new color constants to set the background.
实际上曾使用的都是jpa注释和它的常量。
Actually all you ever use are JPA annotations and some of its constants.
最新版本的PHP可以使用STDOUT作为常量而不是定义上面使用的变量 $STDOUT。
Recent versions of PHP can use STDOUT as a constant instead of defining the variable $STDOUT used above.
最后,要知道使用资源表示这类常量可能并不总是最好的办法。
Finally, be aware that it may not always be best to use a resource to represent such constants.
使用该常量的代码如下所示。
接下来,需确保您的原子变量使用ATOMIC_INIT符号常量进行了初始化。
Next, you ensure that your atomic variable is initialized using the ATOMIC_INIT symbolic constant.
根据需要适当地使用“L”或“U”来声明整型常量。
Synth引擎使用这些常量将式样与一个实际的Swing组件链接。
The Synth engine uses these constants to link the style with an actual Swing component.
简单的组件,例如JButton和JTextField,使用一个常量。
Simple components, such as JButton and JTextField, use one constant.
该代码首先包含配置文件(config . php),接着就可以直接使用这些常量了。
The code first requires in the configuration file (config.php), then USES the constants directly.
你可指定一个0立即开始定时器或者阻止定时器自动的开始,你可以使用System . Threading . Timeout . Infinite常量。
You can specify 0 to start the timer immediately or to prevent the timer from automatically starting, you can use the System.Threading.Timeout.Infinite constant.
在下面的代码中,请注意该类是如何使用您在PreferencesConstants 类中定义的常量的。
Notice in the following code how the class uses the constants you defined in the PreferencesConstants class.
在下面的代码中,请注意该类是如何使用您在PreferencesConstants 类中定义的常量的。
Notice in the following code how the class uses the constants you defined in the PreferencesConstants class.
应用推荐