hasktorch-ffi-th-0.0.1.0: Bindings to Torch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.TH.Char.Storage

Synopsis

Documentation

c_data_ :: Ptr C'THCharStorage -> IO (Ptr CChar) Source #

c_data : -> real *

c_data :: Ptr C'THState -> Ptr C'THCharStorage -> IO (Ptr CChar) Source #

alias of c_data_ with unused argument (for CTHState) to unify backpack signatures.

c_size_ :: Ptr C'THCharStorage -> IO CPtrdiff Source #

c_size : -> ptrdiff_t

c_size :: Ptr C'THState -> Ptr C'THCharStorage -> IO CPtrdiff Source #

alias of c_size_ with unused argument (for CTHState) to unify backpack signatures.

c_set_ :: Ptr C'THCharStorage -> CPtrdiff -> CChar -> IO () Source #

c_set : -> void

c_set :: Ptr C'THState -> Ptr C'THCharStorage -> CPtrdiff -> CChar -> IO () Source #

alias of c_set_ with unused argument (for CTHState) to unify backpack signatures.

c_get_ :: Ptr C'THCharStorage -> CPtrdiff -> IO CChar Source #

c_get : -> real

c_get :: Ptr C'THState -> Ptr C'THCharStorage -> CPtrdiff -> IO CChar Source #

alias of c_get_ with unused argument (for CTHState) to unify backpack signatures.

c_new_ :: IO (Ptr C'THCharStorage) Source #

c_new : -> THStorage *

c_new :: Ptr C'THState -> IO (Ptr C'THCharStorage) Source #

alias of c_new_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize_ :: CPtrdiff -> IO (Ptr C'THCharStorage) Source #

c_newWithSize : size -> THStorage *

c_newWithSize :: Ptr C'THState -> CPtrdiff -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithSize_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize1_ :: CChar -> IO (Ptr C'THCharStorage) Source #

c_newWithSize1 : -> THStorage *

c_newWithSize1 :: Ptr C'THState -> CChar -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithSize1_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize2_ :: CChar -> CChar -> IO (Ptr C'THCharStorage) Source #

c_newWithSize2 : -> THStorage *

c_newWithSize2 :: Ptr C'THState -> CChar -> CChar -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithSize2_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize3_ :: CChar -> CChar -> CChar -> IO (Ptr C'THCharStorage) Source #

c_newWithSize3 : -> THStorage *

c_newWithSize3 :: Ptr C'THState -> CChar -> CChar -> CChar -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithSize3_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize4_ :: CChar -> CChar -> CChar -> CChar -> IO (Ptr C'THCharStorage) Source #

c_newWithSize4 : -> THStorage *

c_newWithSize4 :: Ptr C'THState -> CChar -> CChar -> CChar -> CChar -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithSize4_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithMapping_ :: Ptr CChar -> CPtrdiff -> CInt -> IO (Ptr C'THCharStorage) Source #

c_newWithMapping : filename size flags -> THStorage *

c_newWithMapping :: Ptr C'THState -> Ptr CChar -> CPtrdiff -> CInt -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithMapping_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithData_ :: Ptr CChar -> CPtrdiff -> IO (Ptr C'THCharStorage) Source #

c_newWithData : data size -> THStorage *

c_newWithData :: Ptr C'THState -> Ptr CChar -> CPtrdiff -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithData_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithAllocator_ :: CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THCharStorage) Source #

c_newWithAllocator : size allocator allocatorContext -> THStorage *

c_newWithAllocator :: Ptr C'THState -> CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithAllocator_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithDataAndAllocator_ :: Ptr CChar -> CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THCharStorage) Source #

c_newWithDataAndAllocator : data size allocator allocatorContext -> THStorage *

c_newWithDataAndAllocator :: Ptr C'THState -> Ptr CChar -> CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THCharStorage) Source #

alias of c_newWithDataAndAllocator_ with unused argument (for CTHState) to unify backpack signatures.

c_setFlag_ :: Ptr C'THCharStorage -> CChar -> IO () Source #

c_setFlag : storage flag -> void

c_setFlag :: Ptr C'THState -> Ptr C'THCharStorage -> CChar -> IO () Source #

alias of c_setFlag_ with unused argument (for CTHState) to unify backpack signatures.

c_clearFlag_ :: Ptr C'THCharStorage -> CChar -> IO () Source #

c_clearFlag : storage flag -> void

c_clearFlag :: Ptr C'THState -> Ptr C'THCharStorage -> CChar -> IO () Source #

alias of c_clearFlag_ with unused argument (for CTHState) to unify backpack signatures.

c_retain_ :: Ptr C'THCharStorage -> IO () Source #

c_retain : storage -> void

c_retain :: Ptr C'THState -> Ptr C'THCharStorage -> IO () Source #

