1. 31 Oct, 2019 1 commit
  2. 06 Feb, 2019 1 commit
  3. 31 Jul, 2017 1 commit
  4. 17 Oct, 2016 1 commit
    • Mark Olesen's avatar
      Cleanup endian support (closes #271) · 2c06a905
      Mark Olesen authored
      - Place common code under OSspecific.
      
      By including "endian.H", either one of WM_BIG_ENDIAN or WM_LITTLE_ENDIAN
      will be defined.
      
      Provides inline 32-bit and 64-bit byte swap routines that can be
      used/re-used elsewhere.
      
      The inplace memory swaps currently used by the VTK output are left for
      the moment pending further cleanup of that code.
      2c06a905
  5. 29 Feb, 2016 2 commits
  6. 11 Jan, 2016 2 commits
  7. 14 Feb, 2015 1 commit
  8. 14 Aug, 2011 1 commit
  9. 04 Jan, 2011 1 commit
  10. 28 Jul, 2010 1 commit
  11. 29 Mar, 2010 1 commit
  12. 05 Mar, 2009 1 commit
    • Mark Olesen's avatar
      regIOobject, Hasher, IOobject tweak · 7544164d
      Mark Olesen authored
      - regIOobject: don't re-register an unregister object on rename/assignment
      - Hasher: split-off HasherInt with uint32_t specializations
      - IOobject: writeBanner/writeDivider return Stream for easier chaining.
      
      ... also dropped some namespace bracketing while I was at it.
      7544164d
  13. 04 Mar, 2009 1 commit
    • Mark Olesen's avatar
      Switched from old hashing functions to use Bob Jenkins' hash routine · 17548296
      Mark Olesen authored
      - If the underlying type is contiguous, FixedList hashes its storage directly.
      - Drop labelPairHash (non-commutative) from fvMeshDistribute since
        FixedList::Hash does the right thing anyhow.
      - Hash<edge> specialization is commutative, without multiplication.
      - Hash<triFace> specialization kept multiplication (but now uLabel).
        There's not much point optimizing it, since it's not used much anyhow.
      
      Misc. changes
      
      - added StaticAssert to NamedEnum.H
      - label.H / uLabel.H : define FOAM_LABEL_MAX, FOAM_ULABEL_MAX with the
        values finally used for the storage.  These can be useful for pre-processor
        checks elsewhere (although I stopped needing them in the meantime).
      17548296
  14. 02 Mar, 2009 1 commit
    • Mark Olesen's avatar
      Added Jenkin's hash functions in C++ form · 44a86232
      Mark Olesen authored
      - not much speed difference between SuperFastHash and Jenkin's lookup3 but
        both are 5-10% faster than what is currently implemented in Foam::string,
        albeit inlining probably helps there.
      
      - TODO: integration with existing infrastructure
      44a86232