<commit_before>// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package internal

import (
	"bufio"
	"bytes"
	"errors"
	"io"
)

const defaultBufSize = 4096

type BufReader struct {
	Columns [][]byte

	rd io.Reader // reader provided by the client

	buf      []byte
	r, w     int // buf read and write positions
	lastByte int
	err      error

	available int // bytes available for reading
}

func NewBufReader(rd io.Reader) *BufReader {
	return &BufReader{<commit_msg>internal: increase default read buffer<commit_after>// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package internal

import (
	"bufio"
	"bytes"
	"errors"
	"io"
)

const defaultBufSize = 8192

type BufReader struct {
	Columns [][]byte

	rd io.Reader // reader provided by the client

	buf      []byte
	r, w     int // buf read and write positions
	lastByte int
	err      error

	available int // bytes available for reading
}

func NewBufReader(rd io.Reader) *BufReader {
	return &BufReader{
{'fraction_non_alphanumeric': 0.08044030482641829, 'fraction_numerical': 0.013547840812870448, 'mean_word_length': 3.206405693950178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '199540', 'n_tokens_mistral': 374, 'n_tokens_neox': 351, 'n_words': 155}