line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package KinoSearch1::Index::TermBuffer; |
2
|
34
|
|
|
34
|
|
179
|
use strict; |
|
34
|
|
|
|
|
62
|
|
|
34
|
|
|
|
|
1090
|
|
3
|
34
|
|
|
34
|
|
174
|
use warnings; |
|
34
|
|
|
|
|
62
|
|
|
34
|
|
|
|
|
869
|
|
4
|
34
|
|
|
34
|
|
166
|
use KinoSearch1::Util::ToolSet; |
|
34
|
|
|
|
|
63
|
|
|
34
|
|
|
|
|
4545
|
|
5
|
34
|
|
|
34
|
|
202
|
use base qw( KinoSearch1::Util::CClass ); |
|
34
|
|
|
|
|
68
|
|
|
34
|
|
|
|
|
3070
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
BEGIN { |
8
|
34
|
|
|
34
|
|
327
|
__PACKAGE__->init_instance_vars( |
9
|
|
|
|
|
|
|
# constructor params |
10
|
|
|
|
|
|
|
finfos => undef, |
11
|
|
|
|
|
|
|
); |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
our %instance_vars; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub new { |
16
|
208
|
|
|
208
|
1
|
329
|
my $class = shift; |
17
|
208
|
|
33
|
|
|
857
|
$class = ref($class) || $class; |
18
|
208
|
|
|
|
|
766
|
my %args = ( %instance_vars, @_ ); |
19
|
208
|
50
|
|
|
|
722
|
confess kerror() unless verify_args( \%instance_vars, %args ); |
20
|
208
|
|
|
|
|
908
|
my $self = _new( $class, $args{finfos}->size ); |
21
|
208
|
|
|
|
|
687
|
return $self; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |