FreeBSD/contrib/subversion/subversion/libsvn_fs_x/index.c
/* Return the packed stream offset of at which the next number in the stream
 * can be found.
 */
Return the packed stream offset of at which the next number in the stream
can be found.
Return the packed stream offset of at which the next number in the stream can be found .
static apr_off_t
packed_stream_offset(svn_fs_x__packed_number_stream_t *stream)
{
  apr_off_t file_offset
       = stream->current == 0
       ? stream->start_offset
       : stream->buffer[stream->current-1].total_len + stream->start_offset;
  return file_offset - stream->stream_start;
}
static apr_off_t packed_stream_offset ( svn_fs_x__packed_number_stream_t * stream ) { apr_off_t file_offset = stream -> current == 0 ? stream -> start_offset : stream -> buffer [ stream -> current - 1 ] . total_len + stream -> start_offset ; return file_offset - stream -> stream_start ; }
Return the packed stream offset of at which the next number in the stream
 can be found.
Return the packed stream offset of at which the next number in the stream can be found .