gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions | Variables
circlebuf.test.cc File Reference
#include <gtest/gtest.h>
#include "base/circlebuf.hh"

Go to the source code of this file.

Functions

 TEST (CircleBufTest, BasicReadWriteNoOverflow)
 
 TEST (CircleBufTest, SingleWriteOverflow)
 
 TEST (CircleBufTest, MultiWriteOverflow)
 
 TEST (CircleBufTest, PointerWrapAround)
 

Variables

const char data []
 

Function Documentation

◆ TEST() [1/4]

TEST ( CircleBufTest  ,
BasicReadWriteNoOverflow   
)

◆ TEST() [2/4]

TEST ( CircleBufTest  ,
SingleWriteOverflow   
)

◆ TEST() [3/4]

TEST ( CircleBufTest  ,
MultiWriteOverflow   
)

◆ TEST() [4/4]

TEST ( CircleBufTest  ,
PointerWrapAround   
)

Variable Documentation

◆ data

const char data[]
Initial value:
= {
0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7,
0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf,
}

Definition at line 44 of file circlebuf.test.cc.

Referenced by cp::_format_char(), cp::_format_float(), cp::_format_integer(), cp::_format_string(), Stats::DistBase< Distribution, DistStor >::add(), Net::EthAddr::addr(), RepeatedQwordsCompressor::addToDictionary(), ZeroCompressor::addToDictionary(), CPack::addToDictionary(), BaseDelta< uint64_t, 16 >::addToDictionary(), FPCD::addToDictionary(), BaseKvmCPU::archIsDrained(), RiscvProcess::argsInit(), DataBlock::assign(), SimpleLTTarget1::b_transport(), Net::EthAddr::broadcast(), TimingSimpleCPU::buildSplitPacket(), Net::EthAddr::bytes(), PacketFifo::copyout(), PerfectCompressor::decompress(), DictionaryCompressor< T >::UncompressedPattern< BaseType >::decompress(), DictionaryCompressor< uint64_t >::decompressValue(), BaseDynInst< Impl >::demapDataPage(), CheckerCPU::demapDataPage(), IdeController::dispatchAccess(), SparcISA::TLB::doMmuRegWrite(), Trace::Logger::dump(), VirtDescriptor::dump(), LSQ< Impl >::dumpInsts(), SimpleLTInitiator2_dmi::end_of_simulation(), SimpleLTInitiator1_dmi::end_of_simulation(), SimpleLTInitiator_ext::end_of_simulation(), IdeController::EndBitUnion(), Net::EthAddr::EthAddr(), HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >::execute(), Net::Ip6Hdr::extensionLength(), FetchUnit::fetch(), RubyRequest::functionalWrite(), RiscvISA::CSROp::generateDisassembly(), RefCountingPtr< MinorDynInst >::get(), cp::Print::get_number(), KvmDevice::getAttr(), KvmDevice::getAttrPtr(), Packet::getConstPtr(), Minor::LSQ::getDcachePort(), Net::Ip6Hdr::getExt(), GPUCoalescer::getFirstResponseToCompletionDelayHist(), AtomicSimpleCPU::getInstPort(), TimingSimpleCPU::getInstPort(), Minor::LSQ::getLastMemBarrier(), BaseDelta< uint64_t, 16 >::getName(), RepeatedQwordsCompressor::getPattern(), ZeroCompressor::getPattern(), CPack::getPattern(), FPCD::getPattern(), Packet::getPtr(), X86KvmCPU::handleIOMiscReg32(), X86ISA::handleIprRead(), X86ISA::handleIprWrite(), PS2Device::hostDataAvailable(), PS2Device::hostRead(), CPA::hwWe(), Check::initiatePrefetch(), AlphaSystem::initState(), SimpleCache::insert(), ClDriver::ioctl(), ElfObject::loadSomeSymbols(), Minor::LSQ::LSQRequest::makePacket(), DMASequencer::makeRequest(), PortProxy::memsetBlob(), SubBlock::mergeFrom(), Minor::Decode::minorTrace(), Minor::MinorBuffer< Minor::ForwardInstData >::minorTrace(), Minor::Fetch2::minorTrace(), Minor::Fetch1::minorTrace(), Minor::Queue< Minor::ForwardInstData, ReportTraitsAdaptor< Minor::ForwardInstData >, BubbleTraitsAdaptor< Minor::ForwardInstData > >::minorTrace(), ExplicitLTTarget::myBTransport(), SimpleLTTarget2::myBTransport(), ExplicitATTarget::myNBTransport(), SimpleLTTarget_ext::myNBTransport(), SimpleATTarget2::myNBTransport(), SimpleATTarget1::myNBTransport(), Gicv3Distributor::nsAccessToSecInt(), VirtIOConsole::TermTransQueue::onNotifyDescriptor(), VirtIO9PBase::FSQueue::onNotifyDescriptor(), Linux::openSpecialFile(), Net::EthAddr::operator uint64_t(), RefCountingPtr< MinorDynInst >::operator*(), Stats::ScalarBase< Scalar, StatStor >::operator++(), Stats::ScalarBase< Scalar, StatStor >::operator+=(), Stats::ScalarBase< Scalar, StatStor >::operator--(), Stats::ScalarBase< Scalar, StatStor >::operator-=(), RefCountingPtr< MinorDynInst >::operator->(), Net::EthAddr::operator=(), sc_dt::sc_concatref::operator=(), Stats::ScalarBase< Scalar, StatStor >::operator=(), Net::IpHdr::options(), Net::TcpHdr::options(), sc_gem5::packet2payload(), Net::EthAddr::parse(), sc_dt::parse_binary_bits(), sc_dt::parse_hex_bits(), Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::prepare(), Stats::ScalarBase< Scalar, StatStor >::prepare(), Stats::Vector2dBase< Vector2d, StatStor >::prepare(), Stats::DistBase< Distribution, DistStor >::prepare(), Stats::VectorDistBase< VectorAverageDeviation, AvgSampleStor >::prepare(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::prepare(), AnnotateDumpCallback::process(), Gicv3Redistributor::processorNumber(), Net::Ip6Hdr::proto(), SimpleUart::read(), SimpleDisk::read(), Pl011::read(), HDLcd::read(), PL031::read(), Pl050::read(), VirtIOBlock::read(), X86ISA::I8042::read(), PortProxy::read(), Pl111::read(), UFSHostDevice::read(), X86ISA::I8042::readDataOut(), GicV2::readDistributor(), Iob::readIob(), Iob::readJBus(), ArmSemihosting::readString(), ArmISA::readVecElem(), Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::reset(), Stats::ScalarBase< Scalar, StatStor >::reset(), Stats::Vector2dBase< Vector2d, StatStor >::reset(), Stats::DistBase< Distribution, DistStor >::reset(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::reset(), Stats::StatStor::result(), Stats::ScalarBase< Scalar, StatStor >::result(), Stats::VectorBase< Vector, StatStor >::result(), Stats::VectorProxy< Stat >::result(), Stats::DistBase< Distribution, DistStor >::sample(), Stats::DistProxy< Stat >::sample(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::sample(), SC_MODULE(), TimingSimpleCPU::sendData(), EtherTapStub::sendReal(), EthPacketData::serialize(), VirtIO9PProxy::serverDataReady(), tlm::tlm_generic_payload::set_data_ptr(), KvmDevice::setAttr(), KvmDevice::setAttrPtr(), SubBlock::setByte(), DataBlock::setByte(), IdeDisk::setController(), SimpleATInitiator1::MyTransaction< DT >::setData(), SimpleATInitiator2::MyTransaction< DT >::setData(), QoS::Policy::setMemCtrl(), ArmISA::simd_modified_imm(), Stats::DistBase< Distribution, DistStor >::size(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::size(), TEST(), testAndRead(), testAndReadMask(), testAndWrite(), MemTest::tick(), Stats::VectorBase< Vector, StatStor >::total(), Stats::VectorProxy< Stat >::total(), Stats::Vector2dBase< Vector2d, StatStor >::total(), Trace::ExeTracerRecord::traceInst(), BaseRemoteGDB::trap(), Net::EthAddr::unicast(), EthPacketData::unserialize(), ArmISA::upperAndLowerRange(), Stats::StatStor::value(), Stats::ScalarBase< Scalar, StatStor >::value(), Stats::VectorBase< Vector, StatStor >::value(), ArmISA::vfp_modified_imm(), Stats::Hdf5::visit(), SimpleUart::write(), Sp805::write(), Pl011::write(), IsaFake::write(), HDLcd::write(), Gicv3::write(), EnergyCtrl::write(), Pl050::write(), X86ISA::I8042::write(), VirtIOBlock::write(), Gicv3Distributor::write(), Pl111::write(), LSQUnit< Impl >::write(), UFSHostDevice::write(), IdeDisk::writeCommand(), IdeController::writeConfig(), GicV2::writeCpu(), MC146818::writeData(), GicV2::writeDistributor(), Iob::writeIob(), Iob::writeJBus(), Stats::VectorBase< Vector, StatStor >::zero(), Stats::Vector2dBase< Vector2d, StatStor >::zero(), Stats::DistBase< Distribution, DistStor >::zero(), Stats::VectorDistBase< VectorAverageDeviation, AvgSampleStor >::zero(), Stats::DistProxy< Stat >::zero(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::zero(), BaseCacheCompressor::~BaseCacheCompressor(), DataBlock::~DataBlock(), DiskImage::~DiskImage(), Intel8254Timer::~Intel8254Timer(), Minor::LSQ::LSQRequest::~LSQRequest(), BasePrefetcher::PrefetchInfo::~PrefetchInfo(), Stats::Vector2dBase< Vector2d, StatStor >::~Vector2dBase(), Stats::VectorBase< Vector, StatStor >::~VectorBase(), and Stats::VectorDistBase< VectorAverageDeviation, AvgSampleStor >::~VectorDistBase().


Generated on Fri Feb 28 2020 16:27:06 for gem5 by doxygen 1.8.13