зеркало из https://github.com/Azure/DotNetty.git
Fix an spell error (#494)
This commit is contained in:
Родитель
72deeb9a09
Коммит
13f0094266
|
@ -250,8 +250,8 @@ namespace DotNetty.Buffers
|
|||
return "(" + this.memoryMapIdx + ": not in use)";
|
||||
}
|
||||
|
||||
return '(' + this.memoryMapIdx + ": " + (maxNumElems - numAvail) + '/' + maxNumElems +
|
||||
", offset: " + this.runOffset + ", length: " + this.pageSize + ", elemSize: " + elemSize + ')';
|
||||
return "(" + this.memoryMapIdx + ": " + (maxNumElems - numAvail) + "/" + maxNumElems +
|
||||
", offset: " + this.runOffset + ", length: " + this.pageSize + ", elemSize: " + elemSize + ")";
|
||||
}
|
||||
|
||||
public int MaxNumElements
|
||||
|
|
|
@ -274,7 +274,7 @@ namespace DotNetty.Buffers
|
|||
|
||||
public static bool DefaultPreferDirect => PlatformDependent.DirectBufferPreferred;
|
||||
|
||||
public override bool IsDirectBufferPooled => this.heapArenas != null;
|
||||
public override bool IsDirectBufferPooled => this.directArenas != null;
|
||||
|
||||
sealed class PoolThreadLocalCache : FastThreadLocal<PoolThreadCache<byte[]>>
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче