Changes in / [e78782b:243d998]
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/bibliography/pl.bib
re78782b r243d998 7145 7145 } 7146 7146 7147 @book{Scott13,7148 author = {Michael L. Scott},7149 title = {Shared-Memory Synchronization},7150 publisher = {Morgan \& Claypool},7151 year = 2013,7152 }7153 7154 7147 @article{Nickolls08, 7155 7148 author = {Nickolls, John and Buck, Ian and Garland, Michael and Skadron, Kevin}, -
libcfa/src/heap.cfa
re78782b r243d998 10 10 // Created On : Tue Dec 19 21:58:35 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Dec 30 08:37:37202213 // Update Count : 1 60512 // Last Modified On : Wed Dec 28 12:37:38 2022 13 // Update Count : 1597 14 14 // 15 15 … … 805 805 806 806 ptrdiff_t rem = heapRemaining - size; 807 if ( unlikely( rem < 0 ) ) { // negative ?807 if ( unlikely( rem < 0 ) ) { 808 808 // If the size requested is bigger than the current remaining storage, increase the size of the heap. 809 809 … … 841 841 ptrdiff_t rem = heapReserve - size; 842 842 843 if ( unlikely( rem < 0 ) ) { // negative ?843 if ( unlikely( rem < 0 ) ) { // negative 844 844 // If the size requested is bigger than the current remaining reserve, use the current reserve to populate 845 845 // smaller freeLists, and increase the reserve. … … 847 847 rem = heapReserve; // positive 848 848 849 if ( (unsigned int)rem >= bucketSizes[0] ) {// minimal size ? otherwise ignore849 if ( rem >= bucketSizes[0] ) { // minimal size ? otherwise ignore 850 850 size_t bucket; 851 851 #ifdef FASTLOOKUP … … 856 856 Heap.FreeHeader * freeHead = &(freeLists[bucket]); 857 857 858 // The remaining storage ma y not be bucket size, whereas all other allocations are. Round down to previous858 // The remaining storage many not be bucket size, whereas all other allocations are. Round down to previous 859 859 // bucket size in this case. 860 860 if ( unlikely( freeHead->blockSize > (size_t)rem ) ) freeHead -= 1; -
libcfa/src/interpose.cfa
re78782b r243d998 10 10 // Created On : Wed Mar 29 16:10:31 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jan 5 22:23:57 202313 // Update Count : 1 8012 // Last Modified On : Fri Mar 13 17:35:37 2020 13 // Update Count : 178 14 14 // 15 15 … … 18 18 #include <string.h> // strlen 19 19 #include <unistd.h> // _exit, getpid 20 #define __USE_GNU 20 21 #include <signal.h> 22 #undef __USE_GNU 21 23 extern "C" { 22 24 #include <dlfcn.h> // dlopen, dlsym -
libcfa/src/limits.cfa
re78782b r243d998 10 10 // Created On : Wed Apr 6 18:06:52 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jan 5 22:27:40 202313 // Update Count : 8412 // Last Modified On : Thu Mar 1 16:22:51 2018 13 // Update Count : 74 14 14 // 15 15 16 #define _GNU_SOURCE // access long double M_*l in math.h17 16 #include <limits.h> 18 17 #include <float.h> 18 #define __USE_GNU // get M_* constants 19 19 #include <math.h> 20 20 #include <complex.h>
Note:
See TracChangeset
for help on using the changeset viewer.