aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/strfry.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* whoops, wrong typeMattias Andrée2016-03-301-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: forgot to declare bMattias Andrée2016-03-301-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: reset n to max when the do..while loop resetsMattias Andrée2016-03-301-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: fix random int range boundary, document that srand should have been called, support huge strings, and use uniform randomMattias Andrée2016-03-261-3/+32
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-03-261-3/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: fix support for empty stringsMattias Andrée2016-03-261-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* derpMattias Andrée2016-03-011-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: use Durstenfeld's algorithm instead of Satallo's algorithmMattias Andrée2016-03-011-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* strfry: non-uniform random number generationMattias Andrée2016-02-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* bump yearMattias Andrée2016-01-011-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix issue #5 on githubMattias Andrée2015-12-161-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* tell in doc in which version things were introducedMattias Andrée2015-11-251-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix some warnings and errorsMattias Andrée2015-09-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* start on makefile and fixing warnings and errorsMattias Andrée2015-09-011-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add strfryMattias Andrée2015-09-011-0/+46
Signed-off-by: Mattias Andrée <maandree@operamail.com>