Kuan-Wei Chiu
Kuan-Wei Chiu
Fix multiple issues for vinput module: 1. Removes redundant memset calls that were unnecessary since memory allocated with kzalloc is already zeroed due to the __GFP_ZERO gfp flag. 2. Fixes...
Currently, if the close() system call is invoked with fd < 3, close() won't take any action and won't return an error code of -1. Some programs may need to...
I conducted a micro-benchmark[1] testing the efficiency of inputs ranging from 1 to 10,000,000, and observed a significant improvement, validating the effectiveness of the implemented optimization. Additionally, I validated the...
The current Trie implementation allocates 128 entries for child nodes at each node, but in practice, C function names only consist of 63 distinct characters ('_', '0'-'9', 'a'-'z', 'A'-'Z'). This...
Fixed an issue in arenaAllocator.hpp where left shifting 1 by more than the size of a signed integer caused undefined behavior due to signed integer overflow. The macro MSB_SET has...