Page MenuHomeFreeBSD

random: Avoid magic numbers
ClosedPublic

Authored by cperciva on Sep 18 2024, 5:14 AM.
Tags
None
Referenced Files
F107620830: D46693.diff
Thu, Jan 16, 6:56 PM
Unknown Object (File)
Tue, Jan 14, 11:22 AM
Unknown Object (File)
Fri, Jan 10, 3:40 AM
Unknown Object (File)
Wed, Dec 18, 10:40 AM
Unknown Object (File)
Nov 21 2024, 6:33 AM
Unknown Object (File)
Nov 12 2024, 3:21 AM
Unknown Object (File)
Nov 2 2024, 8:26 PM
Unknown Object (File)
Oct 26 2024, 4:44 PM
Subscribers

Details

Summary

Move RANDOM_FORTUNA_{NPOOLS,DEFPOOLSIZE} from fortuna.c to fortuna.h
and use RANDOM_FORTUNA_DEFPOOLSIZE in random_harvestq.c rather than
having a magic (albeit explained in a comment) number. The NPOOLS
value will be used in a later commit.

Sponsored by: Amazon

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59517
Build 56404: arc lint + arc unit