这个数据库的主要价值在于:在开发期间,允许定期检查代码库以查看代码是否退化或引入了错误。
The main value of this database is to allow for checking the code base periodically for regression or the introduction of errors as development proceeds.
一种观察面向模型的强壮架构的好方式就是检查在代码库中出现的架构有多么强壮。
A good way of looking at strong architecture for models is to examine how strong architecture manifests in code bases.
有些开发者在他们的库中包含了平台相关的代码,并且决定这个库是否工作在Windows下,他们检查RUBY_PLATFORM,看看是否是“mswin”,“mswin32”或者是比较少见的“win”。
Some developers include platform specific code in their libraries, and to determine if the library is working on Windows, they check RUBY_PLATFORM and look for "mswin", "mswin32" or sometimes "win"
SQLJ可以通过在编译时使用数据库连接,对代码执行语法和语义上的检查。
SQLJ can perform syntactic and semantic checking on the code, using database connections at compile time.
您也许会发现,检查代理代码以确定它如何完成其数据库访问任务会很有用,不过这超出了本文的范围。
You may find it useful to look at the agent code to see how it does its database access task, but that goes beyond the scope of this article.
为确保这个脚本不能用于访问数据库中的任何表,代码首先检查被请求的表名。
To ensure that the script can't be used to access any table in the database, the code first checks the table name requested.
可以添加额外的代码来执行一个检查,检查新值是不是一个用户定义值,用以表明数据库值应该被设置为NULL或针对该列定义的默认值。
Additional code could be added to perform a check to see if the new value is a user-defined value indicating that the database value should be set to NULL or the default value defined for the column.
但是把这种过程序检查放在进行了良好测试的库代码中比较合适。
But the right place for such procedural checks is well-tested library code.
代码、电子表格、数据库表等都需要检查,并由此生成原子业务规则,甚至还可能生成全新的数据结构。
Code, spreadsheets, database tables, and so on are examined and give rise to atomic business rules, and potentially entirely new data constructs.
您可以获得开放源码的全部优点,比如可以查看代码并让使用库的每个人检查代码。
You have all the advantages of open source, such as being able to see the code and having everyone else using the library reviewing the code.
向LoginAction添加一些代码,以便读取由用户提交的凭证并针对数据库检查凭证(参见清单33)。
Add some code to the LoginAction that reads the credentials submitted by the user and checks them against the database (Listing 33).
当CruiseControl开始时,它在一个连续循环中运行,周期性地检查源代码库,例如Subversion,然后从头开始构建和测试项目。
When CruiseControl starts, it runs in a continuous loop, periodically checking a source-code repository such as Subversion, and then building and testing projects from scratch.
这些是建立在该代码库会提供的一连串的bug修正和一致性检查的基础上。
And this is on top of the litany of bug fixes and compliance checks that this code base will be providing.
实际上,很多开发者实现了他们自己的修正控制器,但是并没有官方的LinuxCVS档案库,让LinusTorvalds检查加入代码,并让其他人可以由此获得代码。
It's true that many developers did their own revision control, but there was no official Linux CVS archive that Linus Torvalds checked code into and others could pull from.
部分Spirit框架在内部使用来自Boost的正则表达式库,在已安装的代码库中检查regex . h头文件。
Part of the Spirit framework internally USES the regular-expression library from Boost. After installation, check for the regex.h.
尽管仅仅通过解压缩源tarball来检查代码比较繁琐,甚至使用针对代码知识库的Gitweb界面这种简单一些的方法也是如此,但实际构建代码可能会更麻烦。
While it is trivial to look at the code by simply uncompressing a source tarball, and even easier using the Git Web interface to the code repository, but getting it to actually build can be tricky.
下面的代码片段检查' postmsg '响应,向数据库添加数据,以及清理数据库。
Here's the snippet that checks for the 'postmsg' action, inserts the message into the database, and cleans it out on the fly as well.
考虑到程序的健壮性以及数据库记录的完整性,编写代码让计算机实现录入记录完整性的检查是十分有意义的。
Thinking about a program's strong and data's integrity, we think that is very meaningful to write code making the computer realizes integrity checking of data stored in a database.
考虑到程序的健壮性以及数据库记录的完整性,编写代码让计算机实现录入记录完整性的检查是十分有意义的。
Thinking about a program's strong and data's integrity, we think that is very meaningful to write code making the computer realizes integrity checking of data stored in a database.
应用推荐