[Groonga-commit] groonga/grnxx at 92379ff [master] Update a comment.

Back to archive index

susumu.yata null+****@clear*****
Wed Jul 24 15:55:06 JST 2013


susumu.yata	2013-07-24 15:55:06 +0900 (Wed, 24 Jul 2013)

  New Revision: 92379ff5597142fbb8ad45a28ec4465b39758d25
  https://github.com/groonga/grnxx/commit/92379ff5597142fbb8ad45a28ec4465b39758d25

  Message:
    Update a comment.

  Modified files:
    lib/grnxx/map/hash_table.hpp

  Modified: lib/grnxx/map/hash_table.hpp (+5 -4)
===================================================================
--- lib/grnxx/map/hash_table.hpp    2013-07-24 15:39:25 +0900 (52678cf)
+++ lib/grnxx/map/hash_table.hpp    2013-07-24 15:55:06 +0900 (8f281b7)
@@ -86,10 +86,11 @@ class HashTable : public Map<T> {
   // Return a pointer to the stored key ID on success.
   // Return nullptr on failure.
   int64_t *find_key_id(int64_t key_id);
-  // Find a key in the hash table.
-  // Return true on success and assign the address to "*stored_key_id".
-  // Return false on failure and assign the address of first unused entry.
-  // Assign nullptr to "*stored_key_id" on error.
+  // Search a hash table for a key.
+  // Return true on success and assign the address of the stored key ID to
+  // "*stored_key_id".
+  // Return false on failure and assign the address of the first unused or
+  // removed entry to "*stored_key_id".
   bool find_key(KeyArg key, int64_t **stored_key_id);
 
   // Rebuild the hash table.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index