NET 2.0做出了更多的改善,包括磁盘缓冲方法,这会将任何超过80KB的文件都存储到磁盘上。
ASP.NET 2.0 introduced more enhancements including a disk buffering option which saved to the disk any upload exceeding 80kb. Still, there remained some limitations.
bufferstrategy类隐藏了使用的是上述两种双缓冲方法中的哪一种这一事实,并且它允许您利用系统所提供的任何基于硬件的缓冲。
The BufferStrategy class masks which of the two aforementioned double-buffering methodologies is used and lets you take advantage of any hardware-based buffering the system offers.
不过,其银行业放贷太多,对不动产市场有太多风险敞口,而解决它们的方法就是增加缓冲。
But Banks have lent too much and have too much exposure to property markets and the way to address it is to increase buffer.
这为利用各种阈值处理缓冲池中某些类型的数据访问提供了一种方法。
This provides a means to exploit the various thresholds to favor certain types of data access within a buffer pool.
其它的功能还提供了测试一个屏幕坐标的像素颜色的方法,甚至可以将屏幕上的一整块区域作为一个图像缓冲捕捉下来。
Additional capabilities provide the means of testing the pixel color of a screen coordinate or even capturing a whole area of the screen as an image buffer.
避免这种情况(或者至少减少其发生的几率)的一种方法是使缓冲池足够大。
One way of avoiding this type of situation (or at least reducing the chances of it happening) is to make the buffer pool big enough.
但是只有对损失高于平均值三到五倍的银行有了可靠的解决方法之后,才有可能在务实的层面上建立缓冲。
But buffers can be set at these pragmatic levels only if there is a credible way to deal with the outlier Banks that typically lose three to five times more than the average.
在这个例子中,缓冲区的所有权已经被有效地转移,因而进行调用的代码必须假设在被调用方法返回时缓冲区已经被删除。
In this case, the ownership of the buffer has been effectively transferred, and the calling code must assume the buffer to have been deleted when the transferee method returns.
如果响应码是200,就缓冲HTTP响应中的内容并使用它作为方法的返回值。
If the response code is 200, it will buffer the content from the HTTP response and use it as a return value for the method.
然而,没有哪种方法允许开发人员忽略缓冲区溢出。
However, none of this lets developers ignore buffer overflows.
该方法依靠FileStream类来适当地缓冲输入和输出文件,以便代码可以逐个字节地执行必要的处理。
This method relies on the FileStream class to buffer the input and output files appropriately, so that the code can work byte by byte to perform the necessary processing.
多用途的syslog系统调用提供了内核的日志缓冲区访问方法。
Access to the log buffer is provided at the core through the multi-purpose syslog system call.
激活Xerces2默认的模式缓冲实现有两种方法。
You can trigger the Xerces2 default schema caching implementation in two ways.
要简化该代码,getc方法返回缓冲区中的下一个字符,而putc替换缓冲区中getc下一次调用的字符。
To simplify the code, the getc method returns the next character from the buffer while putc replaces the character in the buffer where it is available for the next call to getc .
这里定义了一个接口和一个写字节缓冲的方法。
That defines an interface with a method for writing a buffer of bytes.
这两个事件往往同时被指定,因为在两者之间,它们覆盖了将当前文件的内容加载到一个缓冲区的最常用方法。
These two events are often specified together because between them they cover the most common ways of loading the contents of an existing file into a buffer.
您或许能够通过每次将一系列字节读取到缓冲区中找到更加令人高兴的方法,从而减少方法调用。
You might be able to find a happier medium by reading a series of bytes into a buffer at a time, thus saving the method calls.
更复杂的方法可能涉及更多资源,而不仅仅是两个文件和一个缓冲区,这使得问题变得更加复杂。
And with a more substantial method, which might involve more resources than just two files and a buffer, it gets even more complicated.
缓冲区溢位导致安全性问题的另一个方法是透过摧毁堆叠。
Another way in which buffer overflows cause security problems is through stack-smashing attacks.
静态方法也可以创建缓冲区,因为不存在构造函数。
Static methods can also create the buffers, because no constructors exist.
除了增加管道阶段之外,还可以通过其他方法使用更多的缓冲区。
In addition to adding pipeline stages, there is another way to take advantage of additional buffers.
如果调用一个对象的方法,代码也被添加到内部缓冲区中。
If you call an object's method, the code is added to the internal buffer.
如果使用了这种方法,定向于某个给定分区的散列行首先会进入一个缓冲区中,然后成组地发送到那个分区,而不是一次发送一行。
When this approach is in use, hashed rows destined for a given partition are placed in a buffer and sent to that partition as a group instead of one at a time.
使用基于结构的IO方法时,RPG将为输入和输出缓冲区创建初始存储空间,并为空指示符映射创建存储空间。
When using the structure based IO method, RPG will create the initial storage for the input and output buffers, along with storage for the null indicator map.
事实证明存在许多防止缓冲区溢出的不同技术,但它们都可划分为以下两种方法:静态分配的缓冲区和动态分配的缓冲区。
It turns out that there are many different techniques to countering buffer overflows, but they can be divided into two approaches: statically allocated buffers and dynamically allocated buffers.
在这种情况下,缓冲服务响应并在服务再次收到同样的请求时重新使用缓冲的响应是一种提高SOA服务性能的合理而适当的方法。
In this case, caching a service response and replaying the cached response the next time the service receives the same request is a valid and appropriate way to accelerate SOA service performance.
有时,当其他传统的日志记录方法失败时,可以使用循环缓冲区日志记录。
Sometimes ring buffer logging can come to the rescue when other traditional logging methods fail.
从根本上讲,所有这些方法都能减轻从程序接管攻击到拒绝服务攻击的缓冲区溢出攻击所带来的破坏。
Fundamentally, all these approaches reduce the damage of a buffer overflow attack from a program-takeover attack into a denial-of-service attack.
攻击者也许能够通过改变函数中其他数据的值来利用缓冲区溢出;没有哪种方法能够防止这点。
An attacker may be able to exploit a buffer overflow by changing the value of other data in the function; none of these approaches counter that.
但是,动态缓冲区指派本质上并不比其它方法更安全。
But dynamic buffer allocation is not intrinsically less dangerous than other approaches.
应用推荐