Safe Haskell | Unsafe |
---|---|
Language | Haskell2010 |
- sameMutVar :: MutVar s a -> MutVar s a -> Bool
- casMutVar :: PrimMonad m => MutVar (PrimState m) a -> a -> a -> m (Int, a)
- sizeOfArray :: Array a -> Int
- sizeOfMutableArray :: MutableArray s a -> Int
- casArray :: PrimMonad m => MutableArray (PrimState m) a -> Int -> a -> a -> m (Int, a)
- sizeOfByteArray :: ByteArray -> Int
- sizeOfMutableByteArray :: MutableByteArray s -> Int
- casIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> Int -> m Int
- atomicReadIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m Int
- atomicWriteIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m ()
- fetchAddIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int
- fetchSubIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int
- fetchAndIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int
- fetchNandIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int
- fetchOrIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int
- fetchXorIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int
- prefetchByteArray0 :: PrimMonad m => ByteArray -> Int -> m ()
- prefetchByteArray1 :: PrimMonad m => ByteArray -> Int -> m ()
- prefetchByteArray2 :: PrimMonad m => ByteArray -> Int -> m ()
- prefetchByteArray3 :: PrimMonad m => ByteArray -> Int -> m ()
- prefetchMutableByteArray0 :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m ()
- prefetchMutableByteArray1 :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m ()
- prefetchMutableByteArray2 :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m ()
- prefetchMutableByteArray3 :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m ()
- prefetchValue0 :: PrimMonad m => a -> m ()
- prefetchValue1 :: PrimMonad m => a -> m ()
- prefetchValue2 :: PrimMonad m => a -> m ()
- prefetchValue3 :: PrimMonad m => a -> m ()
MutVar Primitives
sameMutVar :: MutVar s a -> MutVar s a -> Bool Source
Array Primitives
sizeOfArray :: Array a -> Int Source
sizeOfMutableArray :: MutableArray s a -> Int Source
ByteArray Primitives
sizeOfByteArray :: ByteArray -> Int Source
sizeOfMutableByteArray :: MutableByteArray s -> Int Source
atomicReadIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m Int Source
atomicWriteIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m () Source
fetchAddIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int Source
fetchSubIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int Source
fetchAndIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int Source
fetchNandIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int Source
fetchOrIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int Source
fetchXorIntArray :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> Int -> m Int Source
Prefetching
prefetchByteArray0 :: PrimMonad m => ByteArray -> Int -> m () Source
prefetchByteArray1 :: PrimMonad m => ByteArray -> Int -> m () Source
prefetchByteArray2 :: PrimMonad m => ByteArray -> Int -> m () Source
prefetchByteArray3 :: PrimMonad m => ByteArray -> Int -> m () Source
prefetchMutableByteArray0 :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m () Source
prefetchMutableByteArray1 :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m () Source
prefetchMutableByteArray2 :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m () Source
prefetchMutableByteArray3 :: PrimMonad m => MutableByteArray (PrimState m) -> Int -> m () Source
prefetchValue0 :: PrimMonad m => a -> m () Source
prefetchValue1 :: PrimMonad m => a -> m () Source
prefetchValue2 :: PrimMonad m => a -> m () Source
prefetchValue3 :: PrimMonad m => a -> m () Source