summaryrefslogtreecommitdiff
path: root/ace/Handle_Set.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-14 16:53:28 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-14 16:53:28 +0000
commit589c1e292103a4db0d8c7ace52f97b8fbe6a2a41 (patch)
tree957eb3b8f92981edbf512bc7068b1cda1a3a8ba3 /ace/Handle_Set.cpp
parent100641e0496e9875cf3b41913617e8b078d361b1 (diff)
downloadATCD-589c1e292103a4db0d8c7ace52f97b8fbe6a2a41.tar.gz
ChangeLogTag:Fri Aug 13 18:55:51 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Handle_Set.cpp')
-rw-r--r--ace/Handle_Set.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/ace/Handle_Set.cpp b/ace/Handle_Set.cpp
index 82e8117daee..af3d77d77cb 100644
--- a/ace/Handle_Set.cpp
+++ b/ace/Handle_Set.cpp
@@ -36,7 +36,17 @@ ACE_Handle_Set::dump (void) const
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
}
-// Table that maps bytes to counts of the enabled bits.
+// Table that maps bytes to counts of the enabled bits in each value
+// from 0 to 255,
+//
+// nbits_[0] == 0
+//
+// because there are no bits enabled for the value 0.
+//
+// nbits_[5] == 2
+//
+// because there are 2 bits enabled in the value 5, i.e., it's
+// 101 in binary.
const char ACE_Handle_Set::nbits_[256] =
{