This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=================================================================== | |
// File: circular_buffer.cpp | |
// | |
// Desc: A Circular Buffer implementation in C++. | |
// | |
// Copyright © 2019 Edwin Cloud. All rights reserved. | |
// | |
//=================================================================== | |
//------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <QObject> | |
#include <memory> | |
template <class T> | |
class circular_buffer | |
{ | |
public: | |
explicit circular_buffer(size_t size) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************** | |
* $Id: $ | |
* $Name: $ | |
* | |
* Author: Pete Goodliffe | |
* | |
* ---------------------------------------------------------------------------- | |
* Copyright 2002 Pete Goodliffe All rights reserved. | |
* | |
* ---------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text; | |
using AsmResolver; | |
using AsmResolver.DotNet; | |
using AsmResolver.DotNet.Builder.Metadata.Blob; | |
using AsmResolver.DotNet.Builder.Metadata.Strings; | |
using AsmResolver.DotNet.Code.Cil; | |
using AsmResolver.DotNet.Signatures; | |
using AsmResolver.IO; | |
using AsmResolver.PE; | |
using AsmResolver.PE.DotNet.Builder; |