[Groonga-commit] groonga/grnxx at 7f4696b [master] Add a comment.

Back to archive index

susumu.yata null+****@clear*****
Thu May 16 16:36:01 JST 2013


susumu.yata	2013-05-16 16:36:01 +0900 (Thu, 16 May 2013)

  New Revision: 7f4696b63e04b3606e940767bfecf135f42e3cdd
  https://github.com/groonga/grnxx/commit/7f4696b63e04b3606e940767bfecf135f42e3cdd

  Message:
    Add a comment.

  Modified files:
    lib/grnxx/array.hpp

  Modified: lib/grnxx/array.hpp (+2 -0)
===================================================================
--- lib/grnxx/array.hpp    2013-05-16 16:27:28 +0900 (d7f8e56)
+++ lib/grnxx/array.hpp    2013-05-16 16:36:01 +0900 (71a33c6)
@@ -533,6 +533,8 @@ class Array<bool, PAGE_SIZE_IN_BITS, TABLE_SIZE, SECONDARY_TABLE_SIZE> {
   }
 
   // Set a value and return true on success.
+  // Note that if bits in the same byte are set at the same time, the result is
+  // undefined.
   bool set(uint64_t value_id, ValueArg value) {
     const uint64_t unit_id = value_id / UNIT_SIZE;
     Unit * const page = get_page(unit_id / PAGE_SIZE);
-------------- next part --------------
HTML����������������������������...
Download 



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