StackOverflow Questions for Tag: memory-layout

user1040049
user1040049

Reputation: 123

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

Score: 2

Views: 58

Answers: 1

Read More
PkDrew
PkDrew

Reputation: 588

Privacy property of inherited members affects overall size of class?

Score: 2

Views: 131

Answers: 1

Read More
Gokulanandan S
Gokulanandan S

Reputation: 55

Stack Memory Layout

Score: 1

Views: 68

Answers: 1

Read More
Viliam Holly
Viliam Holly

Reputation: 152

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

Score: 1

Views: 35

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: 129

Answers: 1

Read More
Jonathan Garcia
Jonathan Garcia

Reputation: 33

How to Replace Unsafe with VarHandle or Foreign API

Score: 3

Views: 110

Answers: 2

Read More
ChrisB
ChrisB

Reputation: 3714

Create type with same layout and niches but no Drop impl

Score: 3

Views: 88

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: 205

Answers: 2

Read More
intrigued_66
intrigued_66

Reputation: 17220

How to visualize layout of C++ struct/class

Score: 4

Views: 1783

Answers: 1

Read More
QuinnF
QuinnF

Reputation: 2149

How to pack a Rust enum into its minimal size?

Score: 0

Views: 900

Answers: 3

Read More
gberth
gberth

Reputation: 744

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

Score: 0

Views: 98

Answers: 1

Read More
Filippo Cucchetto
Filippo Cucchetto

Reputation: 67

Understand alignment sentence in inotify example

Score: 1

Views: 482

Answers: 2

Read More
eonil
eonil

Reputation: 85955

Struct memory layout in C

Score: 105

Views: 160872

Answers: 3

Read More
ChrisB
ChrisB

Reputation: 3714

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

Score: 0

Views: 192

Answers: 1

Read More
ng.newbie
ng.newbie

Reputation: 3218

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

Score: -1

Views: 32

Answers: 1

Read More
eepp
eepp

Reputation: 7575

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

Score: 1

Views: 114

Answers: 1

Read More
Ed Graham
Ed Graham

Reputation: 4685

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

Score: 0

Views: 119

Answers: 1

Read More
Parsa Noori
Parsa Noori

Reputation: 338

Size of arrays in MemoryLayout.size in Swift

Score: 3

Views: 1626

Answers: 3

Read More
matrixMule
matrixMule

Reputation: 11

How to group static/global variables together for improved cache locality in C++

Score: 1

Views: 103

Answers: 0

Read More
The Floating Brain
The Floating Brain

Reputation: 956

Anonymous Unions in C++ Contiguous Memory Layout

Score: 1

Views: 186

Answers: 2

Read More
PreviousPage 1Next