业务决策是截断字段长度到 255 个字符,如果它超过,就作为后台系统请求;但必须向调用组件发送警告。
The business decision is to truncate the length of the field to 255 characters, if it exceeds, as required by the backend system; however a warning must be issued to the invoking component.
这个函数还不够灵巧,不能区分最后使用的示例中的字符值,所以不能警告用户。
This function is not smart enough to identify the character values in the final example of use and thus be able to warn the user. You could use a string pattern matching test such as.
如果出现任何关于字符集转换的警告或错误,请确保libiconv支持所需的字符集。
If any warnings or errors appear that relate to character set conversion, make sure libiconv supports the desired character set.
如果转换导致了字符替代,就会根据数据源行为和包装器实现生成一条警告消息。
If conversion results in character substitution, a warning might be generated depending on the data source behavior and wrapper implementation.
这时没有发出警告,但提示符更改为包括一个(CONNECTION1)字符串。
This time no warning is issued, but the prompt changes to include a (CONNECTION1) string.
警告人们简单的堆砌字符串,期望它成为结构良好的XML的做法是危险的,这一点上他是正确的。
He is right to warn people that carelessly slapping strings together and hoping they are well formed is a dangerous course.
gcc编译器选项-Wformat-security 可以警告您代码中可能受到格式化字符串攻击的地方。
The gcc compiler option -Wformat-security will warn you of some cases where the code may be vulnerable to format string attacks.
所有解释器都可以解析命令行参数字符串(就像rubinius- d- v这样开启调试和警告信息)。
Everything from parsing the interpreter command line arguments (things like rubinius -d -v, which turn on debugging and warnings) to all the methods on String.
此警告指出函数调用的参数可能是字节数,而不是字符数。这是错误的。
This warning indicates that a parameter to a function call might incorrectly be a byte count instead of a character count.
使用指定的资源字符串记录一个包含警告代码的警告。
Logs a warning with a warning code using the specified resource string.
此警告意味着格式字符串指定需要字符字符串。
This warning indicates that the format string specifies that a character string is required.
此警告意味着在调用字符串串联函数时,所传递的表示串联字符数的值可能不正确。
This warning indicates that a call to a string concatenation function is probably passing an incorrect value for the number of characters to concatenate.
此警告意味着在应当使用字符串比较函数的位置使用了字符串复制函数。
This warning indicates that a string copy function was used where a string comparison function should have been used.
此警告意味着将常数字符串用作可能修改该字符串内容的函数的参数。
This warning indicates the use of a constant string as an argument to a function that might modify the contents of that string.
如果字符串参数不表示URI,则可以安全地禁止显示此规则发出的警告。
It is safe to suppress a warning from this rule if the string parameter does not represent a URI.
此警告意味着提供了格式字符串所指定参数以外的其他参数。
This warning indicates that additional arguments are being provided beyond those specified by the format string.
如果前一次API调用没有警告,返回空字符串。
If there were no warnings during the previous API call, empty string is returned.
如果前一次API调用没有警告,返回空字符串。
If there were no warnings during the previous API call, empty string is returned.
应用推荐