Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mallocForeignPtrBytesAligned :: Int -> IO (ForeignPtr a)carray Data.Array.CArray.Base Allocate memory which is 16-byte aligned. This is essential for SIMD instructions. We know that mallocPlainForeignPtrBytes will give word-aligned memory, so we pad enough to be able to return the desired amount of memory after aligning our pointer.
toForeignPtr :: CArray i e -> (Int, ForeignPtr e)carray Data.Array.CArray.Base O(1) Extract ForeignPtr from a CArray.
unsafeForeignPtrToCArray :: Ix i => ForeignPtr e -> (i, i) -> IO (CArray i e)carray Data.Array.CArray.Base O(1) Construct a CArray from an arbitrary ForeignPtr. It is the caller's responsibility to ensure that the ForeignPtr points to an area of memory sufficient for the specified bounds.
unsafeForeignPtrToIOCArray :: Ix i => ForeignPtr e -> (i, i) -> IO (IOCArray i e)carray Data.Array.CArray.Base O(1) Construct a CArray from an arbitrary ForeignPtr. It is the caller's responsibility to ensure that the ForeignPtr points to an area of memory sufficient for the specified bounds.
unsafeForeignPtrToIOCArray :: Ix i => ForeignPtr e -> (i, i) -> IO (IOCArray i e)carray Data.Array.IOCArray O(1) Construct a CArray from an arbitrary ForeignPtr. It is the caller's responsibility to ensure that the ForeignPtr points to an area of memory sufficient for the specified bounds.
package
exception-transformers Type classes and monads for unchecked extensible exceptions. This package provides type classes, a monad and a monad transformer that support unchecked extensible exceptions as well as asynchronous exceptions. It is compatible with the transformers package.
-
gloss Graphics.Gloss.Data.Bitmap Description of how the bitmap is layed out in memory.
- Prior version of Gloss assumed `BitmapFormat BottomToTop PxABGR`
BitmapFormat :: RowOrder -> PixelFormat -> BitmapFormatgloss Graphics.Gloss.Data.Bitmap No documentation available.
-
gloss Graphics.Gloss.Data.Bitmap Pixel formats describe the order of the color channels in memory.
bitmapDataOfForeignPtr :: Int -> Int -> BitmapFormat -> ForeignPtr Word8 -> Bool -> BitmapDatagloss Graphics.Gloss.Data.Bitmap No documentation available.