|
1 |
| -Two Level Segregated Fit memory allocator. |
2 |
| -Written by Matthew Conte and Daniel Mendler. |
3 |
| - |
4 |
| -Based on the original documentation by Miguel Masmano: |
5 |
| - http://www.gii.upv.es/tlsf/main/docs |
6 |
| - |
7 |
| -This implementation was written to the specification |
8 |
| -of the document, therefore no GPL restrictions apply. |
| 1 | +BSD 3-Clause License |
9 | 2 |
|
10 | 3 | Copyright (c) 2006-2016, Matthew Conte
|
11 | 4 | Copyright (c) 2017-2020, Daniel Mendler
|
12 | 5 | All rights reserved.
|
13 | 6 |
|
14 | 7 | Redistribution and use in source and binary forms, with or without
|
15 | 8 | modification, are permitted provided that the following conditions are met:
|
16 |
| - * Redistributions of source code must retain the above copyright |
17 |
| - notice, this list of conditions and the following disclaimer. |
18 |
| - * Redistributions in binary form must reproduce the above copyright |
19 |
| - notice, this list of conditions and the following disclaimer in the |
20 |
| - documentation and/or other materials provided with the distribution. |
21 |
| - * Neither the name of the copyright holder nor the |
22 |
| - names of its contributors may be used to endorse or promote products |
23 |
| - derived from this software without specific prior written permission. |
24 | 9 |
|
25 |
| -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
26 |
| -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
27 |
| -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
28 |
| -DISCLAIMED. IN NO EVENT SHALL MATTHEW CONTE BE LIABLE FOR ANY |
29 |
| -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
30 |
| -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
31 |
| -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
32 |
| -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
33 |
| -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
34 |
| -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 10 | +1. Redistributions of source code must retain the above copyright notice, this |
| 11 | + list of conditions and the following disclaimer. |
| 12 | + |
| 13 | +2. Redistributions in binary form must reproduce the above copyright notice, |
| 14 | + this list of conditions and the following disclaimer in the documentation |
| 15 | + and/or other materials provided with the distribution. |
| 16 | + |
| 17 | +3. Neither the name of the copyright holder nor the names of its |
| 18 | + contributors may be used to endorse or promote products derived from |
| 19 | + this software without specific prior written permission. |
| 20 | + |
| 21 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 22 | +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 23 | +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 24 | +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 25 | +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 26 | +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 27 | +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 28 | +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 29 | +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 30 | +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
0 commit comments