Lines Matching refs:offset
740 # indicating that $nrecs records were removed at $recpos (a record offset)
844 or confess("logic error: undefined offset for record $n");
857 # return the offset of record $n
879 # so we can return the offset of record n
966 # assumes that the offsets table already contains the offset of record $n,
1042 # Get offset table entries; returns offset of nth record
1043 sub offset {
1311 _ci_warn("offset 0 is missing!");
1315 _ci_warn("rec 0: offset <$self->{offsets}[0]> s/b 0!");
1329 my $offset = $self->{offsets}[$.];
1331 if (defined $offset && $offset != $ao) {
1332 _ci_warn("rec $n: offset <$offset> actual <$ao>");
1343 if (! defined $offset && $self->{eof}) {
1345 _ci_warn("The offset table was marked complete, but it is missing element $.");
1351 _ci_warn("The offset table has $n items, but the file has only $.");
2240 C<Tie::File> maintains an internal table of the byte offset of each
2247 and the internal record offset table.
2290 =head2 C<offset>
2292 $off = $o->offset($n);
2294 This method returns the byte offset of the start of the C<$n>th record
2492 There is a large memory overhead for each record offset and for each
2493 cache entry: about 310 bytes per cached data record, and about 21 bytes per offset table entry.