<commit_before>#ifndef _OF_TYPES
#define _OF_TYPES

#include "ofConstants.h"
#include "ofUtils.h"
#include "ofRectangle.h"
#include "ofPoint.h"
#include "ofColor.h"
#include "ofBaseTypes.h"


//----------------------------------------------------------
// ofMutex
//----------------------------------------------------------

#include "Poco/Mutex.h"
typedef Poco::FastMutex ofMutex;

//----------------------------------------------------------
// ofStyle
//----------------------------------------------------------

class ofStyle{
	public:
		ofStyle(){
			bFill				= true;
            blending            = false;
			blendEquation		= 0;
            blendSrc            = GL_SRC_ALPHA;
            blendDst            = GL_ONE_MINUS_SRC_ALPHA;
			smoothing			= false;
			circleResolution	= 20;
			lineWidth			= 1.0;
			polyMode			= OF_POLY_WINDING_ODD;
			rectMode			= OF_RECTMODE_CORNER;
		}

		virtual ~ofStyle(){}

		ofColor color;
		int polyMode;
		int rectMode;
		bool bFill;
    
        // one of the following GL_ZERO, GL_ONE, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_SRC_ALPHA_SATURATE
        int blendSrc;
        int blendDst;
        bool blending;  // blending enabled?
		int blendEquation; // GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX
    
		bool smoothing;
		int circleResolution;
		float lineWidth;
};

//----------------------------------------------------------
// ofBuffer
//----------------------------------------------------------

class ofBuffer{
	vector<char> 	buffer;
	long 			nextLinePos;
public:

	ofBuffer();
	ofBuffer(int size, char * buffer);
	ofBuffer(istream & stream);
	ofBuffer(const ofBuffer & mom);
<commit_msg>ofBuffer: default copy constructor already works as expected, getting rid of explicit one<commit_after>#ifndef _OF_TYPES
#define _OF_TYPES

#include "ofConstants.h"
#include "ofUtils.h"
#include "ofRectangle.h"
#include "ofPoint.h"
#include "ofColor.h"
#include "ofBaseTypes.h"


//----------------------------------------------------------
// ofMutex
//----------------------------------------------------------

#include "Poco/Mutex.h"
typedef Poco::FastMutex ofMutex;

//----------------------------------------------------------
// ofStyle
//----------------------------------------------------------

class ofStyle{
	public:
		ofStyle(){
			bFill				= true;
            blending            = false;
			blendEquation		= 0;
            blendSrc            = GL_SRC_ALPHA;
            blendDst            = GL_ONE_MINUS_SRC_ALPHA;
			smoothing			= false;
			circleResolution	= 20;
			lineWidth			= 1.0;
			polyMode			= OF_POLY_WINDING_ODD;
			rectMode			= OF_RECTMODE_CORNER;
		}

		virtual ~ofStyle(){}

		ofColor color;
		int polyMode;
		int rectMode;
		bool bFill;
    
        // one of the following GL_ZERO, GL_ONE, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_SRC_ALPHA_SATURATE
        int blendSrc;
        int blendDst;
        bool blending;  // blending enabled?
		int blendEquation; // GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX
    
		bool smoothing;
		int circleResolution;
		float lineWidth;
};

//----------------------------------------------------------
// ofBuffer
//----------------------------------------------------------

class ofBuffer{
	vector<char> 	buffer;
	long 			nextLinePos;
public:

	ofBuffer();
	ofBuffer(int size, char * buffer);
	ofBuffer(istream & stream);

{'fraction_non_alphanumeric': 0.2746974387841261, 'fraction_numerical': 0.0028145229383619475, 'mean_word_length': 1.5028169014084507, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2630135', 'n_tokens_mistral': 1213, 'n_tokens_neox': 1114, 'n_words': 227}