This commit is contained in:
SilverFox 2019-07-09 23:12:59 +08:00 коммит произвёл Max Gortman
Родитель 72deeb9a09
Коммит 13f0094266
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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[]>>
{