By doing so, it can combine several output operations into a single write.
通过这样做,它可以将一些输出操作合并到单个写。
Doing loads of reads and writes is very slow, group them as a single read and a single write when possible.
做大量的读和写的很慢,它们作为一个单一的读一写的时候可能。
The point of the Single Responsibility Principle isn't just to write smaller classes and methods.
单一责任原则的要点不仅仅是写一些更小的类和方法。
Take notes of these thoughts. This is not a journal, so write them down in point form and sum them up into single ideas, items or actions.
记下这些思想,这不是日志,所以你可以用要点的方式记下它们,然后用一个单独的看法或一系列的行动来概括之。
You could even just use a single pointer and write data back into the buffer you got it from, although this might be a nuisance to program for on the other end.
您甚至只需要使用一个指针并将数据写回到读取数据所使用的缓冲区中即可,不过这对于另外一端的编程来说可能有些麻烦。
The third solution, which I cover in this article, is to write a single class that dynamically molds itself at runtime to the fields of a given table.
第三个解决方案,也是我在本文中介绍的,是编写一个类,在运行时动态地把自己塑造成指定表的字段。
The generic application container framework allows for creating powerful and flexible applications without the need to write a single line of code.
通用应用程序容器框架允许在不编写代码的情况下创建强大且灵活的应用程序。
I write it as a single paragraph is because it is too important, it is the ultimate law of all human society.
这句话我把他单独成段是因为它太重要了。可以看作是人类社会的准则。
I did not have to write a single line of SQL code, yet my application is backed by a relational database.
我不必写SQL代码,但我的应用程序由关系数据库支持的。
They are all interesting, but the author did not write them to a single purpose, and the book is more in the style of the Perl Cookbook than most other Perl books.
虽然这些文章都非常有趣,但是作者并没有出于一个单一目的来编写这些文章,因此这本书的风格比其他Perl书籍更类似于The PerlCookbook。
So you can write a single inbound resource adapter that supports multiple interfaces by having several messageadapter elements.
所以通过拥有多个messageadapter元素,可以编写一个输入资源适配器,支持多个接口。
You can write a single style sheet that does the job for you with a fragment like the one in Listing 9.
您可以编写一个为您完成这项工作的样式表,其代码片段类似于清单9。
The SPU has a read channel for receiving a single data word from the mailbox and two write channels for sending data words (more on this below).
SPU有一个读通道来从邮箱接收单个数据字,有两个写通道来发送数据字(更详细的介绍请参看下文)。
Descriptive approach — You write a single general-purpose model-driven parser program to parse all formats, with each message format represented by its own model.
描述方法——您将编写单个通用的模型驱动的解析器程序来解析所有格式,每种消息格式由各自的模型表示。
Integration tests also require more complicated set up and assertions. This makes them harder to write than tests that isolate a single aspect.
集成测试还需要更复杂的设置和断言,这使它们比分别测试单独的方面更难编写。
It always seemed a little unnatural to me, and when it came time to write a single-author paper (which I tend not to do, since collaborating is much more fun) I went with the first-person singular.
对我来说,它总是感觉有点不自然,尤其是写一单作者论文(其中我倾向于不这样做,因为合作是更为有趣),我会使用第一人称单数。
On one side we have the testing fanatics, who want to test every single line of code they write.
一方面,存在测试妄想狂,他们希望能测试自己写的每一行代码。
Before you write a single line of code, you should have a reasonably deep understanding of what particular piece of the real world you are attempting to model in that code.
在你写下每一行代码之前,你应该对你要在那行代码中所抽象的现实世界的一个片段有合理、深入地理解。
You need only write a single line of code and your data model will be exposed.
您只需编写单个代码行,您的数据模型就会被公开。
Furthermore, they can write a single query that searches and integrates both forms of data.
而且,可以编写一个查询同时搜索和处理这两种数据形式。
For this example, in which the database query only returns the rows of a single table, you might just write a small PHP function to wrap each column in an XML tag.
在本例中,数据库查询只返回单个表的行,您也许要编写一个php小函数对XML标记中的每一列进行打包。
Batch application developers write code that is thread-safe and executes on a single thread.
批处理应用程序开发人员可以编写线程安全的、且在单个线程中执行的代码。
Of course, you don't want to write solutions that are specific to a single container implementation.
当然,您不希望编写一个特定于某个容器实现的解决方案。
This allows the grid to service these with the usual grid quality of service and performance and it completely decouples the single instance database from the read and write profile operations.
这就保证了服务的质量和性能,并完全解除了单实例数据库与读写个人信息操作之间的耦合。
If the file system data structures happen to align perfectly with the underlying physical partition size, a read or write of a 4096-byte data structure results in a read or write of a single sector.
如果文件系统数据结构正好与底层物理分区大小一致,对4096字节数据结构的读写会产生对单一扇区的读写。
There is no single best way to write a CV, as it is your document, you can structure as you wish.
制作简历并没有固定最好的方法,你可以随心所欲地编排你的文档信息。
Take out a piece of paper and a pen and write down every single thing that comes to mind.
拿出纸和笔记下你想到的每一件个别的事。
So, before you write a single line of PHP script code, you have to jump through a lot of hoops.
所以,在编写php脚本代码之前,必须越过很多的障碍。
SideNote is an application in the sidebar that provides a single place to write down text.
SideNote是侧栏中的一个应用程序,它提供单一地点以写下文本。
SideNote is an application in the sidebar that provides a single place to write down text.
SideNote是侧栏中的一个应用程序,它提供单一地点以写下文本。
应用推荐