unmanaged-memory Questions
9
Solved
I am allocating some unmanaged memory in my application via Marshal.AllocHGlobal. I'm then copying a set of bytes to this location and converting the resulting segment of memory to a struct before ...
Outsider asked 28/9, 2009 at 13:22
1
Solved
With the introduction of Memory, Span and ArraySegment in C# 7.2, I was wondering if I could represent an unmanaged array as an enumerable object, that lives on the heap.
This latter requirement r...
Kelby asked 5/9, 2018 at 17:18
1
Solved
I'm using FFmpeg library to receive and decode H.264/MPEG-TS over UDP with minimal latency (something MediaElement can't handle).
On a dedicated FFmpeg thread, I'm pulling PixelFormats.Bgr32 video...
Postscript asked 11/11, 2013 at 12:0
1
Solved
Continuing my F# performance testing. For some more background see here:
f# NativePtr.stackalloc in Struct Constructor
F# NativePtr.stackalloc Unexpected Stack Overflow
Now I've got stack arrays...
Disarray asked 29/2, 2016 at 15:48
1
Solved
Still doing my F# performance testing and trying to get stack based arrays working. For some more background see here: f# NativePtr.stackalloc in Struct Constructor.
As I understand it, each funct...
Misery asked 18/2, 2016 at 2:36
1
Solved
I'm doing some F# performance testing and am trying to create an array on the stack rather then the heap (value vs reference type). I am using NativePtr.stackalloc to allocate memory on the stack. ...
Herbherbaceous asked 16/2, 2016 at 4:16
1
Solved
OK, all you ASP.NET Experts: I have used reflector to look into ASP.NET Cache implementation (which sits on HttpRuntime.Cache and HttpContext.Current.Cache) uses a Hashtable internally to keep the ...
Crossgarnet asked 14/10, 2013 at 16:49
1
Solved
Is that ok to Write and Read directly from a unlocked Bitmap unmanaged memory?
Can I keep using the BitmapData after I UnlockBits of the Bitmap? I did a test app where I can read the pixel of the ...
Crocus asked 10/6, 2013 at 18:17
8
Solved
UPDATE: There is now an accepted answer that "works". You should never, ever, ever, ever use it. Ever.
First let me preface my question by stating that I'm a game developer. There's a legitimate...
Charitacharitable asked 29/5, 2012 at 13:21
1
© 2022 - 2025 — McMap. All rights reserved.