1. 31 Oct, 2019 1 commit
  2. 28 Oct, 2019 1 commit
  3. 01 May, 2019 1 commit
  4. 15 Mar, 2019 1 commit
  5. 14 Feb, 2019 1 commit
    • Mark Olesen's avatar
      ENH: ensure self-assignment and self-swapping are a no-op for string types · 60c31415
      Mark Olesen authored
      - simplifies their use when reordering lists etc.
        (word, fileName, keyType, wordRe)
      
      - "unfriend" IO operators for string types. They require no internal access
      
      - add compile/uncompile methods to keyType for symmetry with wordRe
      
      - when outputting keyType/wordRe, be more explicit about them using
        writeQuoted()
      60c31415
  6. 06 Feb, 2019 1 commit
  7. 08 Aug, 2018 1 commit
    • Mark Olesen's avatar
      ENH: add missing Hash function for List/UList (issue #966) · dd9ecd49
      Mark Olesen authored
      - there were previously no hashing mechanisms for lists so they
        would fall back to the definition for primitives and hash the
        memory location of the allocated List object.
      
      - provide a UList::Hash<> sub-class for inheritance, and also a global
        specialization for UList<T>, List<T> such that the hash value for
        List<List<T>> cascades properly.
      
      - provide similar function in triFace to ensure that it remains
        similar in behaviour to face.
      
      - added SymmHash to Pair, for use when order is unimportant.
      
      STYLE: use string::hash() more consistently
      
      - no particular reason to use Hash<word>() which forwards to
        string::hash() anyhow
      dd9ecd49
  8. 30 May, 2018 1 commit
  9. 09 Feb, 2018 1 commit
    • Mark Olesen's avatar
      STYLE: simplify hashing to use struct instead of class · 3e3c9739
      Mark Olesen authored
      - more consistent with STL practices for function classes.
      
      - string::hash function class now operates on std::string rather
        than Foam::string since we have now avoided inadvertent use of
        string conversion from int in more places.
      3e3c9739
  10. 31 Jul, 2017 1 commit
  11. 26 May, 2017 1 commit
  12. 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
  13. 17 Aug, 2016 1 commit
  14. 17 Jun, 2016 1 commit
  15. 29 Feb, 2016 2 commits
  16. 11 Jan, 2016 2 commits
  17. 10 Nov, 2015 1 commit
  18. 17 Jul, 2015 1 commit
  19. 14 Feb, 2015 1 commit
  20. 04 Jan, 2015 1 commit
  21. 22 Jun, 2012 1 commit
  22. 28 Nov, 2011 1 commit
  23. 14 Aug, 2011 1 commit
  24. 25 Feb, 2011 1 commit
    • Mark Olesen's avatar
      ENH: allow '_' prefix when reading/writing SHA1Digest · 0484d1b2
      Mark Olesen authored
      - the resulting SHA1 can be written and parsed directly
        without any ambiguities when it starts with a digit
        eg, SHA1: _024ea2fa
      
      - provide same optional prefix functionality in conversion to string
        and in comparison with strings
      
      - add SHA1Digest::null
      0484d1b2
  25. 21 Feb, 2011 1 commit
  26. 08 Feb, 2011 1 commit
  27. 07 Feb, 2011 1 commit
  28. 19 Jan, 2011 1 commit
  29. 14 Jan, 2011 1 commit
  30. 07 Jan, 2011 1 commit
  31. 05 Jan, 2011 2 commits
  32. 04 Jan, 2011 2 commits
  33. 19 Dec, 2010 1 commit
  34. 28 Jul, 2010 1 commit
  35. 07 May, 2010 1 commit
  36. 29 Mar, 2010 1 commit