#include "base/process/memory.h" #if defined(UNRAR_NO_EXCEPTIONS) #define UNRAR_FATAL_BAD_ALLOC(size) … #else #define UNRAR_FATAL_BAD_ALLOC … #endif FragmentedWindow::FragmentedWindow() { … } FragmentedWindow::~FragmentedWindow() { … } void FragmentedWindow::Reset() { … } void FragmentedWindow::Init(size_t WinSize) { … } byte& FragmentedWindow::operator [](size_t Item) { … } void FragmentedWindow::CopyString(uint Length,size_t Distance,size_t &UnpPtr,bool FirstWinDone,size_t MaxWinSize) { … } void FragmentedWindow::CopyData(byte *Dest,size_t WinPos,size_t Size) { … } size_t FragmentedWindow::GetBlockSize(size_t StartPos,size_t RequiredSize) { … }