当云教授和她的同事检测专利局的文件,他们发现接近一半的在19世纪被美国登记的专利是单代码发明。
When Dr Youn and her colleagues examined the patent office's files they found that nearly half the patents issued by the United States during the 19th century were for single-code inventions.
从第399行开始,添加请单7中的代码。
Terracotta提供一种JVM集群方案,可让单节点、多线程的应用变成分布式、多节点的应用,而无需修改一行代码。
Terracotta, provides a JVM clustering solution that can turn single-node, multi-threaded apps into distributed, multi-node apps with no code changes.
静态getInstance方法包含单例的模板代码。
The static getInstance method contains the template code for a singleton.
单处理器上运行的RT代码示例
Struts2OGNL表达式减小了编写复杂代码、将单级表单beans转换为多级域对象的难度。
Struts 2 OGNL expressions reduce the difficulty of writing complex code to transform single-level form beans to multi-level domain objects.
PHPV5.3内一个名为get _ called _ class的新功能稍稍简化了单例的代码。
A new function in PHP V5.3 called get_called_class simplifies the singleton's code a bit.
单看这个结果,可以认为doublelistuibean类是Struts代码库中最复杂的类。
Just by looking at this result, you can tell that the DoubleListUIBean class is the most complex class in the Struts code base.
注意:如果您想调试portlet代码,您还需要在WebSphereApplicationServer高级单服务器版本4.0.2上安装WebSpherePortal。
Note: If you want to debug portlet code, you also need to install WebSphere Portal on WebSphere Application Server Advanced Single Server Edition 4.0.2.
清单3显示了修改后能在单处理器系统中正确运行的代码。
Listing 3 shows the code modified so that it runs correctly on a uniprocessor system.
对多来源的代码进行集成测试与对单来源的代码进行集成测试是很不同的。
Performing integration testing on code supplied from multiple sources is quite different from testing code from a single source.
系统中原来有一个邪恶的单例类,是系统代码中的核心角色。我们现在正在清除这个类,这样可以改善更多的代码设计。
There has been a pernicious Singleton that has played a central role in our code and is now being killed off, because that will open up our code for many more design improvements.
他们会发现每次他们要创建一个不同的单例类的时候,都不得不写同样得代码。
Those who use it will find that they often have to write the same code each time they want to create a different Singleton class.
凡是在遗留代码集中出现单件查找的地方,稍加修改即可换用服务定位器来查找同样的组件。
Wherever there are singleton lookup in the legacy codebase, a small change is made to lookup the same component via the service locator instead.
这样分离出单例结构的代码,将有利于保持按单例模式使用类或不按单例模式使用类的灵活性。
This has the added benefit of separating singleton code from the class code leaving the flexibility to use several instances of the class or using the class as a singleton.
这是一个可用来创建单例类实例确不需要为每个特定的类重写单例模式代码的可重用的类。
This is a class that can be used repeatedly to instantiate a class as a singleton without having to re-write the singleton pattern code for that specific class.
这段代码定义了一个Schematron抽象模式,包含带有惟一标识符的订购单的抽象概念。
This code defines a Schematron abstract pattern that covers the abstract notion of a purchase order with a unique identifier.
Android一开始就自己单搞了一套内核,然后另起炉灶开发了自己的用户空间代码。内核社区适时地谴责了这种做法。
Android started by forking the kernel and writing its own user space mostly from scratch, and the community has duly condemned these moves.
即使你的站点既不是一个博客,也不是单页面站,如果你看到一个高跳出率,检查看网站的所有页面是否都包含了追踪的代码。
If you're seeing a high bounce rate even though your site isn't a blog and has more than one page, check to see that you've tagged all your pages with the tracking code.
在代码和样式中使用双空格代替单空格也会增加尺寸。
Using double Spaces instead of single Spaces in your code and styles adds up, too.
非ocg编译器针对SiliconLabs单电池供电c 80519 XXF所产生的代码,每次数据采样平均会有108个周期来执行中断服务程序和主循环。
Code generated for Silicon Labs single-cell C80519XXF by a non-OCG compiler results in an average of 108 cycles to execute the interrupt service routine and main loop overhead for each sample of data.
因此,客户请求可能同时访问这些单例,即多个线程同时运行你的代码。
Requests may andprobably will occur concurrently which means multiple threads will be runningyour code simultaneously.
接口定义一经发布就必须是静态的,并且单段代码必须保持与以前版本向后兼容。
Interface definitions must be static, once published, and a single piece of code must maintain backward compatibility with previous versions.
使用这个类,不需要复制代码就可以实现任意类单例化。
So with this class we can makeany class singleton, without duplicating the code.
然而在单频接收机中,当使用载波平滑代码算法时,代码-载波差异可以作为一个因数。
However, code-carrier divergence can be a factor when using carrier smoothed code algorithms in single frequency receivers.
相同的代码也可以用来计算自旋轨道耦合的有效利用单电子哈密顿和所谓的SO原子平均场积分(AMFI)。
The same code can also be used to compute spin-orbit coupling using a effective one-electron so Hamiltonian and so called Atomic Mean Field Integrals (AMFI).
相同的代码也可以用来计算自旋轨道耦合的有效利用单电子哈密顿和所谓的SO原子平均场积分(AMFI)。
The same code can also be used to compute spin-orbit coupling using a effective one-electron so Hamiltonian and so called Atomic Mean Field Integrals (AMFI).
应用推荐