Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
callocArray :: Storable a => Int -> IO (Ptr a)base Foreign.Marshal.Array Like mallocArray, but allocated memory is filled with bytes of value zero.
callocArray0 :: Storable a => Int -> IO (Ptr a)base Foreign.Marshal.Array Like callocArray0, but allocated memory is filled with bytes of value zero.
mallocArray :: Storable a => Int -> IO (Ptr a)base Foreign.Marshal.Array Allocate storage for the given number of elements of a storable type (like malloc, but for multiple elements).
mallocArray0 :: Storable a => Int -> IO (Ptr a)base Foreign.Marshal.Array Like mallocArray, but add an extra position to hold a special termination element.
reallocArray :: Storable a => Ptr a -> Int -> IO (Ptr a)base Foreign.Marshal.Array Adjust the size of an array
reallocArray0 :: Storable a => Ptr a -> Int -> IO (Ptr a)base Foreign.Marshal.Array Adjust the size of an array including an extra position for the end marker.
pooledMalloc :: Storable a => Pool -> IO (Ptr a)base Foreign.Marshal.Pool Allocate space for storable type in the given pool. The size of the area allocated is determined by the sizeOf method from the instance of Storable for the appropriate type.
pooledMallocArray :: Storable a => Pool -> Int -> IO (Ptr a)base Foreign.Marshal.Pool Allocate storage for the given number of elements of a storable type in the pool.
pooledMallocArray0 :: Storable a => Pool -> Int -> IO (Ptr a)base Foreign.Marshal.Pool Allocate storage for the given number of elements of a storable type in the pool, but leave room for an extra element to signal the end of the array.
pooledMallocBytes :: Pool -> Int -> IO (Ptr a)base Foreign.Marshal.Pool Allocate the given number of bytes of storage in the pool.