aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/hash.h
Commit message (Expand)AuthorAgeFilesLines
* [Rework] Add C++ guards to all headersVsevolod Stakhov2019-07-081-9/+19
* [Minor] Add methods to get LRU hash sizesVsevolod Stakhov2019-04-051-0/+12
* [Rework] Core: Improve structure of lru hash, get rid of GHashTableVsevolod Stakhov2018-12-101-30/+23
* [Minor] Allow explicit deletion from LRU cacheVsevolod Stakhov2017-05-201-0/+9
* [Rework] Use LFU algorithm in LRU cacheVsevolod Stakhov2017-05-111-11/+9
* [Feature] Use less frequent use strategy for cachesVsevolod Stakhov2016-04-111-0/+2
* [Feature] Use heap in LRU cachesVsevolod Stakhov2016-04-081-13/+3
* Fix fuzzy statsVsevolod Stakhov2015-12-141-2/+13
* Add methods to extract internal fields from LRU hashVsevolod Stakhov2015-12-141-0/+11
* Use const pointer for LRU cache search.Vsevolod Stakhov2015-03-181-1/+1
* Rework LRU hash.Vsevolod Stakhov2015-02-031-0/+17
* Rework rspamd hash.Vsevolod Stakhov2014-08-241-124/+4
* Unify style without sorting headers.Vsevolod Stakhov2014-07-231-39/+60
* Revert "Unify code style."Vsevolod Stakhov2014-07-231-60/+39
* Unify code style.Vsevolod Stakhov2014-07-231-39/+60
* Rework project structure, remove trash files.Vsevolod Stakhov2014-04-211-0/+160
color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?xml version="1.0"?>

<!-- ======================================================================= 

    Instructions for building the buildtools.jar:

 Classpath should contain the following:
   Xerces 1.4.x
   Xalan  2.x
   xml-fop/lib/ant.jar

  Run "ant -f buildtools.xml" to build a new version of the buildtools jar

======================================================================= -->
   

<project default="buildtools" basedir=".">
  <target name="init">
   <property name="src.dir" value="./src"/>
   <property name="build.src" value="./lib/src"/>
   <property name="build.dest" value="./lib/classes"/>

   <property name="tools" value="org/apache/fop/tools"/>
   <property name="hyph"  value="org/apache/fop/layout/hyphenation"/>
   <property name="buildtools.jar" value="./lib/buildtools.jar"/>

   <property name="trax" value="TraxTransform.java"/>

   <available property="trax.present" classname="javax.xml.transform.Transformer"/>
   </target>

   <target name="compile" depends="init,prepare.src">
     <mkdir dir="${build.dest}"/>
     <javac srcdir="${build.src}"
	    destdir="${build.dest}"/>
     
   </target>

   <target name="buildtools" depends="clean,init,compile">
     <echo message="Creating the jar file ${buildtools.jar}"/>
     <jar jarfile="${buildtools.jar}"
	  basedir="${build.dest}"
	  includes="${tools}/**,${hyph}/**"/>
   </target>

   <target name="prepare.src" depends="prepare.trax">
     <copy todir="${build.src}">
       <fileset dir="${src.dir}"
	        includes="${tools}/**,${hyph}/**"
	        excludes="${tools}/anttasks/Fop.java,${tools}/TestConverter.java,${tools}/AreaTreeBuilder.java,${hyph}/Hyphenator.java,**/${trax}"/>
     </copy>
   </target>

   <target name="prepare.trax" if="trax.present">
     <echo message="JAXP1.1 transforms is present. Installing TRaX support"/>
     <copy todir="${build.src}">
       <fileset dir="${src.dir}"
	        includes="**/${trax}"/>
     </copy>
   </target>

   <target name="clean" depends="init">
     <delete dir="${build.src}"/>
     <delete dir="${build.dest}"/>
   </target>

</project>