目前由- 99999这个通用错误代码定义的错误代码大约有2000条。
There are approximately 2000 generic error codes defined with the -99999 generic error code.
他的世界只有一条准则-写代码太傻了。
许多人所提倡的一条经验法则是,类的代码行超过1,000行就可以说该类太长了。
A rule of thumb advocated by many is that a class with more than 1,000 lines of code is too big.
除了设置错误代码以外,PDO还将发出一条传统的E_WARNING消息。
In addition to setting the error code, PDO will emit a traditional E_WARNING message.
我们拥有超过400条CQL原则,这些原则能够帮助我们持续不变地关注代码质量。
We have more than 400 CQL rules that permanently care for the quality of our code.
首先,不应该假定上述赋值语句一定会被编译成一条机器指令,除非亲自验证了机器代码。
First, you shouldn't assume that the above assignment would be compiled as a single machine instruction unless you personally verify the machine code yourself.
向一个sqs队列写一条消息需要三行代码。
Writing a message to an SQS queue takes three lines of code.
使得代码更清晰,设计更合理,综合性能更好是条很漫长的路。
It goes a long way towards cleaner, better designed, and generally superior code.
将几行代码封装成一条语句。
我们的代码将收集关于警报的信息并将一条SNMP陷阱发送到一个SNMPManager。
Our code will gather information about the alerts and send an SNMP trap to an SNMP Manager.
这段代码中另一个有趣的部分就是两条require_once语句。
The two require_once statements are another interesting part of this code.
此更改向该过程引入了一些容错和故障转移功能,因为该代码现在具有两条可获得InitialContext对象的路径。
This change introduces some fault tolerance and failover to the process as the code now has two paths from which the InitialContext object can be obtained.
c 中的样例代码会在屏幕上画几个彩色的条,以及几行多种颜色的文本,还会在控制台上打印一些可能有用的调试信息。
The demo code in main.c draws a few colorbars onscreen, as well as a few lines of multicolor text, and prints some potentially interesting debugging information to the console.
这个代码应当创建一条新路线,该路线有一个所有属性都为null 的Trail对象。
That code would have created a new trail with a Trail object with nulls for all attributes.
IRAD包含了超过200条规则,这些规则被组织并分成一些代码复查配置,这些配置包括。
Out-of-the-box, IRAD comes with over 200 rules that are organized and sorted into a number of code review configurations. The configurations include.
测试覆盖工具旨在修改代码,使之在执行期间留下一条“面包屑”踪迹(这也是我在这一期关注的工具的名称由来)。
Test coverage tools modify your code to leave behind a trail of "bread crumbs" during execution (hence the names of the tools I'm targeting in this column).
我们已经在头文件cs50,h中包含进去了,但这只是为我们调用源代码,提供了一条通道。
H but that only gives me access in the source code to actually using it by name.
new_rec是页面代码bean的一个属性,代表一条SDO记录,而PHOTO 是映射到表中 PHOTO 列 (BLOB) 的 SDO对象的一个属性。
new_rec is a property of page code bean that represents an SDO record, while PHOTO is a property of the SDO object that mapped to the PHOTO column(BLOB) of our table.
NDepend支持超过60条编码准则,用于评估代码质量。
NDepend supports more than 60 code metrics that can be used to assess the code quality.
然后,该代码进行迭代,以发送上述五条消息。
应用程序可以运行上百条不同的sql语句;如果其中只有一条的代码不正确或未调至最优,那可能会影响整个系统的性能。
An application can run hundreds of different SQL statements; if only one of them is incorrectly coded or not tuned to its best, the entire system's performance can be impacted.
你甚至还可以会前给非注册的用户,他们收到一条含代码的短信,这一代码就可以作为取钱的凭证。
You can even send money to people who are not registered users; they receive a text message with a code that can be redeemed for cash.
该变量包含最近执行的一条 SQL语句的错误代码。
This variable contains the error code of the latest SQL statement executed.
要添加一条记录定义,将光标移到编辑器的最后一行代码上。
To add a record definition, place the cursor on the last line of code in the editor.
为了达到透明,你需要确保与接收代码的客户之间保持一条清晰的通信线路。
In order to be transparent, you need to make sure that you have a clear line of communication with the clients receiving your code.
这是个有挑战性的工作,因为程序员必须一条条理解规范,写出的代码才能够遵照统一的参数,最终成功编译。
This is a challenging task because the programmer must be able to interpret the specs and then code so that the parameters given are followed and finally implemented.
它用了三条语句、不足20行的代码连接到了数据库,从表中选定了每一行,并将数据作为xml导出。
In three statements and fewer than 20 lines of code, it connects to the database, selects every row from the table, and exports the data as XML.
主要代码创建带有一个按钮和进度条的GUI。
The main code creates the GUI with a button and progress bar.
但在某些点上,在编写大量代码之前,必须在沙滩上划出一条线来,建立需求的基线。
But at some point, before too much code gets written, it is important to draw a line in the sand and create a requirements baseline.
一旦可以读取或生成最初的OAGISBOD,那么可以使用大部分代码来读取或生成下一条消息。
Once the initial OAGIS BOD can be read or produced, much of the code can then be used to read or produce the next message.
应用推荐