StackOverflow Questions for Tag: memory-layout

Danilo
Danilo

Reputation: 1040

Can we use memory address difference to see where an object is initialized?

Score: 1

Views: 118

Answers: 3

Read More
PkDrew
PkDrew

Reputation: 1171

Privacy property of inherited members affects overall size of class?

Score: 2

Views: 229

Answers: 1

Read More
Babur Makhmudov
Babur Makhmudov

Reputation: 532

Can unused struct field be optimized away by rust compiler?

Score: 0

Views: 45

Answers: 0

Read More
julaine
julaine

Reputation: 1724

Why are bitfields not tightly packed in a struct?

Score: 1

Views: 180

Answers: 1

Read More
user1040049
user1040049

Reputation: 123

How to get `MemoryLayout` for each member/property of a Type?

Score: 2

Views: 65

Answers: 1

Read More
Gokulanandan S
Gokulanandan S

Reputation: 55

Stack Memory Layout

Score: 1

Views: 70

Answers: 1

Read More
Viliam Holly
Viliam Holly

Reputation: 182

Handling the .bss Section in Raw Binary Formats and Freestanding Environments

Score: 1

Views: 42

Answers: 0

Read More
mwlon
mwlon

Reputation: 1006

How and why does Rust's Option<Vec<T>> get optimized to 24 bytes?

Score: 2

Views: 141

Answers: 1

Read More
Jonathan Garcia
Jonathan Garcia

Reputation: 33

How to Replace Unsafe with VarHandle or Foreign API

Score: 3

Views: 140

Answers: 2

Read More
ChrisB
ChrisB

Reputation: 3724

Create type with same layout and niches but no Drop impl

Score: 3

Views: 92

Answers: 1

Read More
meysam
meysam

Reputation: 83

Error in cv2.rectangle after flipping image with slicing: 'Layout of the output array img is incompatible with cv::Mat'

Score: 1

Views: 216

Answers: 2

Read More
intrigued_66
intrigued_66

Reputation: 17268

How to visualize layout of C++ struct/class

Score: 4

Views: 1879

Answers: 1

Read More
QuinnF
QuinnF

Reputation: 2209

How to pack a Rust enum into its minimal size?

Score: 1

Views: 975

Answers: 3

Read More
gberth
gberth

Reputation: 752

Union between an array and a struct of arrays. Can memory layout be tested at comptime?

Score: 0

Views: 100

Answers: 1

Read More
Filippo Cucchetto
Filippo Cucchetto

Reputation: 67

Understand alignment sentence in inotify example

Score: 1

Views: 486

Answers: 2

Read More
eonil
eonil

Reputation: 86115

Struct memory layout in C

Score: 105

Views: 161582

Answers: 3

Read More
ChrisB
ChrisB

Reputation: 3724

Why does Rust not reorder fields in an enum for memory layout?

Score: 0

Views: 201

Answers: 1

Read More
ng.newbie
ng.newbie

Reputation: 3227

What is the memory layout of a non-HDFS RDD?

Score: -1

Views: 33

Answers: 1

Read More
eepp
eepp

Reputation: 7585

Is `reinterpret_cast` to go from derived -> memory -> base safe given the proper static assertions?

Score: 1

Views: 119

Answers: 1

Read More
Ed Graham
Ed Graham

Reputation: 4715

Memory layout of C++ struct with static multi-dimensional arrays

Score: 0

Views: 122

Answers: 1

Read More
PreviousPage 1Next