Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. mmapFileForeignPtrLazy :: FilePath -> Mode -> Maybe (Int64, Int64) -> IO [(ForeignPtr a, Int, Int)]

    mmap System.IO.MMap

    The mmapFileForeignPtrLazy function maps a file or device into memory, returning a list of tuples with the same meaning as in function mmapFileForeignPtr. Chunks are really mapped into memory at the first inspection of a chunk. They are kept in memory while they are referenced, garbage collector takes care of the later.

  2. mmapFilePtr :: FilePath -> Mode -> Maybe (Int64, Int) -> IO (Ptr a, Int, Int, Int)

    mmap System.IO.MMap

    The mmapFilePtr function maps a file or device into memory, returning a tuple (ptr,rawsize,offset,size) where:

    • ptr is pointer to mmapped region
    • rawsize is length (in bytes) of mapped data, rawsize might be greater than size because of alignment
    • offset tell where your data lives: plusPtr ptr offset
    • size your data length (in bytes)
    If mmapFilePtr fails for some reason, a throwErrno is used. Use munmapFilePtr ptr rawsize to unmap memory. Memory mapped files will behave as if they were read lazily pages from the file will be loaded into memory on demand.

  3. mmapWithFilePtr :: FilePath -> Mode -> Maybe (Int64, Int) -> ((Ptr (), Int) -> IO a) -> IO a

    mmap System.IO.MMap

    Memory map region of file using autounmap semantics. See mmapFilePtr for description of parameters. The action will be executed with tuple (ptr,size) as single argument. This is the pointer to mapped data already adjusted and size of requested region. Return value is that of action.

  4. munmapFilePtr :: Ptr a -> Int -> IO ()

    mmap System.IO.MMap

    Unmaps memory region. As parameters use values marked as ptr and rawsize in description of mmapFilePtr.

  5. data KeyMap v

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    A map from JSON key type Key to v.

  6. emptyKeyMap :: KeyMap v

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    No documentation available.

  7. keyMapFromList :: [(Key, v)] -> KeyMap v

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    No documentation available.

  8. keyMapInsert :: Key -> v -> KeyMap v -> KeyMap v

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    No documentation available.

  9. keyMapToList :: KeyMap v -> [(Key, v)]

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    No documentation available.

  10. keyMapUnion :: KeyMap v -> KeyMap v -> KeyMap v

    monad-logger-aeson Control.Monad.Logger.Aeson.Internal

    No documentation available.

Page 989 of many | Previous | Next