line |
true |
false |
branch |
134
|
367 |
1418 |
if ($self->{'is_size_aware'})
|
252
|
0 |
97 |
if (not defined $shm_size or $shm_size == 0)
|
258
|
4 |
93 |
unless ($shm)
|
260
|
0 |
4 |
unless ($shm)
|
281
|
0 |
0 |
unless open my $fd, ">", $self->lock_file
|
296
|
0 |
0 |
unless $self->lock_file
|
298
|
0 |
0 |
if (my $lock = $self->lock) { }
|
299
|
0 |
0 |
$params{'type'} eq 'read' ? :
|
313
|
0 |
0 |
if (my $lock = $self->lock) { }
|
325
|
1155 |
3190 |
if (defined $value)
|
329
|
0 |
3190 |
unless ($self->shm)
|
333
|
0 |
3190 |
unless (defined $size)
|
345
|
1156 |
3093 |
if (defined $h)
|
349
|
1 |
1155 |
if ($cur_size > $self->shm_size - $CHI::Driver::SharedMem::Config{'intsize'})
|
361
|
3089 |
4 |
if ($cur_size)
|
366
|
0 |
3089 |
if ($@)
|
385
|
2 |
97 |
unless ($self->shm_key)
|
406
|
97 |
2 |
if ($self->shm_key and $self->shm)
|
413
|
2 |
95 |
if ($cur_size == 0) { }
|
414
|
2 |
0 |
if (defined $stat and $stat->nattch == 1)
|
443
|
0 |
97 |
if ($can_remove and my $lock_file = $self->lock_file)
|