Showing preview only (676K chars total). Download the full file or copy to clipboard to get everything.
Repository: AnnulusGames/BurstLinq
Branch: main
Commit: fc354905c8e4
Files: 130
Total size: 632.0 KB
Directory structure:
gitextract_x5vozpec/
├── .gitattributes
├── .gitignore
├── Assets/
│ ├── BurstLinq/
│ │ ├── Runtime/
│ │ │ ├── BurstHelpers.cs
│ │ │ ├── BurstHelpers.cs.meta
│ │ │ ├── BurstLinq.asmdef
│ │ │ ├── BurstLinq.asmdef.meta
│ │ │ ├── BurstLinqExtensions.Average.cs
│ │ │ ├── BurstLinqExtensions.Average.cs.meta
│ │ │ ├── BurstLinqExtensions.Average.tt
│ │ │ ├── BurstLinqExtensions.Average.tt.meta
│ │ │ ├── BurstLinqExtensions.Contains.cs
│ │ │ ├── BurstLinqExtensions.Contains.cs.meta
│ │ │ ├── BurstLinqExtensions.Contains.tt
│ │ │ ├── BurstLinqExtensions.Contains.tt.meta
│ │ │ ├── BurstLinqExtensions.Max.cs
│ │ │ ├── BurstLinqExtensions.Max.cs.meta
│ │ │ ├── BurstLinqExtensions.Max.tt
│ │ │ ├── BurstLinqExtensions.Max.tt.meta
│ │ │ ├── BurstLinqExtensions.Min.cs
│ │ │ ├── BurstLinqExtensions.Min.cs.meta
│ │ │ ├── BurstLinqExtensions.Min.tt
│ │ │ ├── BurstLinqExtensions.Min.tt.meta
│ │ │ ├── BurstLinqExtensions.Native.Average.cs
│ │ │ ├── BurstLinqExtensions.Native.Average.cs.meta
│ │ │ ├── BurstLinqExtensions.Native.Average.tt
│ │ │ ├── BurstLinqExtensions.Native.Average.tt.meta
│ │ │ ├── BurstLinqExtensions.Native.Contains.cs
│ │ │ ├── BurstLinqExtensions.Native.Contains.cs.meta
│ │ │ ├── BurstLinqExtensions.Native.Contains.tt
│ │ │ ├── BurstLinqExtensions.Native.Contains.tt.meta
│ │ │ ├── BurstLinqExtensions.Native.Max.cs
│ │ │ ├── BurstLinqExtensions.Native.Max.cs.meta
│ │ │ ├── BurstLinqExtensions.Native.Max.tt
│ │ │ ├── BurstLinqExtensions.Native.Max.tt.meta
│ │ │ ├── BurstLinqExtensions.Native.Min.cs
│ │ │ ├── BurstLinqExtensions.Native.Min.cs.meta
│ │ │ ├── BurstLinqExtensions.Native.Min.tt
│ │ │ ├── BurstLinqExtensions.Native.Min.tt.meta
│ │ │ ├── BurstLinqExtensions.Native.SequenceEqual.cs
│ │ │ ├── BurstLinqExtensions.Native.SequenceEqual.cs.meta
│ │ │ ├── BurstLinqExtensions.Native.SequenceEqual.tt
│ │ │ ├── BurstLinqExtensions.Native.SequenceEqual.tt.meta
│ │ │ ├── BurstLinqExtensions.Native.Sum.cs
│ │ │ ├── BurstLinqExtensions.Native.Sum.cs.meta
│ │ │ ├── BurstLinqExtensions.Native.Sum.tt
│ │ │ ├── BurstLinqExtensions.Native.Sum.tt.meta
│ │ │ ├── BurstLinqExtensions.SequenceEqual.cs
│ │ │ ├── BurstLinqExtensions.SequenceEqual.cs.meta
│ │ │ ├── BurstLinqExtensions.SequenceEqual.tt
│ │ │ ├── BurstLinqExtensions.SequenceEqual.tt.meta
│ │ │ ├── BurstLinqExtensions.Sum.cs
│ │ │ ├── BurstLinqExtensions.Sum.cs.meta
│ │ │ ├── BurstLinqExtensions.Sum.tt
│ │ │ ├── BurstLinqExtensions.Sum.tt.meta
│ │ │ ├── BurstLinqExtensions.cs
│ │ │ ├── BurstLinqExtensions.cs.meta
│ │ │ ├── CmpHelpers.cs
│ │ │ ├── CmpHelpers.cs.meta
│ │ │ ├── Error.cs
│ │ │ ├── Error.cs.meta
│ │ │ ├── SpanHelper.cs
│ │ │ ├── SpanHelper.cs.meta
│ │ │ ├── Vectors.cs
│ │ │ └── Vectors.cs.meta
│ │ ├── Runtime.meta
│ │ ├── Tests/
│ │ │ ├── Runtime/
│ │ │ │ ├── AssertEx.cs
│ │ │ │ ├── AssertEx.cs.meta
│ │ │ │ ├── AverageTest.cs
│ │ │ │ ├── AverageTest.cs.meta
│ │ │ │ ├── AverageTest.tt
│ │ │ │ ├── AverageTest.tt.meta
│ │ │ │ ├── Benchmark.cs
│ │ │ │ ├── Benchmark.cs.meta
│ │ │ │ ├── BurstLinq.Tests.Runtime.asmdef
│ │ │ │ ├── BurstLinq.Tests.Runtime.asmdef.meta
│ │ │ │ ├── ContainsTest.cs
│ │ │ │ ├── ContainsTest.cs.meta
│ │ │ │ ├── MaxTest.cs
│ │ │ │ ├── MaxTest.cs.meta
│ │ │ │ ├── MaxTest.tt
│ │ │ │ ├── MaxTest.tt.meta
│ │ │ │ ├── MinTest.cs
│ │ │ │ ├── MinTest.cs.meta
│ │ │ │ ├── MinTest.tt
│ │ │ │ ├── MinTest.tt.meta
│ │ │ │ ├── RandomEnumerable.cs
│ │ │ │ ├── RandomEnumerable.cs.meta
│ │ │ │ ├── SequenceEqualTest.cs
│ │ │ │ ├── SequenceEqualTest.cs.meta
│ │ │ │ ├── SequenceEqualTest.tt
│ │ │ │ ├── SequenceEqualTest.tt.meta
│ │ │ │ ├── SumTest.cs
│ │ │ │ ├── SumTest.cs.meta
│ │ │ │ ├── SumTest.tt
│ │ │ │ └── SumTest.tt.meta
│ │ │ └── Runtime.meta
│ │ ├── Tests.meta
│ │ ├── package.json
│ │ └── package.json.meta
│ └── BurstLinq.meta
├── LICENSE
├── Packages/
│ ├── manifest.json
│ └── packages-lock.json
├── ProjectSettings/
│ ├── AudioManager.asset
│ ├── BurstAotSettings_StandaloneOSX.json
│ ├── ClusterInputManager.asset
│ ├── CommonBurstAotSettings.json
│ ├── DynamicsManager.asset
│ ├── EditorBuildSettings.asset
│ ├── EditorSettings.asset
│ ├── GraphicsSettings.asset
│ ├── InputManager.asset
│ ├── MemorySettings.asset
│ ├── NavMeshAreas.asset
│ ├── PackageManagerSettings.asset
│ ├── Packages/
│ │ └── com.unity.testtools.codecoverage/
│ │ └── Settings.json
│ ├── Physics2DSettings.asset
│ ├── PresetManager.asset
│ ├── ProjectSettings.asset
│ ├── ProjectVersion.txt
│ ├── QualitySettings.asset
│ ├── SceneTemplateSettings.json
│ ├── TagManager.asset
│ ├── TimeManager.asset
│ ├── UnityConnectSettings.asset
│ ├── VFXManager.asset
│ ├── VersionControlSettings.asset
│ └── XRSettings.asset
├── README.md
└── README_JA.md
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto
================================================
FILE: .gitignore
================================================
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/
# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/[Mm]emoryCaptures/
# Recordings can get excessive in size
/[Rr]ecordings/
# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*
# Autogenerated Jetbrains Rider plugin
/[Aa]ssets/Plugins/Editor/JetBrains*
# Visual Studio cache directory
.vs/
# Gradle cache directory
.gradle/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db
# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta
# Unity3D generated file on crash reports
sysinfo.txt
# Builds
*.apk
*.aab
*.unitypackage
*.app
# Crashlytics generated file
crashlytics-build.properties
# Packed Addressables
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*
# Visual Studio Code cache directory
.vscode/
# DS_Store
*.DS_Store
================================================
FILE: Assets/BurstLinq/Runtime/BurstHelpers.cs
================================================
using Unity.Burst.Intrinsics;
namespace BurstLinq
{
internal static unsafe class BurstHelpers
{
internal static bool IsFloatingPoint256Supported => X86.Avx.IsAvxSupported;
internal static bool IsInteger256Supported => X86.Avx2.IsAvx2Supported;
internal static bool IsV256Supported => X86.Avx2.IsAvx2Supported;
internal static bool IsV128Supported => Arm.Neon.IsNeonSupported||X86.Sse4_1.IsSse41Supported;
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstHelpers.cs.meta
================================================
fileFormatVersion: 2
guid: 617908ec85574495e82cbe33f5fa3c3a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinq.asmdef
================================================
{
"name": "BurstLinq",
"rootNamespace": "BurstLinq",
"references": [
"GUID:e0cd26848372d4e5c891c569017e11f1",
"GUID:2665a8d13d1b3f18800f46e256720795",
"GUID:d8b63aba1907145bea998dd612889d6b"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": true,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinq.asmdef.meta
================================================
fileFormatVersion: 2
guid: 75a4edf3e29b24eacad77b2b175d4d8f
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.cs
================================================
using System;
using System.Collections.Generic;
using Unity.Collections;
using Unity.Mathematics;
using UnityEngine;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
public static double Average(this int[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (int* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this List<int> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (int* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double Average(this Memory<int> source)
{
return Average((ReadOnlySpan<int>)source.Span);
}
public static double Average(this ReadOnlyMemory<int> source)
{
return Average(source.Span);
}
public static double Average(this Span<int> source)
{
return Average((ReadOnlySpan<int>)source);
}
public static double Average(this ReadOnlySpan<int> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (int* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this uint[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (uint* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this List<uint> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (uint* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double Average(this Memory<uint> source)
{
return Average((ReadOnlySpan<uint>)source.Span);
}
public static double Average(this ReadOnlyMemory<uint> source)
{
return Average(source.Span);
}
public static double Average(this Span<uint> source)
{
return Average((ReadOnlySpan<uint>)source);
}
public static double Average(this ReadOnlySpan<uint> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (uint* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this long[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (long* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this List<long> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (long* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double Average(this Memory<long> source)
{
return Average((ReadOnlySpan<long>)source.Span);
}
public static double Average(this ReadOnlyMemory<long> source)
{
return Average(source.Span);
}
public static double Average(this Span<long> source)
{
return Average((ReadOnlySpan<long>)source);
}
public static double Average(this ReadOnlySpan<long> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (long* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this ulong[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (ulong* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this List<ulong> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (ulong* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double Average(this Memory<ulong> source)
{
return Average((ReadOnlySpan<ulong>)source.Span);
}
public static double Average(this ReadOnlyMemory<ulong> source)
{
return Average(source.Span);
}
public static double Average(this Span<ulong> source)
{
return Average((ReadOnlySpan<ulong>)source);
}
public static double Average(this ReadOnlySpan<ulong> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (ulong* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static float Average(this float[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (float* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static float Average(this List<float> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (float* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static float Average(this Memory<float> source)
{
return Average((ReadOnlySpan<float>)source.Span);
}
public static float Average(this ReadOnlyMemory<float> source)
{
return Average(source.Span);
}
public static float Average(this Span<float> source)
{
return Average((ReadOnlySpan<float>)source);
}
public static float Average(this ReadOnlySpan<float> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (float* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this double[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (double* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double Average(this List<double> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (double* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double Average(this Memory<double> source)
{
return Average((ReadOnlySpan<double>)source.Span);
}
public static double Average(this ReadOnlyMemory<double> source)
{
return Average(source.Span);
}
public static double Average(this Span<double> source)
{
return Average((ReadOnlySpan<double>)source);
}
public static double Average(this ReadOnlySpan<double> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (double* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector2 Average(this Vector2[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (Vector2* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector2 Average(this List<Vector2> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (Vector2* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static Vector2 Average(this Memory<Vector2> source)
{
return Average((ReadOnlySpan<Vector2>)source.Span);
}
public static Vector2 Average(this ReadOnlyMemory<Vector2> source)
{
return Average(source.Span);
}
public static Vector2 Average(this Span<Vector2> source)
{
return Average((ReadOnlySpan<Vector2>)source);
}
public static Vector2 Average(this ReadOnlySpan<Vector2> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (Vector2* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector2 Average(this Vector2Int[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (Vector2Int* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector2 Average(this List<Vector2Int> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (Vector2Int* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static Vector2 Average(this Memory<Vector2Int> source)
{
return Average((ReadOnlySpan<Vector2Int>)source.Span);
}
public static Vector2 Average(this ReadOnlyMemory<Vector2Int> source)
{
return Average(source.Span);
}
public static Vector2 Average(this Span<Vector2Int> source)
{
return Average((ReadOnlySpan<Vector2Int>)source);
}
public static Vector2 Average(this ReadOnlySpan<Vector2Int> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (Vector2Int* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector3 Average(this Vector3[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (Vector3* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector3 Average(this List<Vector3> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (Vector3* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static Vector3 Average(this Memory<Vector3> source)
{
return Average((ReadOnlySpan<Vector3>)source.Span);
}
public static Vector3 Average(this ReadOnlyMemory<Vector3> source)
{
return Average(source.Span);
}
public static Vector3 Average(this Span<Vector3> source)
{
return Average((ReadOnlySpan<Vector3>)source);
}
public static Vector3 Average(this ReadOnlySpan<Vector3> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (Vector3* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector3 Average(this Vector3Int[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (Vector3Int* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector3 Average(this List<Vector3Int> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (Vector3Int* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static Vector3 Average(this Memory<Vector3Int> source)
{
return Average((ReadOnlySpan<Vector3Int>)source.Span);
}
public static Vector3 Average(this ReadOnlyMemory<Vector3Int> source)
{
return Average(source.Span);
}
public static Vector3 Average(this Span<Vector3Int> source)
{
return Average((ReadOnlySpan<Vector3Int>)source);
}
public static Vector3 Average(this ReadOnlySpan<Vector3Int> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (Vector3Int* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector4 Average(this Vector4[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (Vector4* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static Vector4 Average(this List<Vector4> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (Vector4* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static Vector4 Average(this Memory<Vector4> source)
{
return Average((ReadOnlySpan<Vector4>)source.Span);
}
public static Vector4 Average(this ReadOnlyMemory<Vector4> source)
{
return Average(source.Span);
}
public static Vector4 Average(this Span<Vector4> source)
{
return Average((ReadOnlySpan<Vector4>)source);
}
public static Vector4 Average(this ReadOnlySpan<Vector4> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (Vector4* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double2 Average(this int2[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (int2* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double2 Average(this List<int2> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (int2* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double2 Average(this Memory<int2> source)
{
return Average((ReadOnlySpan<int2>)source.Span);
}
public static double2 Average(this ReadOnlyMemory<int2> source)
{
return Average(source.Span);
}
public static double2 Average(this Span<int2> source)
{
return Average((ReadOnlySpan<int2>)source);
}
public static double2 Average(this ReadOnlySpan<int2> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (int2* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double3 Average(this int3[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (int3* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double3 Average(this List<int3> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (int3* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double3 Average(this Memory<int3> source)
{
return Average((ReadOnlySpan<int3>)source.Span);
}
public static double3 Average(this ReadOnlyMemory<int3> source)
{
return Average(source.Span);
}
public static double3 Average(this Span<int3> source)
{
return Average((ReadOnlySpan<int3>)source);
}
public static double3 Average(this ReadOnlySpan<int3> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (int3* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double4 Average(this int4[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (int4* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double4 Average(this List<int4> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (int4* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double4 Average(this Memory<int4> source)
{
return Average((ReadOnlySpan<int4>)source.Span);
}
public static double4 Average(this ReadOnlyMemory<int4> source)
{
return Average(source.Span);
}
public static double4 Average(this Span<int4> source)
{
return Average((ReadOnlySpan<int4>)source);
}
public static double4 Average(this ReadOnlySpan<int4> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (int4* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static float2 Average(this float2[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (float2* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static float2 Average(this List<float2> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (float2* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static float2 Average(this Memory<float2> source)
{
return Average((ReadOnlySpan<float2>)source.Span);
}
public static float2 Average(this ReadOnlyMemory<float2> source)
{
return Average(source.Span);
}
public static float2 Average(this Span<float2> source)
{
return Average((ReadOnlySpan<float2>)source);
}
public static float2 Average(this ReadOnlySpan<float2> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (float2* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static float3 Average(this float3[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (float3* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static float3 Average(this List<float3> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (float3* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static float3 Average(this Memory<float3> source)
{
return Average((ReadOnlySpan<float3>)source.Span);
}
public static float3 Average(this ReadOnlyMemory<float3> source)
{
return Average(source.Span);
}
public static float3 Average(this Span<float3> source)
{
return Average((ReadOnlySpan<float3>)source);
}
public static float3 Average(this ReadOnlySpan<float3> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (float3* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static float4 Average(this float4[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (float4* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static float4 Average(this List<float4> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (float4* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static float4 Average(this Memory<float4> source)
{
return Average((ReadOnlySpan<float4>)source.Span);
}
public static float4 Average(this ReadOnlyMemory<float4> source)
{
return Average(source.Span);
}
public static float4 Average(this Span<float4> source)
{
return Average((ReadOnlySpan<float4>)source);
}
public static float4 Average(this ReadOnlySpan<float4> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (float4* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double2 Average(this double2[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (double2* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double2 Average(this List<double2> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (double2* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double2 Average(this Memory<double2> source)
{
return Average((ReadOnlySpan<double2>)source.Span);
}
public static double2 Average(this ReadOnlyMemory<double2> source)
{
return Average(source.Span);
}
public static double2 Average(this Span<double2> source)
{
return Average((ReadOnlySpan<double2>)source);
}
public static double2 Average(this ReadOnlySpan<double2> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (double2* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double3 Average(this double3[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (double3* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double3 Average(this List<double3> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (double3* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double3 Average(this Memory<double3> source)
{
return Average((ReadOnlySpan<double3>)source.Span);
}
public static double3 Average(this ReadOnlyMemory<double3> source)
{
return Average(source.Span);
}
public static double3 Average(this Span<double3> source)
{
return Average((ReadOnlySpan<double3>)source);
}
public static double3 Average(this ReadOnlySpan<double3> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (double3* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double4 Average(this double4[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (double4* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static double4 Average(this List<double4> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (double4* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static double4 Average(this Memory<double4> source)
{
return Average((ReadOnlySpan<double4>)source.Span);
}
public static double4 Average(this ReadOnlyMemory<double4> source)
{
return Average(source.Span);
}
public static double4 Average(this Span<double4> source)
{
return Average((ReadOnlySpan<double4>)source);
}
public static double4 Average(this ReadOnlySpan<double4> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (double4* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.cs.meta
================================================
fileFormatVersion: 2
guid: 78fa11b0b39df45cf92985561e609461
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.tt
================================================
<#@ template language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #>
<#
var types = new string[]
{
"int", "uint", "long", "ulong", "float", "double",
"Vector2", "Vector2Int", "Vector3", "Vector3Int", "Vector4",
"int2", "int3", "int4",
"float2", "float3", "float4",
"double2", "double3", "double4",
};
System.Func<string, string> retType = (string x) =>
{
switch (x)
{
default: return "double";
case "float": return "float";
case "Vector2":
case "Vector2Int": return "Vector2";
case "Vector3":
case "Vector3Int": return "Vector3";
case "Vector4": return "Vector4";
case "float2": return "float2";
case "float3": return "float3";
case "float4": return "float4";
case "int2":
case "double2": return "double2";
case "int3":
case "double3": return "double3";
case "int4":
case "double4": return "double4";
}
return "";
};
#>
using System;
using System.Collections.Generic;
using Unity.Collections;
using Unity.Mathematics;
using UnityEngine;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
<# foreach(var type in types) { #>
public static <#=retType(type)#> Average(this <#=type#>[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (<#=type#>* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
public static <#=retType(type)#> Average(this List<<#=type#>> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (<#=type#>* ptr = span)
{
AverageCore(ptr, source.Count, out var result);
return result;
}
}
public static <#=retType(type)#> Average(this Memory<<#=type#>> source)
{
return Average((ReadOnlySpan<<#=type#>>)source.Span);
}
public static <#=retType(type)#> Average(this ReadOnlyMemory<<#=type#>> source)
{
return Average(source.Span);
}
public static <#=retType(type)#> Average(this Span<<#=type#>> source)
{
return Average((ReadOnlySpan<<#=type#>>)source);
}
public static <#=retType(type)#> Average(this ReadOnlySpan<<#=type#>> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (<#=type#>* ptr = source)
{
AverageCore(ptr, source.Length, out var result);
return result;
}
}
<# } #>
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.tt.meta
================================================
fileFormatVersion: 2
guid: 21e144b8b72bb4e0f842d711c313d4c4
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.cs
================================================
using System;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEngine;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
public static bool Contains(this byte[] source, byte value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (byte* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<byte> source, byte value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (byte* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<byte> source, byte value)
{
return Contains((ReadOnlySpan<byte>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<byte> source, byte value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<byte> source, byte value)
{
return Contains((ReadOnlySpan<byte>)source, value);
}
public static bool Contains(this ReadOnlySpan<byte> source, byte value)
{
if (source.IsEmpty) return false;
fixed (byte* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this sbyte[] source, sbyte value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (sbyte* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<sbyte> source, sbyte value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (sbyte* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<sbyte> source, sbyte value)
{
return Contains((ReadOnlySpan<sbyte>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<sbyte> source, sbyte value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<sbyte> source, sbyte value)
{
return Contains((ReadOnlySpan<sbyte>)source, value);
}
public static bool Contains(this ReadOnlySpan<sbyte> source, sbyte value)
{
if (source.IsEmpty) return false;
fixed (sbyte* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this short[] source, short value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (short* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<short> source, short value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (short* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<short> source, short value)
{
return Contains((ReadOnlySpan<short>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<short> source, short value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<short> source, short value)
{
return Contains((ReadOnlySpan<short>)source, value);
}
public static bool Contains(this ReadOnlySpan<short> source, short value)
{
if (source.IsEmpty) return false;
fixed (short* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this ushort[] source, ushort value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (ushort* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<ushort> source, ushort value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (ushort* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<ushort> source, ushort value)
{
return Contains((ReadOnlySpan<ushort>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<ushort> source, ushort value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<ushort> source, ushort value)
{
return Contains((ReadOnlySpan<ushort>)source, value);
}
public static bool Contains(this ReadOnlySpan<ushort> source, ushort value)
{
if (source.IsEmpty) return false;
fixed (ushort* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this int[] source, int value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (int* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<int> source, int value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (int* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<int> source, int value)
{
return Contains((ReadOnlySpan<int>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<int> source, int value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<int> source, int value)
{
return Contains((ReadOnlySpan<int>)source, value);
}
public static bool Contains(this ReadOnlySpan<int> source, int value)
{
if (source.IsEmpty) return false;
fixed (int* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this uint[] source, uint value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (uint* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<uint> source, uint value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (uint* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<uint> source, uint value)
{
return Contains((ReadOnlySpan<uint>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<uint> source, uint value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<uint> source, uint value)
{
return Contains((ReadOnlySpan<uint>)source, value);
}
public static bool Contains(this ReadOnlySpan<uint> source, uint value)
{
if (source.IsEmpty) return false;
fixed (uint* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this long[] source, long value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (long* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<long> source, long value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (long* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<long> source, long value)
{
return Contains((ReadOnlySpan<long>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<long> source, long value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<long> source, long value)
{
return Contains((ReadOnlySpan<long>)source, value);
}
public static bool Contains(this ReadOnlySpan<long> source, long value)
{
if (source.IsEmpty) return false;
fixed (long* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this ulong[] source, ulong value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (ulong* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<ulong> source, ulong value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (ulong* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<ulong> source, ulong value)
{
return Contains((ReadOnlySpan<ulong>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<ulong> source, ulong value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<ulong> source, ulong value)
{
return Contains((ReadOnlySpan<ulong>)source, value);
}
public static bool Contains(this ReadOnlySpan<ulong> source, ulong value)
{
if (source.IsEmpty) return false;
fixed (ulong* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this float[] source, float value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (float* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<float> source, float value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (float* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<float> source, float value)
{
return Contains((ReadOnlySpan<float>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<float> source, float value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<float> source, float value)
{
return Contains((ReadOnlySpan<float>)source, value);
}
public static bool Contains(this ReadOnlySpan<float> source, float value)
{
if (source.IsEmpty) return false;
fixed (float* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this double[] source, double value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (double* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<double> source, double value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (double* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<double> source, double value)
{
return Contains((ReadOnlySpan<double>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<double> source, double value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<double> source, double value)
{
return Contains((ReadOnlySpan<double>)source, value);
}
public static bool Contains(this ReadOnlySpan<double> source, double value)
{
if (source.IsEmpty) return false;
fixed (double* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this Vector2[] source, Vector2 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (Vector2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<Vector2> source, Vector2 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (Vector2* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<Vector2> source, Vector2 value)
{
return Contains((ReadOnlySpan<Vector2>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<Vector2> source, Vector2 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<Vector2> source, Vector2 value)
{
return Contains((ReadOnlySpan<Vector2>)source, value);
}
public static bool Contains(this ReadOnlySpan<Vector2> source, Vector2 value)
{
if (source.IsEmpty) return false;
fixed (Vector2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this Vector2Int[] source, Vector2Int value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (Vector2Int* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<Vector2Int> source, Vector2Int value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (Vector2Int* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<Vector2Int> source, Vector2Int value)
{
return Contains((ReadOnlySpan<Vector2Int>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<Vector2Int> source, Vector2Int value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<Vector2Int> source, Vector2Int value)
{
return Contains((ReadOnlySpan<Vector2Int>)source, value);
}
public static bool Contains(this ReadOnlySpan<Vector2Int> source, Vector2Int value)
{
if (source.IsEmpty) return false;
fixed (Vector2Int* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this Vector3[] source, Vector3 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (Vector3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<Vector3> source, Vector3 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (Vector3* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<Vector3> source, Vector3 value)
{
return Contains((ReadOnlySpan<Vector3>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<Vector3> source, Vector3 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<Vector3> source, Vector3 value)
{
return Contains((ReadOnlySpan<Vector3>)source, value);
}
public static bool Contains(this ReadOnlySpan<Vector3> source, Vector3 value)
{
if (source.IsEmpty) return false;
fixed (Vector3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this Vector3Int[] source, Vector3Int value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (Vector3Int* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<Vector3Int> source, Vector3Int value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (Vector3Int* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<Vector3Int> source, Vector3Int value)
{
return Contains((ReadOnlySpan<Vector3Int>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<Vector3Int> source, Vector3Int value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<Vector3Int> source, Vector3Int value)
{
return Contains((ReadOnlySpan<Vector3Int>)source, value);
}
public static bool Contains(this ReadOnlySpan<Vector3Int> source, Vector3Int value)
{
if (source.IsEmpty) return false;
fixed (Vector3Int* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this Vector4[] source, Vector4 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (Vector4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<Vector4> source, Vector4 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (Vector4* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<Vector4> source, Vector4 value)
{
return Contains((ReadOnlySpan<Vector4>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<Vector4> source, Vector4 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<Vector4> source, Vector4 value)
{
return Contains((ReadOnlySpan<Vector4>)source, value);
}
public static bool Contains(this ReadOnlySpan<Vector4> source, Vector4 value)
{
if (source.IsEmpty) return false;
fixed (Vector4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this int2[] source, int2 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (int2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<int2> source, int2 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (int2* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<int2> source, int2 value)
{
return Contains((ReadOnlySpan<int2>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<int2> source, int2 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<int2> source, int2 value)
{
return Contains((ReadOnlySpan<int2>)source, value);
}
public static bool Contains(this ReadOnlySpan<int2> source, int2 value)
{
if (source.IsEmpty) return false;
fixed (int2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this int3[] source, int3 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (int3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<int3> source, int3 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (int3* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<int3> source, int3 value)
{
return Contains((ReadOnlySpan<int3>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<int3> source, int3 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<int3> source, int3 value)
{
return Contains((ReadOnlySpan<int3>)source, value);
}
public static bool Contains(this ReadOnlySpan<int3> source, int3 value)
{
if (source.IsEmpty) return false;
fixed (int3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this int4[] source, int4 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (int4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<int4> source, int4 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (int4* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<int4> source, int4 value)
{
return Contains((ReadOnlySpan<int4>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<int4> source, int4 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<int4> source, int4 value)
{
return Contains((ReadOnlySpan<int4>)source, value);
}
public static bool Contains(this ReadOnlySpan<int4> source, int4 value)
{
if (source.IsEmpty) return false;
fixed (int4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this uint2[] source, uint2 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (uint2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<uint2> source, uint2 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (uint2* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<uint2> source, uint2 value)
{
return Contains((ReadOnlySpan<uint2>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<uint2> source, uint2 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<uint2> source, uint2 value)
{
return Contains((ReadOnlySpan<uint2>)source, value);
}
public static bool Contains(this ReadOnlySpan<uint2> source, uint2 value)
{
if (source.IsEmpty) return false;
fixed (uint2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this uint3[] source, uint3 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (uint3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<uint3> source, uint3 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (uint3* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<uint3> source, uint3 value)
{
return Contains((ReadOnlySpan<uint3>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<uint3> source, uint3 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<uint3> source, uint3 value)
{
return Contains((ReadOnlySpan<uint3>)source, value);
}
public static bool Contains(this ReadOnlySpan<uint3> source, uint3 value)
{
if (source.IsEmpty) return false;
fixed (uint3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this uint4[] source, uint4 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (uint4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<uint4> source, uint4 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (uint4* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<uint4> source, uint4 value)
{
return Contains((ReadOnlySpan<uint4>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<uint4> source, uint4 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<uint4> source, uint4 value)
{
return Contains((ReadOnlySpan<uint4>)source, value);
}
public static bool Contains(this ReadOnlySpan<uint4> source, uint4 value)
{
if (source.IsEmpty) return false;
fixed (uint4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this float2[] source, float2 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (float2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<float2> source, float2 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (float2* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<float2> source, float2 value)
{
return Contains((ReadOnlySpan<float2>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<float2> source, float2 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<float2> source, float2 value)
{
return Contains((ReadOnlySpan<float2>)source, value);
}
public static bool Contains(this ReadOnlySpan<float2> source, float2 value)
{
if (source.IsEmpty) return false;
fixed (float2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this float3[] source, float3 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (float3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<float3> source, float3 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (float3* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<float3> source, float3 value)
{
return Contains((ReadOnlySpan<float3>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<float3> source, float3 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<float3> source, float3 value)
{
return Contains((ReadOnlySpan<float3>)source, value);
}
public static bool Contains(this ReadOnlySpan<float3> source, float3 value)
{
if (source.IsEmpty) return false;
fixed (float3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this float4[] source, float4 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (float4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<float4> source, float4 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (float4* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<float4> source, float4 value)
{
return Contains((ReadOnlySpan<float4>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<float4> source, float4 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<float4> source, float4 value)
{
return Contains((ReadOnlySpan<float4>)source, value);
}
public static bool Contains(this ReadOnlySpan<float4> source, float4 value)
{
if (source.IsEmpty) return false;
fixed (float4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this double2[] source, double2 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (double2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<double2> source, double2 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (double2* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<double2> source, double2 value)
{
return Contains((ReadOnlySpan<double2>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<double2> source, double2 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<double2> source, double2 value)
{
return Contains((ReadOnlySpan<double2>)source, value);
}
public static bool Contains(this ReadOnlySpan<double2> source, double2 value)
{
if (source.IsEmpty) return false;
fixed (double2* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this double3[] source, double3 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (double3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<double3> source, double3 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (double3* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<double3> source, double3 value)
{
return Contains((ReadOnlySpan<double3>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<double3> source, double3 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<double3> source, double3 value)
{
return Contains((ReadOnlySpan<double3>)source, value);
}
public static bool Contains(this ReadOnlySpan<double3> source, double3 value)
{
if (source.IsEmpty) return false;
fixed (double3* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this double4[] source, double4 value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (double4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<double4> source, double4 value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (double4* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<double4> source, double4 value)
{
return Contains((ReadOnlySpan<double4>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<double4> source, double4 value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<double4> source, double4 value)
{
return Contains((ReadOnlySpan<double4>)source, value);
}
public static bool Contains(this ReadOnlySpan<double4> source, double4 value)
{
if (source.IsEmpty) return false;
fixed (double4* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.cs.meta
================================================
fileFormatVersion: 2
guid: d9eb388d44f6c4009b8413bbef734ae2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.tt
================================================
<#@ template language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #>
<#
var types = new string[]
{
"byte", "sbyte", "short", "ushort", "int", "uint", "long", "ulong", "float", "double",
"Vector2", "Vector2Int", "Vector3", "Vector3Int", "Vector4",
"int2", "int3", "int4",
"uint2", "uint3", "uint4",
"float2", "float3", "float4",
"double2", "double3", "double4",
};
#>
using System;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEngine;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
<# foreach(var type in types) { #>
public static bool Contains(this <#=type#>[] source, <#=type#> value)
{
Error.ThrowIfNull(source);
if (source.Length == 0) return false;
fixed (<#=type#>* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
public static bool Contains(this List<<#=type#>> source, <#=type#> value)
{
Error.ThrowIfNull(source);
if (source.Count == 0) return false;
var span = SpanHelper.AsSpan(source);
fixed (<#=type#>* ptr = span)
{
return ContainsCore(ptr, source.Count, value);
}
}
public static bool Contains(this Memory<<#=type#>> source, <#=type#> value)
{
return Contains((ReadOnlySpan<<#=type#>>)source.Span, value);
}
public static bool Contains(this ReadOnlyMemory<<#=type#>> source, <#=type#> value)
{
return Contains(source.Span, value);
}
public static bool Contains(this Span<<#=type#>> source, <#=type#> value)
{
return Contains((ReadOnlySpan<<#=type#>>)source, value);
}
public static bool Contains(this ReadOnlySpan<<#=type#>> source, <#=type#> value)
{
if (source.IsEmpty) return false;
fixed (<#=type#>* ptr = source)
{
return ContainsCore(ptr, source.Length, value);
}
}
<# } #>
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.tt.meta
================================================
fileFormatVersion: 2
guid: 09d9091d25ab146cd83aa6bd009f5fb9
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.cs
================================================
using System;
using System.Collections.Generic;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
public static byte Max(this byte[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (byte* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static byte Max(this List<byte> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (byte* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static byte Max(this Memory<byte> source)
{
return Max((ReadOnlySpan<byte>)source.Span);
}
public static byte Max(this ReadOnlyMemory<byte> source)
{
return Max(source.Span);
}
public static byte Max(this Span<byte> source)
{
return Max((ReadOnlySpan<byte>)source);
}
public static byte Max(this ReadOnlySpan<byte> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (byte* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static sbyte Max(this sbyte[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (sbyte* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static sbyte Max(this List<sbyte> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (sbyte* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static sbyte Max(this Memory<sbyte> source)
{
return Max((ReadOnlySpan<sbyte>)source.Span);
}
public static sbyte Max(this ReadOnlyMemory<sbyte> source)
{
return Max(source.Span);
}
public static sbyte Max(this Span<sbyte> source)
{
return Max((ReadOnlySpan<sbyte>)source);
}
public static sbyte Max(this ReadOnlySpan<sbyte> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (sbyte* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static short Max(this short[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (short* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static short Max(this List<short> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (short* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static short Max(this Memory<short> source)
{
return Max((ReadOnlySpan<short>)source.Span);
}
public static short Max(this ReadOnlyMemory<short> source)
{
return Max(source.Span);
}
public static short Max(this Span<short> source)
{
return Max((ReadOnlySpan<short>)source);
}
public static short Max(this ReadOnlySpan<short> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (short* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static ushort Max(this ushort[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (ushort* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static ushort Max(this List<ushort> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (ushort* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static ushort Max(this Memory<ushort> source)
{
return Max((ReadOnlySpan<ushort>)source.Span);
}
public static ushort Max(this ReadOnlyMemory<ushort> source)
{
return Max(source.Span);
}
public static ushort Max(this Span<ushort> source)
{
return Max((ReadOnlySpan<ushort>)source);
}
public static ushort Max(this ReadOnlySpan<ushort> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (ushort* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static int Max(this int[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (int* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static int Max(this List<int> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (int* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static int Max(this Memory<int> source)
{
return Max((ReadOnlySpan<int>)source.Span);
}
public static int Max(this ReadOnlyMemory<int> source)
{
return Max(source.Span);
}
public static int Max(this Span<int> source)
{
return Max((ReadOnlySpan<int>)source);
}
public static int Max(this ReadOnlySpan<int> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (int* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static uint Max(this uint[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (uint* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static uint Max(this List<uint> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (uint* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static uint Max(this Memory<uint> source)
{
return Max((ReadOnlySpan<uint>)source.Span);
}
public static uint Max(this ReadOnlyMemory<uint> source)
{
return Max(source.Span);
}
public static uint Max(this Span<uint> source)
{
return Max((ReadOnlySpan<uint>)source);
}
public static uint Max(this ReadOnlySpan<uint> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (uint* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static long Max(this long[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (long* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static long Max(this List<long> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (long* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static long Max(this Memory<long> source)
{
return Max((ReadOnlySpan<long>)source.Span);
}
public static long Max(this ReadOnlyMemory<long> source)
{
return Max(source.Span);
}
public static long Max(this Span<long> source)
{
return Max((ReadOnlySpan<long>)source);
}
public static long Max(this ReadOnlySpan<long> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (long* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static ulong Max(this ulong[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (ulong* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static ulong Max(this List<ulong> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (ulong* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static ulong Max(this Memory<ulong> source)
{
return Max((ReadOnlySpan<ulong>)source.Span);
}
public static ulong Max(this ReadOnlyMemory<ulong> source)
{
return Max(source.Span);
}
public static ulong Max(this Span<ulong> source)
{
return Max((ReadOnlySpan<ulong>)source);
}
public static ulong Max(this ReadOnlySpan<ulong> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (ulong* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static float Max(this float[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (float* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static float Max(this List<float> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (float* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static float Max(this Memory<float> source)
{
return Max((ReadOnlySpan<float>)source.Span);
}
public static float Max(this ReadOnlyMemory<float> source)
{
return Max(source.Span);
}
public static float Max(this Span<float> source)
{
return Max((ReadOnlySpan<float>)source);
}
public static float Max(this ReadOnlySpan<float> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (float* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static double Max(this double[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (double* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static double Max(this List<double> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (double* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static double Max(this Memory<double> source)
{
return Max((ReadOnlySpan<double>)source.Span);
}
public static double Max(this ReadOnlyMemory<double> source)
{
return Max(source.Span);
}
public static double Max(this Span<double> source)
{
return Max((ReadOnlySpan<double>)source);
}
public static double Max(this ReadOnlySpan<double> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (double* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.cs.meta
================================================
fileFormatVersion: 2
guid: b45de311116c143618fe3131431441f3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.tt
================================================
<#@ template language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #>
<#
var types = new string[]
{
"byte", "sbyte", "short", "ushort", "int", "uint", "long", "ulong", "float", "double"
};
#>
using System;
using System.Collections.Generic;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
<# foreach(var type in types) { #>
public static <#=type#> Max(this <#=type#>[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (<#=type#>* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
public static <#=type#> Max(this List<<#=type#>> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (<#=type#>* ptr = span)
{
MaxCore(ptr, source.Count, out var result);
return result;
}
}
public static <#=type#> Max(this Memory<<#=type#>> source)
{
return Max((ReadOnlySpan<<#=type#>>)source.Span);
}
public static <#=type#> Max(this ReadOnlyMemory<<#=type#>> source)
{
return Max(source.Span);
}
public static <#=type#> Max(this Span<<#=type#>> source)
{
return Max((ReadOnlySpan<<#=type#>>)source);
}
public static <#=type#> Max(this ReadOnlySpan<<#=type#>> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (<#=type#>* ptr = source)
{
MaxCore(ptr, source.Length, out var result);
return result;
}
}
<# } #>
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.tt.meta
================================================
fileFormatVersion: 2
guid: 689524d35dd334b42bdcb35388d0cd48
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.cs
================================================
using System;
using System.Collections.Generic;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
public static byte Min(this byte[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (byte* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static byte Min(this List<byte> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (byte* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static byte Min(this Memory<byte> source)
{
return Min((ReadOnlySpan<byte>)source.Span);
}
public static byte Min(this ReadOnlyMemory<byte> source)
{
return Min(source.Span);
}
public static byte Min(this Span<byte> source)
{
return Min((ReadOnlySpan<byte>)source);
}
public static byte Min(this ReadOnlySpan<byte> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (byte* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static sbyte Min(this sbyte[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (sbyte* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static sbyte Min(this List<sbyte> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (sbyte* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static sbyte Min(this Memory<sbyte> source)
{
return Min((ReadOnlySpan<sbyte>)source.Span);
}
public static sbyte Min(this ReadOnlyMemory<sbyte> source)
{
return Min(source.Span);
}
public static sbyte Min(this Span<sbyte> source)
{
return Min((ReadOnlySpan<sbyte>)source);
}
public static sbyte Min(this ReadOnlySpan<sbyte> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (sbyte* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static short Min(this short[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (short* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static short Min(this List<short> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (short* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static short Min(this Memory<short> source)
{
return Min((ReadOnlySpan<short>)source.Span);
}
public static short Min(this ReadOnlyMemory<short> source)
{
return Min(source.Span);
}
public static short Min(this Span<short> source)
{
return Min((ReadOnlySpan<short>)source);
}
public static short Min(this ReadOnlySpan<short> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (short* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static ushort Min(this ushort[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (ushort* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static ushort Min(this List<ushort> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (ushort* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static ushort Min(this Memory<ushort> source)
{
return Min((ReadOnlySpan<ushort>)source.Span);
}
public static ushort Min(this ReadOnlyMemory<ushort> source)
{
return Min(source.Span);
}
public static ushort Min(this Span<ushort> source)
{
return Min((ReadOnlySpan<ushort>)source);
}
public static ushort Min(this ReadOnlySpan<ushort> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (ushort* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static int Min(this int[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (int* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static int Min(this List<int> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (int* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static int Min(this Memory<int> source)
{
return Min((ReadOnlySpan<int>)source.Span);
}
public static int Min(this ReadOnlyMemory<int> source)
{
return Min(source.Span);
}
public static int Min(this Span<int> source)
{
return Min((ReadOnlySpan<int>)source);
}
public static int Min(this ReadOnlySpan<int> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (int* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static uint Min(this uint[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (uint* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static uint Min(this List<uint> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (uint* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static uint Min(this Memory<uint> source)
{
return Min((ReadOnlySpan<uint>)source.Span);
}
public static uint Min(this ReadOnlyMemory<uint> source)
{
return Min(source.Span);
}
public static uint Min(this Span<uint> source)
{
return Min((ReadOnlySpan<uint>)source);
}
public static uint Min(this ReadOnlySpan<uint> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (uint* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static long Min(this long[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (long* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static long Min(this List<long> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (long* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static long Min(this Memory<long> source)
{
return Min((ReadOnlySpan<long>)source.Span);
}
public static long Min(this ReadOnlyMemory<long> source)
{
return Min(source.Span);
}
public static long Min(this Span<long> source)
{
return Min((ReadOnlySpan<long>)source);
}
public static long Min(this ReadOnlySpan<long> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (long* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static ulong Min(this ulong[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (ulong* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static ulong Min(this List<ulong> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (ulong* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static ulong Min(this Memory<ulong> source)
{
return Min((ReadOnlySpan<ulong>)source.Span);
}
public static ulong Min(this ReadOnlyMemory<ulong> source)
{
return Min(source.Span);
}
public static ulong Min(this Span<ulong> source)
{
return Min((ReadOnlySpan<ulong>)source);
}
public static ulong Min(this ReadOnlySpan<ulong> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (ulong* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static float Min(this float[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (float* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static float Min(this List<float> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (float* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static float Min(this Memory<float> source)
{
return Min((ReadOnlySpan<float>)source.Span);
}
public static float Min(this ReadOnlyMemory<float> source)
{
return Min(source.Span);
}
public static float Min(this Span<float> source)
{
return Min((ReadOnlySpan<float>)source);
}
public static float Min(this ReadOnlySpan<float> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (float* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static double Min(this double[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (double* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static double Min(this List<double> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (double* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static double Min(this Memory<double> source)
{
return Min((ReadOnlySpan<double>)source.Span);
}
public static double Min(this ReadOnlyMemory<double> source)
{
return Min(source.Span);
}
public static double Min(this Span<double> source)
{
return Min((ReadOnlySpan<double>)source);
}
public static double Min(this ReadOnlySpan<double> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (double* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.cs.meta
================================================
fileFormatVersion: 2
guid: fd1e1e3cb6ec34036bcba189c14dce1a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.tt
================================================
<#@ template language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #>
<#
var types = new string[]
{
"byte", "sbyte", "short", "ushort", "int", "uint", "long", "ulong", "float", "double"
};
#>
using System;
using System.Collections.Generic;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
<# foreach(var type in types) { #>
public static <#=type#> Min(this <#=type#>[] source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Length);
fixed (<#=type#>* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
public static <#=type#> Min(this List<<#=type#>> source)
{
Error.ThrowIfNull(source);
Error.ThrowIfEmpty(source.Count);
var span = SpanHelper.AsSpan(source);
fixed (<#=type#>* ptr = span)
{
MinCore(ptr, source.Count, out var result);
return result;
}
}
public static <#=type#> Min(this Memory<<#=type#>> source)
{
return Min((ReadOnlySpan<<#=type#>>)source.Span);
}
public static <#=type#> Min(this ReadOnlyMemory<<#=type#>> source)
{
return Min(source.Span);
}
public static <#=type#> Min(this Span<<#=type#>> source)
{
return Min((ReadOnlySpan<<#=type#>>)source);
}
public static <#=type#> Min(this ReadOnlySpan<<#=type#>> source)
{
Error.ThrowIfEmpty(source.IsEmpty);
fixed (<#=type#>* ptr = source)
{
MinCore(ptr, source.Length, out var result);
return result;
}
}
<# } #>
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.tt.meta
================================================
fileFormatVersion: 2
guid: 89ff07cc368864015b25aad430a8b665
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.cs
================================================
using Unity.Burst;
using Unity.Burst.CompilerServices;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Mathematics;
using UnityEngine;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
public static double Average(this NativeList<int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeSlice<int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeArray<int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(int* ptr, [AssumeRange(1, int.MaxValue)] int length, out double result)
{
SumCore(ptr, length, out var sum);
result = (double)sum / length;
}
public static double Average(this NativeList<uint> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((uint*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeSlice<uint> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((uint*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeArray<uint> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((uint*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(uint* ptr, [AssumeRange(1, int.MaxValue)] int length, out double result)
{
SumCore(ptr, length, out var sum);
result = (double)sum / length;
}
public static double Average(this NativeList<long> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((long*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeSlice<long> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((long*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeArray<long> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((long*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(long* ptr, [AssumeRange(1, int.MaxValue)] int length, out double result)
{
SumCore(ptr, length, out var sum);
result = (double)sum / length;
}
public static double Average(this NativeList<ulong> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((ulong*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeSlice<ulong> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((ulong*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeArray<ulong> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((ulong*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(ulong* ptr, [AssumeRange(1, int.MaxValue)] int length, out double result)
{
SumCore(ptr, length, out var sum);
result = (double)sum / length;
}
public static float Average(this NativeList<float> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float Average(this NativeSlice<float> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float Average(this NativeArray<float> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(float* ptr, [AssumeRange(1, int.MaxValue)] int length, out float result)
{
SumCore(ptr, length, out var sum);
result = (float)sum / length;
}
public static double Average(this NativeList<double> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeSlice<double> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double Average(this NativeArray<double> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(double* ptr, [AssumeRange(1, int.MaxValue)] int length, out double result)
{
SumCore(ptr, length, out var sum);
result = (double)sum / length;
}
public static Vector2 Average(this NativeList<Vector2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector2 Average(this NativeSlice<Vector2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector2 Average(this NativeArray<Vector2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(Vector2* ptr, [AssumeRange(1, int.MaxValue)] int length, out Vector2 result)
{
SumCore(ptr, length, out var sum);
result = (Vector2)sum / length;
}
public static Vector2 Average(this NativeList<Vector2Int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector2Int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector2 Average(this NativeSlice<Vector2Int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector2Int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector2 Average(this NativeArray<Vector2Int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector2Int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(Vector2Int* ptr, [AssumeRange(1, int.MaxValue)] int length, out Vector2 result)
{
SumCore(ptr, length, out var sum);
result = (Vector2)sum / length;
}
public static Vector3 Average(this NativeList<Vector3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector3 Average(this NativeSlice<Vector3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector3 Average(this NativeArray<Vector3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(Vector3* ptr, [AssumeRange(1, int.MaxValue)] int length, out Vector3 result)
{
SumCore(ptr, length, out var sum);
result = (Vector3)sum / length;
}
public static Vector3 Average(this NativeList<Vector3Int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector3Int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector3 Average(this NativeSlice<Vector3Int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector3Int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector3 Average(this NativeArray<Vector3Int> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector3Int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(Vector3Int* ptr, [AssumeRange(1, int.MaxValue)] int length, out Vector3 result)
{
SumCore(ptr, length, out var sum);
result = (Vector3)sum / length;
}
public static Vector4 Average(this NativeList<Vector4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector4 Average(this NativeSlice<Vector4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static Vector4 Average(this NativeArray<Vector4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((Vector4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(Vector4* ptr, [AssumeRange(1, int.MaxValue)] int length, out Vector4 result)
{
SumCore(ptr, length, out var sum);
result = (Vector4)sum / length;
}
public static double2 Average(this NativeList<int2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double2 Average(this NativeSlice<int2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double2 Average(this NativeArray<int2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(int2* ptr, [AssumeRange(1, int.MaxValue)] int length, out double2 result)
{
SumCore(ptr, length, out var sum);
result = (double2)sum / length;
}
public static double3 Average(this NativeList<int3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double3 Average(this NativeSlice<int3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double3 Average(this NativeArray<int3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(int3* ptr, [AssumeRange(1, int.MaxValue)] int length, out double3 result)
{
SumCore(ptr, length, out var sum);
result = (double3)sum / length;
}
public static double4 Average(this NativeList<int4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double4 Average(this NativeSlice<int4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double4 Average(this NativeArray<int4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((int4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(int4* ptr, [AssumeRange(1, int.MaxValue)] int length, out double4 result)
{
SumCore(ptr, length, out var sum);
result = (double4)sum / length;
}
public static float2 Average(this NativeList<float2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float2 Average(this NativeSlice<float2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float2 Average(this NativeArray<float2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(float2* ptr, [AssumeRange(1, int.MaxValue)] int length, out float2 result)
{
SumCore(ptr, length, out var sum);
result = (float2)sum / length;
}
public static float3 Average(this NativeList<float3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float3 Average(this NativeSlice<float3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float3 Average(this NativeArray<float3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(float3* ptr, [AssumeRange(1, int.MaxValue)] int length, out float3 result)
{
SumCore(ptr, length, out var sum);
result = (float3)sum / length;
}
public static float4 Average(this NativeList<float4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float4 Average(this NativeSlice<float4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float4 Average(this NativeArray<float4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((float4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(float4* ptr, [AssumeRange(1, int.MaxValue)] int length, out float4 result)
{
SumCore(ptr, length, out var sum);
result = (float4)sum / length;
}
public static double2 Average(this NativeList<double2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double2 Average(this NativeSlice<double2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double2 Average(this NativeArray<double2> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double2*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(double2* ptr, [AssumeRange(1, int.MaxValue)] int length, out double2 result)
{
SumCore(ptr, length, out var sum);
result = (double2)sum / length;
}
public static double3 Average(this NativeList<double3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double3 Average(this NativeSlice<double3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double3 Average(this NativeArray<double3> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double3*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(double3* ptr, [AssumeRange(1, int.MaxValue)] int length, out double3 result)
{
SumCore(ptr, length, out var sum);
result = (double3)sum / length;
}
public static double4 Average(this NativeList<double4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double4 Average(this NativeSlice<double4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static double4 Average(this NativeArray<double4> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((double4*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(double4* ptr, [AssumeRange(1, int.MaxValue)] int length, out double4 result)
{
SumCore(ptr, length, out var sum);
result = (double4)sum / length;
}
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.cs.meta
================================================
fileFormatVersion: 2
guid: 9395d12cf09894920aa7da73fea1d6ea
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.tt
================================================
<#@ template language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #>
<#
var types = new string[]
{
"int", "uint", "long", "ulong", "float", "double",
"Vector2", "Vector2Int", "Vector3", "Vector3Int", "Vector4",
"int2", "int3", "int4",
"float2", "float3", "float4",
"double2", "double3", "double4",
};
System.Func<string, string> retType = (string x) =>
{
switch (x)
{
default: return "double";
case "float": return "float";
case "Vector2":
case "Vector2Int": return "Vector2";
case "Vector3":
case "Vector3Int": return "Vector3";
case "Vector4": return "Vector4";
case "float2": return "float2";
case "float3": return "float3";
case "float4": return "float4";
case "int2":
case "double2": return "double2";
case "int3":
case "double3": return "double3";
case "int4":
case "double4": return "double4";
}
return "";
};
#>
using Unity.Burst;
using Unity.Burst.CompilerServices;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Mathematics;
using UnityEngine;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
<# foreach(var type in types) { #>
public static <#=retType(type)#> Average(this NativeList<<#=type#>> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((<#=type#>*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static <#=retType(type)#> Average(this NativeSlice<<#=type#>> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((<#=type#>*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static <#=retType(type)#> Average(this NativeArray<<#=type#>> source)
{
Error.ThrowIfEmpty(source.Length);
AverageCore((<#=type#>*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void AverageCore(<#=type#>* ptr, [AssumeRange(1, int.MaxValue)] int length, out <#=retType(type)#> result)
{
SumCore(ptr, length, out var sum);
result = (<#=retType(type)#>)sum / length;
}
<# } #>
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.tt.meta
================================================
fileFormatVersion: 2
guid: e45c49a2aa40348b685f1b45af887076
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.cs
================================================
using Unity.Burst;
using Unity.Burst.CompilerServices;
using Unity.Burst.Intrinsics;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Mathematics;
using UnityEngine;
using System.Runtime.CompilerServices;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
public static bool Contains(this NativeList<byte> source, byte value)
{
return ContainsCore((byte*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<byte> source, byte value)
{
return ContainsCore((byte*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<byte> source, byte value)
{
return ContainsCore((byte*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(byte* ptr, [AssumeRange(1, int.MaxValue)] int length, in byte value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(byte);
static bool32 _contains(v256 a, byte* b) => new bool32(
a.Byte0 == b[0],
a.Byte1 == b[1],
a.Byte2 == b[2],
a.Byte3 == b[3],
a.Byte4 == b[4],
a.Byte5 == b[5],
a.Byte6 == b[6],
a.Byte7 == b[7],
a.Byte8 == b[8],
a.Byte9 == b[9],
a.Byte10 == b[10],
a.Byte11 == b[11],
a.Byte12 == b[12],
a.Byte13 == b[13],
a.Byte14 == b[14],
a.Byte15 == b[15],
a.Byte16 == b[16],
a.Byte17 == b[17],
a.Byte18 == b[18],
a.Byte19 == b[19],
a.Byte20 == b[20],
a.Byte21 == b[21],
a.Byte22 == b[22],
a.Byte23 == b[23],
a.Byte24 == b[24],
a.Byte25 == b[25],
a.Byte26 == b[26],
a.Byte27 == b[27],
a.Byte28 == b[28],
a.Byte29 == b[29],
a.Byte30 == b[30],
a.Byte31 == b[31]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(byte);
static bool16 _contains(v128 a, byte* b) => new bool16(
a.Byte0 == b[0],
a.Byte1 == b[1],
a.Byte2 == b[2],
a.Byte3 == b[3],
a.Byte4 == b[4],
a.Byte5 == b[5],
a.Byte6 == b[6],
a.Byte7 == b[7],
a.Byte8 == b[8],
a.Byte9 == b[9],
a.Byte10 == b[10],
a.Byte11 == b[11],
a.Byte12 == b[12],
a.Byte13 == b[13],
a.Byte14 == b[14],
a.Byte15 == b[15]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<sbyte> source, sbyte value)
{
return ContainsCore((sbyte*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<sbyte> source, sbyte value)
{
return ContainsCore((sbyte*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<sbyte> source, sbyte value)
{
return ContainsCore((sbyte*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(sbyte* ptr, [AssumeRange(1, int.MaxValue)] int length, in sbyte value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(sbyte);
static bool32 _contains(v256 a, sbyte* b) => new bool32(
a.SByte0 == b[0],
a.SByte1 == b[1],
a.SByte2 == b[2],
a.SByte3 == b[3],
a.SByte4 == b[4],
a.SByte5 == b[5],
a.SByte6 == b[6],
a.SByte7 == b[7],
a.SByte8 == b[8],
a.SByte9 == b[9],
a.SByte10 == b[10],
a.SByte11 == b[11],
a.SByte12 == b[12],
a.SByte13 == b[13],
a.SByte14 == b[14],
a.SByte15 == b[15],
a.SByte16 == b[16],
a.SByte17 == b[17],
a.SByte18 == b[18],
a.SByte19 == b[19],
a.SByte20 == b[20],
a.SByte21 == b[21],
a.SByte22 == b[22],
a.SByte23 == b[23],
a.SByte24 == b[24],
a.SByte25 == b[25],
a.SByte26 == b[26],
a.SByte27 == b[27],
a.SByte28 == b[28],
a.SByte29 == b[29],
a.SByte30 == b[30],
a.SByte31 == b[31]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(sbyte);
static bool16 _contains(v128 a, sbyte* b) => new bool16(
a.SByte0 == b[0],
a.SByte1 == b[1],
a.SByte2 == b[2],
a.SByte3 == b[3],
a.SByte4 == b[4],
a.SByte5 == b[5],
a.SByte6 == b[6],
a.SByte7 == b[7],
a.SByte8 == b[8],
a.SByte9 == b[9],
a.SByte10 == b[10],
a.SByte11 == b[11],
a.SByte12 == b[12],
a.SByte13 == b[13],
a.SByte14 == b[14],
a.SByte15 == b[15]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<short> source, short value)
{
return ContainsCore((short*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<short> source, short value)
{
return ContainsCore((short*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<short> source, short value)
{
return ContainsCore((short*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(short* ptr, [AssumeRange(1, int.MaxValue)] int length, in short value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(short);
static bool16 _contains(v256 a, short* b) => new bool16(
a.SShort0 == b[0],
a.SShort1 == b[1],
a.SShort2 == b[2],
a.SShort3 == b[3],
a.SShort4 == b[4],
a.SShort5 == b[5],
a.SShort6 == b[6],
a.SShort7 == b[7],
a.SShort8 == b[8],
a.SShort9 == b[9],
a.SShort10 == b[10],
a.SShort11 == b[11],
a.SShort12 == b[12],
a.SShort13 == b[13],
a.SShort14 == b[14],
a.SShort15 == b[15]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(short);
static bool8 _contains(v128 a, short* b) => new bool8(
a.SShort0 == b[0],
a.SShort1 == b[1],
a.SShort2 == b[2],
a.SShort3 == b[3],
a.SShort4 == b[4],
a.SShort5 == b[5],
a.SShort6 == b[6],
a.SShort7 == b[7]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<ushort> source, ushort value)
{
return ContainsCore((ushort*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<ushort> source, ushort value)
{
return ContainsCore((ushort*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<ushort> source, ushort value)
{
return ContainsCore((ushort*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(ushort* ptr, [AssumeRange(1, int.MaxValue)] int length, in ushort value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(ushort);
static bool16 _contains(v256 a, ushort* b) => new bool16(
a.UShort0 == b[0],
a.UShort1 == b[1],
a.UShort2 == b[2],
a.UShort3 == b[3],
a.UShort4 == b[4],
a.UShort5 == b[5],
a.UShort6 == b[6],
a.UShort7 == b[7],
a.UShort8 == b[8],
a.UShort9 == b[9],
a.UShort10 == b[10],
a.UShort11 == b[11],
a.UShort12 == b[12],
a.UShort13 == b[13],
a.UShort14 == b[14],
a.UShort15 == b[15]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(ushort);
static bool8 _contains(v128 a, ushort* b) => new bool8(
a.UShort0 == b[0],
a.UShort1 == b[1],
a.UShort2 == b[2],
a.UShort3 == b[3],
a.UShort4 == b[4],
a.UShort5 == b[5],
a.UShort6 == b[6],
a.UShort7 == b[7]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<int> source, int value)
{
return ContainsCore((int*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<int> source, int value)
{
return ContainsCore((int*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<int> source, int value)
{
return ContainsCore((int*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(int* ptr, [AssumeRange(1, int.MaxValue)] int length, in int value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(int);
static bool8 _contains(v256 a, int* b) => new bool8(
a.SInt0 == b[0],
a.SInt1 == b[1],
a.SInt2 == b[2],
a.SInt3 == b[3],
a.SInt4 == b[4],
a.SInt5 == b[5],
a.SInt6 == b[6],
a.SInt7 == b[7]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(int);
static bool4 _contains(v128 a, int* b) => new bool4(
a.SInt0 == b[0],
a.SInt1 == b[1],
a.SInt2 == b[2],
a.SInt3 == b[3]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<uint> source, uint value)
{
return ContainsCore((uint*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<uint> source, uint value)
{
return ContainsCore((uint*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<uint> source, uint value)
{
return ContainsCore((uint*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(uint* ptr, [AssumeRange(1, int.MaxValue)] int length, in uint value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(uint);
static bool8 _contains(v256 a, uint* b) => new bool8(
a.UInt0 == b[0],
a.UInt1 == b[1],
a.UInt2 == b[2],
a.UInt3 == b[3],
a.UInt4 == b[4],
a.UInt5 == b[5],
a.UInt6 == b[6],
a.UInt7 == b[7]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(uint);
static bool4 _contains(v128 a, uint* b) => new bool4(
a.UInt0 == b[0],
a.UInt1 == b[1],
a.UInt2 == b[2],
a.UInt3 == b[3]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<long> source, long value)
{
return ContainsCore((long*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<long> source, long value)
{
return ContainsCore((long*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<long> source, long value)
{
return ContainsCore((long*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(long* ptr, [AssumeRange(1, int.MaxValue)] int length, in long value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(long);
static bool4 _contains(v256 a, long* b) => new bool4(
a.SLong0 == b[0],
a.SLong1 == b[1],
a.SLong2 == b[2],
a.SLong3 == b[3]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(long);
static bool2 _contains(v128 a, long* b) => new bool2(
a.SLong0 == b[0],
a.SLong1 == b[1]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<ulong> source, ulong value)
{
return ContainsCore((ulong*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<ulong> source, ulong value)
{
return ContainsCore((ulong*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<ulong> source, ulong value)
{
return ContainsCore((ulong*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(ulong* ptr, [AssumeRange(1, int.MaxValue)] int length, in ulong value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(ulong);
static bool4 _contains(v256 a, ulong* b) => new bool4(
a.ULong0 == b[0],
a.ULong1 == b[1],
a.ULong2 == b[2],
a.ULong3 == b[3]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(ulong);
static bool2 _contains(v128 a, ulong* b) => new bool2(
a.ULong0 == b[0],
a.ULong1 == b[1]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<float> source, float value)
{
return ContainsCore((float*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<float> source, float value)
{
return ContainsCore((float*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<float> source, float value)
{
return ContainsCore((float*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(float* ptr, [AssumeRange(1, int.MaxValue)] int length, in float value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(float);
static bool8 _contains(v256 a, float* b) => new bool8(
a.Float0 == b[0],
a.Float1 == b[1],
a.Float2 == b[2],
a.Float3 == b[3],
a.Float4 == b[4],
a.Float5 == b[5],
a.Float6 == b[6],
a.Float7 == b[7]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(float);
static bool4 _contains(v128 a, float* b) => new bool4(
a.Float0 == b[0],
a.Float1 == b[1],
a.Float2 == b[2],
a.Float3 == b[3]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<double> source, double value)
{
return ContainsCore((double*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<double> source, double value)
{
return ContainsCore((double*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<double> source, double value)
{
return ContainsCore((double*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(double* ptr, [AssumeRange(1, int.MaxValue)] int length, in double value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(double);
static bool4 _contains(v256 a, double* b) => new bool4(
a.Double0 == b[0],
a.Double1 == b[1],
a.Double2 == b[2],
a.Double3 == b[3]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(double);
static bool2 _contains(v128 a, double* b) => new bool2(
a.Double0 == b[0],
a.Double1 == b[1]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
public static bool Contains(this NativeList<Vector2> source, Vector2 value)
{
return ContainsCore((Vector2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<Vector2> source, Vector2 value)
{
return ContainsCore((Vector2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<Vector2> source, Vector2 value)
{
return ContainsCore((Vector2*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(Vector2* ptr, [AssumeRange(0, int.MaxValue)] int length, in Vector2 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<Vector2Int> source, Vector2Int value)
{
return ContainsCore((Vector2Int*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<Vector2Int> source, Vector2Int value)
{
return ContainsCore((Vector2Int*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<Vector2Int> source, Vector2Int value)
{
return ContainsCore((Vector2Int*)source.GetUnsafePtr(), source.Length, value);
}
internal static bool ContainsCore(Vector2Int* ptr, [AssumeRange(1, int.MaxValue)] int length, in Vector2Int value)
{
var temp = value;
var union = *(long*)&temp;
return ContainsCore((long*)ptr, length, union);
}
public static bool Contains(this NativeList<Vector3> source, Vector3 value)
{
return ContainsCore((Vector3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<Vector3> source, Vector3 value)
{
return ContainsCore((Vector3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<Vector3> source, Vector3 value)
{
return ContainsCore((Vector3*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(Vector3* ptr, [AssumeRange(0, int.MaxValue)] int length, in Vector3 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<Vector3Int> source, Vector3Int value)
{
return ContainsCore((Vector3Int*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<Vector3Int> source, Vector3Int value)
{
return ContainsCore((Vector3Int*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<Vector3Int> source, Vector3Int value)
{
return ContainsCore((Vector3Int*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(Vector3Int* ptr, [AssumeRange(0, int.MaxValue)] int length, in Vector3Int value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<Vector4> source, Vector4 value)
{
return ContainsCore((Vector4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<Vector4> source, Vector4 value)
{
return ContainsCore((Vector4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<Vector4> source, Vector4 value)
{
return ContainsCore((Vector4*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(Vector4* ptr, [AssumeRange(0, int.MaxValue)] int length, in Vector4 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<int2> source, int2 value)
{
return ContainsCore((int2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<int2> source, int2 value)
{
return ContainsCore((int2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<int2> source, int2 value)
{
return ContainsCore((int2*)source.GetUnsafePtr(), source.Length, value);
}
internal static bool ContainsCore(int2* ptr, [AssumeRange(1, int.MaxValue)] int length, in int2 value)
{
var temp = value;
var union = *(long*)&temp;
return ContainsCore((long*)ptr, length, union);
}
public static bool Contains(this NativeList<int3> source, int3 value)
{
return ContainsCore((int3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<int3> source, int3 value)
{
return ContainsCore((int3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<int3> source, int3 value)
{
return ContainsCore((int3*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(int3* ptr, [AssumeRange(0, int.MaxValue)] int length, in int3 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<int4> source, int4 value)
{
return ContainsCore((int4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<int4> source, int4 value)
{
return ContainsCore((int4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<int4> source, int4 value)
{
return ContainsCore((int4*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(int4* ptr, [AssumeRange(0, int.MaxValue)] int length, in int4 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<uint2> source, uint2 value)
{
return ContainsCore((uint2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<uint2> source, uint2 value)
{
return ContainsCore((uint2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<uint2> source, uint2 value)
{
return ContainsCore((uint2*)source.GetUnsafePtr(), source.Length, value);
}
internal static bool ContainsCore(uint2* ptr, [AssumeRange(1, int.MaxValue)] int length, in uint2 value)
{
var temp = value;
var union = *(long*)&temp;
return ContainsCore((long*)ptr, length, union);
}
public static bool Contains(this NativeList<uint3> source, uint3 value)
{
return ContainsCore((uint3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<uint3> source, uint3 value)
{
return ContainsCore((uint3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<uint3> source, uint3 value)
{
return ContainsCore((uint3*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(uint3* ptr, [AssumeRange(0, int.MaxValue)] int length, in uint3 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<uint4> source, uint4 value)
{
return ContainsCore((uint4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<uint4> source, uint4 value)
{
return ContainsCore((uint4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<uint4> source, uint4 value)
{
return ContainsCore((uint4*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(uint4* ptr, [AssumeRange(0, int.MaxValue)] int length, in uint4 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<float2> source, float2 value)
{
return ContainsCore((float2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<float2> source, float2 value)
{
return ContainsCore((float2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<float2> source, float2 value)
{
return ContainsCore((float2*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(float2* ptr, [AssumeRange(0, int.MaxValue)] int length, in float2 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<float3> source, float3 value)
{
return ContainsCore((float3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<float3> source, float3 value)
{
return ContainsCore((float3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<float3> source, float3 value)
{
return ContainsCore((float3*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(float3* ptr, [AssumeRange(0, int.MaxValue)] int length, in float3 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<float4> source, float4 value)
{
return ContainsCore((float4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<float4> source, float4 value)
{
return ContainsCore((float4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<float4> source, float4 value)
{
return ContainsCore((float4*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(float4* ptr, [AssumeRange(0, int.MaxValue)] int length, in float4 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<double2> source, double2 value)
{
return ContainsCore((double2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<double2> source, double2 value)
{
return ContainsCore((double2*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<double2> source, double2 value)
{
return ContainsCore((double2*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(double2* ptr, [AssumeRange(0, int.MaxValue)] int length, in double2 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<double3> source, double3 value)
{
return ContainsCore((double3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<double3> source, double3 value)
{
return ContainsCore((double3*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<double3> source, double3 value)
{
return ContainsCore((double3*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(double3* ptr, [AssumeRange(0, int.MaxValue)] int length, in double3 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
public static bool Contains(this NativeList<double4> source, double4 value)
{
return ContainsCore((double4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<double4> source, double4 value)
{
return ContainsCore((double4*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<double4> source, double4 value)
{
return ContainsCore((double4*)source.GetUnsafePtr(), source.Length, value);
}
[BurstCompile]
internal static bool ContainsCore(double4* ptr, [AssumeRange(0, int.MaxValue)] int length, in double4 value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.cs.meta
================================================
fileFormatVersion: 2
guid: 7373cb17d160e40e9a94e729f79067b4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.tt
================================================
<#@ template language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #>
<#
var types = new string[]
{
"byte", "sbyte", "short", "ushort", "int", "uint", "long", "ulong", "float", "double",
"Vector2", "Vector2Int", "Vector3", "Vector3Int", "Vector4",
"int2", "int3", "int4",
"uint2", "uint3", "uint4",
"float2", "float3", "float4",
"double2", "double3", "double4",
};
bool IsPrimitive(string type)
{
return type is "byte"or "sbyte"or "short"or "ushort"or "int" or "uint" or "float" or "double" or "long" or "ulong";
}
string V256Name(string type)
{
switch (@type) {
case "sbyte": return "SByte";
case "byte": return "Byte";
case "short": return "SShort";
case "ushort": return "UShort";
case "int": return "SInt";
case "uint": return "UInt";
case "long": return "SLong";
case "ulong": return "ULong";
case "float": return "Float";
case "double": return "Double";
}
throw new Exception("Invalid type");
}
int Size(string type)
{
switch (@type)
{
case "sbyte": return 1;
case "byte": return 1;
case "short": return 2;
case "ushort": return 2;
case "int": return 4;
case "uint": return 4;
case "long": return 8;
case "ulong": return 8;
case "float": return 4;
case "double": return 8;
case "Vector2": return sizeof(float) * 2;
case "Vector2Int": return sizeof(int) * 2;
case "Vector3": return sizeof(float) * 3;
case "Vector3Int": return sizeof(int) * 3;
case "Vector4": return sizeof(float) * 4;
case "int2": return sizeof(int) * 2;
case "int3": return sizeof(int) * 3;
case "int4": return sizeof(int) * 4;
case "uint2": return sizeof(uint) * 2;
case "uint3": return sizeof(uint) * 3;
case "uint4": return sizeof(uint) * 4;
case "float2": return sizeof(float) * 2;
case "float3": return sizeof(float) * 3;
case "float4": return sizeof(float) * 4;
case "double2": return sizeof(double) * 2;
case "double3": return sizeof(double) * 3;
case "double4": return sizeof(double) * 4;
}
throw new Exception("Invalid type");
}
bool TryGetInteger(string type, out string type2)
{
type2 = null;
switch (type)
{
case "int2": type2 = "long"; return true;
case "uint2": type2 = "long"; return true;
case "Vector2Int": type2 = "long"; return true;
default: return false;
}
}
#>
using Unity.Burst;
using Unity.Burst.CompilerServices;
using Unity.Burst.Intrinsics;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Mathematics;
using UnityEngine;
using System.Runtime.CompilerServices;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
<# foreach(var type in types) { #>
public static bool Contains(this NativeList<<#=type#>> source, <#=type#> value)
{
return ContainsCore((<#=type#>*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeSlice<<#=type#>> source, <#=type#> value)
{
return ContainsCore((<#=type#>*)source.GetUnsafePtr(), source.Length, value);
}
public static bool Contains(this NativeArray<<#=type#>> source, <#=type#> value)
{
return ContainsCore((<#=type#>*)source.GetUnsafePtr(), source.Length, value);
}
<#if (TryGetInteger(type, out var intType)){#>
internal static bool ContainsCore(<#=type#>* ptr, [AssumeRange(1, int.MaxValue)] int length, in <#=type#> value)
{
var temp = value;
var union = *(<#=intType#>*)&temp;
return ContainsCore((<#=intType#>*)ptr, length, union);
}
<#} else if (IsPrimitive(type)) { #>
<#var vName = V256Name(type);#>
[BurstCompile]
internal static bool ContainsCore(<#=type#>* ptr, [AssumeRange(1, int.MaxValue)] int length, in <#=type#> value)
{
var index = 0;
if (BurstHelpers.IsV256Supported)
{
const int packingLength = 32 / sizeof(<#=type#>);
<# int vectorLength=32/Size(type);string typeName = V256Name(type);#>
static bool<#=vectorLength#> _contains(v256 a, <#=type#>* b) => new bool<#=vectorLength#>(
<# for (int i =0;i<vectorLength-1;i++) {#>
a.<#=typeName+i#> == b[<#=i#>],
<# } #>
a.<#=typeName+(vectorLength-1)#> == b[<#=vectorLength-1#>]
);
if (0 < length / packingLength)
{
var valueVector = new v256(value);
for (; index < length-packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
else if (BurstHelpers.IsV128Supported)
{
const int packingLength = 16 / sizeof(<#=type#>);
static bool<#=vectorLength/2#> _contains(v128 a, <#=type#>* b) => new bool<#=vectorLength/2#>(
<# for (int i = 0; i < vectorLength / 2 - 1; i++) {#>
a.<#=typeName + i#> == b[<#=i#>],
<# } #>
a.<#=typeName + (vectorLength / 2 - 1)#> == b[<#=vectorLength / 2 - 1#>]
);
if (0 < length / packingLength)
{
var valueVector = new v128(value);
for (; index < length - packingLength; index += packingLength)
{
if(_contains(valueVector, ptr + index).any()) return true;
}
}
}
for (; index < length; index++)
{
if (ptr[index] == value) return true;
}
return false;
}
<#} else { #>
[BurstCompile]
internal static bool ContainsCore(<#=type#>* ptr, [AssumeRange(0, int.MaxValue)] int length, in <#=type#> value)
{
for (int i = 0; i < length; i++)
{
if (ptr[i].Equals(value)) return true;
}
return false;
}
<# } #>
<# } #>
}
}
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.tt.meta
================================================
fileFormatVersion: 2
guid: 13b5d1c751c4848cd81a19097cbdb5a6
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Max.cs
================================================
using Unity.Burst;
using Unity.Burst.CompilerServices;
using Unity.Burst.Intrinsics;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Mathematics;
using static Unity.Burst.Intrinsics.Arm.Neon;
namespace BurstLinq
{
public unsafe static partial class BurstLinqExtensions
{
public static byte Max(this NativeList<byte> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((byte*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static byte Max(this NativeSlice<byte> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((byte*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static byte Max(this NativeArray<byte> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((byte*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void MaxCore(byte* ptr, [AssumeRange(1, int.MaxValue)] int length, out byte result)
{
var tempResult = byte.MinValue;
static byte _max(byte a, byte b) => a > b ? a : b;
for (var i = 0; i < length; i++)
{
tempResult = _max(tempResult, ptr[i]);
}
result = tempResult;
}
public static sbyte Max(this NativeList<sbyte> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((sbyte*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static sbyte Max(this NativeSlice<sbyte> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((sbyte*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static sbyte Max(this NativeArray<sbyte> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((sbyte*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void MaxCore(sbyte* ptr, [AssumeRange(1, int.MaxValue)] int length, out sbyte result)
{
var tempResult = sbyte.MinValue;
static sbyte _max(sbyte a, sbyte b) => a > b ? a : b;
for (var i = 0; i < length; i++)
{
tempResult = _max(tempResult, ptr[i]);
}
result = tempResult;
}
public static short Max(this NativeList<short> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((short*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static short Max(this NativeSlice<short> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((short*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static short Max(this NativeArray<short> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((short*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void MaxCore(short* ptr, [AssumeRange(1, int.MaxValue)] int length, out short result)
{
var tempResult = short.MinValue;
static short _max(short a, short b) => a > b ? a : b;
for (var i = 0; i < length; i++)
{
tempResult = _max(tempResult, ptr[i]);
}
result = tempResult;
}
public static ushort Max(this NativeList<ushort> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((ushort*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static ushort Max(this NativeSlice<ushort> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((ushort*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static ushort Max(this NativeArray<ushort> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((ushort*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void MaxCore(ushort* ptr, [AssumeRange(1, int.MaxValue)] int length, out ushort result)
{
var tempResult = ushort.MinValue;
static ushort _max(ushort a, ushort b) => a > b ? a : b;
for (var i = 0; i < length; i++)
{
tempResult = _max(tempResult, ptr[i]);
}
result = tempResult;
}
public static int Max(this NativeList<int> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static int Max(this NativeSlice<int> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static int Max(this NativeArray<int> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((int*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void MaxCore(int* ptr, [AssumeRange(1, int.MaxValue)] int length, out int result)
{
var tempResult = int.MinValue;
static int _max(int a, int b) => a > b ? a : b;
for (var i = 0; i < length; i++)
{
tempResult = _max(tempResult, ptr[i]);
}
result = tempResult;
}
public static uint Max(this NativeList<uint> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((uint*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static uint Max(this NativeSlice<uint> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((uint*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static uint Max(this NativeArray<uint> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((uint*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void MaxCore(uint* ptr, [AssumeRange(1, int.MaxValue)] int length, out uint result)
{
var tempResult = uint.MinValue;
static uint _max(uint a, uint b) => a > b ? a : b;
for (var i = 0; i < length; i++)
{
tempResult = _max(tempResult, ptr[i]);
}
result = tempResult;
}
public static long Max(this NativeList<long> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((long*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static long Max(this NativeSlice<long> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((long*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static long Max(this NativeArray<long> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((long*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void MaxCore(long* ptr, [AssumeRange(1, int.MaxValue)] int length, out long result)
{
var tempResult = long.MinValue;
static long _max(long a, long b) => a > b ? a : b;
for (var i = 0; i < length; i++)
{
tempResult = _max(tempResult, ptr[i]);
}
result = tempResult;
}
public static ulong Max(this NativeList<ulong> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((ulong*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static ulong Max(this NativeSlice<ulong> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((ulong*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static ulong Max(this NativeArray<ulong> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((ulong*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[BurstCompile]
internal static void MaxCore(ulong* ptr, [AssumeRange(1, int.MaxValue)] int length, out ulong result)
{
var tempResult = ulong.MinValue;
static ulong _max(ulong a, ulong b) => a > b ? a : b;
for (var i = 0; i < length; i++)
{
tempResult = _max(tempResult, ptr[i]);
}
result = tempResult;
}
public static float Max(this NativeList<float> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((float*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float Max(this NativeSlice<float> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((float*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
public static float Max(this NativeArray<float> source)
{
Error.ThrowIfEmpty(source.Length);
MaxCore((float*)source.GetUnsafePtr(), source.Length, out var result);
return result;
}
[Burst
gitextract_x5vozpec/ ├── .gitattributes ├── .gitignore ├── Assets/ │ ├── BurstLinq/ │ │ ├── Runtime/ │ │ │ ├── BurstHelpers.cs │ │ │ ├── BurstHelpers.cs.meta │ │ │ ├── BurstLinq.asmdef │ │ │ ├── BurstLinq.asmdef.meta │ │ │ ├── BurstLinqExtensions.Average.cs │ │ │ ├── BurstLinqExtensions.Average.cs.meta │ │ │ ├── BurstLinqExtensions.Average.tt │ │ │ ├── BurstLinqExtensions.Average.tt.meta │ │ │ ├── BurstLinqExtensions.Contains.cs │ │ │ ├── BurstLinqExtensions.Contains.cs.meta │ │ │ ├── BurstLinqExtensions.Contains.tt │ │ │ ├── BurstLinqExtensions.Contains.tt.meta │ │ │ ├── BurstLinqExtensions.Max.cs │ │ │ ├── BurstLinqExtensions.Max.cs.meta │ │ │ ├── BurstLinqExtensions.Max.tt │ │ │ ├── BurstLinqExtensions.Max.tt.meta │ │ │ ├── BurstLinqExtensions.Min.cs │ │ │ ├── BurstLinqExtensions.Min.cs.meta │ │ │ ├── BurstLinqExtensions.Min.tt │ │ │ ├── BurstLinqExtensions.Min.tt.meta │ │ │ ├── BurstLinqExtensions.Native.Average.cs │ │ │ ├── BurstLinqExtensions.Native.Average.cs.meta │ │ │ ├── BurstLinqExtensions.Native.Average.tt │ │ │ ├── BurstLinqExtensions.Native.Average.tt.meta │ │ │ ├── BurstLinqExtensions.Native.Contains.cs │ │ │ ├── BurstLinqExtensions.Native.Contains.cs.meta │ │ │ ├── BurstLinqExtensions.Native.Contains.tt │ │ │ ├── BurstLinqExtensions.Native.Contains.tt.meta │ │ │ ├── BurstLinqExtensions.Native.Max.cs │ │ │ ├── BurstLinqExtensions.Native.Max.cs.meta │ │ │ ├── BurstLinqExtensions.Native.Max.tt │ │ │ ├── BurstLinqExtensions.Native.Max.tt.meta │ │ │ ├── BurstLinqExtensions.Native.Min.cs │ │ │ ├── BurstLinqExtensions.Native.Min.cs.meta │ │ │ ├── BurstLinqExtensions.Native.Min.tt │ │ │ ├── BurstLinqExtensions.Native.Min.tt.meta │ │ │ ├── BurstLinqExtensions.Native.SequenceEqual.cs │ │ │ ├── BurstLinqExtensions.Native.SequenceEqual.cs.meta │ │ │ ├── BurstLinqExtensions.Native.SequenceEqual.tt │ │ │ ├── BurstLinqExtensions.Native.SequenceEqual.tt.meta │ │ │ ├── BurstLinqExtensions.Native.Sum.cs │ │ │ ├── BurstLinqExtensions.Native.Sum.cs.meta │ │ │ ├── BurstLinqExtensions.Native.Sum.tt │ │ │ ├── BurstLinqExtensions.Native.Sum.tt.meta │ │ │ ├── BurstLinqExtensions.SequenceEqual.cs │ │ │ ├── BurstLinqExtensions.SequenceEqual.cs.meta │ │ │ ├── BurstLinqExtensions.SequenceEqual.tt │ │ │ ├── BurstLinqExtensions.SequenceEqual.tt.meta │ │ │ ├── BurstLinqExtensions.Sum.cs │ │ │ ├── BurstLinqExtensions.Sum.cs.meta │ │ │ ├── BurstLinqExtensions.Sum.tt │ │ │ ├── BurstLinqExtensions.Sum.tt.meta │ │ │ ├── BurstLinqExtensions.cs │ │ │ ├── BurstLinqExtensions.cs.meta │ │ │ ├── CmpHelpers.cs │ │ │ ├── CmpHelpers.cs.meta │ │ │ ├── Error.cs │ │ │ ├── Error.cs.meta │ │ │ ├── SpanHelper.cs │ │ │ ├── SpanHelper.cs.meta │ │ │ ├── Vectors.cs │ │ │ └── Vectors.cs.meta │ │ ├── Runtime.meta │ │ ├── Tests/ │ │ │ ├── Runtime/ │ │ │ │ ├── AssertEx.cs │ │ │ │ ├── AssertEx.cs.meta │ │ │ │ ├── AverageTest.cs │ │ │ │ ├── AverageTest.cs.meta │ │ │ │ ├── AverageTest.tt │ │ │ │ ├── AverageTest.tt.meta │ │ │ │ ├── Benchmark.cs │ │ │ │ ├── Benchmark.cs.meta │ │ │ │ ├── BurstLinq.Tests.Runtime.asmdef │ │ │ │ ├── BurstLinq.Tests.Runtime.asmdef.meta │ │ │ │ ├── ContainsTest.cs │ │ │ │ ├── ContainsTest.cs.meta │ │ │ │ ├── MaxTest.cs │ │ │ │ ├── MaxTest.cs.meta │ │ │ │ ├── MaxTest.tt │ │ │ │ ├── MaxTest.tt.meta │ │ │ │ ├── MinTest.cs │ │ │ │ ├── MinTest.cs.meta │ │ │ │ ├── MinTest.tt │ │ │ │ ├── MinTest.tt.meta │ │ │ │ ├── RandomEnumerable.cs │ │ │ │ ├── RandomEnumerable.cs.meta │ │ │ │ ├── SequenceEqualTest.cs │ │ │ │ ├── SequenceEqualTest.cs.meta │ │ │ │ ├── SequenceEqualTest.tt │ │ │ │ ├── SequenceEqualTest.tt.meta │ │ │ │ ├── SumTest.cs │ │ │ │ ├── SumTest.cs.meta │ │ │ │ ├── SumTest.tt │ │ │ │ └── SumTest.tt.meta │ │ │ └── Runtime.meta │ │ ├── Tests.meta │ │ ├── package.json │ │ └── package.json.meta │ └── BurstLinq.meta ├── LICENSE ├── Packages/ │ ├── manifest.json │ └── packages-lock.json ├── ProjectSettings/ │ ├── AudioManager.asset │ ├── BurstAotSettings_StandaloneOSX.json │ ├── ClusterInputManager.asset │ ├── CommonBurstAotSettings.json │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── MemorySettings.asset │ ├── NavMeshAreas.asset │ ├── PackageManagerSettings.asset │ ├── Packages/ │ │ └── com.unity.testtools.codecoverage/ │ │ └── Settings.json │ ├── Physics2DSettings.asset │ ├── PresetManager.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── SceneTemplateSettings.json │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── UnityConnectSettings.asset │ ├── VFXManager.asset │ ├── VersionControlSettings.asset │ └── XRSettings.asset ├── README.md └── README_JA.md
SYMBOL INDEX (1721 symbols across 27 files)
FILE: Assets/BurstLinq/Runtime/BurstHelpers.cs
class BurstHelpers (line 5) | internal static unsafe class BurstHelpers
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.cs
class BurstLinqExtensions (line 9) | public unsafe static partial class BurstLinqExtensions
method Average (line 11) | public static double Average(this int[] source)
method Average (line 23) | public static double Average(this List<int> source)
method Average (line 36) | public static double Average(this Memory<int> source)
method Average (line 41) | public static double Average(this ReadOnlyMemory<int> source)
method Average (line 46) | public static double Average(this Span<int> source)
method Average (line 51) | public static double Average(this ReadOnlySpan<int> source)
method Average (line 61) | public static double Average(this uint[] source)
method Average (line 73) | public static double Average(this List<uint> source)
method Average (line 86) | public static double Average(this Memory<uint> source)
method Average (line 91) | public static double Average(this ReadOnlyMemory<uint> source)
method Average (line 96) | public static double Average(this Span<uint> source)
method Average (line 101) | public static double Average(this ReadOnlySpan<uint> source)
method Average (line 111) | public static double Average(this long[] source)
method Average (line 123) | public static double Average(this List<long> source)
method Average (line 136) | public static double Average(this Memory<long> source)
method Average (line 141) | public static double Average(this ReadOnlyMemory<long> source)
method Average (line 146) | public static double Average(this Span<long> source)
method Average (line 151) | public static double Average(this ReadOnlySpan<long> source)
method Average (line 161) | public static double Average(this ulong[] source)
method Average (line 173) | public static double Average(this List<ulong> source)
method Average (line 186) | public static double Average(this Memory<ulong> source)
method Average (line 191) | public static double Average(this ReadOnlyMemory<ulong> source)
method Average (line 196) | public static double Average(this Span<ulong> source)
method Average (line 201) | public static double Average(this ReadOnlySpan<ulong> source)
method Average (line 211) | public static float Average(this float[] source)
method Average (line 223) | public static float Average(this List<float> source)
method Average (line 236) | public static float Average(this Memory<float> source)
method Average (line 241) | public static float Average(this ReadOnlyMemory<float> source)
method Average (line 246) | public static float Average(this Span<float> source)
method Average (line 251) | public static float Average(this ReadOnlySpan<float> source)
method Average (line 261) | public static double Average(this double[] source)
method Average (line 273) | public static double Average(this List<double> source)
method Average (line 286) | public static double Average(this Memory<double> source)
method Average (line 291) | public static double Average(this ReadOnlyMemory<double> source)
method Average (line 296) | public static double Average(this Span<double> source)
method Average (line 301) | public static double Average(this ReadOnlySpan<double> source)
method Average (line 311) | public static Vector2 Average(this Vector2[] source)
method Average (line 323) | public static Vector2 Average(this List<Vector2> source)
method Average (line 336) | public static Vector2 Average(this Memory<Vector2> source)
method Average (line 341) | public static Vector2 Average(this ReadOnlyMemory<Vector2> source)
method Average (line 346) | public static Vector2 Average(this Span<Vector2> source)
method Average (line 351) | public static Vector2 Average(this ReadOnlySpan<Vector2> source)
method Average (line 361) | public static Vector2 Average(this Vector2Int[] source)
method Average (line 373) | public static Vector2 Average(this List<Vector2Int> source)
method Average (line 386) | public static Vector2 Average(this Memory<Vector2Int> source)
method Average (line 391) | public static Vector2 Average(this ReadOnlyMemory<Vector2Int> source)
method Average (line 396) | public static Vector2 Average(this Span<Vector2Int> source)
method Average (line 401) | public static Vector2 Average(this ReadOnlySpan<Vector2Int> source)
method Average (line 411) | public static Vector3 Average(this Vector3[] source)
method Average (line 423) | public static Vector3 Average(this List<Vector3> source)
method Average (line 436) | public static Vector3 Average(this Memory<Vector3> source)
method Average (line 441) | public static Vector3 Average(this ReadOnlyMemory<Vector3> source)
method Average (line 446) | public static Vector3 Average(this Span<Vector3> source)
method Average (line 451) | public static Vector3 Average(this ReadOnlySpan<Vector3> source)
method Average (line 461) | public static Vector3 Average(this Vector3Int[] source)
method Average (line 473) | public static Vector3 Average(this List<Vector3Int> source)
method Average (line 486) | public static Vector3 Average(this Memory<Vector3Int> source)
method Average (line 491) | public static Vector3 Average(this ReadOnlyMemory<Vector3Int> source)
method Average (line 496) | public static Vector3 Average(this Span<Vector3Int> source)
method Average (line 501) | public static Vector3 Average(this ReadOnlySpan<Vector3Int> source)
method Average (line 511) | public static Vector4 Average(this Vector4[] source)
method Average (line 523) | public static Vector4 Average(this List<Vector4> source)
method Average (line 536) | public static Vector4 Average(this Memory<Vector4> source)
method Average (line 541) | public static Vector4 Average(this ReadOnlyMemory<Vector4> source)
method Average (line 546) | public static Vector4 Average(this Span<Vector4> source)
method Average (line 551) | public static Vector4 Average(this ReadOnlySpan<Vector4> source)
method Average (line 561) | public static double2 Average(this int2[] source)
method Average (line 573) | public static double2 Average(this List<int2> source)
method Average (line 586) | public static double2 Average(this Memory<int2> source)
method Average (line 591) | public static double2 Average(this ReadOnlyMemory<int2> source)
method Average (line 596) | public static double2 Average(this Span<int2> source)
method Average (line 601) | public static double2 Average(this ReadOnlySpan<int2> source)
method Average (line 611) | public static double3 Average(this int3[] source)
method Average (line 623) | public static double3 Average(this List<int3> source)
method Average (line 636) | public static double3 Average(this Memory<int3> source)
method Average (line 641) | public static double3 Average(this ReadOnlyMemory<int3> source)
method Average (line 646) | public static double3 Average(this Span<int3> source)
method Average (line 651) | public static double3 Average(this ReadOnlySpan<int3> source)
method Average (line 661) | public static double4 Average(this int4[] source)
method Average (line 673) | public static double4 Average(this List<int4> source)
method Average (line 686) | public static double4 Average(this Memory<int4> source)
method Average (line 691) | public static double4 Average(this ReadOnlyMemory<int4> source)
method Average (line 696) | public static double4 Average(this Span<int4> source)
method Average (line 701) | public static double4 Average(this ReadOnlySpan<int4> source)
method Average (line 711) | public static float2 Average(this float2[] source)
method Average (line 723) | public static float2 Average(this List<float2> source)
method Average (line 736) | public static float2 Average(this Memory<float2> source)
method Average (line 741) | public static float2 Average(this ReadOnlyMemory<float2> source)
method Average (line 746) | public static float2 Average(this Span<float2> source)
method Average (line 751) | public static float2 Average(this ReadOnlySpan<float2> source)
method Average (line 761) | public static float3 Average(this float3[] source)
method Average (line 773) | public static float3 Average(this List<float3> source)
method Average (line 786) | public static float3 Average(this Memory<float3> source)
method Average (line 791) | public static float3 Average(this ReadOnlyMemory<float3> source)
method Average (line 796) | public static float3 Average(this Span<float3> source)
method Average (line 801) | public static float3 Average(this ReadOnlySpan<float3> source)
method Average (line 811) | public static float4 Average(this float4[] source)
method Average (line 823) | public static float4 Average(this List<float4> source)
method Average (line 836) | public static float4 Average(this Memory<float4> source)
method Average (line 841) | public static float4 Average(this ReadOnlyMemory<float4> source)
method Average (line 846) | public static float4 Average(this Span<float4> source)
method Average (line 851) | public static float4 Average(this ReadOnlySpan<float4> source)
method Average (line 861) | public static double2 Average(this double2[] source)
method Average (line 873) | public static double2 Average(this List<double2> source)
method Average (line 886) | public static double2 Average(this Memory<double2> source)
method Average (line 891) | public static double2 Average(this ReadOnlyMemory<double2> source)
method Average (line 896) | public static double2 Average(this Span<double2> source)
method Average (line 901) | public static double2 Average(this ReadOnlySpan<double2> source)
method Average (line 911) | public static double3 Average(this double3[] source)
method Average (line 923) | public static double3 Average(this List<double3> source)
method Average (line 936) | public static double3 Average(this Memory<double3> source)
method Average (line 941) | public static double3 Average(this ReadOnlyMemory<double3> source)
method Average (line 946) | public static double3 Average(this Span<double3> source)
method Average (line 951) | public static double3 Average(this ReadOnlySpan<double3> source)
method Average (line 961) | public static double4 Average(this double4[] source)
method Average (line 973) | public static double4 Average(this List<double4> source)
method Average (line 986) | public static double4 Average(this Memory<double4> source)
method Average (line 991) | public static double4 Average(this ReadOnlyMemory<double4> source)
method Average (line 996) | public static double4 Average(this Span<double4> source)
method Average (line 1001) | public static double4 Average(this ReadOnlySpan<double4> source)
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.cs
class BurstLinqExtensions (line 8) | public unsafe static partial class BurstLinqExtensions
method Contains (line 10) | public static bool Contains(this byte[] source, byte value)
method Contains (line 21) | public static bool Contains(this List<byte> source, byte value)
method Contains (line 33) | public static bool Contains(this Memory<byte> source, byte value)
method Contains (line 38) | public static bool Contains(this ReadOnlyMemory<byte> source, byte value)
method Contains (line 43) | public static bool Contains(this Span<byte> source, byte value)
method Contains (line 48) | public static bool Contains(this ReadOnlySpan<byte> source, byte value)
method Contains (line 57) | public static bool Contains(this sbyte[] source, sbyte value)
method Contains (line 68) | public static bool Contains(this List<sbyte> source, sbyte value)
method Contains (line 80) | public static bool Contains(this Memory<sbyte> source, sbyte value)
method Contains (line 85) | public static bool Contains(this ReadOnlyMemory<sbyte> source, sbyte v...
method Contains (line 90) | public static bool Contains(this Span<sbyte> source, sbyte value)
method Contains (line 95) | public static bool Contains(this ReadOnlySpan<sbyte> source, sbyte value)
method Contains (line 104) | public static bool Contains(this short[] source, short value)
method Contains (line 115) | public static bool Contains(this List<short> source, short value)
method Contains (line 127) | public static bool Contains(this Memory<short> source, short value)
method Contains (line 132) | public static bool Contains(this ReadOnlyMemory<short> source, short v...
method Contains (line 137) | public static bool Contains(this Span<short> source, short value)
method Contains (line 142) | public static bool Contains(this ReadOnlySpan<short> source, short value)
method Contains (line 151) | public static bool Contains(this ushort[] source, ushort value)
method Contains (line 162) | public static bool Contains(this List<ushort> source, ushort value)
method Contains (line 174) | public static bool Contains(this Memory<ushort> source, ushort value)
method Contains (line 179) | public static bool Contains(this ReadOnlyMemory<ushort> source, ushort...
method Contains (line 184) | public static bool Contains(this Span<ushort> source, ushort value)
method Contains (line 189) | public static bool Contains(this ReadOnlySpan<ushort> source, ushort v...
method Contains (line 198) | public static bool Contains(this int[] source, int value)
method Contains (line 209) | public static bool Contains(this List<int> source, int value)
method Contains (line 221) | public static bool Contains(this Memory<int> source, int value)
method Contains (line 226) | public static bool Contains(this ReadOnlyMemory<int> source, int value)
method Contains (line 231) | public static bool Contains(this Span<int> source, int value)
method Contains (line 236) | public static bool Contains(this ReadOnlySpan<int> source, int value)
method Contains (line 245) | public static bool Contains(this uint[] source, uint value)
method Contains (line 256) | public static bool Contains(this List<uint> source, uint value)
method Contains (line 268) | public static bool Contains(this Memory<uint> source, uint value)
method Contains (line 273) | public static bool Contains(this ReadOnlyMemory<uint> source, uint value)
method Contains (line 278) | public static bool Contains(this Span<uint> source, uint value)
method Contains (line 283) | public static bool Contains(this ReadOnlySpan<uint> source, uint value)
method Contains (line 292) | public static bool Contains(this long[] source, long value)
method Contains (line 303) | public static bool Contains(this List<long> source, long value)
method Contains (line 315) | public static bool Contains(this Memory<long> source, long value)
method Contains (line 320) | public static bool Contains(this ReadOnlyMemory<long> source, long value)
method Contains (line 325) | public static bool Contains(this Span<long> source, long value)
method Contains (line 330) | public static bool Contains(this ReadOnlySpan<long> source, long value)
method Contains (line 339) | public static bool Contains(this ulong[] source, ulong value)
method Contains (line 350) | public static bool Contains(this List<ulong> source, ulong value)
method Contains (line 362) | public static bool Contains(this Memory<ulong> source, ulong value)
method Contains (line 367) | public static bool Contains(this ReadOnlyMemory<ulong> source, ulong v...
method Contains (line 372) | public static bool Contains(this Span<ulong> source, ulong value)
method Contains (line 377) | public static bool Contains(this ReadOnlySpan<ulong> source, ulong value)
method Contains (line 386) | public static bool Contains(this float[] source, float value)
method Contains (line 397) | public static bool Contains(this List<float> source, float value)
method Contains (line 409) | public static bool Contains(this Memory<float> source, float value)
method Contains (line 414) | public static bool Contains(this ReadOnlyMemory<float> source, float v...
method Contains (line 419) | public static bool Contains(this Span<float> source, float value)
method Contains (line 424) | public static bool Contains(this ReadOnlySpan<float> source, float value)
method Contains (line 433) | public static bool Contains(this double[] source, double value)
method Contains (line 444) | public static bool Contains(this List<double> source, double value)
method Contains (line 456) | public static bool Contains(this Memory<double> source, double value)
method Contains (line 461) | public static bool Contains(this ReadOnlyMemory<double> source, double...
method Contains (line 466) | public static bool Contains(this Span<double> source, double value)
method Contains (line 471) | public static bool Contains(this ReadOnlySpan<double> source, double v...
method Contains (line 480) | public static bool Contains(this Vector2[] source, Vector2 value)
method Contains (line 491) | public static bool Contains(this List<Vector2> source, Vector2 value)
method Contains (line 503) | public static bool Contains(this Memory<Vector2> source, Vector2 value)
method Contains (line 508) | public static bool Contains(this ReadOnlyMemory<Vector2> source, Vecto...
method Contains (line 513) | public static bool Contains(this Span<Vector2> source, Vector2 value)
method Contains (line 518) | public static bool Contains(this ReadOnlySpan<Vector2> source, Vector2...
method Contains (line 527) | public static bool Contains(this Vector2Int[] source, Vector2Int value)
method Contains (line 538) | public static bool Contains(this List<Vector2Int> source, Vector2Int v...
method Contains (line 550) | public static bool Contains(this Memory<Vector2Int> source, Vector2Int...
method Contains (line 555) | public static bool Contains(this ReadOnlyMemory<Vector2Int> source, Ve...
method Contains (line 560) | public static bool Contains(this Span<Vector2Int> source, Vector2Int v...
method Contains (line 565) | public static bool Contains(this ReadOnlySpan<Vector2Int> source, Vect...
method Contains (line 574) | public static bool Contains(this Vector3[] source, Vector3 value)
method Contains (line 585) | public static bool Contains(this List<Vector3> source, Vector3 value)
method Contains (line 597) | public static bool Contains(this Memory<Vector3> source, Vector3 value)
method Contains (line 602) | public static bool Contains(this ReadOnlyMemory<Vector3> source, Vecto...
method Contains (line 607) | public static bool Contains(this Span<Vector3> source, Vector3 value)
method Contains (line 612) | public static bool Contains(this ReadOnlySpan<Vector3> source, Vector3...
method Contains (line 621) | public static bool Contains(this Vector3Int[] source, Vector3Int value)
method Contains (line 632) | public static bool Contains(this List<Vector3Int> source, Vector3Int v...
method Contains (line 644) | public static bool Contains(this Memory<Vector3Int> source, Vector3Int...
method Contains (line 649) | public static bool Contains(this ReadOnlyMemory<Vector3Int> source, Ve...
method Contains (line 654) | public static bool Contains(this Span<Vector3Int> source, Vector3Int v...
method Contains (line 659) | public static bool Contains(this ReadOnlySpan<Vector3Int> source, Vect...
method Contains (line 668) | public static bool Contains(this Vector4[] source, Vector4 value)
method Contains (line 679) | public static bool Contains(this List<Vector4> source, Vector4 value)
method Contains (line 691) | public static bool Contains(this Memory<Vector4> source, Vector4 value)
method Contains (line 696) | public static bool Contains(this ReadOnlyMemory<Vector4> source, Vecto...
method Contains (line 701) | public static bool Contains(this Span<Vector4> source, Vector4 value)
method Contains (line 706) | public static bool Contains(this ReadOnlySpan<Vector4> source, Vector4...
method Contains (line 715) | public static bool Contains(this int2[] source, int2 value)
method Contains (line 726) | public static bool Contains(this List<int2> source, int2 value)
method Contains (line 738) | public static bool Contains(this Memory<int2> source, int2 value)
method Contains (line 743) | public static bool Contains(this ReadOnlyMemory<int2> source, int2 value)
method Contains (line 748) | public static bool Contains(this Span<int2> source, int2 value)
method Contains (line 753) | public static bool Contains(this ReadOnlySpan<int2> source, int2 value)
method Contains (line 762) | public static bool Contains(this int3[] source, int3 value)
method Contains (line 773) | public static bool Contains(this List<int3> source, int3 value)
method Contains (line 785) | public static bool Contains(this Memory<int3> source, int3 value)
method Contains (line 790) | public static bool Contains(this ReadOnlyMemory<int3> source, int3 value)
method Contains (line 795) | public static bool Contains(this Span<int3> source, int3 value)
method Contains (line 800) | public static bool Contains(this ReadOnlySpan<int3> source, int3 value)
method Contains (line 809) | public static bool Contains(this int4[] source, int4 value)
method Contains (line 820) | public static bool Contains(this List<int4> source, int4 value)
method Contains (line 832) | public static bool Contains(this Memory<int4> source, int4 value)
method Contains (line 837) | public static bool Contains(this ReadOnlyMemory<int4> source, int4 value)
method Contains (line 842) | public static bool Contains(this Span<int4> source, int4 value)
method Contains (line 847) | public static bool Contains(this ReadOnlySpan<int4> source, int4 value)
method Contains (line 856) | public static bool Contains(this uint2[] source, uint2 value)
method Contains (line 867) | public static bool Contains(this List<uint2> source, uint2 value)
method Contains (line 879) | public static bool Contains(this Memory<uint2> source, uint2 value)
method Contains (line 884) | public static bool Contains(this ReadOnlyMemory<uint2> source, uint2 v...
method Contains (line 889) | public static bool Contains(this Span<uint2> source, uint2 value)
method Contains (line 894) | public static bool Contains(this ReadOnlySpan<uint2> source, uint2 value)
method Contains (line 903) | public static bool Contains(this uint3[] source, uint3 value)
method Contains (line 914) | public static bool Contains(this List<uint3> source, uint3 value)
method Contains (line 926) | public static bool Contains(this Memory<uint3> source, uint3 value)
method Contains (line 931) | public static bool Contains(this ReadOnlyMemory<uint3> source, uint3 v...
method Contains (line 936) | public static bool Contains(this Span<uint3> source, uint3 value)
method Contains (line 941) | public static bool Contains(this ReadOnlySpan<uint3> source, uint3 value)
method Contains (line 950) | public static bool Contains(this uint4[] source, uint4 value)
method Contains (line 961) | public static bool Contains(this List<uint4> source, uint4 value)
method Contains (line 973) | public static bool Contains(this Memory<uint4> source, uint4 value)
method Contains (line 978) | public static bool Contains(this ReadOnlyMemory<uint4> source, uint4 v...
method Contains (line 983) | public static bool Contains(this Span<uint4> source, uint4 value)
method Contains (line 988) | public static bool Contains(this ReadOnlySpan<uint4> source, uint4 value)
method Contains (line 997) | public static bool Contains(this float2[] source, float2 value)
method Contains (line 1008) | public static bool Contains(this List<float2> source, float2 value)
method Contains (line 1020) | public static bool Contains(this Memory<float2> source, float2 value)
method Contains (line 1025) | public static bool Contains(this ReadOnlyMemory<float2> source, float2...
method Contains (line 1030) | public static bool Contains(this Span<float2> source, float2 value)
method Contains (line 1035) | public static bool Contains(this ReadOnlySpan<float2> source, float2 v...
method Contains (line 1044) | public static bool Contains(this float3[] source, float3 value)
method Contains (line 1055) | public static bool Contains(this List<float3> source, float3 value)
method Contains (line 1067) | public static bool Contains(this Memory<float3> source, float3 value)
method Contains (line 1072) | public static bool Contains(this ReadOnlyMemory<float3> source, float3...
method Contains (line 1077) | public static bool Contains(this Span<float3> source, float3 value)
method Contains (line 1082) | public static bool Contains(this ReadOnlySpan<float3> source, float3 v...
method Contains (line 1091) | public static bool Contains(this float4[] source, float4 value)
method Contains (line 1102) | public static bool Contains(this List<float4> source, float4 value)
method Contains (line 1114) | public static bool Contains(this Memory<float4> source, float4 value)
method Contains (line 1119) | public static bool Contains(this ReadOnlyMemory<float4> source, float4...
method Contains (line 1124) | public static bool Contains(this Span<float4> source, float4 value)
method Contains (line 1129) | public static bool Contains(this ReadOnlySpan<float4> source, float4 v...
method Contains (line 1138) | public static bool Contains(this double2[] source, double2 value)
method Contains (line 1149) | public static bool Contains(this List<double2> source, double2 value)
method Contains (line 1161) | public static bool Contains(this Memory<double2> source, double2 value)
method Contains (line 1166) | public static bool Contains(this ReadOnlyMemory<double2> source, doubl...
method Contains (line 1171) | public static bool Contains(this Span<double2> source, double2 value)
method Contains (line 1176) | public static bool Contains(this ReadOnlySpan<double2> source, double2...
method Contains (line 1185) | public static bool Contains(this double3[] source, double3 value)
method Contains (line 1196) | public static bool Contains(this List<double3> source, double3 value)
method Contains (line 1208) | public static bool Contains(this Memory<double3> source, double3 value)
method Contains (line 1213) | public static bool Contains(this ReadOnlyMemory<double3> source, doubl...
method Contains (line 1218) | public static bool Contains(this Span<double3> source, double3 value)
method Contains (line 1223) | public static bool Contains(this ReadOnlySpan<double3> source, double3...
method Contains (line 1232) | public static bool Contains(this double4[] source, double4 value)
method Contains (line 1243) | public static bool Contains(this List<double4> source, double4 value)
method Contains (line 1255) | public static bool Contains(this Memory<double4> source, double4 value)
method Contains (line 1260) | public static bool Contains(this ReadOnlyMemory<double4> source, doubl...
method Contains (line 1265) | public static bool Contains(this Span<double4> source, double4 value)
method Contains (line 1270) | public static bool Contains(this ReadOnlySpan<double4> source, double4...
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.cs
class BurstLinqExtensions (line 6) | public unsafe static partial class BurstLinqExtensions
method Max (line 8) | public static byte Max(this byte[] source)
method Max (line 20) | public static byte Max(this List<byte> source)
method Max (line 33) | public static byte Max(this Memory<byte> source)
method Max (line 38) | public static byte Max(this ReadOnlyMemory<byte> source)
method Max (line 43) | public static byte Max(this Span<byte> source)
method Max (line 48) | public static byte Max(this ReadOnlySpan<byte> source)
method Max (line 57) | public static sbyte Max(this sbyte[] source)
method Max (line 69) | public static sbyte Max(this List<sbyte> source)
method Max (line 82) | public static sbyte Max(this Memory<sbyte> source)
method Max (line 87) | public static sbyte Max(this ReadOnlyMemory<sbyte> source)
method Max (line 92) | public static sbyte Max(this Span<sbyte> source)
method Max (line 97) | public static sbyte Max(this ReadOnlySpan<sbyte> source)
method Max (line 106) | public static short Max(this short[] source)
method Max (line 118) | public static short Max(this List<short> source)
method Max (line 131) | public static short Max(this Memory<short> source)
method Max (line 136) | public static short Max(this ReadOnlyMemory<short> source)
method Max (line 141) | public static short Max(this Span<short> source)
method Max (line 146) | public static short Max(this ReadOnlySpan<short> source)
method Max (line 155) | public static ushort Max(this ushort[] source)
method Max (line 167) | public static ushort Max(this List<ushort> source)
method Max (line 180) | public static ushort Max(this Memory<ushort> source)
method Max (line 185) | public static ushort Max(this ReadOnlyMemory<ushort> source)
method Max (line 190) | public static ushort Max(this Span<ushort> source)
method Max (line 195) | public static ushort Max(this ReadOnlySpan<ushort> source)
method Max (line 204) | public static int Max(this int[] source)
method Max (line 216) | public static int Max(this List<int> source)
method Max (line 229) | public static int Max(this Memory<int> source)
method Max (line 234) | public static int Max(this ReadOnlyMemory<int> source)
method Max (line 239) | public static int Max(this Span<int> source)
method Max (line 244) | public static int Max(this ReadOnlySpan<int> source)
method Max (line 253) | public static uint Max(this uint[] source)
method Max (line 265) | public static uint Max(this List<uint> source)
method Max (line 278) | public static uint Max(this Memory<uint> source)
method Max (line 283) | public static uint Max(this ReadOnlyMemory<uint> source)
method Max (line 288) | public static uint Max(this Span<uint> source)
method Max (line 293) | public static uint Max(this ReadOnlySpan<uint> source)
method Max (line 302) | public static long Max(this long[] source)
method Max (line 314) | public static long Max(this List<long> source)
method Max (line 327) | public static long Max(this Memory<long> source)
method Max (line 332) | public static long Max(this ReadOnlyMemory<long> source)
method Max (line 337) | public static long Max(this Span<long> source)
method Max (line 342) | public static long Max(this ReadOnlySpan<long> source)
method Max (line 351) | public static ulong Max(this ulong[] source)
method Max (line 363) | public static ulong Max(this List<ulong> source)
method Max (line 376) | public static ulong Max(this Memory<ulong> source)
method Max (line 381) | public static ulong Max(this ReadOnlyMemory<ulong> source)
method Max (line 386) | public static ulong Max(this Span<ulong> source)
method Max (line 391) | public static ulong Max(this ReadOnlySpan<ulong> source)
method Max (line 400) | public static float Max(this float[] source)
method Max (line 412) | public static float Max(this List<float> source)
method Max (line 425) | public static float Max(this Memory<float> source)
method Max (line 430) | public static float Max(this ReadOnlyMemory<float> source)
method Max (line 435) | public static float Max(this Span<float> source)
method Max (line 440) | public static float Max(this ReadOnlySpan<float> source)
method Max (line 449) | public static double Max(this double[] source)
method Max (line 461) | public static double Max(this List<double> source)
method Max (line 474) | public static double Max(this Memory<double> source)
method Max (line 479) | public static double Max(this ReadOnlyMemory<double> source)
method Max (line 484) | public static double Max(this Span<double> source)
method Max (line 489) | public static double Max(this ReadOnlySpan<double> source)
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.cs
class BurstLinqExtensions (line 6) | public unsafe static partial class BurstLinqExtensions
method Min (line 8) | public static byte Min(this byte[] source)
method Min (line 20) | public static byte Min(this List<byte> source)
method Min (line 33) | public static byte Min(this Memory<byte> source)
method Min (line 38) | public static byte Min(this ReadOnlyMemory<byte> source)
method Min (line 43) | public static byte Min(this Span<byte> source)
method Min (line 48) | public static byte Min(this ReadOnlySpan<byte> source)
method Min (line 57) | public static sbyte Min(this sbyte[] source)
method Min (line 69) | public static sbyte Min(this List<sbyte> source)
method Min (line 82) | public static sbyte Min(this Memory<sbyte> source)
method Min (line 87) | public static sbyte Min(this ReadOnlyMemory<sbyte> source)
method Min (line 92) | public static sbyte Min(this Span<sbyte> source)
method Min (line 97) | public static sbyte Min(this ReadOnlySpan<sbyte> source)
method Min (line 106) | public static short Min(this short[] source)
method Min (line 118) | public static short Min(this List<short> source)
method Min (line 131) | public static short Min(this Memory<short> source)
method Min (line 136) | public static short Min(this ReadOnlyMemory<short> source)
method Min (line 141) | public static short Min(this Span<short> source)
method Min (line 146) | public static short Min(this ReadOnlySpan<short> source)
method Min (line 155) | public static ushort Min(this ushort[] source)
method Min (line 167) | public static ushort Min(this List<ushort> source)
method Min (line 180) | public static ushort Min(this Memory<ushort> source)
method Min (line 185) | public static ushort Min(this ReadOnlyMemory<ushort> source)
method Min (line 190) | public static ushort Min(this Span<ushort> source)
method Min (line 195) | public static ushort Min(this ReadOnlySpan<ushort> source)
method Min (line 204) | public static int Min(this int[] source)
method Min (line 216) | public static int Min(this List<int> source)
method Min (line 229) | public static int Min(this Memory<int> source)
method Min (line 234) | public static int Min(this ReadOnlyMemory<int> source)
method Min (line 239) | public static int Min(this Span<int> source)
method Min (line 244) | public static int Min(this ReadOnlySpan<int> source)
method Min (line 253) | public static uint Min(this uint[] source)
method Min (line 265) | public static uint Min(this List<uint> source)
method Min (line 278) | public static uint Min(this Memory<uint> source)
method Min (line 283) | public static uint Min(this ReadOnlyMemory<uint> source)
method Min (line 288) | public static uint Min(this Span<uint> source)
method Min (line 293) | public static uint Min(this ReadOnlySpan<uint> source)
method Min (line 302) | public static long Min(this long[] source)
method Min (line 314) | public static long Min(this List<long> source)
method Min (line 327) | public static long Min(this Memory<long> source)
method Min (line 332) | public static long Min(this ReadOnlyMemory<long> source)
method Min (line 337) | public static long Min(this Span<long> source)
method Min (line 342) | public static long Min(this ReadOnlySpan<long> source)
method Min (line 351) | public static ulong Min(this ulong[] source)
method Min (line 363) | public static ulong Min(this List<ulong> source)
method Min (line 376) | public static ulong Min(this Memory<ulong> source)
method Min (line 381) | public static ulong Min(this ReadOnlyMemory<ulong> source)
method Min (line 386) | public static ulong Min(this Span<ulong> source)
method Min (line 391) | public static ulong Min(this ReadOnlySpan<ulong> source)
method Min (line 400) | public static float Min(this float[] source)
method Min (line 412) | public static float Min(this List<float> source)
method Min (line 425) | public static float Min(this Memory<float> source)
method Min (line 430) | public static float Min(this ReadOnlyMemory<float> source)
method Min (line 435) | public static float Min(this Span<float> source)
method Min (line 440) | public static float Min(this ReadOnlySpan<float> source)
method Min (line 449) | public static double Min(this double[] source)
method Min (line 461) | public static double Min(this List<double> source)
method Min (line 474) | public static double Min(this Memory<double> source)
method Min (line 479) | public static double Min(this ReadOnlyMemory<double> source)
method Min (line 484) | public static double Min(this Span<double> source)
method Min (line 489) | public static double Min(this ReadOnlySpan<double> source)
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.cs
class BurstLinqExtensions (line 10) | public unsafe static partial class BurstLinqExtensions
method Average (line 12) | public static double Average(this NativeList<int> source)
method Average (line 19) | public static double Average(this NativeSlice<int> source)
method Average (line 26) | public static double Average(this NativeArray<int> source)
method AverageCore (line 33) | [BurstCompile]
method Average (line 40) | public static double Average(this NativeList<uint> source)
method Average (line 47) | public static double Average(this NativeSlice<uint> source)
method Average (line 54) | public static double Average(this NativeArray<uint> source)
method AverageCore (line 61) | [BurstCompile]
method Average (line 68) | public static double Average(this NativeList<long> source)
method Average (line 75) | public static double Average(this NativeSlice<long> source)
method Average (line 82) | public static double Average(this NativeArray<long> source)
method AverageCore (line 89) | [BurstCompile]
method Average (line 96) | public static double Average(this NativeList<ulong> source)
method Average (line 103) | public static double Average(this NativeSlice<ulong> source)
method Average (line 110) | public static double Average(this NativeArray<ulong> source)
method AverageCore (line 117) | [BurstCompile]
method Average (line 124) | public static float Average(this NativeList<float> source)
method Average (line 131) | public static float Average(this NativeSlice<float> source)
method Average (line 138) | public static float Average(this NativeArray<float> source)
method AverageCore (line 145) | [BurstCompile]
method Average (line 152) | public static double Average(this NativeList<double> source)
method Average (line 159) | public static double Average(this NativeSlice<double> source)
method Average (line 166) | public static double Average(this NativeArray<double> source)
method AverageCore (line 173) | [BurstCompile]
method Average (line 180) | public static Vector2 Average(this NativeList<Vector2> source)
method Average (line 187) | public static Vector2 Average(this NativeSlice<Vector2> source)
method Average (line 194) | public static Vector2 Average(this NativeArray<Vector2> source)
method AverageCore (line 201) | [BurstCompile]
method Average (line 208) | public static Vector2 Average(this NativeList<Vector2Int> source)
method Average (line 215) | public static Vector2 Average(this NativeSlice<Vector2Int> source)
method Average (line 222) | public static Vector2 Average(this NativeArray<Vector2Int> source)
method AverageCore (line 229) | [BurstCompile]
method Average (line 236) | public static Vector3 Average(this NativeList<Vector3> source)
method Average (line 243) | public static Vector3 Average(this NativeSlice<Vector3> source)
method Average (line 250) | public static Vector3 Average(this NativeArray<Vector3> source)
method AverageCore (line 257) | [BurstCompile]
method Average (line 264) | public static Vector3 Average(this NativeList<Vector3Int> source)
method Average (line 271) | public static Vector3 Average(this NativeSlice<Vector3Int> source)
method Average (line 278) | public static Vector3 Average(this NativeArray<Vector3Int> source)
method AverageCore (line 285) | [BurstCompile]
method Average (line 292) | public static Vector4 Average(this NativeList<Vector4> source)
method Average (line 299) | public static Vector4 Average(this NativeSlice<Vector4> source)
method Average (line 306) | public static Vector4 Average(this NativeArray<Vector4> source)
method AverageCore (line 313) | [BurstCompile]
method Average (line 320) | public static double2 Average(this NativeList<int2> source)
method Average (line 327) | public static double2 Average(this NativeSlice<int2> source)
method Average (line 334) | public static double2 Average(this NativeArray<int2> source)
method AverageCore (line 341) | [BurstCompile]
method Average (line 348) | public static double3 Average(this NativeList<int3> source)
method Average (line 355) | public static double3 Average(this NativeSlice<int3> source)
method Average (line 362) | public static double3 Average(this NativeArray<int3> source)
method AverageCore (line 369) | [BurstCompile]
method Average (line 376) | public static double4 Average(this NativeList<int4> source)
method Average (line 383) | public static double4 Average(this NativeSlice<int4> source)
method Average (line 390) | public static double4 Average(this NativeArray<int4> source)
method AverageCore (line 397) | [BurstCompile]
method Average (line 404) | public static float2 Average(this NativeList<float2> source)
method Average (line 411) | public static float2 Average(this NativeSlice<float2> source)
method Average (line 418) | public static float2 Average(this NativeArray<float2> source)
method AverageCore (line 425) | [BurstCompile]
method Average (line 432) | public static float3 Average(this NativeList<float3> source)
method Average (line 439) | public static float3 Average(this NativeSlice<float3> source)
method Average (line 446) | public static float3 Average(this NativeArray<float3> source)
method AverageCore (line 453) | [BurstCompile]
method Average (line 460) | public static float4 Average(this NativeList<float4> source)
method Average (line 467) | public static float4 Average(this NativeSlice<float4> source)
method Average (line 474) | public static float4 Average(this NativeArray<float4> source)
method AverageCore (line 481) | [BurstCompile]
method Average (line 488) | public static double2 Average(this NativeList<double2> source)
method Average (line 495) | public static double2 Average(this NativeSlice<double2> source)
method Average (line 502) | public static double2 Average(this NativeArray<double2> source)
method AverageCore (line 509) | [BurstCompile]
method Average (line 516) | public static double3 Average(this NativeList<double3> source)
method Average (line 523) | public static double3 Average(this NativeSlice<double3> source)
method Average (line 530) | public static double3 Average(this NativeArray<double3> source)
method AverageCore (line 537) | [BurstCompile]
method Average (line 544) | public static double4 Average(this NativeList<double4> source)
method Average (line 551) | public static double4 Average(this NativeSlice<double4> source)
method Average (line 558) | public static double4 Average(this NativeArray<double4> source)
method AverageCore (line 565) | [BurstCompile]
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.cs
class BurstLinqExtensions (line 11) | public unsafe static partial class BurstLinqExtensions
method Contains (line 13) | public static bool Contains(this NativeList<byte> source, byte value)
method Contains (line 18) | public static bool Contains(this NativeSlice<byte> source, byte value)
method Contains (line 23) | public static bool Contains(this NativeArray<byte> source, byte value)
method ContainsCore (line 28) | [BurstCompile]
method Contains (line 120) | public static bool Contains(this NativeList<sbyte> source, sbyte value)
method Contains (line 125) | public static bool Contains(this NativeSlice<sbyte> source, sbyte value)
method Contains (line 130) | public static bool Contains(this NativeArray<sbyte> source, sbyte value)
method ContainsCore (line 135) | [BurstCompile]
method Contains (line 227) | public static bool Contains(this NativeList<short> source, short value)
method Contains (line 232) | public static bool Contains(this NativeSlice<short> source, short value)
method Contains (line 237) | public static bool Contains(this NativeArray<short> source, short value)
method ContainsCore (line 242) | [BurstCompile]
method Contains (line 310) | public static bool Contains(this NativeList<ushort> source, ushort value)
method Contains (line 315) | public static bool Contains(this NativeSlice<ushort> source, ushort va...
method Contains (line 320) | public static bool Contains(this NativeArray<ushort> source, ushort va...
method ContainsCore (line 325) | [BurstCompile]
method Contains (line 393) | public static bool Contains(this NativeList<int> source, int value)
method Contains (line 398) | public static bool Contains(this NativeSlice<int> source, int value)
method Contains (line 403) | public static bool Contains(this NativeArray<int> source, int value)
method ContainsCore (line 408) | [BurstCompile]
method Contains (line 464) | public static bool Contains(this NativeList<uint> source, uint value)
method Contains (line 469) | public static bool Contains(this NativeSlice<uint> source, uint value)
method Contains (line 474) | public static bool Contains(this NativeArray<uint> source, uint value)
method ContainsCore (line 479) | [BurstCompile]
method Contains (line 535) | public static bool Contains(this NativeList<long> source, long value)
method Contains (line 540) | public static bool Contains(this NativeSlice<long> source, long value)
method Contains (line 545) | public static bool Contains(this NativeArray<long> source, long value)
method ContainsCore (line 550) | [BurstCompile]
method Contains (line 600) | public static bool Contains(this NativeList<ulong> source, ulong value)
method Contains (line 605) | public static bool Contains(this NativeSlice<ulong> source, ulong value)
method Contains (line 610) | public static bool Contains(this NativeArray<ulong> source, ulong value)
method ContainsCore (line 615) | [BurstCompile]
method Contains (line 665) | public static bool Contains(this NativeList<float> source, float value)
method Contains (line 670) | public static bool Contains(this NativeSlice<float> source, float value)
method Contains (line 675) | public static bool Contains(this NativeArray<float> source, float value)
method ContainsCore (line 680) | [BurstCompile]
method Contains (line 736) | public static bool Contains(this NativeList<double> source, double value)
method Contains (line 741) | public static bool Contains(this NativeSlice<double> source, double va...
method Contains (line 746) | public static bool Contains(this NativeArray<double> source, double va...
method ContainsCore (line 751) | [BurstCompile]
method Contains (line 801) | public static bool Contains(this NativeList<Vector2> source, Vector2 v...
method Contains (line 806) | public static bool Contains(this NativeSlice<Vector2> source, Vector2 ...
method Contains (line 811) | public static bool Contains(this NativeArray<Vector2> source, Vector2 ...
method ContainsCore (line 816) | [BurstCompile]
method Contains (line 826) | public static bool Contains(this NativeList<Vector2Int> source, Vector...
method Contains (line 831) | public static bool Contains(this NativeSlice<Vector2Int> source, Vecto...
method Contains (line 836) | public static bool Contains(this NativeArray<Vector2Int> source, Vecto...
method ContainsCore (line 841) | internal static bool ContainsCore(Vector2Int* ptr, [AssumeRange(1, int...
method Contains (line 847) | public static bool Contains(this NativeList<Vector3> source, Vector3 v...
method Contains (line 852) | public static bool Contains(this NativeSlice<Vector3> source, Vector3 ...
method Contains (line 857) | public static bool Contains(this NativeArray<Vector3> source, Vector3 ...
method ContainsCore (line 862) | [BurstCompile]
method Contains (line 872) | public static bool Contains(this NativeList<Vector3Int> source, Vector...
method Contains (line 877) | public static bool Contains(this NativeSlice<Vector3Int> source, Vecto...
method Contains (line 882) | public static bool Contains(this NativeArray<Vector3Int> source, Vecto...
method ContainsCore (line 887) | [BurstCompile]
method Contains (line 897) | public static bool Contains(this NativeList<Vector4> source, Vector4 v...
method Contains (line 902) | public static bool Contains(this NativeSlice<Vector4> source, Vector4 ...
method Contains (line 907) | public static bool Contains(this NativeArray<Vector4> source, Vector4 ...
method ContainsCore (line 912) | [BurstCompile]
method Contains (line 922) | public static bool Contains(this NativeList<int2> source, int2 value)
method Contains (line 927) | public static bool Contains(this NativeSlice<int2> source, int2 value)
method Contains (line 932) | public static bool Contains(this NativeArray<int2> source, int2 value)
method ContainsCore (line 937) | internal static bool ContainsCore(int2* ptr, [AssumeRange(1, int.MaxVa...
method Contains (line 943) | public static bool Contains(this NativeList<int3> source, int3 value)
method Contains (line 948) | public static bool Contains(this NativeSlice<int3> source, int3 value)
method Contains (line 953) | public static bool Contains(this NativeArray<int3> source, int3 value)
method ContainsCore (line 958) | [BurstCompile]
method Contains (line 968) | public static bool Contains(this NativeList<int4> source, int4 value)
method Contains (line 973) | public static bool Contains(this NativeSlice<int4> source, int4 value)
method Contains (line 978) | public static bool Contains(this NativeArray<int4> source, int4 value)
method ContainsCore (line 983) | [BurstCompile]
method Contains (line 993) | public static bool Contains(this NativeList<uint2> source, uint2 value)
method Contains (line 998) | public static bool Contains(this NativeSlice<uint2> source, uint2 value)
method Contains (line 1003) | public static bool Contains(this NativeArray<uint2> source, uint2 value)
method ContainsCore (line 1008) | internal static bool ContainsCore(uint2* ptr, [AssumeRange(1, int.MaxV...
method Contains (line 1014) | public static bool Contains(this NativeList<uint3> source, uint3 value)
method Contains (line 1019) | public static bool Contains(this NativeSlice<uint3> source, uint3 value)
method Contains (line 1024) | public static bool Contains(this NativeArray<uint3> source, uint3 value)
method ContainsCore (line 1029) | [BurstCompile]
method Contains (line 1039) | public static bool Contains(this NativeList<uint4> source, uint4 value)
method Contains (line 1044) | public static bool Contains(this NativeSlice<uint4> source, uint4 value)
method Contains (line 1049) | public static bool Contains(this NativeArray<uint4> source, uint4 value)
method ContainsCore (line 1054) | [BurstCompile]
method Contains (line 1064) | public static bool Contains(this NativeList<float2> source, float2 value)
method Contains (line 1069) | public static bool Contains(this NativeSlice<float2> source, float2 va...
method Contains (line 1074) | public static bool Contains(this NativeArray<float2> source, float2 va...
method ContainsCore (line 1079) | [BurstCompile]
method Contains (line 1089) | public static bool Contains(this NativeList<float3> source, float3 value)
method Contains (line 1094) | public static bool Contains(this NativeSlice<float3> source, float3 va...
method Contains (line 1099) | public static bool Contains(this NativeArray<float3> source, float3 va...
method ContainsCore (line 1104) | [BurstCompile]
method Contains (line 1114) | public static bool Contains(this NativeList<float4> source, float4 value)
method Contains (line 1119) | public static bool Contains(this NativeSlice<float4> source, float4 va...
method Contains (line 1124) | public static bool Contains(this NativeArray<float4> source, float4 va...
method ContainsCore (line 1129) | [BurstCompile]
method Contains (line 1139) | public static bool Contains(this NativeList<double2> source, double2 v...
method Contains (line 1144) | public static bool Contains(this NativeSlice<double2> source, double2 ...
method Contains (line 1149) | public static bool Contains(this NativeArray<double2> source, double2 ...
method ContainsCore (line 1154) | [BurstCompile]
method Contains (line 1164) | public static bool Contains(this NativeList<double3> source, double3 v...
method Contains (line 1169) | public static bool Contains(this NativeSlice<double3> source, double3 ...
method Contains (line 1174) | public static bool Contains(this NativeArray<double3> source, double3 ...
method ContainsCore (line 1179) | [BurstCompile]
method Contains (line 1189) | public static bool Contains(this NativeList<double4> source, double4 v...
method Contains (line 1194) | public static bool Contains(this NativeSlice<double4> source, double4 ...
method Contains (line 1199) | public static bool Contains(this NativeArray<double4> source, double4 ...
method ContainsCore (line 1204) | [BurstCompile]
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Max.cs
class BurstLinqExtensions (line 11) | public unsafe static partial class BurstLinqExtensions
method Max (line 13) | public static byte Max(this NativeList<byte> source)
method Max (line 20) | public static byte Max(this NativeSlice<byte> source)
method Max (line 27) | public static byte Max(this NativeArray<byte> source)
method MaxCore (line 34) | [BurstCompile]
method Max (line 48) | public static sbyte Max(this NativeList<sbyte> source)
method Max (line 55) | public static sbyte Max(this NativeSlice<sbyte> source)
method Max (line 62) | public static sbyte Max(this NativeArray<sbyte> source)
method MaxCore (line 69) | [BurstCompile]
method Max (line 83) | public static short Max(this NativeList<short> source)
method Max (line 90) | public static short Max(this NativeSlice<short> source)
method Max (line 97) | public static short Max(this NativeArray<short> source)
method MaxCore (line 104) | [BurstCompile]
method Max (line 118) | public static ushort Max(this NativeList<ushort> source)
method Max (line 125) | public static ushort Max(this NativeSlice<ushort> source)
method Max (line 132) | public static ushort Max(this NativeArray<ushort> source)
method MaxCore (line 139) | [BurstCompile]
method Max (line 153) | public static int Max(this NativeList<int> source)
method Max (line 160) | public static int Max(this NativeSlice<int> source)
method Max (line 167) | public static int Max(this NativeArray<int> source)
method MaxCore (line 174) | [BurstCompile]
method Max (line 188) | public static uint Max(this NativeList<uint> source)
method Max (line 195) | public static uint Max(this NativeSlice<uint> source)
method Max (line 202) | public static uint Max(this NativeArray<uint> source)
method MaxCore (line 209) | [BurstCompile]
method Max (line 223) | public static long Max(this NativeList<long> source)
method Max (line 230) | public static long Max(this NativeSlice<long> source)
method Max (line 237) | public static long Max(this NativeArray<long> source)
method MaxCore (line 244) | [BurstCompile]
method Max (line 258) | public static ulong Max(this NativeList<ulong> source)
method Max (line 265) | public static ulong Max(this NativeSlice<ulong> source)
method Max (line 272) | public static ulong Max(this NativeArray<ulong> source)
method MaxCore (line 279) | [BurstCompile]
method Max (line 293) | public static float Max(this NativeList<float> source)
method Max (line 300) | public static float Max(this NativeSlice<float> source)
method Max (line 307) | public static float Max(this NativeArray<float> source)
method MaxCore (line 314) | [BurstCompile]
method Max (line 384) | public static double Max(this NativeList<double> source)
method Max (line 391) | public static double Max(this NativeSlice<double> source)
method Max (line 398) | public static double Max(this NativeArray<double> source)
method MaxCore (line 405) | [BurstCompile]
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Min.cs
class BurstLinqExtensions (line 11) | public unsafe static partial class BurstLinqExtensions
method Min (line 13) | public static byte Min(this NativeList<byte> source)
method Min (line 20) | public static byte Min(this NativeSlice<byte> source)
method Min (line 27) | public static byte Min(this NativeArray<byte> source)
method MinCore (line 34) | [BurstCompile]
method Min (line 48) | public static sbyte Min(this NativeList<sbyte> source)
method Min (line 55) | public static sbyte Min(this NativeSlice<sbyte> source)
method Min (line 62) | public static sbyte Min(this NativeArray<sbyte> source)
method MinCore (line 69) | [BurstCompile]
method Min (line 83) | public static short Min(this NativeList<short> source)
method Min (line 90) | public static short Min(this NativeSlice<short> source)
method Min (line 97) | public static short Min(this NativeArray<short> source)
method MinCore (line 104) | [BurstCompile]
method Min (line 118) | public static ushort Min(this NativeList<ushort> source)
method Min (line 125) | public static ushort Min(this NativeSlice<ushort> source)
method Min (line 132) | public static ushort Min(this NativeArray<ushort> source)
method MinCore (line 139) | [BurstCompile]
method Min (line 153) | public static int Min(this NativeList<int> source)
method Min (line 160) | public static int Min(this NativeSlice<int> source)
method Min (line 167) | public static int Min(this NativeArray<int> source)
method MinCore (line 174) | [BurstCompile]
method Min (line 188) | public static uint Min(this NativeList<uint> source)
method Min (line 195) | public static uint Min(this NativeSlice<uint> source)
method Min (line 202) | public static uint Min(this NativeArray<uint> source)
method MinCore (line 209) | [BurstCompile]
method Min (line 223) | public static long Min(this NativeList<long> source)
method Min (line 230) | public static long Min(this NativeSlice<long> source)
method Min (line 237) | public static long Min(this NativeArray<long> source)
method MinCore (line 244) | [BurstCompile]
method Min (line 258) | public static ulong Min(this NativeList<ulong> source)
method Min (line 265) | public static ulong Min(this NativeSlice<ulong> source)
method Min (line 272) | public static ulong Min(this NativeArray<ulong> source)
method MinCore (line 279) | [BurstCompile]
method Min (line 293) | public static float Min(this NativeList<float> source)
method Min (line 300) | public static float Min(this NativeSlice<float> source)
method Min (line 307) | public static float Min(this NativeArray<float> source)
method MinCore (line 314) | [BurstCompile]
method Min (line 383) | public static double Min(this NativeList<double> source)
method Min (line 390) | public static double Min(this NativeSlice<double> source)
method Min (line 397) | public static double Min(this NativeArray<double> source)
method MinCore (line 404) | [BurstCompile]
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.SequenceEqual.cs
class BurstLinqExtensions (line 13) | public unsafe static partial class BurstLinqExtensions
method SequenceEqual (line 15) | public static bool SequenceEqual(this NativeList<byte> first, NativeLi...
method SequenceEqual (line 21) | public static bool SequenceEqual(this NativeSlice<byte> first, NativeS...
method SequenceEqual (line 27) | public static bool SequenceEqual(this NativeArray<byte> first, NativeA...
method SequenceEqualCore (line 33) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 39) | public static bool SequenceEqual(this NativeList<sbyte> first, NativeL...
method SequenceEqual (line 45) | public static bool SequenceEqual(this NativeSlice<sbyte> first, Native...
method SequenceEqual (line 51) | public static bool SequenceEqual(this NativeArray<sbyte> first, Native...
method SequenceEqualCore (line 57) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 63) | public static bool SequenceEqual(this NativeList<short> first, NativeL...
method SequenceEqual (line 69) | public static bool SequenceEqual(this NativeSlice<short> first, Native...
method SequenceEqual (line 75) | public static bool SequenceEqual(this NativeArray<short> first, Native...
method SequenceEqualCore (line 81) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 87) | public static bool SequenceEqual(this NativeList<ushort> first, Native...
method SequenceEqual (line 93) | public static bool SequenceEqual(this NativeSlice<ushort> first, Nativ...
method SequenceEqual (line 99) | public static bool SequenceEqual(this NativeArray<ushort> first, Nativ...
method SequenceEqualCore (line 105) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 111) | public static bool SequenceEqual(this NativeList<int> first, NativeLis...
method SequenceEqual (line 117) | public static bool SequenceEqual(this NativeSlice<int> first, NativeSl...
method SequenceEqual (line 123) | public static bool SequenceEqual(this NativeArray<int> first, NativeAr...
method SequenceEqualCore (line 129) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 135) | public static bool SequenceEqual(this NativeList<uint> first, NativeLi...
method SequenceEqual (line 141) | public static bool SequenceEqual(this NativeSlice<uint> first, NativeS...
method SequenceEqual (line 147) | public static bool SequenceEqual(this NativeArray<uint> first, NativeA...
method SequenceEqualCore (line 153) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 159) | public static bool SequenceEqual(this NativeList<long> first, NativeLi...
method SequenceEqual (line 165) | public static bool SequenceEqual(this NativeSlice<long> first, NativeS...
method SequenceEqual (line 171) | public static bool SequenceEqual(this NativeArray<long> first, NativeA...
method SequenceEqualCore (line 177) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 183) | public static bool SequenceEqual(this NativeList<ulong> first, NativeL...
method SequenceEqual (line 189) | public static bool SequenceEqual(this NativeSlice<ulong> first, Native...
method SequenceEqual (line 195) | public static bool SequenceEqual(this NativeArray<ulong> first, Native...
method SequenceEqualCore (line 201) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 207) | public static bool SequenceEqual(this NativeList<float> first, NativeL...
method SequenceEqual (line 213) | public static bool SequenceEqual(this NativeSlice<float> first, Native...
method SequenceEqual (line 219) | public static bool SequenceEqual(this NativeArray<float> first, Native...
method SequenceEqualCore (line 225) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 231) | public static bool SequenceEqual(this NativeList<double> first, Native...
method SequenceEqual (line 237) | public static bool SequenceEqual(this NativeSlice<double> first, Nativ...
method SequenceEqual (line 243) | public static bool SequenceEqual(this NativeArray<double> first, Nativ...
method SequenceEqualCore (line 249) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 255) | public static bool SequenceEqual(this NativeList<Vector2> first, Nativ...
method SequenceEqual (line 261) | public static bool SequenceEqual(this NativeSlice<Vector2> first, Nati...
method SequenceEqual (line 267) | public static bool SequenceEqual(this NativeArray<Vector2> first, Nati...
method SequenceEqualCore (line 273) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 279) | public static bool SequenceEqual(this NativeList<Vector2Int> first, Na...
method SequenceEqual (line 285) | public static bool SequenceEqual(this NativeSlice<Vector2Int> first, N...
method SequenceEqual (line 291) | public static bool SequenceEqual(this NativeArray<Vector2Int> first, N...
method SequenceEqualCore (line 297) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 303) | public static bool SequenceEqual(this NativeList<Vector3> first, Nativ...
method SequenceEqual (line 309) | public static bool SequenceEqual(this NativeSlice<Vector3> first, Nati...
method SequenceEqual (line 315) | public static bool SequenceEqual(this NativeArray<Vector3> first, Nati...
method SequenceEqualCore (line 321) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 327) | public static bool SequenceEqual(this NativeList<Vector3Int> first, Na...
method SequenceEqual (line 333) | public static bool SequenceEqual(this NativeSlice<Vector3Int> first, N...
method SequenceEqual (line 339) | public static bool SequenceEqual(this NativeArray<Vector3Int> first, N...
method SequenceEqualCore (line 345) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 351) | public static bool SequenceEqual(this NativeList<Vector4> first, Nativ...
method SequenceEqual (line 357) | public static bool SequenceEqual(this NativeSlice<Vector4> first, Nati...
method SequenceEqual (line 363) | public static bool SequenceEqual(this NativeArray<Vector4> first, Nati...
method SequenceEqualCore (line 369) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 375) | public static bool SequenceEqual(this NativeList<int2> first, NativeLi...
method SequenceEqual (line 381) | public static bool SequenceEqual(this NativeSlice<int2> first, NativeS...
method SequenceEqual (line 387) | public static bool SequenceEqual(this NativeArray<int2> first, NativeA...
method SequenceEqualCore (line 393) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 399) | public static bool SequenceEqual(this NativeList<int3> first, NativeLi...
method SequenceEqual (line 405) | public static bool SequenceEqual(this NativeSlice<int3> first, NativeS...
method SequenceEqual (line 411) | public static bool SequenceEqual(this NativeArray<int3> first, NativeA...
method SequenceEqualCore (line 417) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 423) | public static bool SequenceEqual(this NativeList<int4> first, NativeLi...
method SequenceEqual (line 429) | public static bool SequenceEqual(this NativeSlice<int4> first, NativeS...
method SequenceEqual (line 435) | public static bool SequenceEqual(this NativeArray<int4> first, NativeA...
method SequenceEqualCore (line 441) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 447) | public static bool SequenceEqual(this NativeList<uint2> first, NativeL...
method SequenceEqual (line 453) | public static bool SequenceEqual(this NativeSlice<uint2> first, Native...
method SequenceEqual (line 459) | public static bool SequenceEqual(this NativeArray<uint2> first, Native...
method SequenceEqualCore (line 465) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 471) | public static bool SequenceEqual(this NativeList<uint3> first, NativeL...
method SequenceEqual (line 477) | public static bool SequenceEqual(this NativeSlice<uint3> first, Native...
method SequenceEqual (line 483) | public static bool SequenceEqual(this NativeArray<uint3> first, Native...
method SequenceEqualCore (line 489) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 495) | public static bool SequenceEqual(this NativeList<uint4> first, NativeL...
method SequenceEqual (line 501) | public static bool SequenceEqual(this NativeSlice<uint4> first, Native...
method SequenceEqual (line 507) | public static bool SequenceEqual(this NativeArray<uint4> first, Native...
method SequenceEqualCore (line 513) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 519) | public static bool SequenceEqual(this NativeList<float2> first, Native...
method SequenceEqual (line 525) | public static bool SequenceEqual(this NativeSlice<float2> first, Nativ...
method SequenceEqual (line 531) | public static bool SequenceEqual(this NativeArray<float2> first, Nativ...
method SequenceEqualCore (line 537) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 543) | public static bool SequenceEqual(this NativeList<float3> first, Native...
method SequenceEqual (line 549) | public static bool SequenceEqual(this NativeSlice<float3> first, Nativ...
method SequenceEqual (line 555) | public static bool SequenceEqual(this NativeArray<float3> first, Nativ...
method SequenceEqualCore (line 561) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 567) | public static bool SequenceEqual(this NativeList<float4> first, Native...
method SequenceEqual (line 573) | public static bool SequenceEqual(this NativeSlice<float4> first, Nativ...
method SequenceEqual (line 579) | public static bool SequenceEqual(this NativeArray<float4> first, Nativ...
method SequenceEqualCore (line 585) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 591) | public static bool SequenceEqual(this NativeList<double2> first, Nativ...
method SequenceEqual (line 597) | public static bool SequenceEqual(this NativeSlice<double2> first, Nati...
method SequenceEqual (line 603) | public static bool SequenceEqual(this NativeArray<double2> first, Nati...
method SequenceEqualCore (line 609) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 615) | public static bool SequenceEqual(this NativeList<double3> first, Nativ...
method SequenceEqual (line 621) | public static bool SequenceEqual(this NativeSlice<double3> first, Nati...
method SequenceEqual (line 627) | public static bool SequenceEqual(this NativeArray<double3> first, Nati...
method SequenceEqualCore (line 633) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method SequenceEqual (line 639) | public static bool SequenceEqual(this NativeList<double4> first, Nativ...
method SequenceEqual (line 645) | public static bool SequenceEqual(this NativeSlice<double4> first, Nati...
method SequenceEqual (line 651) | public static bool SequenceEqual(this NativeArray<double4> first, Nati...
method SequenceEqualCore (line 657) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Sum.cs
class BurstLinqExtensions (line 10) | public unsafe static partial class BurstLinqExtensions
method Sum (line 12) | public static int Sum(this NativeList<int> source)
method Sum (line 19) | public static int Sum(this NativeSlice<int> source)
method Sum (line 26) | public static int Sum(this NativeArray<int> source)
method SumCore (line 33) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 41) | public static uint Sum(this NativeList<uint> source)
method Sum (line 48) | public static uint Sum(this NativeSlice<uint> source)
method Sum (line 55) | public static uint Sum(this NativeArray<uint> source)
method SumCore (line 62) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 70) | public static long Sum(this NativeList<long> source)
method Sum (line 77) | public static long Sum(this NativeSlice<long> source)
method Sum (line 84) | public static long Sum(this NativeArray<long> source)
method SumCore (line 91) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 99) | public static ulong Sum(this NativeList<ulong> source)
method Sum (line 106) | public static ulong Sum(this NativeSlice<ulong> source)
method Sum (line 113) | public static ulong Sum(this NativeArray<ulong> source)
method SumCore (line 120) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 128) | public static float Sum(this NativeList<float> source)
method Sum (line 135) | public static float Sum(this NativeSlice<float> source)
method Sum (line 142) | public static float Sum(this NativeArray<float> source)
method SumCore (line 149) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 157) | public static double Sum(this NativeList<double> source)
method Sum (line 164) | public static double Sum(this NativeSlice<double> source)
method Sum (line 171) | public static double Sum(this NativeArray<double> source)
method SumCore (line 178) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 186) | public static Vector2 Sum(this NativeList<Vector2> source)
method Sum (line 193) | public static Vector2 Sum(this NativeSlice<Vector2> source)
method Sum (line 200) | public static Vector2 Sum(this NativeArray<Vector2> source)
method SumCore (line 207) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 216) | public static Vector2Int Sum(this NativeList<Vector2Int> source)
method Sum (line 223) | public static Vector2Int Sum(this NativeSlice<Vector2Int> source)
method Sum (line 230) | public static Vector2Int Sum(this NativeArray<Vector2Int> source)
method SumCore (line 237) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 246) | public static Vector3 Sum(this NativeList<Vector3> source)
method Sum (line 253) | public static Vector3 Sum(this NativeSlice<Vector3> source)
method Sum (line 260) | public static Vector3 Sum(this NativeArray<Vector3> source)
method SumCore (line 267) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 275) | public static Vector3Int Sum(this NativeList<Vector3Int> source)
method Sum (line 282) | public static Vector3Int Sum(this NativeSlice<Vector3Int> source)
method Sum (line 289) | public static Vector3Int Sum(this NativeArray<Vector3Int> source)
method SumCore (line 296) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 304) | public static Vector4 Sum(this NativeList<Vector4> source)
method Sum (line 311) | public static Vector4 Sum(this NativeSlice<Vector4> source)
method Sum (line 318) | public static Vector4 Sum(this NativeArray<Vector4> source)
method SumCore (line 325) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 333) | public static int2 Sum(this NativeList<int2> source)
method Sum (line 340) | public static int2 Sum(this NativeSlice<int2> source)
method Sum (line 347) | public static int2 Sum(this NativeArray<int2> source)
method SumCore (line 354) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 363) | public static int3 Sum(this NativeList<int3> source)
method Sum (line 370) | public static int3 Sum(this NativeSlice<int3> source)
method Sum (line 377) | public static int3 Sum(this NativeArray<int3> source)
method SumCore (line 384) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 392) | public static int4 Sum(this NativeList<int4> source)
method Sum (line 399) | public static int4 Sum(this NativeSlice<int4> source)
method Sum (line 406) | public static int4 Sum(this NativeArray<int4> source)
method SumCore (line 413) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 421) | public static uint2 Sum(this NativeList<uint2> source)
method Sum (line 428) | public static uint2 Sum(this NativeSlice<uint2> source)
method Sum (line 435) | public static uint2 Sum(this NativeArray<uint2> source)
method SumCore (line 442) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 451) | public static uint3 Sum(this NativeList<uint3> source)
method Sum (line 458) | public static uint3 Sum(this NativeSlice<uint3> source)
method Sum (line 465) | public static uint3 Sum(this NativeArray<uint3> source)
method SumCore (line 472) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 480) | public static uint4 Sum(this NativeList<uint4> source)
method Sum (line 487) | public static uint4 Sum(this NativeSlice<uint4> source)
method Sum (line 494) | public static uint4 Sum(this NativeArray<uint4> source)
method SumCore (line 501) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 509) | public static float2 Sum(this NativeList<float2> source)
method Sum (line 516) | public static float2 Sum(this NativeSlice<float2> source)
method Sum (line 523) | public static float2 Sum(this NativeArray<float2> source)
method SumCore (line 530) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 539) | public static float3 Sum(this NativeList<float3> source)
method Sum (line 546) | public static float3 Sum(this NativeSlice<float3> source)
method Sum (line 553) | public static float3 Sum(this NativeArray<float3> source)
method SumCore (line 560) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 568) | public static float4 Sum(this NativeList<float4> source)
method Sum (line 575) | public static float4 Sum(this NativeSlice<float4> source)
method Sum (line 582) | public static float4 Sum(this NativeArray<float4> source)
method SumCore (line 589) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 597) | public static double2 Sum(this NativeList<double2> source)
method Sum (line 604) | public static double2 Sum(this NativeSlice<double2> source)
method Sum (line 611) | public static double2 Sum(this NativeArray<double2> source)
method SumCore (line 618) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 627) | public static double3 Sum(this NativeList<double3> source)
method Sum (line 634) | public static double3 Sum(this NativeSlice<double3> source)
method Sum (line 641) | public static double3 Sum(this NativeArray<double3> source)
method SumCore (line 648) | [BurstCompile(FloatMode = FloatMode.Fast)]
method Sum (line 656) | public static double4 Sum(this NativeList<double4> source)
method Sum (line 663) | public static double4 Sum(this NativeSlice<double4> source)
method Sum (line 670) | public static double4 Sum(this NativeArray<double4> source)
method SumCore (line 677) | [BurstCompile(FloatMode = FloatMode.Fast)]
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.SequenceEqual.cs
class BurstLinqExtensions (line 8) | public unsafe static partial class BurstLinqExtensions
method SequenceEqual (line 10) | public static bool SequenceEqual(this byte[] first, byte[] second)
method SequenceEqual (line 24) | public static bool SequenceEqual(this byte[] first, List<byte> second)
method SequenceEqual (line 38) | public static bool SequenceEqual(this byte[] first, Memory<byte> second)
method SequenceEqual (line 43) | public static bool SequenceEqual(this byte[] first, ReadOnlyMemory<byt...
method SequenceEqual (line 48) | public static bool SequenceEqual(this byte[] first, Span<byte> second)
method SequenceEqual (line 53) | public static bool SequenceEqual(this byte[] first, ReadOnlySpan<byte>...
method SequenceEqual (line 65) | public static bool SequenceEqual(this List<byte> first, byte[] second)
method SequenceEqual (line 70) | public static bool SequenceEqual(this List<byte> first, List<byte> sec...
method SequenceEqual (line 86) | public static bool SequenceEqual(this List<byte> first, Memory<byte> s...
method SequenceEqual (line 91) | public static bool SequenceEqual(this List<byte> first, ReadOnlyMemory...
method SequenceEqual (line 96) | public static bool SequenceEqual(this List<byte> first, Span<byte> sec...
method SequenceEqual (line 101) | public static bool SequenceEqual(this List<byte> first, ReadOnlySpan<b...
method SequenceEqual (line 114) | public static bool SequenceEqual(this Memory<byte> first, Memory<byte>...
method SequenceEqual (line 119) | public static bool SequenceEqual(this Memory<byte> first, ReadOnlyMemo...
method SequenceEqual (line 124) | public static bool SequenceEqual(this ReadOnlyMemory<byte> first, Read...
method SequenceEqual (line 129) | public static bool SequenceEqual(this Span<byte> first, Span<byte> sec...
method SequenceEqual (line 134) | public static bool SequenceEqual(this Span<byte> first, ReadOnlySpan<b...
method SequenceEqual (line 139) | public static bool SequenceEqual(this ReadOnlySpan<byte> first, ReadOn...
method SequenceEqual (line 148) | public static bool SequenceEqual(this sbyte[] first, sbyte[] second)
method SequenceEqual (line 162) | public static bool SequenceEqual(this sbyte[] first, List<sbyte> second)
method SequenceEqual (line 176) | public static bool SequenceEqual(this sbyte[] first, Memory<sbyte> sec...
method SequenceEqual (line 181) | public static bool SequenceEqual(this sbyte[] first, ReadOnlyMemory<sb...
method SequenceEqual (line 186) | public static bool SequenceEqual(this sbyte[] first, Span<sbyte> second)
method SequenceEqual (line 191) | public static bool SequenceEqual(this sbyte[] first, ReadOnlySpan<sbyt...
method SequenceEqual (line 203) | public static bool SequenceEqual(this List<sbyte> first, sbyte[] second)
method SequenceEqual (line 208) | public static bool SequenceEqual(this List<sbyte> first, List<sbyte> s...
method SequenceEqual (line 224) | public static bool SequenceEqual(this List<sbyte> first, Memory<sbyte>...
method SequenceEqual (line 229) | public static bool SequenceEqual(this List<sbyte> first, ReadOnlyMemor...
method SequenceEqual (line 234) | public static bool SequenceEqual(this List<sbyte> first, Span<sbyte> s...
method SequenceEqual (line 239) | public static bool SequenceEqual(this List<sbyte> first, ReadOnlySpan<...
method SequenceEqual (line 252) | public static bool SequenceEqual(this Memory<sbyte> first, Memory<sbyt...
method SequenceEqual (line 257) | public static bool SequenceEqual(this Memory<sbyte> first, ReadOnlyMem...
method SequenceEqual (line 262) | public static bool SequenceEqual(this ReadOnlyMemory<sbyte> first, Rea...
method SequenceEqual (line 267) | public static bool SequenceEqual(this Span<sbyte> first, Span<sbyte> s...
method SequenceEqual (line 272) | public static bool SequenceEqual(this Span<sbyte> first, ReadOnlySpan<...
method SequenceEqual (line 277) | public static bool SequenceEqual(this ReadOnlySpan<sbyte> first, ReadO...
method SequenceEqual (line 286) | public static bool SequenceEqual(this short[] first, short[] second)
method SequenceEqual (line 300) | public static bool SequenceEqual(this short[] first, List<short> second)
method SequenceEqual (line 314) | public static bool SequenceEqual(this short[] first, Memory<short> sec...
method SequenceEqual (line 319) | public static bool SequenceEqual(this short[] first, ReadOnlyMemory<sh...
method SequenceEqual (line 324) | public static bool SequenceEqual(this short[] first, Span<short> second)
method SequenceEqual (line 329) | public static bool SequenceEqual(this short[] first, ReadOnlySpan<shor...
method SequenceEqual (line 341) | public static bool SequenceEqual(this List<short> first, short[] second)
method SequenceEqual (line 346) | public static bool SequenceEqual(this List<short> first, List<short> s...
method SequenceEqual (line 362) | public static bool SequenceEqual(this List<short> first, Memory<short>...
method SequenceEqual (line 367) | public static bool SequenceEqual(this List<short> first, ReadOnlyMemor...
method SequenceEqual (line 372) | public static bool SequenceEqual(this List<short> first, Span<short> s...
method SequenceEqual (line 377) | public static bool SequenceEqual(this List<short> first, ReadOnlySpan<...
method SequenceEqual (line 390) | public static bool SequenceEqual(this Memory<short> first, Memory<shor...
method SequenceEqual (line 395) | public static bool SequenceEqual(this Memory<short> first, ReadOnlyMem...
method SequenceEqual (line 400) | public static bool SequenceEqual(this ReadOnlyMemory<short> first, Rea...
method SequenceEqual (line 405) | public static bool SequenceEqual(this Span<short> first, Span<short> s...
method SequenceEqual (line 410) | public static bool SequenceEqual(this Span<short> first, ReadOnlySpan<...
method SequenceEqual (line 415) | public static bool SequenceEqual(this ReadOnlySpan<short> first, ReadO...
method SequenceEqual (line 424) | public static bool SequenceEqual(this ushort[] first, ushort[] second)
method SequenceEqual (line 438) | public static bool SequenceEqual(this ushort[] first, List<ushort> sec...
method SequenceEqual (line 452) | public static bool SequenceEqual(this ushort[] first, Memory<ushort> s...
method SequenceEqual (line 457) | public static bool SequenceEqual(this ushort[] first, ReadOnlyMemory<u...
method SequenceEqual (line 462) | public static bool SequenceEqual(this ushort[] first, Span<ushort> sec...
method SequenceEqual (line 467) | public static bool SequenceEqual(this ushort[] first, ReadOnlySpan<ush...
method SequenceEqual (line 479) | public static bool SequenceEqual(this List<ushort> first, ushort[] sec...
method SequenceEqual (line 484) | public static bool SequenceEqual(this List<ushort> first, List<ushort>...
method SequenceEqual (line 500) | public static bool SequenceEqual(this List<ushort> first, Memory<ushor...
method SequenceEqual (line 505) | public static bool SequenceEqual(this List<ushort> first, ReadOnlyMemo...
method SequenceEqual (line 510) | public static bool SequenceEqual(this List<ushort> first, Span<ushort>...
method SequenceEqual (line 515) | public static bool SequenceEqual(this List<ushort> first, ReadOnlySpan...
method SequenceEqual (line 528) | public static bool SequenceEqual(this Memory<ushort> first, Memory<ush...
method SequenceEqual (line 533) | public static bool SequenceEqual(this Memory<ushort> first, ReadOnlyMe...
method SequenceEqual (line 538) | public static bool SequenceEqual(this ReadOnlyMemory<ushort> first, Re...
method SequenceEqual (line 543) | public static bool SequenceEqual(this Span<ushort> first, Span<ushort>...
method SequenceEqual (line 548) | public static bool SequenceEqual(this Span<ushort> first, ReadOnlySpan...
method SequenceEqual (line 553) | public static bool SequenceEqual(this ReadOnlySpan<ushort> first, Read...
method SequenceEqual (line 562) | public static bool SequenceEqual(this int[] first, int[] second)
method SequenceEqual (line 575) | public static bool SequenceEqual(this int[] first, List<int> second)
method SequenceEqual (line 589) | public static bool SequenceEqual(this int[] first, Memory<int> second)
method SequenceEqual (line 594) | public static bool SequenceEqual(this int[] first, ReadOnlyMemory<int>...
method SequenceEqual (line 599) | public static bool SequenceEqual(this int[] first, Span<int> second)
method SequenceEqual (line 604) | public static bool SequenceEqual(this int[] first, ReadOnlySpan<int> s...
method SequenceEqual (line 616) | public static bool SequenceEqual(this List<int> first, int[] second)
method SequenceEqual (line 621) | public static bool SequenceEqual(this List<int> first, List<int> second)
method SequenceEqual (line 637) | public static bool SequenceEqual(this List<int> first, Memory<int> sec...
method SequenceEqual (line 642) | public static bool SequenceEqual(this List<int> first, ReadOnlyMemory<...
method SequenceEqual (line 647) | public static bool SequenceEqual(this List<int> first, Span<int> second)
method SequenceEqual (line 652) | public static bool SequenceEqual(this List<int> first, ReadOnlySpan<in...
method SequenceEqual (line 665) | public static bool SequenceEqual(this Memory<int> first, Memory<int> s...
method SequenceEqual (line 670) | public static bool SequenceEqual(this Memory<int> first, ReadOnlyMemor...
method SequenceEqual (line 675) | public static bool SequenceEqual(this ReadOnlyMemory<int> first, ReadO...
method SequenceEqual (line 680) | public static bool SequenceEqual(this Span<int> first, Span<int> second)
method SequenceEqual (line 685) | public static bool SequenceEqual(this Span<int> first, ReadOnlySpan<in...
method SequenceEqual (line 690) | public static bool SequenceEqual(this ReadOnlySpan<int> first, ReadOnl...
method SequenceEqual (line 699) | public static bool SequenceEqual(this uint[] first, uint[] second)
method SequenceEqual (line 713) | public static bool SequenceEqual(this uint[] first, List<uint> second)
method SequenceEqual (line 727) | public static bool SequenceEqual(this uint[] first, Memory<uint> second)
method SequenceEqual (line 732) | public static bool SequenceEqual(this uint[] first, ReadOnlyMemory<uin...
method SequenceEqual (line 737) | public static bool SequenceEqual(this uint[] first, Span<uint> second)
method SequenceEqual (line 742) | public static bool SequenceEqual(this uint[] first, ReadOnlySpan<uint>...
method SequenceEqual (line 754) | public static bool SequenceEqual(this List<uint> first, uint[] second)
method SequenceEqual (line 759) | public static bool SequenceEqual(this List<uint> first, List<uint> sec...
method SequenceEqual (line 775) | public static bool SequenceEqual(this List<uint> first, Memory<uint> s...
method SequenceEqual (line 780) | public static bool SequenceEqual(this List<uint> first, ReadOnlyMemory...
method SequenceEqual (line 785) | public static bool SequenceEqual(this List<uint> first, Span<uint> sec...
method SequenceEqual (line 790) | public static bool SequenceEqual(this List<uint> first, ReadOnlySpan<u...
method SequenceEqual (line 803) | public static bool SequenceEqual(this Memory<uint> first, Memory<uint>...
method SequenceEqual (line 808) | public static bool SequenceEqual(this Memory<uint> first, ReadOnlyMemo...
method SequenceEqual (line 813) | public static bool SequenceEqual(this ReadOnlyMemory<uint> first, Read...
method SequenceEqual (line 818) | public static bool SequenceEqual(this Span<uint> first, Span<uint> sec...
method SequenceEqual (line 823) | public static bool SequenceEqual(this Span<uint> first, ReadOnlySpan<u...
method SequenceEqual (line 828) | public static bool SequenceEqual(this ReadOnlySpan<uint> first, ReadOn...
method SequenceEqual (line 837) | public static bool SequenceEqual(this long[] first, long[] second)
method SequenceEqual (line 851) | public static bool SequenceEqual(this long[] first, List<long> second)
method SequenceEqual (line 865) | public static bool SequenceEqual(this long[] first, Memory<long> second)
method SequenceEqual (line 870) | public static bool SequenceEqual(this long[] first, ReadOnlyMemory<lon...
method SequenceEqual (line 875) | public static bool SequenceEqual(this long[] first, Span<long> second)
method SequenceEqual (line 880) | public static bool SequenceEqual(this long[] first, ReadOnlySpan<long>...
method SequenceEqual (line 892) | public static bool SequenceEqual(this List<long> first, long[] second)
method SequenceEqual (line 897) | public static bool SequenceEqual(this List<long> first, List<long> sec...
method SequenceEqual (line 913) | public static bool SequenceEqual(this List<long> first, Memory<long> s...
method SequenceEqual (line 918) | public static bool SequenceEqual(this List<long> first, ReadOnlyMemory...
method SequenceEqual (line 923) | public static bool SequenceEqual(this List<long> first, Span<long> sec...
method SequenceEqual (line 928) | public static bool SequenceEqual(this List<long> first, ReadOnlySpan<l...
method SequenceEqual (line 941) | public static bool SequenceEqual(this Memory<long> first, Memory<long>...
method SequenceEqual (line 946) | public static bool SequenceEqual(this Memory<long> first, ReadOnlyMemo...
method SequenceEqual (line 951) | public static bool SequenceEqual(this ReadOnlyMemory<long> first, Read...
method SequenceEqual (line 956) | public static bool SequenceEqual(this Span<long> first, Span<long> sec...
method SequenceEqual (line 961) | public static bool SequenceEqual(this Span<long> first, ReadOnlySpan<l...
method SequenceEqual (line 966) | public static bool SequenceEqual(this ReadOnlySpan<long> first, ReadOn...
method SequenceEqual (line 975) | public static bool SequenceEqual(this ulong[] first, ulong[] second)
method SequenceEqual (line 989) | public static bool SequenceEqual(this ulong[] first, List<ulong> second)
method SequenceEqual (line 1003) | public static bool SequenceEqual(this ulong[] first, Memory<ulong> sec...
method SequenceEqual (line 1008) | public static bool SequenceEqual(this ulong[] first, ReadOnlyMemory<ul...
method SequenceEqual (line 1013) | public static bool SequenceEqual(this ulong[] first, Span<ulong> second)
method SequenceEqual (line 1018) | public static bool SequenceEqual(this ulong[] first, ReadOnlySpan<ulon...
method SequenceEqual (line 1030) | public static bool SequenceEqual(this List<ulong> first, ulong[] second)
method SequenceEqual (line 1035) | public static bool SequenceEqual(this List<ulong> first, List<ulong> s...
method SequenceEqual (line 1051) | public static bool SequenceEqual(this List<ulong> first, Memory<ulong>...
method SequenceEqual (line 1056) | public static bool SequenceEqual(this List<ulong> first, ReadOnlyMemor...
method SequenceEqual (line 1061) | public static bool SequenceEqual(this List<ulong> first, Span<ulong> s...
method SequenceEqual (line 1066) | public static bool SequenceEqual(this List<ulong> first, ReadOnlySpan<...
method SequenceEqual (line 1079) | public static bool SequenceEqual(this Memory<ulong> first, Memory<ulon...
method SequenceEqual (line 1084) | public static bool SequenceEqual(this Memory<ulong> first, ReadOnlyMem...
method SequenceEqual (line 1089) | public static bool SequenceEqual(this ReadOnlyMemory<ulong> first, Rea...
method SequenceEqual (line 1094) | public static bool SequenceEqual(this Span<ulong> first, Span<ulong> s...
method SequenceEqual (line 1099) | public static bool SequenceEqual(this Span<ulong> first, ReadOnlySpan<...
method SequenceEqual (line 1104) | public static bool SequenceEqual(this ReadOnlySpan<ulong> first, ReadO...
method SequenceEqual (line 1113) | public static bool SequenceEqual(this float[] first, float[] second)
method SequenceEqual (line 1127) | public static bool SequenceEqual(this float[] first, List<float> second)
method SequenceEqual (line 1141) | public static bool SequenceEqual(this float[] first, Memory<float> sec...
method SequenceEqual (line 1146) | public static bool SequenceEqual(this float[] first, ReadOnlyMemory<fl...
method SequenceEqual (line 1151) | public static bool SequenceEqual(this float[] first, Span<float> second)
method SequenceEqual (line 1156) | public static bool SequenceEqual(this float[] first, ReadOnlySpan<floa...
method SequenceEqual (line 1168) | public static bool SequenceEqual(this List<float> first, float[] second)
method SequenceEqual (line 1173) | public static bool SequenceEqual(this List<float> first, List<float> s...
method SequenceEqual (line 1189) | public static bool SequenceEqual(this List<float> first, Memory<float>...
method SequenceEqual (line 1194) | public static bool SequenceEqual(this List<float> first, ReadOnlyMemor...
method SequenceEqual (line 1199) | public static bool SequenceEqual(this List<float> first, Span<float> s...
method SequenceEqual (line 1204) | public static bool SequenceEqual(this List<float> first, ReadOnlySpan<...
method SequenceEqual (line 1217) | public static bool SequenceEqual(this Memory<float> first, Memory<floa...
method SequenceEqual (line 1222) | public static bool SequenceEqual(this Memory<float> first, ReadOnlyMem...
method SequenceEqual (line 1227) | public static bool SequenceEqual(this ReadOnlyMemory<float> first, Rea...
method SequenceEqual (line 1232) | public static bool SequenceEqual(this Span<float> first, Span<float> s...
method SequenceEqual (line 1237) | public static bool SequenceEqual(this Span<float> first, ReadOnlySpan<...
method SequenceEqual (line 1242) | public static bool SequenceEqual(this ReadOnlySpan<float> first, ReadO...
method SequenceEqual (line 1251) | public static bool SequenceEqual(this double[] first, double[] second)
method SequenceEqual (line 1265) | public static bool SequenceEqual(this double[] first, List<double> sec...
method SequenceEqual (line 1279) | public static bool SequenceEqual(this double[] first, Memory<double> s...
method SequenceEqual (line 1284) | public static bool SequenceEqual(this double[] first, ReadOnlyMemory<d...
method SequenceEqual (line 1289) | public static bool SequenceEqual(this double[] first, Span<double> sec...
method SequenceEqual (line 1294) | public static bool SequenceEqual(this double[] first, ReadOnlySpan<dou...
method SequenceEqual (line 1306) | public static bool SequenceEqual(this List<double> first, double[] sec...
method SequenceEqual (line 1311) | public static bool SequenceEqual(this List<double> first, List<double>...
method SequenceEqual (line 1327) | public static bool SequenceEqual(this List<double> first, Memory<doubl...
method SequenceEqual (line 1332) | public static bool SequenceEqual(this List<double> first, ReadOnlyMemo...
method SequenceEqual (line 1337) | public static bool SequenceEqual(this List<double> first, Span<double>...
method SequenceEqual (line 1342) | public static bool SequenceEqual(this List<double> first, ReadOnlySpan...
method SequenceEqual (line 1355) | public static bool SequenceEqual(this Memory<double> first, Memory<dou...
method SequenceEqual (line 1360) | public static bool SequenceEqual(this Memory<double> first, ReadOnlyMe...
method SequenceEqual (line 1365) | public static bool SequenceEqual(this ReadOnlyMemory<double> first, Re...
method SequenceEqual (line 1370) | public static bool SequenceEqual(this Span<double> first, Span<double>...
method SequenceEqual (line 1375) | public static bool SequenceEqual(this Span<double> first, ReadOnlySpan...
method SequenceEqual (line 1380) | public static bool SequenceEqual(this ReadOnlySpan<double> first, Read...
method SequenceEqual (line 1389) | public static bool SequenceEqual(this Vector2[] first, Vector2[] second)
method SequenceEqual (line 1403) | public static bool SequenceEqual(this Vector2[] first, List<Vector2> s...
method SequenceEqual (line 1417) | public static bool SequenceEqual(this Vector2[] first, Memory<Vector2>...
method SequenceEqual (line 1422) | public static bool SequenceEqual(this Vector2[] first, ReadOnlyMemory<...
method SequenceEqual (line 1427) | public static bool SequenceEqual(this Vector2[] first, Span<Vector2> s...
method SequenceEqual (line 1432) | public static bool SequenceEqual(this Vector2[] first, ReadOnlySpan<Ve...
method SequenceEqual (line 1444) | public static bool SequenceEqual(this List<Vector2> first, Vector2[] s...
method SequenceEqual (line 1449) | public static bool SequenceEqual(this List<Vector2> first, List<Vector...
method SequenceEqual (line 1465) | public static bool SequenceEqual(this List<Vector2> first, Memory<Vect...
method SequenceEqual (line 1470) | public static bool SequenceEqual(this List<Vector2> first, ReadOnlyMem...
method SequenceEqual (line 1475) | public static bool SequenceEqual(this List<Vector2> first, Span<Vector...
method SequenceEqual (line 1480) | public static bool SequenceEqual(this List<Vector2> first, ReadOnlySpa...
method SequenceEqual (line 1493) | public static bool SequenceEqual(this Memory<Vector2> first, Memory<Ve...
method SequenceEqual (line 1498) | public static bool SequenceEqual(this Memory<Vector2> first, ReadOnlyM...
method SequenceEqual (line 1503) | public static bool SequenceEqual(this ReadOnlyMemory<Vector2> first, R...
method SequenceEqual (line 1508) | public static bool SequenceEqual(this Span<Vector2> first, Span<Vector...
method SequenceEqual (line 1513) | public static bool SequenceEqual(this Span<Vector2> first, ReadOnlySpa...
method SequenceEqual (line 1518) | public static bool SequenceEqual(this ReadOnlySpan<Vector2> first, Rea...
method SequenceEqual (line 1527) | public static bool SequenceEqual(this Vector2Int[] first, Vector2Int[]...
method SequenceEqual (line 1541) | public static bool SequenceEqual(this Vector2Int[] first, List<Vector2...
method SequenceEqual (line 1555) | public static bool SequenceEqual(this Vector2Int[] first, Memory<Vecto...
method SequenceEqual (line 1560) | public static bool SequenceEqual(this Vector2Int[] first, ReadOnlyMemo...
method SequenceEqual (line 1565) | public static bool SequenceEqual(this Vector2Int[] first, Span<Vector2...
method SequenceEqual (line 1570) | public static bool SequenceEqual(this Vector2Int[] first, ReadOnlySpan...
method SequenceEqual (line 1582) | public static bool SequenceEqual(this List<Vector2Int> first, Vector2I...
method SequenceEqual (line 1587) | public static bool SequenceEqual(this List<Vector2Int> first, List<Vec...
method SequenceEqual (line 1603) | public static bool SequenceEqual(this List<Vector2Int> first, Memory<V...
method SequenceEqual (line 1608) | public static bool SequenceEqual(this List<Vector2Int> first, ReadOnly...
method SequenceEqual (line 1613) | public static bool SequenceEqual(this List<Vector2Int> first, Span<Vec...
method SequenceEqual (line 1618) | public static bool SequenceEqual(this List<Vector2Int> first, ReadOnly...
method SequenceEqual (line 1631) | public static bool SequenceEqual(this Memory<Vector2Int> first, Memory...
method SequenceEqual (line 1636) | public static bool SequenceEqual(this Memory<Vector2Int> first, ReadOn...
method SequenceEqual (line 1641) | public static bool SequenceEqual(this ReadOnlyMemory<Vector2Int> first...
method SequenceEqual (line 1646) | public static bool SequenceEqual(this Span<Vector2Int> first, Span<Vec...
method SequenceEqual (line 1651) | public static bool SequenceEqual(this Span<Vector2Int> first, ReadOnly...
method SequenceEqual (line 1656) | public static bool SequenceEqual(this ReadOnlySpan<Vector2Int> first, ...
method SequenceEqual (line 1665) | public static bool SequenceEqual(this Vector3[] first, Vector3[] second)
method SequenceEqual (line 1679) | public static bool SequenceEqual(this Vector3[] first, List<Vector3> s...
method SequenceEqual (line 1693) | public static bool SequenceEqual(this Vector3[] first, Memory<Vector3>...
method SequenceEqual (line 1698) | public static bool SequenceEqual(this Vector3[] first, ReadOnlyMemory<...
method SequenceEqual (line 1703) | public static bool SequenceEqual(this Vector3[] first, Span<Vector3> s...
method SequenceEqual (line 1708) | public static bool SequenceEqual(this Vector3[] first, ReadOnlySpan<Ve...
method SequenceEqual (line 1720) | public static bool SequenceEqual(this List<Vector3> first, Vector3[] s...
method SequenceEqual (line 1725) | public static bool SequenceEqual(this List<Vector3> first, List<Vector...
method SequenceEqual (line 1741) | public static bool SequenceEqual(this List<Vector3> first, Memory<Vect...
method SequenceEqual (line 1746) | public static bool SequenceEqual(this List<Vector3> first, ReadOnlyMem...
method SequenceEqual (line 1751) | public static bool SequenceEqual(this List<Vector3> first, Span<Vector...
method SequenceEqual (line 1756) | public static bool SequenceEqual(this List<Vector3> first, ReadOnlySpa...
method SequenceEqual (line 1769) | public static bool SequenceEqual(this Memory<Vector3> first, Memory<Ve...
method SequenceEqual (line 1774) | public static bool SequenceEqual(this Memory<Vector3> first, ReadOnlyM...
method SequenceEqual (line 1779) | public static bool SequenceEqual(this ReadOnlyMemory<Vector3> first, R...
method SequenceEqual (line 1784) | public static bool SequenceEqual(this Span<Vector3> first, Span<Vector...
method SequenceEqual (line 1789) | public static bool SequenceEqual(this Span<Vector3> first, ReadOnlySpa...
method SequenceEqual (line 1794) | public static bool SequenceEqual(this ReadOnlySpan<Vector3> first, Rea...
method SequenceEqual (line 1803) | public static bool SequenceEqual(this Vector3Int[] first, Vector3Int[]...
method SequenceEqual (line 1817) | public static bool SequenceEqual(this Vector3Int[] first, List<Vector3...
method SequenceEqual (line 1831) | public static bool SequenceEqual(this Vector3Int[] first, Memory<Vecto...
method SequenceEqual (line 1836) | public static bool SequenceEqual(this Vector3Int[] first, ReadOnlyMemo...
method SequenceEqual (line 1841) | public static bool SequenceEqual(this Vector3Int[] first, Span<Vector3...
method SequenceEqual (line 1846) | public static bool SequenceEqual(this Vector3Int[] first, ReadOnlySpan...
method SequenceEqual (line 1858) | public static bool SequenceEqual(this List<Vector3Int> first, Vector3I...
method SequenceEqual (line 1863) | public static bool SequenceEqual(this List<Vector3Int> first, List<Vec...
method SequenceEqual (line 1879) | public static bool SequenceEqual(this List<Vector3Int> first, Memory<V...
method SequenceEqual (line 1884) | public static bool SequenceEqual(this List<Vector3Int> first, ReadOnly...
method SequenceEqual (line 1889) | public static bool SequenceEqual(this List<Vector3Int> first, Span<Vec...
method SequenceEqual (line 1894) | public static bool SequenceEqual(this List<Vector3Int> first, ReadOnly...
method SequenceEqual (line 1907) | public static bool SequenceEqual(this Memory<Vector3Int> first, Memory...
method SequenceEqual (line 1912) | public static bool SequenceEqual(this Memory<Vector3Int> first, ReadOn...
method SequenceEqual (line 1917) | public static bool SequenceEqual(this ReadOnlyMemory<Vector3Int> first...
method SequenceEqual (line 1922) | public static bool SequenceEqual(this Span<Vector3Int> first, Span<Vec...
method SequenceEqual (line 1927) | public static bool SequenceEqual(this Span<Vector3Int> first, ReadOnly...
method SequenceEqual (line 1932) | public static bool SequenceEqual(this ReadOnlySpan<Vector3Int> first, ...
method SequenceEqual (line 1941) | public static bool SequenceEqual(this Vector4[] first, Vector4[] second)
method SequenceEqual (line 1955) | public static bool SequenceEqual(this Vector4[] first, List<Vector4> s...
method SequenceEqual (line 1969) | public static bool SequenceEqual(this Vector4[] first, Memory<Vector4>...
method SequenceEqual (line 1974) | public static bool SequenceEqual(this Vector4[] first, ReadOnlyMemory<...
method SequenceEqual (line 1979) | public static bool SequenceEqual(this Vector4[] first, Span<Vector4> s...
method SequenceEqual (line 1984) | public static bool SequenceEqual(this Vector4[] first, ReadOnlySpan<Ve...
method SequenceEqual (line 1996) | public static bool SequenceEqual(this List<Vector4> first, Vector4[] s...
method SequenceEqual (line 2001) | public static bool SequenceEqual(this List<Vector4> first, List<Vector...
method SequenceEqual (line 2017) | public static bool SequenceEqual(this List<Vector4> first, Memory<Vect...
method SequenceEqual (line 2022) | public static bool SequenceEqual(this List<Vector4> first, ReadOnlyMem...
method SequenceEqual (line 2027) | public static bool SequenceEqual(this List<Vector4> first, Span<Vector...
method SequenceEqual (line 2032) | public static bool SequenceEqual(this List<Vector4> first, ReadOnlySpa...
method SequenceEqual (line 2045) | public static bool SequenceEqual(this Memory<Vector4> first, Memory<Ve...
method SequenceEqual (line 2050) | public static bool SequenceEqual(this Memory<Vector4> first, ReadOnlyM...
method SequenceEqual (line 2055) | public static bool SequenceEqual(this ReadOnlyMemory<Vector4> first, R...
method SequenceEqual (line 2060) | public static bool SequenceEqual(this Span<Vector4> first, Span<Vector...
method SequenceEqual (line 2065) | public static bool SequenceEqual(this Span<Vector4> first, ReadOnlySpa...
method SequenceEqual (line 2070) | public static bool SequenceEqual(this ReadOnlySpan<Vector4> first, Rea...
method SequenceEqual (line 2079) | public static bool SequenceEqual(this int2[] first, int2[] second)
method SequenceEqual (line 2093) | public static bool SequenceEqual(this int2[] first, List<int2> second)
method SequenceEqual (line 2107) | public static bool SequenceEqual(this int2[] first, Memory<int2> second)
method SequenceEqual (line 2112) | public static bool SequenceEqual(this int2[] first, ReadOnlyMemory<int...
method SequenceEqual (line 2117) | public static bool SequenceEqual(this int2[] first, Span<int2> second)
method SequenceEqual (line 2122) | public static bool SequenceEqual(this int2[] first, ReadOnlySpan<int2>...
method SequenceEqual (line 2134) | public static bool SequenceEqual(this List<int2> first, int2[] second)
method SequenceEqual (line 2139) | public static bool SequenceEqual(this List<int2> first, List<int2> sec...
method SequenceEqual (line 2155) | public static bool SequenceEqual(this List<int2> first, Memory<int2> s...
method SequenceEqual (line 2160) | public static bool SequenceEqual(this List<int2> first, ReadOnlyMemory...
method SequenceEqual (line 2165) | public static bool SequenceEqual(this List<int2> first, Span<int2> sec...
method SequenceEqual (line 2170) | public static bool SequenceEqual(this List<int2> first, ReadOnlySpan<i...
method SequenceEqual (line 2183) | public static bool SequenceEqual(this Memory<int2> first, Memory<int2>...
method SequenceEqual (line 2188) | public static bool SequenceEqual(this Memory<int2> first, ReadOnlyMemo...
method SequenceEqual (line 2193) | public static bool SequenceEqual(this ReadOnlyMemory<int2> first, Read...
method SequenceEqual (line 2198) | public static bool SequenceEqual(this Span<int2> first, Span<int2> sec...
method SequenceEqual (line 2203) | public static bool SequenceEqual(this Span<int2> first, ReadOnlySpan<i...
method SequenceEqual (line 2208) | public static bool SequenceEqual(this ReadOnlySpan<int2> first, ReadOn...
method SequenceEqual (line 2217) | public static bool SequenceEqual(this int3[] first, int3[] second)
method SequenceEqual (line 2231) | public static bool SequenceEqual(this int3[] first, List<int3> second)
method SequenceEqual (line 2245) | public static bool SequenceEqual(this int3[] first, Memory<int3> second)
method SequenceEqual (line 2250) | public static bool SequenceEqual(this int3[] first, ReadOnlyMemory<int...
method SequenceEqual (line 2255) | public static bool SequenceEqual(this int3[] first, Span<int3> second)
method SequenceEqual (line 2260) | public static bool SequenceEqual(this int3[] first, ReadOnlySpan<int3>...
method SequenceEqual (line 2272) | public static bool SequenceEqual(this List<int3> first, int3[] second)
method SequenceEqual (line 2277) | public static bool SequenceEqual(this List<int3> first, List<int3> sec...
method SequenceEqual (line 2293) | public static bool SequenceEqual(this List<int3> first, Memory<int3> s...
method SequenceEqual (line 2298) | public static bool SequenceEqual(this List<int3> first, ReadOnlyMemory...
method SequenceEqual (line 2303) | public static bool SequenceEqual(this List<int3> first, Span<int3> sec...
method SequenceEqual (line 2308) | public static bool SequenceEqual(this List<int3> first, ReadOnlySpan<i...
method SequenceEqual (line 2321) | public static bool SequenceEqual(this Memory<int3> first, Memory<int3>...
method SequenceEqual (line 2326) | public static bool SequenceEqual(this Memory<int3> first, ReadOnlyMemo...
method SequenceEqual (line 2331) | public static bool SequenceEqual(this ReadOnlyMemory<int3> first, Read...
method SequenceEqual (line 2336) | public static bool SequenceEqual(this Span<int3> first, Span<int3> sec...
method SequenceEqual (line 2341) | public static bool SequenceEqual(this Span<int3> first, ReadOnlySpan<i...
method SequenceEqual (line 2346) | public static bool SequenceEqual(this ReadOnlySpan<int3> first, ReadOn...
method SequenceEqual (line 2355) | public static bool SequenceEqual(this int4[] first, int4[] second)
method SequenceEqual (line 2369) | public static bool SequenceEqual(this int4[] first, List<int4> second)
method SequenceEqual (line 2383) | public static bool SequenceEqual(this int4[] first, Memory<int4> second)
method SequenceEqual (line 2388) | public static bool SequenceEqual(this int4[] first, ReadOnlyMemory<int...
method SequenceEqual (line 2393) | public static bool SequenceEqual(this int4[] first, Span<int4> second)
method SequenceEqual (line 2398) | public static bool SequenceEqual(this int4[] first, ReadOnlySpan<int4>...
method SequenceEqual (line 2410) | public static bool SequenceEqual(this List<int4> first, int4[] second)
method SequenceEqual (line 2415) | public static bool SequenceEqual(this List<int4> first, List<int4> sec...
method SequenceEqual (line 2431) | public static bool SequenceEqual(this List<int4> first, Memory<int4> s...
method SequenceEqual (line 2436) | public static bool SequenceEqual(this List<int4> first, ReadOnlyMemory...
method SequenceEqual (line 2441) | public static bool SequenceEqual(this List<int4> first, Span<int4> sec...
method SequenceEqual (line 2446) | public static bool SequenceEqual(this List<int4> first, ReadOnlySpan<i...
method SequenceEqual (line 2459) | public static bool SequenceEqual(this Memory<int4> first, Memory<int4>...
method SequenceEqual (line 2464) | public static bool SequenceEqual(this Memory<int4> first, ReadOnlyMemo...
method SequenceEqual (line 2469) | public static bool SequenceEqual(this ReadOnlyMemory<int4> first, Read...
method SequenceEqual (line 2474) | public static bool SequenceEqual(this Span<int4> first, Span<int4> sec...
method SequenceEqual (line 2479) | public static bool SequenceEqual(this Span<int4> first, ReadOnlySpan<i...
method SequenceEqual (line 2484) | public static bool SequenceEqual(this ReadOnlySpan<int4> first, ReadOn...
method SequenceEqual (line 2493) | public static bool SequenceEqual(this uint2[] first, uint2[] second)
method SequenceEqual (line 2507) | public static bool SequenceEqual(this uint2[] first, List<uint2> second)
method SequenceEqual (line 2521) | public static bool SequenceEqual(this uint2[] first, Memory<uint2> sec...
method SequenceEqual (line 2526) | public static bool SequenceEqual(this uint2[] first, ReadOnlyMemory<ui...
method SequenceEqual (line 2531) | public static bool SequenceEqual(this uint2[] first, Span<uint2> second)
method SequenceEqual (line 2536) | public static bool SequenceEqual(this uint2[] first, ReadOnlySpan<uint...
method SequenceEqual (line 2548) | public static bool SequenceEqual(this List<uint2> first, uint2[] second)
method SequenceEqual (line 2553) | public static bool SequenceEqual(this List<uint2> first, List<uint2> s...
method SequenceEqual (line 2569) | public static bool SequenceEqual(this List<uint2> first, Memory<uint2>...
method SequenceEqual (line 2574) | public static bool SequenceEqual(this List<uint2> first, ReadOnlyMemor...
method SequenceEqual (line 2579) | public static bool SequenceEqual(this List<uint2> first, Span<uint2> s...
method SequenceEqual (line 2584) | public static bool SequenceEqual(this List<uint2> first, ReadOnlySpan<...
method SequenceEqual (line 2597) | public static bool SequenceEqual(this Memory<uint2> first, Memory<uint...
method SequenceEqual (line 2602) | public static bool SequenceEqual(this Memory<uint2> first, ReadOnlyMem...
method SequenceEqual (line 2607) | public static bool SequenceEqual(this ReadOnlyMemory<uint2> first, Rea...
method SequenceEqual (line 2612) | public static bool SequenceEqual(this Span<uint2> first, Span<uint2> s...
method SequenceEqual (line 2617) | public static bool SequenceEqual(this Span<uint2> first, ReadOnlySpan<...
method SequenceEqual (line 2622) | public static bool SequenceEqual(this ReadOnlySpan<uint2> first, ReadO...
method SequenceEqual (line 2631) | public static bool SequenceEqual(this uint3[] first, uint3[] second)
method SequenceEqual (line 2645) | public static bool SequenceEqual(this uint3[] first, List<uint3> second)
method SequenceEqual (line 2659) | public static bool SequenceEqual(this uint3[] first, Memory<uint3> sec...
method SequenceEqual (line 2664) | public static bool SequenceEqual(this uint3[] first, ReadOnlyMemory<ui...
method SequenceEqual (line 2669) | public static bool SequenceEqual(this uint3[] first, Span<uint3> second)
method SequenceEqual (line 2674) | public static bool SequenceEqual(this uint3[] first, ReadOnlySpan<uint...
method SequenceEqual (line 2686) | public static bool SequenceEqual(this List<uint3> first, uint3[] second)
method SequenceEqual (line 2691) | public static bool SequenceEqual(this List<uint3> first, List<uint3> s...
method SequenceEqual (line 2707) | public static bool SequenceEqual(this List<uint3> first, Memory<uint3>...
method SequenceEqual (line 2712) | public static bool SequenceEqual(this List<uint3> first, ReadOnlyMemor...
method SequenceEqual (line 2717) | public static bool SequenceEqual(this List<uint3> first, Span<uint3> s...
method SequenceEqual (line 2722) | public static bool SequenceEqual(this List<uint3> first, ReadOnlySpan<...
method SequenceEqual (line 2735) | public static bool SequenceEqual(this Memory<uint3> first, Memory<uint...
method SequenceEqual (line 2740) | public static bool SequenceEqual(this Memory<uint3> first, ReadOnlyMem...
method SequenceEqual (line 2745) | public static bool SequenceEqual(this ReadOnlyMemory<uint3> first, Rea...
method SequenceEqual (line 2750) | public static bool SequenceEqual(this Span<uint3> first, Span<uint3> s...
method SequenceEqual (line 2755) | public static bool SequenceEqual(this Span<uint3> first, ReadOnlySpan<...
method SequenceEqual (line 2760) | public static bool SequenceEqual(this ReadOnlySpan<uint3> first, ReadO...
method SequenceEqual (line 2769) | public static bool SequenceEqual(this uint4[] first, uint4[] second)
method SequenceEqual (line 2783) | public static bool SequenceEqual(this uint4[] first, List<uint4> second)
method SequenceEqual (line 2797) | public static bool SequenceEqual(this uint4[] first, Memory<uint4> sec...
method SequenceEqual (line 2802) | public static bool SequenceEqual(this uint4[] first, ReadOnlyMemory<ui...
method SequenceEqual (line 2807) | public static bool SequenceEqual(this uint4[] first, Span<uint4> second)
method SequenceEqual (line 2812) | public static bool SequenceEqual(this uint4[] first, ReadOnlySpan<uint...
method SequenceEqual (line 2824) | public static bool SequenceEqual(this List<uint4> first, uint4[] second)
method SequenceEqual (line 2829) | public static bool SequenceEqual(this List<uint4> first, List<uint4> s...
method SequenceEqual (line 2845) | public static bool SequenceEqual(this List<uint4> first, Memory<uint4>...
method SequenceEqual (line 2850) | public static bool SequenceEqual(this List<uint4> first, ReadOnlyMemor...
method SequenceEqual (line 2855) | public static bool SequenceEqual(this List<uint4> first, Span<uint4> s...
method SequenceEqual (line 2860) | public static bool SequenceEqual(this List<uint4> first, ReadOnlySpan<...
method SequenceEqual (line 2873) | public static bool SequenceEqual(this Memory<uint4> first, Memory<uint...
method SequenceEqual (line 2878) | public static bool SequenceEqual(this Memory<uint4> first, ReadOnlyMem...
method SequenceEqual (line 2883) | public static bool SequenceEqual(this ReadOnlyMemory<uint4> first, Rea...
method SequenceEqual (line 2888) | public static bool SequenceEqual(this Span<uint4> first, Span<uint4> s...
method SequenceEqual (line 2893) | public static bool SequenceEqual(this Span<uint4> first, ReadOnlySpan<...
method SequenceEqual (line 2898) | public static bool SequenceEqual(this ReadOnlySpan<uint4> first, ReadO...
method SequenceEqual (line 2907) | public static bool SequenceEqual(this float2[] first, float2[] second)
method SequenceEqual (line 2921) | public static bool SequenceEqual(this float2[] first, List<float2> sec...
method SequenceEqual (line 2935) | public static bool SequenceEqual(this float2[] first, Memory<float2> s...
method SequenceEqual (line 2940) | public static bool SequenceEqual(this float2[] first, ReadOnlyMemory<f...
method SequenceEqual (line 2945) | public static bool SequenceEqual(this float2[] first, Span<float2> sec...
method SequenceEqual (line 2950) | public static bool SequenceEqual(this float2[] first, ReadOnlySpan<flo...
method SequenceEqual (line 2962) | public static bool SequenceEqual(this List<float2> first, float2[] sec...
method SequenceEqual (line 2967) | public static bool SequenceEqual(this List<float2> first, List<float2>...
method SequenceEqual (line 2983) | public static bool SequenceEqual(this List<float2> first, Memory<float...
method SequenceEqual (line 2988) | public static bool SequenceEqual(this List<float2> first, ReadOnlyMemo...
method SequenceEqual (line 2993) | public static bool SequenceEqual(this List<float2> first, Span<float2>...
method SequenceEqual (line 2998) | public static bool SequenceEqual(this List<float2> first, ReadOnlySpan...
method SequenceEqual (line 3011) | public static bool SequenceEqual(this Memory<float2> first, Memory<flo...
method SequenceEqual (line 3016) | public static bool SequenceEqual(this Memory<float2> first, ReadOnlyMe...
method SequenceEqual (line 3021) | public static bool SequenceEqual(this ReadOnlyMemory<float2> first, Re...
method SequenceEqual (line 3026) | public static bool SequenceEqual(this Span<float2> first, Span<float2>...
method SequenceEqual (line 3031) | public static bool SequenceEqual(this Span<float2> first, ReadOnlySpan...
method SequenceEqual (line 3036) | public static bool SequenceEqual(this ReadOnlySpan<float2> first, Read...
method SequenceEqual (line 3045) | public static bool SequenceEqual(this float3[] first, float3[] second)
method SequenceEqual (line 3059) | public static bool SequenceEqual(this float3[] first, List<float3> sec...
method SequenceEqual (line 3073) | public static bool SequenceEqual(this float3[] first, Memory<float3> s...
method SequenceEqual (line 3078) | public static bool SequenceEqual(this float3[] first, ReadOnlyMemory<f...
method SequenceEqual (line 3083) | public static bool SequenceEqual(this float3[] first, Span<float3> sec...
method SequenceEqual (line 3088) | public static bool SequenceEqual(this float3[] first, ReadOnlySpan<flo...
method SequenceEqual (line 3100) | public static bool SequenceEqual(this List<float3> first, float3[] sec...
method SequenceEqual (line 3105) | public static bool SequenceEqual(this List<float3> first, List<float3>...
method SequenceEqual (line 3121) | public static bool SequenceEqual(this List<float3> first, Memory<float...
method SequenceEqual (line 3126) | public static bool SequenceEqual(this List<float3> first, ReadOnlyMemo...
method SequenceEqual (line 3131) | public static bool SequenceEqual(this List<float3> first, Span<float3>...
method SequenceEqual (line 3136) | public static bool SequenceEqual(this List<float3> first, ReadOnlySpan...
method SequenceEqual (line 3149) | public static bool SequenceEqual(this Memory<float3> first, Memory<flo...
method SequenceEqual (line 3154) | public static bool SequenceEqual(this Memory<float3> first, ReadOnlyMe...
method SequenceEqual (line 3159) | public static bool SequenceEqual(this ReadOnlyMemory<float3> first, Re...
method SequenceEqual (line 3164) | public static bool SequenceEqual(this Span<float3> first, Span<float3>...
method SequenceEqual (line 3169) | public static bool SequenceEqual(this Span<float3> first, ReadOnlySpan...
method SequenceEqual (line 3174) | public static bool SequenceEqual(this ReadOnlySpan<float3> first, Read...
method SequenceEqual (line 3183) | public static bool SequenceEqual(this float4[] first, float4[] second)
method SequenceEqual (line 3197) | public static bool SequenceEqual(this float4[] first, List<float4> sec...
method SequenceEqual (line 3211) | public static bool SequenceEqual(this float4[] first, Memory<float4> s...
method SequenceEqual (line 3216) | public static bool SequenceEqual(this float4[] first, ReadOnlyMemory<f...
method SequenceEqual (line 3221) | public static bool SequenceEqual(this float4[] first, Span<float4> sec...
method SequenceEqual (line 3226) | public static bool SequenceEqual(this float4[] first, ReadOnlySpan<flo...
method SequenceEqual (line 3238) | public static bool SequenceEqual(this List<float4> first, float4[] sec...
method SequenceEqual (line 3243) | public static bool SequenceEqual(this List<float4> first, List<float4>...
method SequenceEqual (line 3259) | public static bool SequenceEqual(this List<float4> first, Memory<float...
method SequenceEqual (line 3264) | public static bool SequenceEqual(this List<float4> first, ReadOnlyMemo...
method SequenceEqual (line 3269) | public static bool SequenceEqual(this List<float4> first, Span<float4>...
method SequenceEqual (line 3274) | public static bool SequenceEqual(this List<float4> first, ReadOnlySpan...
method SequenceEqual (line 3287) | public static bool SequenceEqual(this Memory<float4> first, Memory<flo...
method SequenceEqual (line 3292) | public static bool SequenceEqual(this Memory<float4> first, ReadOnlyMe...
method SequenceEqual (line 3297) | public static bool SequenceEqual(this ReadOnlyMemory<float4> first, Re...
method SequenceEqual (line 3302) | public static bool SequenceEqual(this Span<float4> first, Span<float4>...
method SequenceEqual (line 3307) | public static bool SequenceEqual(this Span<float4> first, ReadOnlySpan...
method SequenceEqual (line 3312) | public static bool SequenceEqual(this ReadOnlySpan<float4> first, Read...
method SequenceEqual (line 3321) | public static bool SequenceEqual(this double2[] first, double2[] second)
method SequenceEqual (line 3335) | public static bool SequenceEqual(this double2[] first, List<double2> s...
method SequenceEqual (line 3349) | public static bool SequenceEqual(this double2[] first, Memory<double2>...
method SequenceEqual (line 3354) | public static bool SequenceEqual(this double2[] first, ReadOnlyMemory<...
method SequenceEqual (line 3359) | public static bool SequenceEqual(this double2[] first, Span<double2> s...
method SequenceEqual (line 3364) | public static bool SequenceEqual(this double2[] first, ReadOnlySpan<do...
method SequenceEqual (line 3376) | public static bool SequenceEqual(this List<double2> first, double2[] s...
method SequenceEqual (line 3381) | public static bool SequenceEqual(this List<double2> first, List<double...
method SequenceEqual (line 3397) | public static bool SequenceEqual(this List<double2> first, Memory<doub...
method SequenceEqual (line 3402) | public static bool SequenceEqual(this List<double2> first, ReadOnlyMem...
method SequenceEqual (line 3407) | public static bool SequenceEqual(this List<double2> first, Span<double...
method SequenceEqual (line 3412) | public static bool SequenceEqual(this List<double2> first, ReadOnlySpa...
method SequenceEqual (line 3425) | public static bool SequenceEqual(this Memory<double2> first, Memory<do...
method SequenceEqual (line 3430) | public static bool SequenceEqual(this Memory<double2> first, ReadOnlyM...
method SequenceEqual (line 3435) | public static bool SequenceEqual(this ReadOnlyMemory<double2> first, R...
method SequenceEqual (line 3440) | public static bool SequenceEqual(this Span<double2> first, Span<double...
method SequenceEqual (line 3445) | public static bool SequenceEqual(this Span<double2> first, ReadOnlySpa...
method SequenceEqual (line 3450) | public static bool SequenceEqual(this ReadOnlySpan<double2> first, Rea...
method SequenceEqual (line 3459) | public static bool SequenceEqual(this double3[] first, double3[] second)
method SequenceEqual (line 3473) | public static bool SequenceEqual(this double3[] first, List<double3> s...
method SequenceEqual (line 3487) | public static bool SequenceEqual(this double3[] first, Memory<double3>...
method SequenceEqual (line 3492) | public static bool SequenceEqual(this double3[] first, ReadOnlyMemory<...
method SequenceEqual (line 3497) | public static bool SequenceEqual(this double3[] first, Span<double3> s...
method SequenceEqual (line 3502) | public static bool SequenceEqual(this double3[] first, ReadOnlySpan<do...
method SequenceEqual (line 3514) | public static bool SequenceEqual(this List<double3> first, double3[] s...
method SequenceEqual (line 3519) | public static bool SequenceEqual(this List<double3> first, List<double...
method SequenceEqual (line 3535) | public static bool SequenceEqual(this List<double3> first, Memory<doub...
method SequenceEqual (line 3540) | public static bool SequenceEqual(this List<double3> first, ReadOnlyMem...
method SequenceEqual (line 3545) | public static bool SequenceEqual(this List<double3> first, Span<double...
method SequenceEqual (line 3550) | public static bool SequenceEqual(this List<double3> first, ReadOnlySpa...
method SequenceEqual (line 3563) | public static bool SequenceEqual(this Memory<double3> first, Memory<do...
method SequenceEqual (line 3568) | public static bool SequenceEqual(this Memory<double3> first, ReadOnlyM...
method SequenceEqual (line 3573) | public static bool SequenceEqual(this ReadOnlyMemory<double3> first, R...
method SequenceEqual (line 3578) | public static bool SequenceEqual(this Span<double3> first, Span<double...
method SequenceEqual (line 3583) | public static bool SequenceEqual(this Span<double3> first, ReadOnlySpa...
method SequenceEqual (line 3588) | public static bool SequenceEqual(this ReadOnlySpan<double3> first, Rea...
method SequenceEqual (line 3597) | public static bool SequenceEqual(this double4[] first, double4[] second)
method SequenceEqual (line 3611) | public static bool SequenceEqual(this double4[] first, List<double4> s...
method SequenceEqual (line 3625) | public static bool SequenceEqual(this double4[] first, Memory<double4>...
method SequenceEqual (line 3630) | public static bool SequenceEqual(this double4[] first, ReadOnlyMemory<...
method SequenceEqual (line 3635) | public static bool SequenceEqual(this double4[] first, Span<double4> s...
method SequenceEqual (line 3640) | public static bool SequenceEqual(this double4[] first, ReadOnlySpan<do...
method SequenceEqual (line 3652) | public static bool SequenceEqual(this List<double4> first, double4[] s...
method SequenceEqual (line 3657) | public static bool SequenceEqual(this List<double4> first, List<double...
method SequenceEqual (line 3673) | public static bool SequenceEqual(this List<double4> first, Memory<doub...
method SequenceEqual (line 3678) | public static bool SequenceEqual(this List<double4> first, ReadOnlyMem...
method SequenceEqual (line 3683) | public static bool SequenceEqual(this List<double4> first, Span<double...
method SequenceEqual (line 3688) | public static bool SequenceEqual(this List<double4> first, ReadOnlySpa...
method SequenceEqual (line 3701) | public static bool SequenceEqual(this Memory<double4> first, Memory<do...
method SequenceEqual (line 3706) | public static bool SequenceEqual(this Memory<double4> first, ReadOnlyM...
method SequenceEqual (line 3711) | public static bool SequenceEqual(this ReadOnlyMemory<double4> first, R...
method SequenceEqual (line 3716) | public static bool SequenceEqual(this Span<double4> first, Span<double...
method SequenceEqual (line 3721) | public static bool SequenceEqual(this Span<double4> first, ReadOnlySpa...
method SequenceEqual (line 3726) | public static bool SequenceEqual(this ReadOnlySpan<double4> first, Rea...
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.Sum.cs
class BurstLinqExtensions (line 8) | public unsafe static partial class BurstLinqExtensions
method Sum (line 10) | public static int Sum(this int[] source)
method Sum (line 21) | public static int Sum(this List<int> source)
method Sum (line 34) | public static int Sum(this Memory<int> source)
method Sum (line 39) | public static int Sum(this ReadOnlyMemory<int> source)
method Sum (line 44) | public static int Sum(this Span<int> source)
method Sum (line 49) | public static int Sum(this ReadOnlySpan<int> source)
method Sum (line 58) | public static uint Sum(this uint[] source)
method Sum (line 69) | public static uint Sum(this List<uint> source)
method Sum (line 82) | public static uint Sum(this Memory<uint> source)
method Sum (line 87) | public static uint Sum(this ReadOnlyMemory<uint> source)
method Sum (line 92) | public static uint Sum(this Span<uint> source)
method Sum (line 97) | public static uint Sum(this ReadOnlySpan<uint> source)
method Sum (line 106) | public static long Sum(this long[] source)
method Sum (line 117) | public static long Sum(this List<long> source)
method Sum (line 130) | public static long Sum(this Memory<long> source)
method Sum (line 135) | public static long Sum(this ReadOnlyMemory<long> source)
method Sum (line 140) | public static long Sum(this Span<long> source)
method Sum (line 145) | public static long Sum(this ReadOnlySpan<long> source)
method Sum (line 154) | public static ulong Sum(this ulong[] source)
method Sum (line 165) | public static ulong Sum(this List<ulong> source)
method Sum (line 178) | public static ulong Sum(this Memory<ulong> source)
method Sum (line 183) | public static ulong Sum(this ReadOnlyMemory<ulong> source)
method Sum (line 188) | public static ulong Sum(this Span<ulong> source)
method Sum (line 193) | public static ulong Sum(this ReadOnlySpan<ulong> source)
method Sum (line 202) | public static float Sum(this float[] source)
method Sum (line 213) | public static float Sum(this List<float> source)
method Sum (line 226) | public static float Sum(this Memory<float> source)
method Sum (line 231) | public static float Sum(this ReadOnlyMemory<float> source)
method Sum (line 236) | public static float Sum(this Span<float> source)
method Sum (line 241) | public static float Sum(this ReadOnlySpan<float> source)
method Sum (line 250) | public static double Sum(this double[] source)
method Sum (line 261) | public static double Sum(this List<double> source)
method Sum (line 274) | public static double Sum(this Memory<double> source)
method Sum (line 279) | public static double Sum(this ReadOnlyMemory<double> source)
method Sum (line 284) | public static double Sum(this Span<double> source)
method Sum (line 289) | public static double Sum(this ReadOnlySpan<double> source)
method Sum (line 298) | public static Vector2 Sum(this Vector2[] source)
method Sum (line 309) | public static Vector2 Sum(this List<Vector2> source)
method Sum (line 322) | public static Vector2 Sum(this Memory<Vector2> source)
method Sum (line 327) | public static Vector2 Sum(this ReadOnlyMemory<Vector2> source)
method Sum (line 332) | public static Vector2 Sum(this Span<Vector2> source)
method Sum (line 337) | public static Vector2 Sum(this ReadOnlySpan<Vector2> source)
method Sum (line 346) | public static Vector2Int Sum(this Vector2Int[] source)
method Sum (line 357) | public static Vector2Int Sum(this List<Vector2Int> source)
method Sum (line 370) | public static Vector2Int Sum(this Memory<Vector2Int> source)
method Sum (line 375) | public static Vector2Int Sum(this ReadOnlyMemory<Vector2Int> source)
method Sum (line 380) | public static Vector2Int Sum(this Span<Vector2Int> source)
method Sum (line 385) | public static Vector2Int Sum(this ReadOnlySpan<Vector2Int> source)
method Sum (line 394) | public static Vector3 Sum(this Vector3[] source)
method Sum (line 405) | public static Vector3 Sum(this List<Vector3> source)
method Sum (line 418) | public static Vector3 Sum(this Memory<Vector3> source)
method Sum (line 423) | public static Vector3 Sum(this ReadOnlyMemory<Vector3> source)
method Sum (line 428) | public static Vector3 Sum(this Span<Vector3> source)
method Sum (line 433) | public static Vector3 Sum(this ReadOnlySpan<Vector3> source)
method Sum (line 442) | public static Vector3Int Sum(this Vector3Int[] source)
method Sum (line 453) | public static Vector3Int Sum(this List<Vector3Int> source)
method Sum (line 466) | public static Vector3Int Sum(this Memory<Vector3Int> source)
method Sum (line 471) | public static Vector3Int Sum(this ReadOnlyMemory<Vector3Int> source)
method Sum (line 476) | public static Vector3Int Sum(this Span<Vector3Int> source)
method Sum (line 481) | public static Vector3Int Sum(this ReadOnlySpan<Vector3Int> source)
method Sum (line 490) | public static Vector4 Sum(this Vector4[] source)
method Sum (line 501) | public static Vector4 Sum(this List<Vector4> source)
method Sum (line 514) | public static Vector4 Sum(this Memory<Vector4> source)
method Sum (line 519) | public static Vector4 Sum(this ReadOnlyMemory<Vector4> source)
method Sum (line 524) | public static Vector4 Sum(this Span<Vector4> source)
method Sum (line 529) | public static Vector4 Sum(this ReadOnlySpan<Vector4> source)
method Sum (line 538) | public static int2 Sum(this int2[] source)
method Sum (line 549) | public static int2 Sum(this List<int2> source)
method Sum (line 562) | public static int2 Sum(this Memory<int2> source)
method Sum (line 567) | public static int2 Sum(this ReadOnlyMemory<int2> source)
method Sum (line 572) | public static int2 Sum(this Span<int2> source)
method Sum (line 577) | public static int2 Sum(this ReadOnlySpan<int2> source)
method Sum (line 586) | public static int3 Sum(this int3[] source)
method Sum (line 597) | public static int3 Sum(this List<int3> source)
method Sum (line 610) | public static int3 Sum(this Memory<int3> source)
method Sum (line 615) | public static int3 Sum(this ReadOnlyMemory<int3> source)
method Sum (line 620) | public static int3 Sum(this Span<int3> source)
method Sum (line 625) | public static int3 Sum(this ReadOnlySpan<int3> source)
method Sum (line 634) | public static int4 Sum(this int4[] source)
method Sum (line 645) | public static int4 Sum(this List<int4> source)
method Sum (line 658) | public static int4 Sum(this Memory<int4> source)
method Sum (line 663) | public static int4 Sum(this ReadOnlyMemory<int4> source)
method Sum (line 668) | public static int4 Sum(this Span<int4> source)
method Sum (line 673) | public static int4 Sum(this ReadOnlySpan<int4> source)
method Sum (line 682) | public static uint2 Sum(this uint2[] source)
method Sum (line 693) | public static uint2 Sum(this List<uint2> source)
method Sum (line 706) | public static uint2 Sum(this Memory<uint2> source)
method Sum (line 711) | public static uint2 Sum(this ReadOnlyMemory<uint2> source)
method Sum (line 716) | public static uint2 Sum(this Span<uint2> source)
method Sum (line 721) | public static uint2 Sum(this ReadOnlySpan<uint2> source)
method Sum (line 730) | public static uint3 Sum(this uint3[] source)
method Sum (line 741) | public static uint3 Sum(this List<uint3> source)
method Sum (line 754) | public static uint3 Sum(this Memory<uint3> source)
method Sum (line 759) | public static uint3 Sum(this ReadOnlyMemory<uint3> source)
method Sum (line 764) | public static uint3 Sum(this Span<uint3> source)
method Sum (line 769) | public static uint3 Sum(this ReadOnlySpan<uint3> source)
method Sum (line 778) | public static uint4 Sum(this uint4[] source)
method Sum (line 789) | public static uint4 Sum(this List<uint4> source)
method Sum (line 802) | public static uint4 Sum(this Memory<uint4> source)
method Sum (line 807) | public static uint4 Sum(this ReadOnlyMemory<uint4> source)
method Sum (line 812) | public static uint4 Sum(this Span<uint4> source)
method Sum (line 817) | public static uint4 Sum(this ReadOnlySpan<uint4> source)
method Sum (line 826) | public static float2 Sum(this float2[] source)
method Sum (line 837) | public static float2 Sum(this List<float2> source)
method Sum (line 850) | public static float2 Sum(this Memory<float2> source)
method Sum (line 855) | public static float2 Sum(this ReadOnlyMemory<float2> source)
method Sum (line 860) | public static float2 Sum(this Span<float2> source)
method Sum (line 865) | public static float2 Sum(this ReadOnlySpan<float2> source)
method Sum (line 874) | public static float3 Sum(this float3[] source)
method Sum (line 885) | public static float3 Sum(this List<float3> source)
method Sum (line 898) | public static float3 Sum(this Memory<float3> source)
method Sum (line 903) | public static float3 Sum(this ReadOnlyMemory<float3> source)
method Sum (line 908) | public static float3 Sum(this Span<float3> source)
method Sum (line 913) | public static float3 Sum(this ReadOnlySpan<float3> source)
method Sum (line 922) | public static float4 Sum(this float4[] source)
method Sum (line 933) | public static float4 Sum(this List<float4> source)
method Sum (line 946) | public static float4 Sum(this Memory<float4> source)
method Sum (line 951) | public static float4 Sum(this ReadOnlyMemory<float4> source)
method Sum (line 956) | public static float4 Sum(this Span<float4> source)
method Sum (line 961) | public static float4 Sum(this ReadOnlySpan<float4> source)
method Sum (line 970) | public static double2 Sum(this double2[] source)
method Sum (line 981) | public static double2 Sum(this List<double2> source)
method Sum (line 994) | public static double2 Sum(this Memory<double2> source)
method Sum (line 999) | public static double2 Sum(this ReadOnlyMemory<double2> source)
method Sum (line 1004) | public static double2 Sum(this Span<double2> source)
method Sum (line 1009) | public static double2 Sum(this ReadOnlySpan<double2> source)
method Sum (line 1018) | public static double3 Sum(this double3[] source)
method Sum (line 1029) | public static double3 Sum(this List<double3> source)
method Sum (line 1042) | public static double3 Sum(this Memory<double3> source)
method Sum (line 1047) | public static double3 Sum(this ReadOnlyMemory<double3> source)
method Sum (line 1052) | public static double3 Sum(this Span<double3> source)
method Sum (line 1057) | public static double3 Sum(this ReadOnlySpan<double3> source)
method Sum (line 1066) | public static double4 Sum(this double4[] source)
method Sum (line 1077) | public static double4 Sum(this List<double4> source)
method Sum (line 1090) | public static double4 Sum(this Memory<double4> source)
method Sum (line 1095) | public static double4 Sum(this ReadOnlyMemory<double4> source)
method Sum (line 1100) | public static double4 Sum(this Span<double4> source)
method Sum (line 1105) | public static double4 Sum(this ReadOnlySpan<double4> source)
FILE: Assets/BurstLinq/Runtime/BurstLinqExtensions.cs
class BurstLinqExtensions (line 5) | [BurstCompile(OptimizeFor = OptimizeFor.Performance)]
FILE: Assets/BurstLinq/Runtime/CmpHelpers.cs
class CmpHelpers (line 9) | [BurstCompile]
method MemCmp (line 12) | [BurstCompile]
method FloatCmp (line 18) | [BurstCompile]
method DoubleCmp (line 64) | [BurstCompile]
FILE: Assets/BurstLinq/Runtime/Error.cs
class Error (line 6) | internal static class Error
method ThrowIfNull (line 8) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method ThrowIfEmpty (line 14) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method ThrowIfEmpty (line 20) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
FILE: Assets/BurstLinq/Runtime/SpanHelper.cs
class ListView (line 11) | internal sealed class ListView<T>
class SpanHelper (line 16) | [BurstCompile]
method CopyFrom (line 19) | [BurstCompile]
method AsSpan (line 32) | public static Span<T> AsSpan<T>(List<T> list) where T : unmanaged
method CheckLength (line 38) | [Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
FILE: Assets/BurstLinq/Runtime/Vectors.cs
class VectorExtensions (line 8) | internal static class VectorExtensions
method any (line 10) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method any (line 12) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method any (line 14) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method all (line 16) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method all (line 18) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
method all (line 20) | [MethodImpl(MethodImplOptions.AggressiveInlining)]
type bool32 (line 24) | [Serializable]
method bool32 (line 124) | public bool32(bool x0, bool x1, bool x2, bool x3, bool x4, bool x5, bo...
method any (line 160) | public bool any() => x0 || x1 || x2 || x3 || x4 || x5 || x6 || x7 || x...
method all (line 161) | public bool all() => x0 && x1 && x2 && x3 && x4 && x5 && x6 && x7 && x...
type bool16 (line 164) | [Serializable]
method bool16 (line 222) | public bool16(bool x0, bool x1, bool x2, bool x3, bool x4, bool x5, bo...
method any (line 243) | public bool any() => x0 || x1 || x2 || x3 || x4 || x5 || x6 || x7 || x...
method all (line 244) | public bool all() => x0 && x1 && x2 && x3 && x4 && x5 && x6 && x7 || x...
type bool8 (line 247) | [Serializable]
method bool8 (line 274) | public bool8(bool x0, bool x1, bool x2, bool x3, bool x4, bool x5, boo...
method any (line 286) | public bool any() => x0 || x1 || x2 || x3 || x4 || x5 || x6 || x7;
method all (line 287) | public bool all() => x0 && x1 && x2 && x3 && x4 && x5 && x6 && x7;
FILE: Assets/BurstLinq/Tests/Runtime/AssertEx.cs
class AssertEx (line 8) | public static class AssertEx
method AreApproximatelyEqual (line 10) | public static void AreApproximatelyEqual(float a, float b)
method AreApproximatelyEqual (line 15) | public static void AreApproximatelyEqual(Vector2 a, Vector2 b)
method AreApproximatelyEqual (line 21) | public static void AreApproximatelyEqual(Vector3 a, Vector3 b)
method AreApproximatelyEqual (line 28) | public static void AreApproximatelyEqual(Vector4 a, Vector4 b)
method AreApproximatelyEqual (line 36) | public static void AreApproximatelyEqual(double a, double b)
method AreApproximatelyEqual (line 41) | public static void AreApproximatelyEqual(double2 a, double2 b)
method AreApproximatelyEqual (line 47) | public static void AreApproximatelyEqual(double3 a, double3 b)
method AreApproximatelyEqual (line 54) | public static void AreApproximatelyEqual(double4 a, double4 b)
method AreApproximatelyEqual (line 62) | public static void AreApproximatelyEqual(float2 a, float2 b)
method AreApproximatelyEqual (line 68) | public static void AreApproximatelyEqual(float3 a, float3 b)
method AreApproximatelyEqual (line 75) | public static void AreApproximatelyEqual(float4 a, float4 b)
FILE: Assets/BurstLinq/Tests/Runtime/AverageTest.cs
class AverageTest (line 11) | public class AverageTest
method SetUp (line 13) | [SetUp]
method Test_List (line 19) | [Test]
method Test_Array_Int (line 33) | [Test]
method Test_Array_UInt (line 47) | [Test]
method Test_Array_Long (line 63) | [Test]
method Test_Array_ULong (line 77) | [Test]
method Test_Array_Float (line 93) | [Test]
method Test_Array_Double (line 107) | [Test]
method Test_Array_Vector2 (line 121) | [Test]
method Test_Array_Vector2Int (line 137) | [Test]
method Test_Array_Vector3 (line 153) | [Test]
method Test_Array_Vector3Int (line 169) | [Test]
method Test_Array_Vector4 (line 185) | [Test]
method Test_Array_Int2 (line 201) | [Test]
method Test_Array_Int3 (line 217) | [Test]
method Test_Array_Int4 (line 233) | [Test]
method Test_Array_Float2 (line 249) | [Test]
method Test_Array_Float3 (line 265) | [Test]
method Test_Array_Float4 (line 281) | [Test]
method Test_Array_Double2 (line 297) | [Test]
method Test_Array_Double3 (line 313) | [Test]
method Test_Array_Double4 (line 329) | [Test]
FILE: Assets/BurstLinq/Tests/Runtime/Benchmark.cs
class BenchmarkFloatSum (line 11) | public class BenchmarkFloatSum
method TearDown (line 18) | [TearDown]
method For (line 24) | [Test, Performance]
method LINQ (line 43) | [Test, Performance]
method BurstLinq (line 56) | [Test, Performance]
class BenchmarkIntSequenceEqual (line 70) | public class BenchmarkIntSequenceEqual
method TearDown (line 78) | [TearDown]
method For (line 84) | [Test, Performance]
method LINQ (line 114) | [Test, Performance]
method BurstLinq (line 127) | [Test, Performance]
class BenchmarkDoubleMin (line 141) | public class BenchmarkDoubleMin
method DoubleRange (line 147) | static IEnumerable<double> DoubleRange(int count)
method TearDown (line 153) | [TearDown]
method For (line 159) | [Test, Performance]
method LINQ (line 178) | [Test, Performance]
method BurstLinq (line 191) | [Test, Performance]
class BenchmarkIntMin (line 205) | public class BenchmarkIntMin
method TearDown (line 212) | [TearDown]
method For (line 218) | [Test, Performance]
method LINQ (line 237) | [Test, Performance]
method BurstLinq (line 250) | [Test, Performance]
class BenchmarkIntContains (line 265) | public class BenchmarkIntContains
method TearDown (line 272) | [TearDown]
method For (line 278) | [Test, Performance]
method LINQ (line 302) | [Test, Performance]
method BurstLinq (line 315) | [Test, Performance]
FILE: Assets/BurstLinq/Tests/Runtime/ContainsTest.cs
class ContainsTest (line 11) | public class ContainsTest
method SetUp (line 15) | [SetUp]
method Test_Contains_Int_List (line 21) | [Test]
method Test_Contains_Int_Array (line 36) | [Test]
method Test_Contains_Float_Array (line 51) | [Test]
FILE: Assets/BurstLinq/Tests/Runtime/MaxTest.cs
class MaxTest (line 9) | public class MaxTest
method SetUp (line 11) | [SetUp]
method Test_List (line 17) | [Test]
method Test_Array_Byte (line 31) | [Test]
method Test_Array_SByte (line 45) | [Test]
method Test_Array_Short (line 59) | [Test]
method Test_Array_UShort (line 73) | [Test]
method Test_Array_Int (line 87) | [Test]
method Test_Array_UInt (line 101) | [Test]
method Test_Array_Long (line 115) | [Test]
method Test_Array_ULong (line 129) | [Test]
method Test_Array_Float (line 143) | [Test]
method Test_Array_Double (line 157) | [Test]
FILE: Assets/BurstLinq/Tests/Runtime/MinTest.cs
class MinTest (line 9) | public class MinTest
method SetUp (line 11) | [SetUp]
method Test_List (line 17) | [Test]
method Test_Array_Byte (line 31) | [Test]
method Test_Array_SByte (line 45) | [Test]
method Test_Array_Short (line 59) | [Test]
method Test_Array_UShort (line 73) | [Test]
method Test_Array_Int (line 87) | [Test]
method Test_Array_UInt (line 101) | [Test]
method Test_Array_Long (line 115) | [Test]
method Test_Array_ULong (line 129) | [Test]
method Test_Array_Float (line 143) | [Test]
method Test_Array_Double (line 157) | [Test]
FILE: Assets/BurstLinq/Tests/Runtime/RandomEnumerable.cs
class RandomEnumerable (line 10) | public static class RandomEnumerable
method RepeatVector2 (line 13) | public static IEnumerable<Vector2> RepeatVector2(float min, float max,...
method RepeatVector2 (line 25) | public static IEnumerable<Vector2> RepeatVector2(Vector2 min, Vector2 ...
method RepeatVector3 (line 35) | public static IEnumerable<Vector3> RepeatVector3(float min, float max,...
method RepeatVector3 (line 47) | public static IEnumerable<Vector3> RepeatVector3(Vector3 min, Vector3 ...
method RepeatVector4 (line 57) | public static IEnumerable<Vector4> RepeatVector4(float min, float max,...
method RepeatVector4 (line 69) | public static IEnumerable<Vector4> RepeatVector4(Vector4 min, Vector4 ...
method RepeatVector3Int (line 79) | public static IEnumerable<Vector3Int> RepeatVector3Int(int min, int ma...
method RepeatVector3Int (line 91) | public static IEnumerable<Vector3Int> RepeatVector3Int(Vector3Int min,...
method RepeatVector2Int (line 101) | public static IEnumerable<Vector2Int> RepeatVector2Int(int min, int ma...
method RepeatVector2Int (line 113) | public static IEnumerable<Vector2Int> RepeatVector2Int(Vector2Int min,...
method RepeatByte (line 123) | public static IEnumerable<byte> RepeatByte(byte min, byte max, int count)
method RepeatSByte (line 132) | public static IEnumerable<sbyte> RepeatSByte(sbyte min, sbyte max, int...
method RepeatShort (line 141) | public static IEnumerable<short> RepeatShort(short min, short max, int...
method RepeatUShort (line 150) | public static IEnumerable<ushort> RepeatUShort(ushort min, ushort max,...
method RepeatUInt (line 159) | public static IEnumerable<uint> RepeatUInt(uint min, uint max, int count)
method RepeatUInt2 (line 168) | public static IEnumerable<uint2> RepeatUInt2(uint2 min, uint2 max, int...
method RepeatUInt3 (line 177) | public static IEnumerable<uint3> RepeatUInt3(uint3 min, uint3 max, int...
method RepeatUInt4 (line 186) | public static IEnumerable<uint4> RepeatUInt4(uint4 min, uint4 max, int...
method RepeatLong (line 195) | public static IEnumerable<long> RepeatLong(long min, long max, int count)
method RepeatULong (line 204) | public static IEnumerable<ulong> RepeatULong(ulong min, ulong max, int...
method RepeatInt (line 213) | public static IEnumerable<int> RepeatInt(int min, int max, int count)
method RepeatInt2 (line 222) | public static IEnumerable<int2> RepeatInt2(int2 min, int2 max, int count)
method RepeatInt3 (line 231) | public static IEnumerable<int3> RepeatInt3(int3 min, int3 max, int count)
method RepeatInt4 (line 240) | public static IEnumerable<int4> RepeatInt4(int4 min, int4 max, int count)
method RepeatFloat (line 249) | public static IEnumerable<float> RepeatFloat(float min, float max, int...
method RepeatFloat2 (line 258) | public static IEnumerable<float2> RepeatFloat2(float2 min, float2 max,...
method RepeatFloat3 (line 267) | public static IEnumerable<float3> RepeatFloat3(float3 min, float3 max,...
method RepeatFloat4 (line 276) | public static IEnumerable<float4> RepeatFloat4(float4 min, float4 max,...
method RepeatDouble (line 285) | public static IEnumerable<double> RepeatDouble(double min, double max,...
method RepeatDouble2 (line 294) | public static IEnumerable<double2> RepeatDouble2(double2 min, double2 ...
method RepeatDouble3 (line 303) | public static IEnumerable<double3> RepeatDouble3(double3 min, double3 ...
method RepeatDouble4 (line 312) | public static IEnumerable<double4> RepeatDouble4(double4 min, double4 ...
FILE: Assets/BurstLinq/Tests/Runtime/SequenceEqualTest.cs
class SequenceEqualTest (line 9) | public class SequenceEqualTest
method SetUp (line 11) | [SetUp]
method Test_List (line 17) | [Test]
method Test_Array_Byte (line 32) | [Test]
method Test_Array_SByte (line 47) | [Test]
method Test_Array_Short (line 62) | [Test]
method Test_Array_UShort (line 77) | [Test]
method Test_Array_Int (line 92) | [Test]
method Test_Array_UInt (line 107) | [Test]
method Test_Array_Long (line 122) | [Test]
method Test_Array_ULong (line 137) | [Test]
method Test_Array_Float (line 152) | [Test]
method Test_Array_Double (line 167) | [Test]
method Test_Array_Vector2 (line 182) | [Test]
method Test_Array_Vector2Int (line 197) | [Test]
method Test_Array_Vector3 (line 212) | [Test]
method Test_Array_Vector3Int (line 227) | [Test]
method Test_Array_Vector4 (line 242) | [Test]
method Test_Array_Int2 (line 257) | [Test]
method Test_Array_Int3 (line 272) | [Test]
method Test_Array_Int4 (line 287) | [Test]
method Test_Array_UInt2 (line 302) | [Test]
method Test_Array_UInt3 (line 317) | [Test]
method Test_Array_UInt4 (line 332) | [Test]
method Test_Array_Float2 (line 347) | [Test]
method Test_Array_Float3 (line 362) | [Test]
method Test_Array_Float4 (line 377) | [Test]
method Test_Array_Double2 (line 392) | [Test]
method Test_Array_Double3 (line 407) | [Test]
method Test_Array_Double4 (line 422) | [Test]
FILE: Assets/BurstLinq/Tests/Runtime/SumTest.cs
class SumTest (line 11) | public class SumTest
method SetUp (line 13) | [SetUp]
method Test_List (line 19) | [Test]
method Test_Array_Int (line 33) | [Test]
method Test_Array_UInt (line 47) | [Test]
method Test_Array_Long (line 62) | [Test]
method Test_Array_ULong (line 76) | [Test]
method Test_Array_Float (line 91) | [Test]
method Test_Array_Double (line 105) | [Test]
method Test_Array_Vector2 (line 119) | [Test]
method Test_Array_Vector2Int (line 134) | [Test]
method Test_Array_Vector3 (line 149) | [Test]
method Test_Array_Vector3Int (line 164) | [Test]
method Test_Array_Vector4 (line 179) | [Test]
method Test_Array_Int2 (line 194) | [Test]
method Test_Array_Int3 (line 209) | [Test]
method Test_Array_Int4 (line 224) | [Test]
method Test_Array_UInt2 (line 239) | [Test]
method Test_Array_UInt3 (line 254) | [Test]
method Test_Array_UInt4 (line 269) | [Test]
method Test_Array_Float2 (line 284) | [Test]
method Test_Array_Float3 (line 299) | [Test]
method Test_Array_Float4 (line 314) | [Test]
method Test_Array_Double2 (line 329) | [Test]
method Test_Array_Double3 (line 344) | [Test]
method Test_Array_Double4 (line 359) | [Test]
Condensed preview — 130 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (682K chars).
[
{
"path": ".gitattributes",
"chars": 66,
"preview": "# Auto detect text files and perform LF normalization\n* text=auto\n"
},
{
"path": ".gitignore",
"chars": 1353,
"preview": "# This .gitignore file should be placed at the root of your Unity project directory\n#\n# Get latest from https://github.c"
},
{
"path": "Assets/BurstLinq/Runtime/BurstHelpers.cs",
"chars": 454,
"preview": "using Unity.Burst.Intrinsics;\n\nnamespace BurstLinq\n{\n internal static unsafe class BurstHelpers\n {\n intern"
},
{
"path": "Assets/BurstLinq/Runtime/BurstHelpers.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 617908ec85574495e82cbe33f5fa3c3a\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinq.asmdef",
"chars": 501,
"preview": "{\n \"name\": \"BurstLinq\",\n \"rootNamespace\": \"BurstLinq\",\n \"references\": [\n \"GUID:e0cd26848372d4e5c891c5690"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinq.asmdef.meta",
"chars": 166,
"preview": "fileFormatVersion: 2\nguid: 75a4edf3e29b24eacad77b2b175d4d8f\nAssemblyDefinitionImporter:\n externalObjects: {}\n userData"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.cs",
"chars": 29161,
"preview": "using System;\nusing System.Collections.Generic;\nusing Unity.Collections;\nusing Unity.Mathematics;\nusing UnityEngine;\n\nna"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 78fa11b0b39df45cf92985561e609461\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.tt",
"chars": 3088,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Average.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 21e144b8b72bb4e0f842d711c313d4c4\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.cs",
"chars": 39336,
"preview": "using System;\nusing System.Collections.Generic;\nusing Unity.Mathematics;\nusing UnityEngine;\n\nnamespace BurstLinq\n{\n p"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: d9eb388d44f6c4009b8413bbef734ae2\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.tt",
"chars": 2318,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Contains.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 09d9091d25ab146cd83aa6bd009f5fb9\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.cs",
"chars": 13882,
"preview": "using System;\nusing System.Collections.Generic;\n\nnamespace BurstLinq\n{\n public unsafe static partial class BurstLinqE"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: b45de311116c143618fe3131431441f3\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.tt",
"chars": 2023,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Max.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 689524d35dd334b42bdcb35388d0cd48\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.cs",
"chars": 13882,
"preview": "using System;\nusing System.Collections.Generic;\n\nnamespace BurstLinq\n{\n public unsafe static partial class BurstLinqE"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: fd1e1e3cb6ec34036bcba189c14dce1a\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.tt",
"chars": 2023,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Min.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 89ff07cc368864015b25aad430a8b665\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.cs",
"chars": 20623,
"preview": "using Unity.Burst;\nusing Unity.Burst.CompilerServices;\nusing Unity.Collections;\nusing Unity.Collections.LowLevel.Unsafe;"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 9395d12cf09894920aa7da73fea1d6ea\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.tt",
"chars": 2669,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Average.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: e45c49a2aa40348b685f1b45af887076\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.cs",
"chars": 43751,
"preview": "using Unity.Burst;\nusing Unity.Burst.CompilerServices;\nusing Unity.Burst.Intrinsics;\nusing Unity.Collections;\nusing Unit"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 7373cb17d160e40e9a94e729f79067b4\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.tt",
"chars": 6813,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Contains.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 13b5d1c751c4848cd81a19097cbdb5a6\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Max.cs",
"chars": 16082,
"preview": "using Unity.Burst;\nusing Unity.Burst.CompilerServices;\nusing Unity.Burst.Intrinsics;\nusing Unity.Collections;\nusing Unit"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Max.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: cf9842e279ad54c088165db4c0c98505\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Max.tt",
"chars": 5613,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Max.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 893b1e940b35d42019993a688cd20bf2\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Min.cs",
"chars": 16059,
"preview": "using Unity.Burst;\nusing Unity.Burst.CompilerServices;\nusing Unity.Burst.Intrinsics;\nusing Unity.Collections;\nusing Unit"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Min.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: de88d273ca0384b83950cbdeff2ade41\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Min.tt",
"chars": 5590,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Min.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 2aec1a558601c493da363c3c64bef216\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.SequenceEqual.cs",
"chars": 32605,
"preview": "\nusing System.Runtime.CompilerServices;\nusing Unity.Burst;\nusing Unity.Burst.CompilerServices;\nusing Unity.Burst.Intrins"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.SequenceEqual.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: e0ccd9adadecb4bb7b6683997e98cbe7\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.SequenceEqual.tt",
"chars": 2785,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.SequenceEqual.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: d651c44abf06842ebaaa5b82e3471072\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Sum.cs",
"chars": 24719,
"preview": "using Unity.Burst;\nusing Unity.Burst.CompilerServices;\nusing Unity.Collections;\nusing Unity.Collections.LowLevel.Unsafe;"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Sum.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 714495b51e8264155bb1ccf1c6283ebb\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Sum.tt",
"chars": 2948,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Native.Sum.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 1cdd06228afb942f78b23c4dca6c4e47\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.SequenceEqual.cs",
"chars": 131935,
"preview": "using System;\nusing System.Collections.Generic;\nusing Unity.Mathematics;\nusing UnityEngine;\n\nnamespace BurstLinq\n{\n p"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.SequenceEqual.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 688ab54d59cb2489b83bc2571ea87c9e\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.SequenceEqual.tt",
"chars": 5899,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.SequenceEqual.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 46ad07dd69d15432eadcd6ca697f2a5b\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Sum.cs",
"chars": 32204,
"preview": "using System;\nusing System.Collections.Generic;\nusing Unity.Mathematics;\nusing UnityEngine;\n\nnamespace BurstLinq\n{\n p"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Sum.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 0f6fa0c26972249c2a78d5cc0d4336fe\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Sum.tt",
"chars": 2222,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.Sum.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 740008369ba8d4a3381adaa087070605\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.cs",
"chars": 166,
"preview": "using Unity.Burst;\n\nnamespace BurstLinq\n{\n [BurstCompile(OptimizeFor = OptimizeFor.Performance)]\n public static pa"
},
{
"path": "Assets/BurstLinq/Runtime/BurstLinqExtensions.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 66be7336c90984baaab6a9756a847e1a\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/CmpHelpers.cs",
"chars": 3106,
"preview": "using Unity.Burst;\nusing Unity.Burst.CompilerServices;\nusing Unity.Burst.Intrinsics;\nusing Unity.Collections.LowLevel.U"
},
{
"path": "Assets/BurstLinq/Runtime/CmpHelpers.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: e727f3cb65621412f8927f011e760a82\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/Error.cs",
"chars": 773,
"preview": "using System;\nusing System.Runtime.CompilerServices;\n\nnamespace BurstLinq\n{\n internal static class Error\n {\n "
},
{
"path": "Assets/BurstLinq/Runtime/Error.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 947a1f13c914d44aebc6da923dd1c657\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/SpanHelper.cs",
"chars": 1332,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing Unity.Burst;\nusing Unity.Collections;\nus"
},
{
"path": "Assets/BurstLinq/Runtime/SpanHelper.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 7723c8bdc26dc44c3934d82af7ee3843\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime/Vectors.cs",
"chars": 7249,
"preview": "using System;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\nusing Unity.Mathematics;\n\nna"
},
{
"path": "Assets/BurstLinq/Runtime/Vectors.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 1f2d942b28d6b4a7c9962b2614ef9190\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Runtime.meta",
"chars": 172,
"preview": "fileFormatVersion: 2\nguid: bcb9141eec5a6493d8e1f71aea2aac29\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n us"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/AssertEx.cs",
"chars": 2717,
"preview": "using System;\nusing Unity.Mathematics;\nusing UnityEngine;\nusing UnityEngine.Assertions;\n\nnamespace BurstLinq.Tests\n{\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/AssertEx.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 4e5dd188b1cd44c4ead7c1aa8da6ae4d\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/AverageTest.cs",
"chars": 10972,
"preview": "using System;\nusing System.Linq;\nusing NUnit.Framework;\nusing UnityEngine;\nusing Unity.Mathematics;\nusing Assert = Unity"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/AverageTest.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 28462f0a22ab54b8eb216473e8105c23\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/AverageTest.tt",
"chars": 3555,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/AverageTest.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: f7d1190a97bce4842b286021d8796d4d\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/Benchmark.cs",
"chars": 9089,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing NUnit.Framework;\nusing Unity.PerformanceTesting"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/Benchmark.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 1d39bdb98ccf048429c5c1c5a933bc6f\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/BurstLinq.Tests.Runtime.asmdef",
"chars": 628,
"preview": "{\n \"name\": \"BurstLinq.Tests.Runtime\",\n \"rootNamespace\": \"BurstLinq.Tests\",\n \"references\": [\n \"UnityEngin"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/BurstLinq.Tests.Runtime.asmdef.meta",
"chars": 166,
"preview": "fileFormatVersion: 2\nguid: 3091443d419f943faae76bebd1e7ac5f\nAssemblyDefinitionImporter:\n externalObjects: {}\n userData"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/ContainsTest.cs",
"chars": 1923,
"preview": "using System;\nusing System.Linq;\nusing System.Runtime.InteropServices;\nusing NUnit.Framework;\nusing UnityEngine;\nusing A"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/ContainsTest.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: c667f33a822124332b2f9d372526724e\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/MaxTest.cs",
"chars": 4661,
"preview": "using System;\nusing System.Linq;\nusing NUnit.Framework;\nusing Assert = UnityEngine.Assertions.Assert;\nusing Random = Uni"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/MaxTest.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 37fd8c825ce154f449e852fea235633e\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/MaxTest.tt",
"chars": 1810,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/MaxTest.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 0407dc155148540d5a8ad6a1a9695d9c\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/MinTest.cs",
"chars": 4661,
"preview": "using System;\nusing System.Linq;\nusing NUnit.Framework;\nusing Assert = UnityEngine.Assertions.Assert;\nusing Random = Uni"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/MinTest.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 09b6c4f1dba244af19367d039be910f7\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/MinTest.tt",
"chars": 1810,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/MinTest.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: 56d0dea43820d4f1fa307da050280f15\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/RandomEnumerable.cs",
"chars": 13062,
"preview": "using System;\nusing System.Collections.Generic;\nusing Unity.Collections.LowLevel.Unsafe;\nusing Unity.Mathematics;\nusing "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/RandomEnumerable.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 3ba11c532da2d473b8b8076083d9ff6a\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/SequenceEqualTest.cs",
"chars": 14652,
"preview": "using System;\nusing System.Linq;\nusing NUnit.Framework;\nusing Assert = UnityEngine.Assertions.Assert;\nusing Random = Uni"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/SequenceEqualTest.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: 94d745d244014480caeeb7ce8941916e\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/SequenceEqualTest.tt",
"chars": 2275,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/SequenceEqualTest.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: e7566cc4bcab64f6d844a81af29ff526\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/SumTest.cs",
"chars": 11299,
"preview": "using System;\nusing System.Linq;\nusing NUnit.Framework;\nusing Unity.Mathematics;\nusing UnityEngine;\nusing Assert = Unity"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/SumTest.cs.meta",
"chars": 243,
"preview": "fileFormatVersion: 2\nguid: a4294f56768c24a19aef47ed0630569c\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n "
},
{
"path": "Assets/BurstLinq/Tests/Runtime/SumTest.tt",
"chars": 2742,
"preview": "<#@ template language=\"C#\" #>\n<#@ assembly name=\"System.Core\" #>\n<#@ import namespace=\"System.Linq\" #>\n<#@ import namesp"
},
{
"path": "Assets/BurstLinq/Tests/Runtime/SumTest.tt.meta",
"chars": 155,
"preview": "fileFormatVersion: 2\nguid: b60ef8315855e4099ac7d5322be6a5c4\nDefaultImporter:\n externalObjects: {}\n userData: \n assetB"
},
{
"path": "Assets/BurstLinq/Tests/Runtime.meta",
"chars": 172,
"preview": "fileFormatVersion: 2\nguid: 015f9dfd74a6549a8ba6973215bdec35\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n us"
},
{
"path": "Assets/BurstLinq/Tests.meta",
"chars": 172,
"preview": "fileFormatVersion: 2\nguid: 4ed136c7d2231406f954843969852723\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n us"
},
{
"path": "Assets/BurstLinq/package.json",
"chars": 338,
"preview": "{\n \"name\": \"com.annulusgames.burst-linq\",\n \"version\": \"1.2.0\",\n \"displayName\": \"Burst Linq\",\n \"description\":"
},
{
"path": "Assets/BurstLinq/package.json.meta",
"chars": 158,
"preview": "fileFormatVersion: 2\nguid: 5f0678f7ba168481590801edce899326\nTextScriptImporter:\n externalObjects: {}\n userData: \n ass"
},
{
"path": "Assets/BurstLinq.meta",
"chars": 172,
"preview": "fileFormatVersion: 2\nguid: d0bc2035faf064fc9b39816314a001d7\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n us"
},
{
"path": "LICENSE",
"chars": 1070,
"preview": "MIT License\n\nCopyright (c) 2023 Annulus Games\n\nPermission is hereby granted, free of charge, to any person obtaining a c"
},
{
"path": "Packages/manifest.json",
"chars": 1846,
"preview": "{\n \"dependencies\": {\n \"com.unity.collab-proxy\": \"2.2.0\",\n \"com.unity.collections\": \"2.1.4\",\n \"com.unity.featur"
},
{
"path": "Packages/packages-lock.json",
"chars": 11998,
"preview": "{\n \"dependencies\": {\n \"com.unity.burst\": {\n \"version\": \"1.8.7\",\n \"depth\": 1,\n \"source\": \"registry\",\n "
},
{
"path": "ProjectSettings/AudioManager.asset",
"chars": 416,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!11 &1\nAudioManager:\n m_ObjectHideFlags: 0\n serializedVersion: 2\n m_Vo"
},
{
"path": "ProjectSettings/BurstAotSettings_StandaloneOSX.json",
"chars": 402,
"preview": "{\n \"MonoBehaviour\": {\n \"Version\": 4,\n \"EnableBurstCompilation\": true,\n \"EnableOptimisations\": true,\n \"Enabl"
},
{
"path": "ProjectSettings/ClusterInputManager.asset",
"chars": 114,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!236 &1\nClusterInputManager:\n m_ObjectHideFlags: 0\n m_Inputs: []\n"
},
{
"path": "ProjectSettings/CommonBurstAotSettings.json",
"chars": 74,
"preview": "{\n \"MonoBehaviour\": {\n \"Version\": 4,\n \"DisabledWarnings\": \"\"\n }\n}\n"
},
{
"path": "ProjectSettings/DynamicsManager.asset",
"chars": 1190,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!55 &1\nPhysicsManager:\n m_ObjectHideFlags: 0\n serializedVersion: 11\n m"
},
{
"path": "ProjectSettings/EditorBuildSettings.asset",
"chars": 160,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!1045 &1\nEditorBuildSettings:\n m_ObjectHideFlags: 0\n serializedVersion:"
},
{
"path": "ProjectSettings/EditorSettings.asset",
"chars": 1484,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!159 &1\nEditorSettings:\n m_ObjectHideFlags: 0\n serializedVersion: 12\n "
},
{
"path": "ProjectSettings/GraphicsSettings.asset",
"chars": 2230,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!30 &1\nGraphicsSettings:\n m_ObjectHideFlags: 0\n serializedVersion: 13\n "
},
{
"path": "ProjectSettings/InputManager.asset",
"chars": 5793,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!13 &1\nInputManager:\n m_ObjectHideFlags: 0\n serializedVersion: 2\n m_Ax"
},
{
"path": "ProjectSettings/MemorySettings.asset",
"chars": 1192,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!387306366 &1\nMemorySettings:\n m_ObjectHideFlags: 0\n m_EditorMemorySett"
},
{
"path": "ProjectSettings/NavMeshAreas.asset",
"chars": 1308,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!126 &1\nNavMeshProjectSettings:\n m_ObjectHideFlags: 0\n serializedVersio"
},
{
"path": "ProjectSettings/PackageManagerSettings.asset",
"chars": 928,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!114 &1\nMonoBehaviour:\n m_ObjectHideFlags: 61\n m_CorrespondingSourceObj"
},
{
"path": "ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json",
"chars": 64,
"preview": "{\n \"m_Dictionary\": {\n \"m_DictionaryValues\": []\n }\n}"
},
{
"path": "ProjectSettings/Physics2DSettings.asset",
"chars": 2028,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!19 &1\nPhysics2DSettings:\n m_ObjectHideFlags: 0\n serializedVersion: 4\n "
},
{
"path": "ProjectSettings/PresetManager.asset",
"chars": 146,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!1386491679 &1\nPresetManager:\n m_ObjectHideFlags: 0\n serializedVersion:"
},
{
"path": "ProjectSettings/ProjectSettings.asset",
"chars": 25323,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!129 &1\nPlayerSettings:\n m_ObjectHideFlags: 0\n serializedVersion: 26\n "
},
{
"path": "ProjectSettings/ProjectVersion.txt",
"chars": 83,
"preview": "m_EditorVersion: 2022.3.7f1\nm_EditorVersionWithRevision: 2022.3.7f1 (b16b3b16c7a0)\n"
},
{
"path": "ProjectSettings/QualitySettings.asset",
"chars": 6451,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!47 &1\nQualitySettings:\n m_ObjectHideFlags: 0\n serializedVersion: 5\n m"
},
{
"path": "ProjectSettings/SceneTemplateSettings.json",
"chars": 3534,
"preview": "{\n \"templatePinStates\": [],\n \"dependencyTypeInfos\": [\n {\n \"userAdded\": false,\n \"type\""
},
{
"path": "ProjectSettings/TagManager.asset",
"chars": 378,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!78 &1\nTagManager:\n serializedVersion: 2\n tags: []\n layers:\n - Defaul"
},
{
"path": "ProjectSettings/TimeManager.asset",
"chars": 202,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!5 &1\nTimeManager:\n m_ObjectHideFlags: 0\n Fixed Timestep: 0.02\n Maximu"
},
{
"path": "ProjectSettings/UnityConnectSettings.asset",
"chars": 943,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!310 &1\nUnityConnectSettings:\n m_ObjectHideFlags: 0\n serializedVersion:"
},
{
"path": "ProjectSettings/VFXManager.asset",
"chars": 308,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!937362698 &1\nVFXManager:\n m_ObjectHideFlags: 0\n m_IndirectShader: {fil"
},
{
"path": "ProjectSettings/VersionControlSettings.asset",
"chars": 188,
"preview": "%YAML 1.1\n%TAG !u! tag:unity3d.com,2011:\n--- !u!890905787 &1\nVersionControlSettings:\n m_ObjectHideFlags: 0\n m_Mode: Vi"
},
{
"path": "ProjectSettings/XRSettings.asset",
"chars": 158,
"preview": "{\n \"m_SettingKeys\": [\n \"VR Device Disabled\",\n \"VR Device User Alert\"\n ],\n \"m_SettingValues\": [\n "
},
{
"path": "README.md",
"chars": 4097,
"preview": "# BurstLinq\nExtremely fast LINQ aggregation operations implementation optimized by Burst Compiler\n\n<img src=\"https://git"
},
{
"path": "README_JA.md",
"chars": 3227,
"preview": "# BurstLinq\n Extremely fast LINQ aggregation operations implementation optimized by Burst Compiler\n\n<img src=\"https://gi"
}
]
About this extraction
This page contains the full source code of the AnnulusGames/BurstLinq GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 130 files (632.0 KB), approximately 154.2k tokens, and a symbol index with 1721 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.