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. setByteArray :: (Prim a, PrimMonad m) => MutableByteArray (PrimState m) -> Int -> Int -> a -> m ()

    primitive Data.Primitive.ByteArray

    Fill a slice of a mutable byte array with a value. The offset and length are given in elements of type a rather than in bytes. Note: this function does not do bounds checking.

  2. setPrimArray :: (Prim a, PrimMonad m) => MutablePrimArray (PrimState m) a -> Int -> Int -> a -> m ()

    primitive Data.Primitive.PrimArray

    Fill a slice of a mutable primitive array with a value. Note: this function does not do bounds checking.

  3. setPtr :: (Prim a, PrimMonad m) => Ptr a -> Int -> a -> m ()

    primitive Data.Primitive.Ptr

    Fill a memory block with the given value. The length is in elements of type a rather than in bytes.

  4. setByteArray# :: Prim a => MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s

    primitive Data.Primitive.Types

    Fill a slice of the mutable array with a value. The offset and length of the chunk are in elements of type a rather than in bytes.

  5. setOffAddr# :: Prim a => Addr# -> Int# -> Int# -> a -> State# s -> State# s

    primitive Data.Primitive.Types

    Fill a memory block given by an address, an offset and a length. The offset and length are in elements of type a rather than in bytes.

  6. setAddrRange# :: Addr# -> Int# -> Int# -> State# RealWorld -> State# RealWorld

    ghc-prim GHC.Prim

    setAddrRange# dest len c sets all of the bytes in [dest, dest+len) to the value c. Analogous to the standard C function memset, but with a different argument order. Warning: this can fail with an unchecked exception.

  7. setByteArray# :: MutableByteArray# d -> Int# -> Int# -> Int# -> State# d -> State# d

    ghc-prim GHC.Prim

    setByteArray# ba off len c sets the byte range [off, off+len) of the MutableByteArray# to the byte c. Warning: this can fail with an unchecked exception.

  8. setThreadAllocationCounter# :: Int64# -> State# RealWorld -> State# RealWorld

    ghc-prim GHC.Prim

    Sets the allocation counter for the current thread to the given value.

  9. setAddrRange# :: Addr# -> Int# -> Int# -> State# RealWorld -> State# RealWorld

    ghc-prim GHC.PrimopWrappers

    No documentation available.

  10. setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Int# -> State# s -> State# s

    ghc-prim GHC.PrimopWrappers

    No documentation available.

Page 148 of many | Previous | Next