Logo
Explore Help
Sign In
izzy/UnrealEngineUWP
0
0
Fork 0
You've already forked UnrealEngineUWP
mirror of https://github.com/izzy2lost/UnrealEngineUWP.git synced 2026-03-26 18:15:20 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
3c2010d281269994deefcc86297a79247a9aeb34
UnrealEngineUWP/Engine/Source/Programs/Unsync/Private/UnsyncMemory.h

27 lines
429 B
C
Raw Normal View History

Import Unsync into the main source tree This is a binary patching and incremental downloading tool, similar to rsync or zsync. It aims to improve the large binary download processes that previously were served by robocopy (i.e. full packages produced by the build farm). The original code can be found in `//depot/usr/yuriy.odonnell/unsync`. This commit is a branch from the original location to preserve history. While the codebase is designed to be self-contained and does not depend on any engine libraries, it mostly follows the UE coding guidelines and can be built with UBT. Currently only Windows is supported, however the tool is expected to also work on Mac and Linux in the future. #rb Martin.Ridgers #preflight skip [CL 18993571 by Yuriy ODonnell in ue5-main branch]
2022-02-15 04:30:27 -05:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UnsyncCommon.h"
namespace unsync {
#ifndef UNSYNC_USE_DEBUG_HEAP
# define UNSYNC_USE_DEBUG_HEAP 0
#endif
static constexpr size_t UNSYNC_MALLOC_ALIGNMENT = 16;
enum class EMallocType
{
Invalid,
Default,
Debug
};
void UnsyncMallocInit(EMallocType MallocType);
void* UnsyncMalloc(size_t Size);
void UnsyncFree(void* Ptr);
} // namespace unsync
Reference in New Issue Copy Permalink
Powered by Gitea Page: 393ms Template: 6ms
English
English
Licenses API