DragonNest/Common/SVNLib/doc/structsvn__txdelta__window__t.html
2024-12-19 09:48:26 +08:00

225 lines
12 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Subversion: svn_txdelta_window_t Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<form action="search.php" method="get">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
</tr>
</table>
</form>
</li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>svn_txdelta_window_t Struct Reference<br>
<small>
[<a class="el" href="group__svn__delta__txt__delta.html">Text deltas</a>]</small>
</h1><!-- doxytag: class="svn_txdelta_window_t" -->An <code><a class="el" href="structsvn__txdelta__window__t.html" title="An svn_txdelta_window_t object describes how to reconstruct a contiguous section...">svn_txdelta_window_t</a></code> object describes how to reconstruct a contiguous section of the target string (the "target view") using a specified contiguous region of the source string (the "source view").
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>&gt;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="svn__types_8h.html#726e581898461c1d3e7dbdb16d99dad0">svn_filesize_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__txdelta__window__t.html#10d2a40ac83e175617f62655f0406bc6">sview_offset</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The offset of the source view for this window. <a href="#10d2a40ac83e175617f62655f0406bc6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__txdelta__window__t.html#21b7264822ac959a9b83cc1774ac7ba4">sview_len</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The length of the source view for this window. <a href="#21b7264822ac959a9b83cc1774ac7ba4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__txdelta__window__t.html#3593f77347e4fcf652d874ba42437e77">tview_len</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The length of the target view for this window, i.e. <a href="#3593f77347e4fcf652d874ba42437e77"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__txdelta__window__t.html#ade33ee11bba85cae28b7f41dd68dcfb">num_ops</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The number of instructions in this window. <a href="#ade33ee11bba85cae28b7f41dd68dcfb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__txdelta__window__t.html#96c0e790ae607343ac43346864f4e9b3">src_ops</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The number of svn_txdelta_source instructions in this window. <a href="#96c0e790ae607343ac43346864f4e9b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structsvn__txdelta__op__t.html">svn_txdelta_op_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__txdelta__window__t.html#6b1a3158d09c4f45b3c293a6e5621753">ops</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The instructions for this window. <a href="#6b1a3158d09c4f45b3c293a6e5621753"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structsvn__string__t.html">svn_string_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__txdelta__window__t.html#4b52b256b6129d69e33966eefc2fc007">new_data</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">New data, for use by any `svn_txdelta_new' instructions. <a href="#4b52b256b6129d69e33966eefc2fc007"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An <code><a class="el" href="structsvn__txdelta__window__t.html" title="An svn_txdelta_window_t object describes how to reconstruct a contiguous section...">svn_txdelta_window_t</a></code> object describes how to reconstruct a contiguous section of the target string (the "target view") using a specified contiguous region of the source string (the "source view").
<p>
It contains a series of instructions which assemble the new target string text by pulling together substrings from:<p>
<ul>
<li>the source view,</li></ul>
<p>
<ul>
<li>the previously constructed portion of the target view,</li></ul>
<p>
<ul>
<li>a string of new data contained within the window structure</li></ul>
<p>
The source view must always slide forward from one window to the next; that is, neither the beginning nor the end of the source view may move to the left as we read from a window stream. This property allows us to apply deltas to non-seekable source streams without making a full copy of the source stream.
<p>Definition at line <a class="el" href="svn__delta_8h-source.html#l00156">156</a> of file <a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>.</p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="10d2a40ac83e175617f62655f0406bc6"></a><!-- doxytag: member="svn_txdelta_window_t::sview_offset" ref="10d2a40ac83e175617f62655f0406bc6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="svn__types_8h.html#726e581898461c1d3e7dbdb16d99dad0">svn_filesize_t</a> <a class="el" href="structsvn__txdelta__window__t.html#10d2a40ac83e175617f62655f0406bc6">svn_txdelta_window_t::sview_offset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The offset of the source view for this window.
<p>
<p>Definition at line <a class="el" href="svn__delta_8h-source.html#l00160">160</a> of file <a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="21b7264822ac959a9b83cc1774ac7ba4"></a><!-- doxytag: member="svn_txdelta_window_t::sview_len" ref="21b7264822ac959a9b83cc1774ac7ba4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">apr_size_t <a class="el" href="structsvn__txdelta__window__t.html#21b7264822ac959a9b83cc1774ac7ba4">svn_txdelta_window_t::sview_len</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The length of the source view for this window.
<p>
<p>Definition at line <a class="el" href="svn__delta_8h-source.html#l00163">163</a> of file <a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="3593f77347e4fcf652d874ba42437e77"></a><!-- doxytag: member="svn_txdelta_window_t::tview_len" ref="3593f77347e4fcf652d874ba42437e77" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">apr_size_t <a class="el" href="structsvn__txdelta__window__t.html#3593f77347e4fcf652d874ba42437e77">svn_txdelta_window_t::tview_len</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The length of the target view for this window, i.e.
<p>
the number of bytes which will be reconstructed by the instruction stream.
<p>Definition at line <a class="el" href="svn__delta_8h-source.html#l00167">167</a> of file <a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="ade33ee11bba85cae28b7f41dd68dcfb"></a><!-- doxytag: member="svn_txdelta_window_t::num_ops" ref="ade33ee11bba85cae28b7f41dd68dcfb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structsvn__txdelta__window__t.html#ade33ee11bba85cae28b7f41dd68dcfb">svn_txdelta_window_t::num_ops</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The number of instructions in this window.
<p>
<p>Definition at line <a class="el" href="svn__delta_8h-source.html#l00170">170</a> of file <a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="96c0e790ae607343ac43346864f4e9b3"></a><!-- doxytag: member="svn_txdelta_window_t::src_ops" ref="96c0e790ae607343ac43346864f4e9b3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structsvn__txdelta__window__t.html#96c0e790ae607343ac43346864f4e9b3">svn_txdelta_window_t::src_ops</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The number of svn_txdelta_source instructions in this window.
<p>
If this number is 0, we don't need to read the source in order to reconstruct the target view.
<p>Definition at line <a class="el" href="svn__delta_8h-source.html#l00176">176</a> of file <a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="6b1a3158d09c4f45b3c293a6e5621753"></a><!-- doxytag: member="svn_txdelta_window_t::ops" ref="6b1a3158d09c4f45b3c293a6e5621753" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structsvn__txdelta__op__t.html">svn_txdelta_op_t</a>* <a class="el" href="structsvn__txdelta__window__t.html#6b1a3158d09c4f45b3c293a6e5621753">svn_txdelta_window_t::ops</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The instructions for this window.
<p>
<p>Definition at line <a class="el" href="svn__delta_8h-source.html#l00179">179</a> of file <a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="4b52b256b6129d69e33966eefc2fc007"></a><!-- doxytag: member="svn_txdelta_window_t::new_data" ref="4b52b256b6129d69e33966eefc2fc007" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structsvn__string__t.html">svn_string_t</a>* <a class="el" href="structsvn__txdelta__window__t.html#4b52b256b6129d69e33966eefc2fc007">svn_txdelta_window_t::new_data</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
New data, for use by any `svn_txdelta_new' instructions.
<p>
<p>Definition at line <a class="el" href="svn__delta_8h-source.html#l00182">182</a> of file <a class="el" href="svn__delta_8h-source.html">svn_delta.h</a>.</p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="svn__delta_8h-source.html">svn_delta.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Oct 24 16:18:31 2008 for Subversion by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>