diff options
author | Tanner Gooding <tagoo@outlook.com> | 2021-06-18 05:06:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 05:06:29 +0300 |
commit | f721cf4144005334827c02931317366f7f6ee114 (patch) | |
tree | dbbcf4a6255921440aeec30b8183b01533208e6d /THIRD-PARTY-NOTICES.TXT | |
parent | d764cb5e228c707e40cf56713a64f6ce157afbff (diff) |
Implement NativeMemory (#54006)
* Implement NativeMemory
* Exposing additional APIs as approved
* Ensure we have a test covering alignment and size being less than sizeof(void*)
* Update src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeMemory.Unix.cs
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
* Responding to PR feedback
* Adding additional alignment test coverage for 1 to 16384
* Add coverage for 65k and 1/2/4MB alignments
* Fixing the Native\Unix\System.Native\CMakeLists.txt
* Update src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeMemory.Unix.cs
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
* Don't call Buffer.Memmove in NativeMemory.AlignedRealloc if ptr is null
* Updating NativeMemory.AlignedRealloc to correctly copy only the size of the last allocation
* Ensure check_symbol_exists(HAVE_ALIGNED_ALLOC) is under the non-apple paths
* Check for malloc_usable_size in malloc_np for FreeBSD and ensure tests compile
* Fix the ReallocSmallerToLargerTest test
* Handle that posix_memalign differs from aligned_alloc for size == 0
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Diffstat (limited to 'THIRD-PARTY-NOTICES.TXT')
-rw-r--r-- | THIRD-PARTY-NOTICES.TXT | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/THIRD-PARTY-NOTICES.TXT b/THIRD-PARTY-NOTICES.TXT index b0694275b3d..a877e8fb7ab 100644 --- a/THIRD-PARTY-NOTICES.TXT +++ b/THIRD-PARTY-NOTICES.TXT @@ -952,3 +952,29 @@ by constants, including codegen instructions. The unsigned division incorporates "round down" optimization per ridiculous_fish. This is free and unencumbered software. Any copyright is dedicated to the Public Domain. + + +License notice for mimalloc +----------------------------------- + +MIT License + +Copyright (c) 2019 Microsoft Corporation, Daan Leijen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. |