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.

  1. callocArray :: Storable a => Int -> IO (Ptr a)

    base Foreign.Marshal.Array

    Like mallocArray, but allocated memory is filled with bytes of value zero.

  2. callocArray0 :: Storable a => Int -> IO (Ptr a)

    base Foreign.Marshal.Array

    Like callocArray0, but allocated memory is filled with bytes of value zero.

  3. 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).

  4. mallocArray0 :: Storable a => Int -> IO (Ptr a)

    base Foreign.Marshal.Array

    Like mallocArray, but add an extra position to hold a special termination element.

  5. reallocArray :: Storable a => Ptr a -> Int -> IO (Ptr a)

    base Foreign.Marshal.Array

    Adjust the size of an array

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. pooledMallocBytes :: Pool -> Int -> IO (Ptr a)

    base Foreign.Marshal.Pool

    Allocate the given number of bytes of storage in the pool.

Page 182 of many | Previous | Next