private int GetTableLength(Table table)
        {
            MetadataTable metadataTable = this.tables[(int)table];

            if (metadataTable == null)
            {
                return(0);
            }
            return(metadataTable.Length);
        }
예제 #2
0
 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);
         }
     }
 }
예제 #3
0
 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);
         }
     }
 }
예제 #5
0
 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;
         }
     }
 }
예제 #6
0
        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);
        }
예제 #7
0
        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);
        }
예제 #9
0
        private int GetTableLength(Table table)
        {
            MetadataTable table2 = this.tables[(int)table];

            return((table2 != null) ? table2.Length : 0);
        }
예제 #10
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));
        }