alias of c_retain_ with unused argument (for CTHState) to unify backpack signatures.

c_swap_ :: Ptr C'THCharStorage -> Ptr C'THCharStorage -> IO () Source #

c_swap : storage1 storage2 -> void

c_swap :: Ptr C'THState -> Ptr C'THCharStorage -> Ptr C'THCharStorage -> IO () Source #

alias of c_swap_ with unused argument (for CTHState) to unify backpack signatures.

c_free_ :: Ptr C'THCharStorage -> IO () Source #

c_free : storage -> void

c_free :: Ptr C'THState -> Ptr C'THCharStorage -> IO () Source #

alias of c_free_ with unused argument (for CTHState) to unify backpack signatures.

c_resize_ :: Ptr C'THCharStorage -> CPtrdiff -> IO () Source #

c_resize : storage size -> void

c_resize :: Ptr C'THState -> Ptr C'THCharStorage -> CPtrdiff -> IO () Source #

alias of c_resize_ with unused argument (for CTHState) to unify backpack signatures.

c_fill_ :: Ptr C'THCharStorage -> CChar -> IO () Source #

c_fill : storage value -> void

c_fill :: Ptr C'THState -> Ptr C'THCharStorage -> CChar -> IO () Source #

alias of c_fill_ with unused argument (for CTHState) to unify backpack signatures.

p_data :: FunPtr (Ptr C'THCharStorage -> IO (Ptr CChar)) Source #

p_data : Pointer to function : -> real *

p_size :: FunPtr (Ptr C'THCharStorage -> IO CPtrdiff) Source #

p_size : Pointer to function : -> ptrdiff_t

p_set :: FunPtr (Ptr C'THCharStorage -> CPtrdiff -> CChar -> IO ()) Source #

p_set : Pointer to function : -> void

p_get :: FunPtr (Ptr C'THCharStorage -> CPtrdiff -> IO CChar) Source #

p_get : Pointer to function : -> real

p_new :: FunPtr (IO (Ptr C'THCharStorage)) Source #

p_new : Pointer to function : -> THStorage *

p_newWithSize :: FunPtr (CPtrdiff -> IO (Ptr C'THCharStorage)) Source #

p_newWithSize : Pointer to function : size -> THStorage *

p_newWithSize1 :: FunPtr (CChar -> IO (Ptr C'THCharStorage)) Source #

p_newWithSize1 : Pointer to function : -> THStorage *

p_newWithSize2 :: FunPtr (CChar -> CChar -> IO (Ptr C'THCharStorage)) Source #

p_newWithSize2 : Pointer to function : -> THStorage *

p_newWithSize3 :: FunPtr (CChar -> CChar -> CChar -> IO (Ptr C'THCharStorage)) Source #

p_newWithSize3 : Pointer to function : -> THStorage *

p_newWithSize4 :: FunPtr (CChar -> CChar -> CChar -> CChar -> IO (Ptr C'THCharStorage)) Source #

p_newWithSize4 : Pointer to function : -> THStorage *

p_newWithMapping :: FunPtr (Ptr CChar -> CPtrdiff -> CInt -> IO (Ptr C'THCharStorage)) Source #

p_newWithMapping : Pointer to function : filename size flags -> THStorage *

p_newWithData :: FunPtr (Ptr CChar -> CPtrdiff -> IO (Ptr C'THCharStorage)) Source #

p_newWithData : Pointer to function : data size -> THStorage *

p_newWithAllocator :: FunPtr (CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THCharStorage)) Source #

p_newWithAllocator : Pointer to function : size allocator allocatorContext -> THStorage *

p_newWithDataAndAllocator :: FunPtr (Ptr CChar -> CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THCharStorage)) Source #

p_newWithDataAndAllocator : Pointer to function : data size allocator allocatorContext -> THStorage *

p_setFlag :: FunPtr (Ptr C'THCharStorage -> CChar -> IO ()) Source #

p_setFlag : Pointer to function : storage flag -> void

p_clearFlag :: FunPtr (Ptr C'THCharStorage -> CChar -> IO ()) Source #

p_clearFlag : Pointer to function : storage flag -> void

p_retain :: FunPtr (Ptr C'THCharStorage -> IO ()) Source #

p_retain : Pointer to function : storage -> void

p_swap :: FunPtr (Ptr C'THCharStorage -> Ptr C'THCharStorage -> IO ()) Source #

p_swap : Pointer to function : storage1 storage2 -> void

p_free :: FunPtr (Ptr C'THCharStorage -> IO ()) Source #

p_free : Pointer to function : storage -> void

p_resize :: FunPtr (Ptr C'THCharStorage -> CPtrdiff -> IO ()) Source #

p_resize : Pointer to function : storage size -> void

p_fill :: FunPtr (Ptr C'THCharStorage -> CChar -> IO ()) Source #

p_fill : Pointer to function : storage value -> void