Home
last modified time | relevance | path

Searched refs:URef (Results 1 – 25 of 30) sorted by relevance

12

/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/mutable-containers-0.3.4/src/Data/Mutable/
H A DURef.hs5 module Data.Mutable.URef
7 URef
22 newtype URef s a = URef (VU.MVector s a) constructor
26 asURef :: URef s a -> URef s a
31 type IOURef = URef (PrimState IO)
33 instance MutableContainer (URef s a) where
34 type MCState (URef s a) = s
36 type RefElement (URef s a) = a
38 newRef = liftM URef . V.replicate 1
41 readRef (URef v) = V.unsafeRead v 0
[all …]
/dports/devel/stack/stack-2.7.3/_cabal_deps/rio-0.1.20.0/src/RIO/Prelude/
H A DURef.hs1 module RIO.Prelude.URef
2 ( URef
24 newtype URef s a = URef (MUVector.MVector s a) type
29 type IOURef = URef (PrimState IO)
34 newURef :: (PrimMonad m, Unbox a) => a -> m (URef (PrimState m) a)
35 newURef a = fmap URef (MUVector.replicate 1 a)
40 readURef :: (PrimMonad m, Unbox a) => URef (PrimState m) a -> m a
41 readURef (URef v) = MUVector.unsafeRead v 0
47 writeURef :: (PrimMonad m, Unbox a) => URef (PrimState m) a -> a -> m ()
48 writeURef (URef v) = MUVector.unsafeWrite v 0
[all …]
H A DRIO.hs26 import RIO.Prelude.URef
109 uRefToSomeRef :: Unbox a => URef RealWorld a -> SomeRef a
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/rio-0.1.20.0/src/RIO/Prelude/
H A DURef.hs1 module RIO.Prelude.URef
2 ( URef
24 newtype URef s a = URef (MUVector.MVector s a) type
29 type IOURef = URef (PrimState IO)
34 newURef :: (PrimMonad m, Unbox a) => a -> m (URef (PrimState m) a)
35 newURef a = fmap URef (MUVector.replicate 1 a)
40 readURef :: (PrimMonad m, Unbox a) => URef (PrimState m) a -> m a
41 readURef (URef v) = MUVector.unsafeRead v 0
47 writeURef :: (PrimMonad m, Unbox a) => URef (PrimState m) a -> a -> m ()
48 writeURef (URef v) = MUVector.unsafeWrite v 0
[all …]
H A DRIO.hs26 import RIO.Prelude.URef
109 uRefToSomeRef :: Unbox a => URef RealWorld a -> SomeRef a
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/mutable-containers-0.3.4/src/Data/
H A DMutable.hs11 , URef
60 import Data.Mutable.URef
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/union/
H A Dunion-unsafe.rs24 union URef {
32 fn deref_union_field(mut u: URef) { in deref_union_field() argument
/dports/devel/stack/stack-2.7.3/_cabal_deps/rio-0.1.20.0/src/
H A DRIO.hs77 , module RIO.Prelude.URef
111 import RIO.Prelude.URef
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/rio-0.1.20.0/src/
H A DRIO.hs77 , module RIO.Prelude.URef
111 import RIO.Prelude.URef
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/mutable-containers-0.3.4/
H A DREADME.md66 this package provides four additional single-cell mutable references. `URef`,
76 actually demonstrate a performance advantage. Unlike `URef` and `SRef`, there
86 type, but generally speaking `PRef` will be most performant, followed by `URef`
149 benchmarking URef
H A Dmutable-containers.cabal49 Data.Mutable.URef
/dports/devel/stack/stack-2.7.3/_cabal_deps/rio-0.1.20.0/
H A Drio.cabal93 RIO.Prelude.URef
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/rio-0.1.20.0/
H A Drio.cabal93 RIO.Prelude.URef
/dports/cad/opencascade/opencascade-7.6.0/src/BRepOffset/
H A DBRepOffset_Analyse.cxx747 Standard_Real U,URef; in TangentEdges() local
750 URef = BRep_Tool::Parameter(Vertex,Edge); in TangentEdges()
752 VRef = C3dRef.DN(URef,1); in TangentEdges()
/dports/lang/swi-pl/swipl-8.2.3/packages/semweb/
H A Drdf11.pl783 rdf10_cond(value(=<, URef, UType), Cond, Rest0, Rest) :-
791 in_constaint_type(UType, SUType, URef, URef0),
793 rdf10_cond(value(<, URef, UType), Cond, Rest0, Rest) :-
800 Rest = [value(<, URef, UType)|Rest1],
802 in_constaint_type(UType, SUType, URef, URef0),
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h186 template <typename UT, typename UPtr, typename URef>
222 template <typename UT, typename UPtr, typename URef>
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h186 template <typename UT, typename UPtr, typename URef>
222 template <typename UT, typename UPtr, typename URef>
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h186 template <typename UT, typename UPtr, typename URef>
222 template <typename UT, typename UPtr, typename URef>
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h186 template <typename UT, typename UPtr, typename URef>
222 template <typename UT, typename UPtr, typename URef>
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h196 template <typename UT, typename UPtr, typename URef>
232 template <typename UT, typename UPtr, typename URef>
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h196 template <typename UT, typename UPtr, typename URef>
232 template <typename UT, typename UPtr, typename URef>
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h196 template <typename UT, typename UPtr, typename URef>
232 template <typename UT, typename UPtr, typename URef>
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h196 template <typename UT, typename UPtr, typename URef>
232 template <typename UT, typename UPtr, typename URef>
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h196 template <typename UT, typename UPtr, typename URef>
232 template <typename UT, typename UPtr, typename URef>
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h196 template <typename UT, typename UPtr, typename URef>
232 template <typename UT, typename UPtr, typename URef>

12