- Initial commit

This commit is contained in:
Timur Kozanov
2026-07-03 05:02:26 +03:00
commit 374ff1e689
4080 changed files with 388870 additions and 0 deletions

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace Best.HTTP.Shared.Databases.MetadataIndexFinders
{
public sealed class DefaultEmptyMetadataIndexFinder<MetadataType> : IEmptyMetadataIndexFinder<MetadataType> where MetadataType : Metadata
{
public int FindFreeIndex(List<MetadataType> metadatas)
{
return metadatas.Count;
}
}
}

View File

@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: e3a9d8df83b70404782d3d67884dc1a9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 267636
packageName: Best HTTP
packageVersion: 3.0.17
assetPath: Packages/com.tivadar.best.http/Runtime/Shared/Database/MetadataIndexFinders/DefaultEmptyMetadataIndexFinder.cs
uploadId: 783279

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Best.HTTP.Shared.Databases.MetadataIndexFinders
{
public sealed class FindDeletedMetadataIndexFinder<MetadataType> : IEmptyMetadataIndexFinder<MetadataType> where MetadataType : Metadata
{
public int FindFreeIndex(List<MetadataType> metadatas)
{
for (int i = 0; i < metadatas.Count; ++i)
if (metadatas[i].IsDeleted)
return i;
return metadatas.Count;
}
}
}

View File

@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 8a63cdf33c00b6443bcbd6aa81aa6562
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 267636
packageName: Best HTTP
packageVersion: 3.0.17
assetPath: Packages/com.tivadar.best.http/Runtime/Shared/Database/MetadataIndexFinders/FindDeletedMetadataIndexFinder.cs
uploadId: 783279

View File

@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
namespace Best.HTTP.Shared.Databases.MetadataIndexFinders
{
public interface IEmptyMetadataIndexFinder<MetadataType> where MetadataType : Metadata
{
int FindFreeIndex(List<MetadataType> metadatas);
}
}

View File

@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: e825306d81906834b84135765d5c3174
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 267636
packageName: Best HTTP
packageVersion: 3.0.17
assetPath: Packages/com.tivadar.best.http/Runtime/Shared/Database/MetadataIndexFinders/IEmptyMetadataIndexFinder.cs
uploadId: 783279