Commit Graph

38 Commits

Author SHA1 Message Date
Crashoz
41238a44dc
Merge pull request #24 from tuguzT/master
Fix too large alignment value
2024-11-16 17:16:20 +01:00
tuguzT
54c3527999 Fix an old typo 2024-11-15 12:58:13 +03:00
Crashoz
bae4100d7a
Merge pull request #13 from duckdoom5/patch-1
Better hashing function
2023-03-17 16:09:55 +01:00
Jelle
a117d19c2c
Fix missing brackets 2023-03-16 23:09:41 +01:00
Jelle
b4b1d4d743
Merge branch 'crashoz:master' into patch-1 2023-03-16 23:07:47 +01:00
Xavier 'crashoz' Launey
2433962f04 Merge branch 'master' of https://github.com/crashoz/uuid_v4 into master 2023-03-16 14:10:14 +01:00
Xavier 'crashoz' Launey
336ffae2c6 Improved Readme 2023-03-16 14:10:11 +01:00
Crashoz
37741e409b
Merge pull request #17 from bradc6/bugfix/HashingInconsistent
[BUG] Added unit test for hashing function
2023-03-16 13:44:23 +01:00
Xavier 'crashoz' Launey
46762f3614 Merge branch 'pr15' into master 2023-03-16 13:24:45 +01:00
Crashoz
3e124d679b
Merge pull request #15 from BioDataAnalysis/bda_minor_improvements
Minor improvements, mostly cmake
2023-03-16 13:24:20 +01:00
Xavier 'crashoz' Launey
13e02047dd cmake fixes 2023-03-16 13:22:29 +01:00
Bradley Clemetson
3f7242b077
Added unit test for hashing function 2022-08-19 03:57:26 -07:00
Mario Emmenlauer
92f4144c0e Minor CMake improvements for cross-platform build (MSVC) 2022-07-18 14:48:44 +02:00
Mario Emmenlauer
08f957951f Added CMake install target 2022-07-18 14:48:44 +02:00
Mario Emmenlauer
0503de0cb9 Allow to build against system gtest and benchmark 2022-07-18 14:48:44 +02:00
Mario Emmenlauer
19e1595808 example.cpp: Fixed a minor pedantic warning 2022-07-18 14:48:44 +02:00
Mario Emmenlauer
938e5753c8 benchmarks/uuid_v4_benchmark.cpp: Fixed a minor issue in using 'delete[]' 2022-07-18 11:57:47 +02:00
Jelle
28583c768f
Better hashing function
I'm not 100% sure why it happened and I couldn't debug it properly.

When I used the UUID in an unordered map, it would sometimes not find the UUID even though it does exists in the map.
I feel like it has something to do with the hash function that this was using.

See this hash_combine proposal for reference to this hashing function:
 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0814r2.pdf
2022-01-08 17:18:21 +01:00
Xavier 'crashoz' Launey
8fffbb16be added note about simde, fix #8 2021-12-17 14:37:21 +01:00
Xavier 'crashoz' Launey
e8785298f2 changed namespace to UUIDv4, fix #9 2021-12-17 14:36:49 +01:00
Xavier 'crashoz' Launey
bd6c24cb07 inlined functions, fix #10 2021-12-17 12:08:31 +01:00
Crashoz
981c93c655
Merge pull request #11 from adamreeve/invalid_character_fix
Replace non-breaking spaces with normal spaces
2021-12-17 11:40:19 +01:00
Adam Reeve
2d2695bf3a Replace non-breaking spaces with normal spaces 2021-12-17 14:18:35 +13:00
Crashoz
9b56c5c282
Merge pull request #7 from duckdoom5/patch-3
operator== was failling to compare with a 0 UUID
2021-11-29 17:35:45 +01:00
Crashoz
37057000cf
Merge pull request #5 from duckdoom5/patch-1
Add explicit to the string constructor
2021-11-29 17:34:00 +01:00
Jelle
bcad3e1077
Update uuid_v4.h
See: https://stackoverflow.com/questions/26880863/testing-equality-between-two-m128i-variables
2021-11-29 16:21:26 +01:00
Jelle
d2f5076f4a
Add explicit to the string constructor
This prevents the automatic conversion from string to UUID
2021-11-29 15:49:07 +01:00
Crashoz
5ca4dac8db
Merge pull request #3 from omegacoleman/master
fix: misusing betole16 for uint32_t in m128itos and stom128i
2021-07-14 10:57:26 +02:00
youcai
19b42e1710 fix: misusing betole16 for uint32_t in m128itos and stom128i 2021-07-13 15:25:55 +08:00
Crashoz
faf088bebd
Fix #2
fixed less or equal operator on UUIDs
2021-03-03 13:24:53 +01:00
crashoz
fb4909a468 version & variant fields fix (fixes #1) 2020-11-08 15:56:20 +01:00
Crashoz
405ed2e6a6
Update README
Fix link
2018-08-18 14:06:33 +02:00
crashoz
37fea5b921 Added more benchmarks 2018-08-18 11:16:17 +02:00
crashoz
bfa771ebdb README update 2018-08-18 11:16:01 +02:00
crashoz
581c079122 Merge branch 'master' of https://github.com/crashoz/uuid_v4 2018-08-17 20:18:55 +02:00
crashoz
b6c892b358 benchmarks & tests 2018-08-17 19:39:26 +02:00
Crashoz
e1724e11f5
Initial commit 2018-08-17 19:38:02 +02:00
crashoz
50ec421b40 First commit 2018-08-09 15:02:20 +02:00