Преглед на файлове

chapter06: Translate gperf instructions

Xi Ruoyao преди 7 години
родител
ревизия
10654985ed
променени са 1 файла, в които са добавени 4 реда и са изтрити 5 реда
  1. 4 5
      chapter06/gperf.xml

+ 4 - 5
chapter06/gperf.xml

@@ -23,7 +23,7 @@
   <sect2 role="package">
     <title/>
 
-    <para>Gperf generates a perfect hash function from a key set.</para>
+    <para>Gperf 根据一组键值,生成完美散列函数。</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
@@ -48,9 +48,8 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>The tests are known to fail if running multiple
-    simultaneous tests (-j option greater than 1). To test
-    the results, issue:</para>
+    <para>已知同时执行多个测试(-j 选项的值大于 1)会导致测试失败。
+    执行下列命令测试编译结果:</para>
 
 <screen><userinput remap="test">make -j1 check</userinput></screen>
 
@@ -81,7 +80,7 @@
       <varlistentry id="gperf">
         <term><command>gperf</command></term>
         <listitem>
-          <para>Generates a perfect hash from a key set</para>
+          <para>根据键值集合生成完美散列函数</para>
           <indexterm zone="ch-system-gperf gperf">
             <primary sortas="b-gperf">gperf</primary>
           </indexterm>