Пример #1
0
        public void set_lines(string lines, ref int line_count)
        {
            indexes_.Clear();
            string_.Clear();
            string_.Append(lines);
            compute_indexes(0);
            line_count = this.line_count;
            update_indexes_capacity();

            if (test_we_computed_lines_correctly)
            {
                test_compute_lines();
            }
        }
Пример #2
0
 internal void clear()
 {
     lock (this)
         matches_.Clear();
 }