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