StackOverflow Questions for Tag: unsafe

big_gie
big_gie

Reputation: 3017

In Rust <1.84, is it possible/sound to join two subslices that originated from the same original slice?

Score: 0

Views: 40

Answers: 0

Read More
fadedbee
fadedbee

Reputation: 44807

How can I make multiple copies of a slice, to use in different threads?

Score: 1

Views: 68

Answers: 1

Read More
Erhannis
Erhannis

Reputation: 4464

Heapless Box in Rust

Score: 0

Views: 112

Answers: 1

Read More
user1709076
user1709076

Reputation: 2856

How to only import safe features from 3rd party crates?

Score: 0

Views: 55

Answers: 1

Read More
geometrikal
geometrikal

Reputation: 3294

Which is faster - C# unsafe code or raw C++

Score: 26

Views: 20099

Answers: 11

Read More
Prasad V L
Prasad V L

Reputation: 11

AssemblyScript compiler mentions option noUnsafe. But unsafe does not work, gives compiler error. How to use unsafe to disable runtime bound check?

Score: 1

Views: 17

Answers: 1

Read More
runnyjr
runnyjr

Reputation: 13

Efficient memory representation of semi-heterogeneous Vec

Score: 0

Views: 49

Answers: 0

Read More

How to cast a &T to a &Wrapper(T)?

Score: 2

Views: 125

Answers: 1

Read More
Air Wei
Air Wei

Reputation: 19

RESTful framework class field is safe or unsafe

Score: 1

Views: 42

Answers: 3

Read More
oliver
oliver

Reputation: 2901

Difference between Marshal.SizeOf and sizeof, I just don't get it

Score: 10

Views: 10113

Answers: 4

Read More
Tacodiva
Tacodiva

Reputation: 518

How to reinterpret a `ref T*` as a `ref nint`?

Score: 1

Views: 136

Answers: 2

Read More
Tono Nam
Tono Nam

Reputation: 36050

Is Mutex/Lock required if runing on a single core CPU

Score: 0

Views: 73

Answers: 2

Read More
emmenlau
emmenlau

Reputation: 1039

Can native code (c++) write out of bounds in managed memory (C#), and can we protect against it?

Score: -1

Views: 123

Answers: 2

Read More
Becca Bohem
Becca Bohem

Reputation: 139

Unsafe State and Safe State

Score: 0

Views: 11361

Answers: 2

Read More
ikevin8me
ikevin8me

Reputation: 4313

Why is my code causing "unchecked or unsafe operations" warning being flagged by compiler?

Score: 0

Views: 884

Answers: 1

Read More
Mweidy
Mweidy

Reputation: 31

Why SIMD only improves performance by only a little bit for RGB to Grayscale, with SIMD multiply but scalar add of vector elements?

Score: 2

Views: 231

Answers: 1

Read More
FreD
FreD

Reputation: 502

How to drop a MaybeUninit of vector or array which is partially initialized?

Score: 0

Views: 1213

Answers: 1

Read More
Tono Nam
Tono Nam

Reputation: 36050

Cast bytes::BytesMut to bytes::Bytes using unsafe code without using freeze

Score: 1

Views: 97

Answers: 2

Read More
Kiwimanshare
Kiwimanshare

Reputation: 150

Difference between &IntPtr and .ToPointer() in an unsafe context - P/Invoke

Score: 1

Views: 78

Answers: 0

Read More
Dark Nightmare
Dark Nightmare

Reputation: 1

Allow unsafe code in this project" does nothing dotnet visual studio code

Score: 0

Views: 28

Answers: 0

Read More
PreviousPage 1Next