Пример #1
0
        public int GetCodedIndexSize(CodedIndex coded_index)
        {
            var index = (int) coded_index;
            var size = coded_index_sizes [index];
            if (size != 0)
                return size;

            return coded_index_sizes [index] = coded_index.GetSize (counter);
        }
Пример #2
0
        private int GetCodedIndexSize(CodedIndex coded_index)
        {
            int num = this.coded_index_sizes[(int)coded_index];

            if (num != 0)
            {
                return(num);
            }
            return(this.coded_index_sizes[(int)coded_index] = coded_index.GetSize(this.counter));
        }
Пример #3
0
        public int GetCodedIndexSize(CodedIndex coded_index)
        {
            int num = coded_index_sizes[(int)coded_index];

            if (num != 0)
            {
                return(num);
            }
            return(coded_index_sizes[(int)coded_index] = coded_index.GetSize(counter));
        }
Пример #4
0
        public int GetCodedIndexSize(CodedIndex coded_index)
        {
            var index = (int)coded_index;
            var size  = coded_index_sizes [index];

            if (size != 0)
            {
                return(size);
            }

            return(coded_index_sizes [index] = coded_index.GetSize(counter));
        }
Пример #5
0
        private int GetCodedIndexSize(CodedIndex coded_index)
        {
            int index = (int)coded_index;
            int size  = coded_index_sizes[index];

            if (size != 0)
            {
                return(size);
            }

            return(coded_index_sizes[index] = coded_index.GetSize(counter));
        }
Пример #6
0
        private int GetCodedIndexSize(CodedIndex coded_index)
        {
            int num3;
            int index = (int)coded_index;
            int num2  = this.coded_index_sizes[index];

            if (num2 != 0)
            {
                return(num2);
            }
            this.coded_index_sizes[index] = num3 = coded_index.GetSize(this.counter);
            return(num3);
        }
Пример #7
0
        public int GetCodedIndexSize(CodedIndex coded_index)
        {
            int codedIndex      = (int)coded_index;
            int codedIndexSizes = this.coded_index_sizes[codedIndex];

            if (codedIndexSizes != 0)
            {
                return(codedIndexSizes);
            }
            int[] numArray = this.coded_index_sizes;
            int   size     = coded_index.GetSize(this.counter);
            int   num      = size;

            numArray[codedIndex] = size;
            return(num);
        }