source: libcfa/src/stdlib.hfa

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @4a3eb1c   7 months pabuhr add combinations of pointer/reference for memset and memcpy
(edit) @0fe07be   7 months pabuhr formatting, documentation refactor alloc code, remove annoying warnings
(edit) @d4264e8   7 months pabuhr formatting, add CFA versions of resize, realloc, and reallocarray
(edit) @fbe3f03   7 months pabuhr formatting
(edit) @710d0c8c   7 months pabuhr formatting, add missing CFA reallocarray routine
(edit) @b6a71bc   7 months pabuhr formatting
(edit) @8f650f0   8 months pabuhr remove isspace-like routines for C arrays, and replace with general …
(edit) @54af365   8 months pabuhr fix convert function for float-point values, add isspace-like routines …
(edit) @3770b87   13 months pabuhr formatting, add PRNG copy to checkpoint PRNG state, remove autogen …
(edit) @5f31bf0   14 months pabuhr simplify 32/64-bit random-number constructors
(edit) @b5e725a   15 months pabuhr move setting the default random-generator size from PRNG.cfa to …
(edit) @76acb60   15 months pabuhr remove static from Exception macro
(edit) @24d6572   17 months f37yu Merge branch 'master' into ast-experimental ast-experimental
(edit) @8a97248   21 months pabuhr switch from old trait syntax to new trait syntax using forall clause ADTast-experimental
(edit) @d8bdf13   2 years pabuhr add comments ADTast-experimental
(edit) @ac8b016   2 years pabuhr adjust PRNG types from size_t to uint32_t/uint64_t ADTast-experimental
(edit) @261e107   2 years pabuhr change all PRNG to prime the PRNG state in set_seed with the given seed ADTast-experimental
(edit) @dd46fd3   2 years pabuhr generalization of PRNG ADTast-experimental
(edit) @20cf96d   2 years pabuhr changes to PRNG types to eliminate casts ADTast-experimental
(edit) @d2ad151   2 years pabuhr major update of PRNG ADTast-experimental
(edit) @f6a4917   2 years pabuhr change C loop control to CFA loop control ADTast-experimentalpthread-emulation
(edit) @58e97d9   3 years pabuhr formatting ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @0ebbca4   3 years pabuhr optimization calls, initialize callcnt ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @a892e61   3 years Thierry Delisle Some warning fixes. ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @6a823241   3 years pabuhr formatting, fix bug in set_seed so global_random_state is set ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @12b5e94a   3 years pabuhr add fast PRNG code ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @919a6b2   3 years pabuhr formatting ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @00f5fde   3 years pabuhr Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @1959528   3 years pabuhr third attempt at specialized PRNG ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @2210cfc   3 years pabuhr second attempt at specialized PRNG ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @aa0a1ad   3 years pabuhr remove macro ARRAY_ALLOC$ and expand inline, remove unnecessary void * … ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @aa8e24c3   3 years pabuhr change range of integral random( u, l ) to [l,u], first attempt at … ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @7a6ae53   3 years m3zulfiq added zero_t to alloc fill ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @6c5d92f   4 years pabuhr for private variables and functions, move prefix $ to suffix $ ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @d1b70d4   4 years pabuhr fix 32-bit memcpy size problem for stdlib fill ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c08c3cf   4 years pabuhr fix conflict ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @09ee131   4 years pabuhr formatting ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @fd54fef   4 years mlbrooks Converting the project to use the new syntax for otype, dtype and … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3d3d75e   4 years pabuhr fix memcpy calls in $alloc_internal and remove gcc warnings ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @03ecdcf   4 years m3zulfiq Ignored array-bounds and stringop-overflow= warnings in alloc_internal … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @09da82d   4 years f37yu workaround for a ttype resolve time issue ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @4803a901   4 years pabuhr support freeing ("free") multiple objects using ttype ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @0f7a0ea   4 years pabuhr [fixes #228] delete of 0-sized object always calls destructor; always … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f2ccbfd   4 years pabuhr remove free with type T ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @94429f8   4 years pabuhr formatting, simplify "free" with multiple arguments, make "delete" inline ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @685810e   4 years m3zulfiq corrected FIX-ME-comment about alloc interface. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @55acc3a   4 years m3zulfiq Added free for multiple frees in the same call. Added adelete tests. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @45444c3   4 years m3zulfiq Removed dimension parameter from adelete. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f76ff0b   4 years m3zulfiq alloc2.txt: added expected output file for test alloc2.cfa. heap.cfa: … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f67b983   4 years pabuhr formatting ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @68f0c4e   4 years m3zulfiq stdlib.hfa: changed CFA malloc, realloc and resize as discussed with … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @191a190   4 years m3zulfiq Removed a fill bug from alloc interface, changed pervious alloc tests … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ceb7db8   4 years m3zulfiq Added alloc interface with backtick and removed polymorphic alloc … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c354108   4 years pabuhr change alloc_set with array initialization to have old and new … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ded61bf2   4 years pabuhr formatting, replace "T fill" with "const T & fill" ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @60062be   4 years pabuhr make polymorphic resize/realloc align T, rewrite polymorphic T/S (re)alloc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b81fd95   4 years mlbrooks Fix bug where pointer and reference types allow unsound initialization … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @d8d8f20   4 years pabuhr remove one unnecessary call to malloc_size in alloc_set and alloc_align_set ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b0a0ee4   4 years pabuhr refactor duplicate code into cpp macros ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @896f083   4 years pabuhr fix CFA resize/realloc to use 'size' rather than 'sizeof(T)' ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b89c7c2   4 years pabuhr move realloc special cases into inline routines to access _Alignof, … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @aabb846   4 years ajbeach Added a first draft of the memory management library module. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @4e7c0fc0   4 years pabuhr comment random function about returning int, and reduce includes for … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ada0246d   4 years pabuhr create heap.hfa, use it in malloc.h, and cleanup includes with respect … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @856fe3e   4 years pabuhr walk through allocation code in stdlib.hfa and fix a few problems ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @76e2113   5 years pabuhr add setter routines for sticky operations, add allocation size to header ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @cfbc703d   5 years pabuhr add resize and more "alloc" routines ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ca7949b   5 years pabuhr update comments ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e3fea42   5 years pabuhr change "const char *" to "const char []" ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @524627e   5 years pabuhr change NULL to 0pt ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @d74369b   5 years pabuhr update CFA allocation routines with realloc and alignment ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @cafb687   5 years pabuhr start allocation updates for arrays and alignment ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @7df201c   5 years pabuhr add 3 new alloc routines to safely bulk initialize storage ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @d6b03b7   5 years pabuhr check for type alignment and use it for storage allocation ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @2026bb6   5 years Thierry Delisle More robust fix for optionally linking threads ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ffaedcd   6 years pabuhr clean up ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @5ea5b28   6 years pabuhr update iostream ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(edit) @58b6d1b   6 years Thierry Delisle Fixed tests after headers change ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(add) @73abe95   6 years Thierry Delisle Replace extension-less headers with .hfa ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Note: See TracRevisionLog for help on using the revision log.