3 instantiations of IndexEntry
Microsoft.DotNet.Build.Tasks.Installers (3)
src\RpmHeader.cs (3)
76
return new
IndexEntry
()
342
IndexEntry immutableRegionIndexEntry =
new
()
352
IndexEntry immutableRegionTrailer =
new
()
11 references to IndexEntry
Microsoft.DotNet.Build.Tasks.Installers (11)
src\RpmHeader.cs (11)
74
private static
IndexEntry
ReadIndexEntry(ReadOnlySpan<byte> bytes)
85
private static void WriteIndexEntry(Span<byte> bytes,
IndexEntry
entry)
115
byte[] indexBytes = new byte[sizeof(
IndexEntry
) * numIndexEntries];
118
IndexEntry
[] indexEntries = new
IndexEntry
[numIndexEntries];
121
indexEntries[i] = ReadIndexEntry(indexBytesSpan.Slice(i * sizeof(
IndexEntry
)));
129
foreach (
var
entry in indexEntries)
135
IndexEntry
indexEntry = ReadIndexEntry(store.AsSpan().Slice(entry.Offset));
342
IndexEntry
immutableRegionIndexEntry = new()
352
IndexEntry
immutableRegionTrailer = new()
356
Offset = -(Entries.Count + 1) * Unsafe.SizeOf<
IndexEntry
>(),