示例#1
0
        public void Put(T item)
        {
            if (IsFull)
            {
                _ResizePool(_storage.Length * 2);
            }

            _creator?.BeforeStore(item);
            _storage[_freeToPutIndex++] = item;
        }