aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/cas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenstore/cas.cpp')
-rw-r--r--src/zenstore/cas.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/zenstore/cas.cpp b/src/zenstore/cas.cpp
index e85383a2a..ce1ebe231 100644
--- a/src/zenstore/cas.cpp
+++ b/src/zenstore/cas.cpp
@@ -62,13 +62,13 @@ public:
virtual void Initialize(const CidStoreConfiguration& InConfig) override;
virtual CasStore::InsertResult InsertChunk(IoBuffer Chunk, const IoHash& ChunkHash, InsertMode Mode) override;
- virtual eastl::vector<InsertResult> InsertChunks(std::span<IoBuffer> Data,
- std::span<IoHash> ChunkHashes,
- InsertMode Mode = InsertMode::kMayBeMovedInPlace) override;
+ virtual eastl::vector<InsertResult> InsertChunks(eastl::span<IoBuffer> Data,
+ eastl::span<IoHash> ChunkHashes,
+ InsertMode Mode = InsertMode::kMayBeMovedInPlace) override;
virtual IoBuffer FindChunk(const IoHash& ChunkHash) override;
virtual bool ContainsChunk(const IoHash& ChunkHash) override;
virtual void FilterChunks(HashKeySet& InOutChunks) override;
- virtual bool IterateChunks(std::span<IoHash> DecompressedIds,
+ virtual bool IterateChunks(eastl::span<IoHash> DecompressedIds,
const std::function<bool(size_t Index, const IoBuffer& Payload)>& AsyncCallback,
WorkerThreadPool* OptionalWorkerPool,
uint64_t LargeSizeLimit) override;
@@ -260,9 +260,9 @@ CasImpl::InsertChunk(IoBuffer Chunk, const IoHash& ChunkHash, InsertMode Mode)
static void
GetCompactCasResults(CasContainerStrategy& Strategy,
- std::span<IoBuffer> Data,
- std::span<IoHash> ChunkHashes,
- std::span<size_t> Indexes,
+ eastl::span<IoBuffer> Data,
+ eastl::span<IoHash> ChunkHashes,
+ eastl::span<size_t> Indexes,
eastl::vector<CasStore::InsertResult> Results)
{
const size_t Count = Indexes.size();
@@ -294,9 +294,9 @@ GetCompactCasResults(CasContainerStrategy& Strategy,
static void
GetFileCasResults(FileCasStrategy& Strategy,
CasStore::InsertMode Mode,
- std::span<IoBuffer> Data,
- std::span<IoHash> ChunkHashes,
- std::span<size_t> Indexes,
+ eastl::span<IoBuffer> Data,
+ eastl::span<IoHash> ChunkHashes,
+ eastl::span<size_t> Indexes,
eastl::vector<CasStore::InsertResult> Results)
{
for (size_t Index : Indexes)
@@ -306,7 +306,7 @@ GetFileCasResults(FileCasStrategy& Strategy,
};
eastl::vector<CasStore::InsertResult>
-CasImpl::InsertChunks(std::span<IoBuffer> Data, std::span<IoHash> ChunkHashes, CasStore::InsertMode Mode)
+CasImpl::InsertChunks(eastl::span<IoBuffer> Data, eastl::span<IoHash> ChunkHashes, CasStore::InsertMode Mode)
{
ZEN_MEMSCOPE(GetCasTag());
ZEN_TRACE_CPU("CAS::InsertChunks");
@@ -406,7 +406,7 @@ CasImpl::FilterChunks(HashKeySet& InOutChunks)
}
bool
-CasImpl::IterateChunks(std::span<IoHash> DecompressedIds,
+CasImpl::IterateChunks(eastl::span<IoHash> DecompressedIds,
const std::function<bool(size_t Index, const IoBuffer& Payload)>& AsyncCallback,
WorkerThreadPool* OptionalWorkerPool,
uint64_t LargeSizeLimit)