private int GetTableLength(Table table) { MetadataTable metadataTable = this.tables[(int)table]; if (metadataTable == null) { return(0); } return(metadataTable.Length); }
private void WriteTables() { for (int i = 0; i < this.tables.Length; i++) { MetadataTable table = this.tables[i]; if ((table != null) && (table.Length != 0)) { table.Write(this); } } }
private void WriteRowCount() { for (int i = 0; i < this.tables.Length; i++) { MetadataTable table = this.tables[i]; if ((table != null) && (table.Length != 0)) { base.WriteUInt32((uint)table.Length); } } }
private void WriteTables() { for (int i = 0; i < (int)this.tables.Length; i++) { MetadataTable metadataTable = this.tables[i]; if (metadataTable != null && metadataTable.Length != 0) { metadataTable.Write(this); } } }
private void ComputeTableInformations(TableHeapBuffer table_heap) { MetadataTable[] array = table_heap.tables; for (int i = 0; i < array.Length; i++) { MetadataTable metadataTable = array[i]; if (metadataTable != null && metadataTable.Length > 0) { table_infos[i].Length = (uint)metadataTable.Length; } } }
private ulong GetValid() { ulong num = 0UL; for (int i = 0; i < this.tables.Length; i++) { MetadataTable table = this.tables[i]; if ((table != null) && (table.Length != 0)) { table.Sort(); num |= (ulong)(1L << (i & 0x3f)); } } return(num); }
private ulong GetValid() { ulong num = 0uL; for (int i = 0; i < tables.Length; i++) { MetadataTable metadataTable = tables[i]; if (metadataTable != null && metadataTable.Length != 0) { metadataTable.Sort(); num = (ulong)((long)num | 1L << i); } } return(num); }
private ulong GetValid() { ulong num = (ulong)0; for (int i = 0; i < (int)this.tables.Length; i++) { MetadataTable metadataTable = this.tables[i]; if (metadataTable != null && metadataTable.Length != 0) { metadataTable.Sort(); num = num | (long)1 << (i & 63); } } return(num); }
private int GetTableLength(Table table) { MetadataTable table2 = this.tables[(int)table]; return((table2 != null) ? table2.Length : 0); }
public void WriteRID(uint rid, Table table) { MetadataTable table2 = this.tables[(int)table]; this.WriteBySize(rid, (table2 != null) && table2.IsLarge); }
public void WriteRID(uint rid, Table table) { MetadataTable metadataTable = this.tables[(int)table]; this.WriteBySize(rid, (metadataTable == null ? false : metadataTable.IsLarge)); }