Lines Matching refs:nrecs
435 my ($self, $pos, $nrecs, @data) = @_;
444 $nrecs = $oldsize unless defined $nrecs;
461 if ($nrecs < 0) {
462 $nrecs = $oldsize - $pos + $nrecs;
463 $nrecs = 0 if $nrecs < 0;
468 if ($nrecs + $pos > $oldsize) {
469 $nrecs = $oldsize - $pos;
479 for ($pos .. $pos+$nrecs-1) {
494 $self->_fill_offsets_to($pos+$nrecs);
499 $self->_oadjust([$pos, $nrecs, @data]);
508 for ($pos .. $pos+$nrecs-1) {
522 my @oldkeys = grep $_ >= $pos + $nrecs, $self->{cache}->ckeys;
523 my @newkeys = map $_-$nrecs+@data, @oldkeys;
760 my ($pos, $nrecs, @data) = @$_;
780 for my $i ($pos .. $pos+$nrecs-1) {
787 splice @{$self->{offsets}}, $pos, $nrecs+1, @newoff;
791 $delta_recs += @data - $nrecs; # net change in total number of records