You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework
AMZN-AlexOteiza 45ebf57d3f
Fixed bug in hash_table that made rehash() function run forever (#2745)
* Fixed bug in hash_table that made rehash() function to run infinitely on specific conditions when inserting an already existing element

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* Replaced erasing to happen in the source list instead

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* minor comment improvement

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* Small commment improvement

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* Small comment fix

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* Added assert and fixed code with incorrect hashing

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* .

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* Addressed PR comments, reverted to void* as it size_t hash is different

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* Fixed build on linux

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

* Addressed PR comments

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

Co-authored-by: Garcia Ruiz <aljanru@amazon.co.uk>
5 years ago
..
AtomCore Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AzAndroid/java/com/amazon Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AzCore Fixed bug in hash_table that made rehash() function run forever (#2745) 5 years ago
AzFramework Fix for Linux/Vulkan/Editor crash on startup 5 years ago
AzGameFramework Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AzManipulatorTestFramework Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AzNetworking Add const to timeout enabled getter 5 years ago
AzQtComponents Added Tests to check code is correct 5 years ago
AzTest Merge branch 'development' into cmake/SPEC-7179 5 years ago
AzToolsFramework Merge pull request #1927 from aws-lumberyard-dev/GroupToggleSwitch 5 years ago
Crcfix Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
GFxFramework Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
GridMate Fixed the emplace function implementations for stack and queue (#2657) 5 years ago
CMakeLists.txt Copy jinja/py files to the install folder (#2643) 5 years ago