<commit_before>/*
 * BucketList.h
 *
 *  Created on: Oct 28, 2013
 *      Author: Henning
 */

#ifndef BUCKETLIST_H_
#define BUCKETLIST_H_

#include <vector>
#include <list>

namespace aux {

class BucketList {
private:
	std::vector<std::list<int64_t> > buckets;
	uint64_t firstList;

public:
	BucketList();
	virtual ~BucketList();

	/**
	 * Insert node entry @a v into list @a value.
	 */
	void insert(node v, count listNum);

	/**
	 * Access first value, move it to next smaller list or
	 * remove if in list 0.
	 */
	void decreaseFirstValue();
};

} /* namespace aux */
#endif /* BUCKETLIST_H_ */<commit_msg>frame of core decomposition<commit_after>/*
 * BucketList.h
 *
 *  Created on: Oct 28, 2013
 *      Author: Henning
 */

#ifndef BUCKETLIST_H_
#define BUCKETLIST_H_

#include <vector>
#include <list>
#include <cinttypes>

namespace aux {

class BucketList {
private:
	std::vector<std::list<int64_t> > buckets;
	uint64_t firstList;

public:
	BucketList();
	virtual ~BucketList();

	/**
	 * Insert node entry @a v into list @a value.
	 */
	void insert(uint64_t v, uint64_t listNum);

	/**
	 * Access first value, move it to next smaller list or
	 * remove if in list 0.
	 */
	void decreaseFirstValue();
};

} /* namespace aux */
#endif /* BUCKETLIST_H_ */
{'fraction_non_alphanumeric': 0.1305379746835443, 'fraction_numerical': 0.020569620253164556, 'mean_word_length': 3.5833333333333335, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '3596565', 'n_tokens_mistral': 476, 'n_tokens_neox': 445, 'n_words': 135}