<commit_before>﻿// Copyright (c) 2007-2016 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE

using System.Collections.Generic;

namespace osu.Framework.Allocation
{
    public class BufferStack
    {
        private int maxAmountBuffers;
        private Stack<byte[]> freeDataBuffers = new Stack<byte[]>();
        private HashSet<byte[]> usedDataBuffers = new HashSet<byte[]>();

        public BufferStack(int maxAmountBuffers = 10)
        {
            this.maxAmountBuffers = maxAmountBuffers;<commit_msg>Remove BufferStack default value (should always be explicitly provided).<commit_after>﻿// Copyright (c) 2007-2016 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE

using System.Collections.Generic;

namespace osu.Framework.Allocation
{
    public class BufferStack
    {
        private int maxAmountBuffers;
        private Stack<byte[]> freeDataBuffers = new Stack<byte[]>();
        private HashSet<byte[]> usedDataBuffers = new HashSet<byte[]>();

        public BufferStack(int maxAmountBuffers)
        {
            this.maxAmountBuffers = maxAmountBuffers;
{'fraction_non_alphanumeric': 0.10912052117263844, 'fraction_numerical': 0.014657980456026058, 'mean_word_length': 3.5183823529411766, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6599424', 'n_tokens_mistral': 364, 'n_tokens_neox': 344, 'n_words': 86}