a-crbtgo.ads: Commented each subprogram
authorMatt Heaney <heaney@adacore.com>
Tue, 31 Oct 2006 18:13:22 +0000 (19:13 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 18:13:22 +0000 (19:13 +0100)
commit3837bc7f8694ca43b734a327e3e37030371eeeea
tree1a5cb845f084a8360d6f2bc2dd674427a1a51b02
parent31a33125871e198b6a7e48310b919fb9c65c4fca
a-crbtgo.ads: Commented each subprogram

2006-10-31  Matt Heaney  <heaney@adacore.com>

* a-crbtgo.ads: Commented each subprogram

* a-crbtgo.adb: Added reference to book from which algorithms were
adapted.

        * a-crbtgk.ads, a-crbtgk.adb (Generic_Insert_Post): pass flag to
indicate which child.
(Generic_Conditional_Insert): changed parameter name from "Success" to
"Inserted".
(Generic_Unconditional_Insert_With_Hint): improved algorithm

* a-coorse.adb (Replace_Element): changed parameter name in call to
conditional insert operation.

* a-convec.adb, a-coinve.adb (Insert): removed obsolete comment

* a-cohama.adb (Iterate): manipulate busy-bit here, instead of in
Generic_Iteration

* a-ciorse.adb (Replace_Element): changed parameter name in call to
conditional insert operation.

* a-cihama.adb (Iterate): manipulate busy-bit here, instead of in
Generic_Iteration.

* a-cidlli.ads, a-cidlli.adb (Splice): Position param is now mode in
instead of mode inout.

* a-chtgop.adb (Adjust): modified comments to reflect current AI-302
draft
(Generic_Read): preserve existing buckets array if possible
(Generic_Write): don't send buckets array length anymore

* a-cdlili.ads, a-cdlili.adb (Splice): Position param is now mode in
instead of mode inout.

* a-cihase.adb (Difference): iterate over smaller of Tgt and Src sets
(Iterate): manipulate busy-bit here, instead of in Generic_Iteration

* a-cohase.adb (Difference): iterate over smaller of Tgt and Src sets
(Iterate): manipulate busy-bit here, instead of in Generic_Iteration
(Replace_Element): local operation is now an instantiation

* a-chtgke.ads, a-chtgke.adb (Generic_Conditional_Insert): manually
check current length.
(Generic_Replace_Element): new operation

From-SVN: r118324
19 files changed:
gcc/ada/a-cdlili.adb
gcc/ada/a-cdlili.ads
gcc/ada/a-chtgke.adb
gcc/ada/a-chtgke.ads
gcc/ada/a-chtgop.adb
gcc/ada/a-cidlli.adb
gcc/ada/a-cidlli.ads
gcc/ada/a-cihama.adb
gcc/ada/a-cihase.adb
gcc/ada/a-ciorse.adb
gcc/ada/a-cohama.adb
gcc/ada/a-cohase.adb
gcc/ada/a-coinve.adb
gcc/ada/a-convec.adb
gcc/ada/a-coorse.adb
gcc/ada/a-crbtgk.adb
gcc/ada/a-crbtgk.ads
gcc/ada/a-crbtgo.adb
gcc/ada/a-crbtgo.ads