Our website uses cookies to enhance your browsing experience.
Accept
to the top
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you haven't received our response, please do the following:
check your Spam/Junk folder and click the "Not Spam" button for our message.
This way, you won't miss messages from our team in the future.

>
>
>
Memsize-type

Memsize-type

Dec 23 2011

The term "memsize" is often used in our articles. We introduce this term to simplify description of the material. The term "memsize" has appeared as a try to name briefly all the types which are capable of storing pointers' sizes and indexes of the largest arrays. Memsize-type can store the size of a maximum array which can be theoretically allocated within the framework of the given architecture. By memsize-type we understand all simple data types of C/C++ languages which are 32-bit on a 32-bit architecture and 64-bit on a 64-bit one.

Keep in mind that in different data models the term memsize-type includes different types. For example, in Windows systems long type is not memsize-type and in Unix systems with data model LP64 it is. Examples of memsize-types: pointers, size_t, ptrdiff_t, intptr_t, SIZE_T, DWORD_PTR.

Memsize-type/image1.png

References

Popular related articles


Comments (0)

Next comments next comments
close comment form