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.
单一责任原则的要点不仅仅是写一些更小的类和方法。
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.
您甚至只需要使用一个指针并将数据写回到读取数据所使用的缓冲区中即可,不过这对于另外一端的编程来说可能有些麻烦。
I could literally write an entire book on this one single concept.
关于这一点我几乎可以写一整本书来阐述。
Hence it's possible to read or write single bytes, words, and so on.
因此,写入或读入单个字节,单词等是可能的。
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代码,但我的应用程序由关系数据库支持的。
With jQuery, we don't need to write an onclick for every single element.
使用jQuery,我们不需要为每个单独的元素都写一个onclick。
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。
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.
集成测试还需要更复杂的设置和断言,这使它们比分别测试单独的方面更难编写。
You can write your entire application in a single class.
你可以把整个应用程序写在一个类里面。
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.
在你写下每一行代码之前,你应该对你要在那行代码中所抽象的现实世界的一个片段有合理、深入地理解。
Instead write the feedback down somewhere as one single data point to consider amongst others.
相反地,记下这些反馈,作为众多反馈中可作为考虑因素的数据之一。
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标记中的每一列进行打包。
Of course, you don't want to write solutions that are specific to a single container implementation.
当然,您不希望编写一个特定于某个容器实现的解决方案。
In most situations you do not have to write a single line of code.
在很多情况下,您都不需要编写任何代码。
There is no single best way to write a CV, as it is your document, you can structure as you wish.
制作简历并没有固定最好的方法,你可以随心所欲地编排你的文档信息。
Apart from this single line of code, you do not have to write anything else.
除了这一行代码,您无需再编写任何其他东西。
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脚本代码之前,必须越过很多的障碍。
You can't just write every single thing that happened in your life.
你不能把生活中的每一件事写出来。
应用推荐