* This routine sets the bucket counts in the specified histogram * to zero. * @param Buckets histogram data structure to init * @return none * @note Exceptions: none * @note History: Thu Aug 3 14:31:14 1989, DSJ, Created. */
| 2287 | * @note History: Thu Aug 3 14:31:14 1989, DSJ, Created. |
| 2288 | */ |
| 2289 | void InitBuckets(BUCKETS *Buckets) { |
| 2290 | int i; |
| 2291 | |
| 2292 | for (i = 0; i < Buckets->NumberOfBuckets; i++) { |
| 2293 | Buckets->Count[i] = 0; |
| 2294 | } |
| 2295 | |
| 2296 | } // InitBuckets |
| 2297 | |
| 2298 | /** |
| 2299 | * This routine is used to search a list of structures which |