| 0001-TLSF-move-implementation-to-QtPrivate-namespace.patch |
|
2250 |
- |
| CMakeLists.txt |
|
269 |
- |
| qt_attribution.json |
|
637 |
- |
| REUSE.toml |
|
152 |
- |
| tlsf.cpp |
Architecture-specific bit manipulation routines.
*
* TLSF achieves O(1) cost for malloc and free operations by limiting
* the search for a free block to a free list of guaranteed size
* adequate to fulfill the request, combined with efficient free list
* queries using bitmasks and architecture-specific bit-manipulation
* routines.
*
* Most modern processors provide instructions to count leading zeroes
* in a word, find the lowest and highest set bit, etc. These
* specific implementations will be used when available, falling back
* to a reasonably efficient generic implementation.
*
* NOTE: TLSF spec relies on ffs/fls returning value 0..31.
* ffs/fls return 1-32 by default, returning 0 for error.
|
33958 |
- |
| tlsf.h |
Two Level Segregated Fit memory allocator, version 3.1.
* Written by Matthew Conte
* http://tlsf.baisoku.org
*
* Based on the original documentation by Miguel Masmano:
* http://www.gii.upv.es/tlsf/main/docs
*
* This implementation was written to the specification
* of the document, therefore no GPL restrictions apply.
*
* Copyright (c) 2006-2016, Matthew Conte
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the copyright holder nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL MATTHEW CONTE BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
3474 |
- |