summaryrefslogtreecommitdiffstats
path: root/source3/lib/talloc/testsuite.c
Commit message (Collapse)AuthorAgeFilesLines
* Share talloc source code between Samba 3 and Samba 4.Jelmer Vernooij2008-09-161-1152/+0
|
* Skip strcmp() on 2 NULL pointers.Andrew Bartlett2008-09-141-1/+2
| | | | | | Andrew Bartlett (cherry picked from commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273) (This used to be commit 60f7bdac64e32ea39099ababacca6f8a2b780ecb)
* Implement talloc_pool()Volker Lendecke2008-01-091-0/+37
| | | | | | | | | | | | | | | | | | | | A talloc pool is a chunk of memory that can be used as a context for further talloc calls. Allocations with the pool as the parent just chew from that memory by incrementing a pointer. If the talloc pool is full, then we fall back to the normal system-level malloc(3) to get memory. The use case for talloc pools is the transient memory that is used for handling a single SMB request. Incrementing a pointer will be way faster than any malloc implementation. There is a downside of this: If you use talloc_steal() to move something out of the pool, the whole pool memory is kept around until the last object inside the pool is freed. So if you talloc_free() the pool, it might happen that the memory is freed later. So don't hang anything off a talloc pool that should live long. Volker (This used to be commit 287e29d988813007eeebc0c2bef3b46ab8bedee9)
* r25230: sync lib/talloc with SAMBA_4_0Stefan Metzmacher2007-10-101-24/+24
| | | | | metze (This used to be commit 84ebb6cac224cabf3856a632de80a8a9c687329b)
* r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
* r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
* r22759: sync lib/talloc with samba4Stefan Metzmacher2007-10-101-1/+41
| | | | | metze (This used to be commit 86c510e3198e03ed6efa61b27530bbb008f6802b)
* r22366: sync lib/talloc/ with samba4Stefan Metzmacher2007-10-101-1/+15
| | | | | metze (This used to be commit 7fab12b34a818f029f4285a59d6e49768b7f8e79)
* r19431: merge recent talloc performance improvements from Samba4Andrew Tridgell2007-10-101-383/+340
| | | | (This used to be commit ced12bd6d8c95a103cb2c84166a64f9a21bd32ad)
* r19125: merge from samba4Andrew Tridgell2007-10-101-19/+19
| | | | (This used to be commit 65e1500ae6b5ca6334a63f4a18272568202bc048)
* r18996: merge from samba4:Stefan Metzmacher2007-10-101-6/+25
| | | | | | | | | | | - fix bug 4078 - talloc_free(talloc_autofree_context()); should not result in a SIGABORT on exit - add a test for this, but this test can also pass in the standalone build and samba3, as samba4 uses talloc_autofree_context() metze (This used to be commit f5b0924f975f58bba3c13a53388ea25af51d3bc8)
* r18810: use a copy of samba4's talloc under lib/talloc/Stefan Metzmacher2007-10-101-0/+1085
to make mergeing easier. metze (This used to be commit d49ffbc19b29f7620e427de133ffab74721f37e8)