Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » 64bit pointers
64bit pointers [message #10398] Thu, 05 July 2007 23:20 Go to previous message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

This hangs IDE a lot on BSD x64

void *MemoryAlloc(size_t sz) with
sz = 50
k =3
l = (Upp::FreeLink *) 0x8056725e0

void *CheckFree(void *p, int k)
{
..................
#ifdef CPU_64
FreeCheck((dword *)p + 2, (Ksz(k) >> 2) - 2);
#else
FreeCheck((dword *)p + 1, (Ksz(k) >> 2) - 1);
#endif


void FreeCheck(dword *ptr, int count)
{
while(count--)
if(*ptr++ != 0x65657246)
HeapPanic("Writes to freed blocks detected", ptr, count);
}


First invoked from here

String TopWindow::GetDesc() const
10 {
11 return title.ToString();
12 }
 
Read Message
Read Message
Read Message
Previous Topic: inline UPP::int64 abs(UPP::int64 x)
Next Topic: asm int 3, abort();
Goto Forum:
  


Current Time: Fri Jul 18 14:23:19 CEST 2025

Total time taken to generate the page: 0.03767 seconds