Tags
- C++
- MFC
- UI/UX Engineer
- postman automations
- solidity
- postman collection variables
- postman html parse
- postman
- 프런트엔드
- postman collection
- oracle
- emplace_back
- Android
- 우수한 프런트 개발자
- 좋은 개발자
- LSL_Script
- Java
- Front-end developer
- postman pre-request
- postman csv
- postman session
- postman tests
- PL/SQL
- postman excel
- Unity
- c#
- Intellij
- Android/iOS Developer
- Interaction developer
- web developer
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Archives
- Today
- Total
목록struct packing (1)
david's daily developer note
[C,C++] memory fragmentation - struct packing
memory fragmentation - struct packing 메모리 단편화(memory fragmentation)에 관한 글을 일전에 작성했다. 이전 글에서 내부단편화의 문제를 간략하게 언급하였는데, 이 글에서는 내부단편화를 만드는 패딩비트에 대해서 알아보자. 우선 구조체 패킹을 이해하고자 다음의 예를 보려고 한다. struct pack_1 { char c1; // 1byte char c2; // 1byte }; struct pack_2 { char c1; // 1byte double d1; // 8byte }; 두 구조체의 크기는 각 2 byte, 16 byte이다. 2번 구조체의 크기가 16 byte가 나온 이유를 간단히 설명하면, 구조체의 Primitive 멤버는 패킹 크기 내에서 자신의 크..
[Develop] Native/C++ , C
2018. 5. 29. 18:21