覆盖率分析也可以帮您找到测试用例是否有冗余:测试在代码的同一路径下反复运行,导致了不必要的时间延迟。
Coverage analysis also helps find out if there are any redundant test cases: tests that exercise the same path in the code over and over again, causing unnecessary delays.
在时间敏感型代码中反复使用反射类可能导致持续不断的类加载活动,这会引起延迟。
Repeated use of the reflection classes in timing-sensitive code can result in ongoing class-loading activity that introduces delays.
代码可以反复对互斥对象锁定和解锁,以检查值的任何变化。
Your code could repeatedly lock and unlock the mutex, checking for any changes to the value.
当他们将运行的代码展示给乔布斯看时,他人向前倾斜,鼻尖几乎碰到屏幕,他仔细的检查着,在测试机和原型机之间反复来回查看。
When they'd show the working code to Jobs, he'd lean forward, his nose to the screen, and examine them closely, moving from the demo to the prototype and back again.
然而,我们都知道一旦css样式第一次解析下载后它就会缓存在本地,这样以后就减轻了对代码的反复请求了。
While we all knowthat CSS need only be downloaded once and then cached, there are someeasy ways to mitigate the resultant extra code and requests.
低编译开销更容易被反复执行热代码带来的性能优势掩盖。
Low compilation overhead is maintained that can be more easily hidden behind the performance benefit from repeatedly executing the hot code.
如果缺少关键的信息,那么必须反复研究、调整和测试代码,这个过程可能要重复许多次。
If you lack vital information, you must reinstrument your code, repeat your steps, and restart your investigation — a process that requires potentially numerous iterations.
代码动力(Codemomentum):过于限制系统的一些部分,因为在其它部分反复对这部分。
Code momentum: Over-constraining part of a system by repeatedly assuming things about it in other parts.
由于会反复调用该类,因此应将初始化WebSphereTXAPI的代码移动到一个静态块中
Since this class will be invoked repeatedly, move the code that initializes the WebSphere TX API into a static block
如果没有对代码进行单元测试,那么在升级或支持新浏览器后,组织可能需要花钱反复测试Web应用程序。
Without unit testing this code, organizations may pay for repeated testing of web applications after upgrading or supporting new browsers.
无论使用框架与否,你都必须反复斟酌自己最终的代码量。
Whether you choose to use a premade framework or not, the notion you should take a note of is just how much code you end up writing over and over again.
Safari同样根据脚本引擎持续执行脚本的时间来判断,当我对Webkit的源代码进行反复研究后,发现默认的超时时间是5秒,一旦达到这个上限,就会给出下面的对话框提示。
Safari also USES script engine execution time to determine when a script has become long-running. After some digging around in the WebKit source code, it looks like the default timeout is 5 seconds.
代码重用可以得到更可靠和更有效的代码,这是因为对相同的代码进行了反复测试。
This code reuse results in more reliable and efficient code, because the same code is tested again and again.
拖延代码部署导致了我们用长期成功的成本来展示仅仅表象的进步(“每一次反复我们都在提交代码”)。
Delaying the deployment of code that you write allows you to present apparent progress (" we're delivering code every iteration ") at the cost of long-term success.
我们的目标就是通过关注有效的、经过测试的代码(来自于短期的反复编写代码和测试),从而改进软件开发过程。
The goal is to improve software development by providing a focus on working, tested code, created by short iterations of coding and testing.
但我希望您能按照这种思路考虑问题,所有的代码都是反复地在两个端点之间传送数据。
However, I want you to really begin to think along these lines — all your code does is shuttle data between two endpoints, over and over again.
它将代码与字符的格式区分开来,因此相同的代码可以反复使用,甚至是在相同的应用程序中呈现不同的拼字法都可以。
It separates code from character forms, so the same code can be used again and again, even to render different orthographies in the same application.
反复使用这段代码对其他代码有好处吗?
不能往返:对于模型反复进行的更改不支持 “往返” 操作,这是因为所生成的代码是静态的。
No round tripping: there's no "round trip" support for iterative model changes, because the generated code is static.
(他反复赞赏这种机器简约的工程哲学,使用最少的部件,最少的代码完成任务)。
Again and again, he came back to praising engineering minimalism–accomplishing a task with the fewest possible parts and the simplest possible code.
介绍了AGFAADCSOLOCR影像阅读器反复出现故障代码“22d40”的检修过程,并分析了造成该故障的根本原因。
Describes the troubleshooting process of Code 22d40 for AGFA ADC SOLO cr image reader and analyzes the causes of malfunction.
这样反反复复。通过简单的移除重复代码,我最终“偶得”一个美妙而优雅的模式。
Time and time again, I've found that by simply removing duplication I accidentally stumble onto a really nice elegant pattern.
这样反反复复。通过简单的移除重复代码,我最终“偶得”一个美妙而优雅的模式。
Time and time again, I've found that by simply removing duplication I accidentally stumble onto a really nice elegant pattern.
应用推荐