Home
last modified time | relevance | path

Searched refs:getRNG (Results 1 – 25 of 244) sorted by relevance

12345678910

/dports/devel/R-cran-rngtools/rngtools/man/
H A Ddot-getRNG.Rd4 \name{.getRNG}
5 \alias{.getRNG}
6 \alias{.getRNG,ANY-method}
7 \alias{.getRNG,missing-method}
8 \alias{.getRNG,list-method}
9 \alias{.getRNG,numeric-method}
12 .getRNG(object, ...)
14 \S4method{.getRNG}{ANY}(object, ...)
16 \S4method{.getRNG}{missing}(object)
18 \S4method{.getRNG}{list}(object)
[all …]
H A Drng.Rd3 \name{getRNG}
4 \alias{getRNG}
24 \code{.getRNG} or \code{.setRNG}.}
70 Hence calling \code{getRNG(1234)} is equivalent to \code{set.seed(1234); getRNG()}
76 #--- getRNG ---
78 s <- getRNG()
83 s1234 <- getRNG(1234)
90 getRNG(1234, num.ok=TRUE)
93 head(getRNG(1L))
96 s <- getRNG(list(1L, rng=1234))
[all …]
/dports/devel/R-cran-rngtools/rngtools/tests/testthat/
H A Dtest-format.R30 obj <- getRNG(x)
34 obj <- getRNG()
75 oldRNG <- getRNG()
78 obj <- getRNG(x)
82 obj <- getRNG()
85 newRNG <- getRNG()
110 oldRNG <- getRNG()
112 expect_identical(oldRNG, getRNG(), info = "RNG still valid after error")
115 oldRNG <- getRNG()
117 expect_identical(oldRNG, getRNG(), info = "RNG still valid after error")
[all …]
H A Dtest-RNG.r16 fn <- getRNG
61 expect_identical(getRNG(), y, msg("RNG is correctly set") )
113 oldRNG <- getRNG()
115 expect_identical(oldRNG, getRNG(), "RNG still valid after error")
117 expect_identical(oldRNG, getRNG(), "RNG still valid after error")
121 oldRNG <- getRNG()
124 expect_identical(oldRNG, getRNG(), "RNG keep old value")
126 oldRNG <- getRNG()
129 expect_identical(oldRNG, getRNG(), "RNG keep old value")
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp/test/loadgen/
H A DRNG.cpp62 RNG& RNG::getRNG() { in getRNG() function in apache::thrift::loadgen::RNG
72 return distribution(getRNG()); in getU32()
77 return distribution(getRNG()); in getU32()
82 return distribution(getRNG()); in getU32()
87 return distribution(getRNG()); in getReal()
92 return distribution(getRNG()); in getReal()
103 getRNG(), dist); in getLogNormal()
/dports/devel/R-cran-rngtools/rngtools/R/
H A Dformat.R50 rs <- getRNG()
58 seed <- getRNG(object, ...)
107 rng <- getRNG(object, ...)
157 showRNG <- function(object=getRNG(), indent='#', ...){
187 RNGinfo <- function(object=getRNG(), ...){
215 checkRNG <- function(x, y=getRNG(), ...){
H A DRNG.R265 getRNG <- function(object, ..., num.ok=FALSE, extract=TRUE, recursive=TRUE){ function
271 if( recursive && hasRNG(rng) ) getRNG(rng, ..., num.ok=num.ok)
391 getRNG(object, ...)
416 return( getRNG() )
483 rng <- getRNG(object, ...)
487 orseed <- getRNG()
632 RNGdigest <- function(object=getRNG()){
635 object <- getRNG(x)
665 y <- getRNG()
676 y <- getRNG()
/dports/math/R-cran-NMF/NMF/man/
H A DRNG.Rd3 \alias{.getRNG}
9 \alias{.getRNG-methods}
10 \alias{.getRNG,NMFfitXn-method}
15 .getRNG(object, ...)
24 to a suitable S4 method \code{.getRNG} or
32 \code{\link[rngtools]{getRNG}} and
38 \item{.getRNG}{\code{signature(object = "NMFfitXn")}:
68 getRNG(res)
/dports/security/softhsm2/softhsm-2.6.1/src/lib/crypto/
H A DBotanEDDSA.cpp102 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in sign()
103 signer = new Botan::PK_Signer(*botanKey, *rng->getRNG(), emsa); in sign()
116 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in sign()
117 signResult = signer->sign_message(dataToSign.const_byte_str(), dataToSign.size(), *rng->getRNG()); in sign()
299 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in generateKeyPair()
302 eckp = new Botan::Curve25519_PrivateKey(*rng->getRNG()); in generateKeyPair()
306 eckp = new Botan::Ed25519_PrivateKey(*rng->getRNG()); in generateKeyPair()
360 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in deriveKey()
361 Botan::PK_Key_Agreement ka(*priv, *rng->getRNG(), "Raw"); in deriveKey()
H A DBotanDSA.cpp98 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in sign()
99 signer = new Botan::PK_Signer(*botanKey, *rng->getRNG(), emsa); in sign()
112 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in sign()
197 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in signInit()
198 signer = new Botan::PK_Signer(*botanKey, *rng->getRNG(), emsa); in signInit()
255 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in signFinal()
256 signResult = signer->signature(*rng->getRNG()); in signFinal()
527 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in generateKeyPair()
528 dsa = new Botan::DSA_PrivateKey(*rng->getRNG(), in generateKeyPair()
586 BotanRNG* brng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in generateParameters()
[all …]
H A DBotanDH.cpp135 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in generateKeyPair()
141 x.randomize(*rng->getRNG(), params->getXBitLength()); in generateKeyPair()
144 dh = new BotanDH_PrivateKey(*rng->getRNG(), in generateKeyPair()
194 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in deriveKey()
195 Botan::PK_Key_Agreement ka(*priv->impl, *rng->getRNG(), "Raw"); in deriveKey()
259 BotanRNG* brng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in generateParameters()
260 group = new Botan::DL_Group(*brng->getRNG(), Botan::DL_Group::Strong, bitLen); in generateParameters()
H A DBotanRSA.cpp109 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in sign()
110 signer = new Botan::PK_Signer(*botanKey, *rng->getRNG(), emsa); in sign()
123 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in sign()
326 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in signInit()
327 signer = new Botan::PK_Signer(*botanKey, *rng->getRNG(), emsa); in signInit()
384 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in signFinal()
385 signResult = signer->signature(*rng->getRNG()); in signFinal()
789 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in encrypt()
803 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in encrypt()
868 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in decrypt()
[all …]
H A DBotanECDSA.cpp100 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in sign()
101 signer = new Botan::PK_Signer(*botanKey, *rng->getRNG(), emsa); in sign()
114 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in sign()
115 signResult = signer->sign_message(dataToSign.const_byte_str(), dataToSign.size(), *rng->getRNG()); in sign()
296 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in generateKeyPair()
297 …eckp = new Botan::ECDSA_PrivateKey(*rng->getRNG(), BotanUtil::byteString2ECGroup(params->getEC())); in generateKeyPair()
H A DBotanGOST.cpp117 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in signInit()
118 signer = new Botan::PK_Signer(*botanKey, *rng->getRNG(), emsa); in signInit()
175 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in signFinal()
176 signResult = signer->signature(*rng->getRNG()); in signFinal()
368 BotanRNG* rng = (BotanRNG*)BotanCryptoFactory::i()->getRNG(); in generateKeyPair()
369 …eckp = new Botan::GOST_3410_PrivateKey(*rng->getRNG(), BotanUtil::byteString2ECGroup(params->getEC… in generateKeyPair()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/
H A DTestTypes.java258 return new Boolean(Env.getRNG().nextInt(2) == 0); in nextRandomValueForType()
261 return new Byte((byte) Env.getRNG().nextInt(1 << Byte.SIZE)); in nextRandomValueForType()
264 return new Integer(Env.getRNG().nextInt()); in nextRandomValueForType()
267 return new Short((short) Env.getRNG().nextInt(1 << Short.SIZE)); in nextRandomValueForType()
270 return new Long(Env.getRNG().nextLong()); in nextRandomValueForType()
273 return new Float(Env.getRNG().nextFloat()); in nextRandomValueForType()
276 return new Double(Env.getRNG().nextDouble()); in nextRandomValueForType()
279 return new Character((char) (32 + Env.getRNG().nextInt(96))); in nextRandomValueForType()
286 for (int i = Env.getRNG().nextInt(100); i > 0; i--) in nextRandomValueForType()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/
H A DTestTypes.java258 return new Boolean(Env.getRNG().nextInt(2) == 0); in nextRandomValueForType()
261 return new Byte((byte) Env.getRNG().nextInt(1 << Byte.SIZE)); in nextRandomValueForType()
264 return new Integer(Env.getRNG().nextInt()); in nextRandomValueForType()
267 return new Short((short) Env.getRNG().nextInt(1 << Short.SIZE)); in nextRandomValueForType()
270 return new Long(Env.getRNG().nextLong()); in nextRandomValueForType()
273 return new Float(Env.getRNG().nextFloat()); in nextRandomValueForType()
276 return new Double(Env.getRNG().nextDouble()); in nextRandomValueForType()
279 return new Character((char) (32 + Env.getRNG().nextInt(96))); in nextRandomValueForType()
286 for (int i = Env.getRNG().nextInt(100); i > 0; i--) in nextRandomValueForType()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/
H A DTestTypes.java258 return new Boolean(Env.getRNG().nextInt(2) == 0); in nextRandomValueForType()
261 return new Byte((byte) Env.getRNG().nextInt(1 << Byte.SIZE)); in nextRandomValueForType()
264 return new Integer(Env.getRNG().nextInt()); in nextRandomValueForType()
267 return new Short((short) Env.getRNG().nextInt(1 << Short.SIZE)); in nextRandomValueForType()
270 return new Long(Env.getRNG().nextLong()); in nextRandomValueForType()
273 return new Float(Env.getRNG().nextFloat()); in nextRandomValueForType()
276 return new Double(Env.getRNG().nextDouble()); in nextRandomValueForType()
279 return new Character((char) (32 + Env.getRNG().nextInt(96))); in nextRandomValueForType()
286 for (int i = Env.getRNG().nextInt(100); i > 0; i--) in nextRandomValueForType()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/
H A DTestTypes.java258 return new Boolean(Env.getRNG().nextInt(2) == 0); in nextRandomValueForType()
261 return new Byte((byte) Env.getRNG().nextInt(1 << Byte.SIZE)); in nextRandomValueForType()
264 return new Integer(Env.getRNG().nextInt()); in nextRandomValueForType()
267 return new Short((short) Env.getRNG().nextInt(1 << Short.SIZE)); in nextRandomValueForType()
270 return new Long(Env.getRNG().nextLong()); in nextRandomValueForType()
273 return new Float(Env.getRNG().nextFloat()); in nextRandomValueForType()
276 return new Double(Env.getRNG().nextDouble()); in nextRandomValueForType()
279 return new Character((char) (32 + Env.getRNG().nextInt(96))); in nextRandomValueForType()
286 for (int i = Env.getRNG().nextInt(100); i > 0; i--) in nextRandomValueForType()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/
H A DTestTypes.java258 return new Boolean(Env.getRNG().nextInt(2) == 0); in nextRandomValueForType()
261 return new Byte((byte) Env.getRNG().nextInt(1 << Byte.SIZE)); in nextRandomValueForType()
264 return new Integer(Env.getRNG().nextInt()); in nextRandomValueForType()
267 return new Short((short) Env.getRNG().nextInt(1 << Short.SIZE)); in nextRandomValueForType()
270 return new Long(Env.getRNG().nextLong()); in nextRandomValueForType()
273 return new Float(Env.getRNG().nextFloat()); in nextRandomValueForType()
276 return new Double(Env.getRNG().nextDouble()); in nextRandomValueForType()
279 return new Character((char) (32 + Env.getRNG().nextInt(96))); in nextRandomValueForType()
286 for (int i = Env.getRNG().nextInt(100); i > 0; i--) in nextRandomValueForType()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/
H A DTestTypes.java258 return Boolean.valueOf(Env.getRNG().nextInt(2) == 0); in nextRandomValueForType()
261 return Byte.valueOf((byte) Env.getRNG().nextInt(1 << Byte.SIZE)); in nextRandomValueForType()
264 return Integer.valueOf(Env.getRNG().nextInt()); in nextRandomValueForType()
267 return Short.valueOf((short) Env.getRNG().nextInt(1 << Short.SIZE)); in nextRandomValueForType()
270 return Long.valueOf(Env.getRNG().nextLong()); in nextRandomValueForType()
273 return Float.valueOf(Env.getRNG().nextFloat()); in nextRandomValueForType()
276 return Double.valueOf(Env.getRNG().nextDouble()); in nextRandomValueForType()
279 return Character.valueOf((char) (32 + Env.getRNG().nextInt(96))); in nextRandomValueForType()
286 for (int i = Env.getRNG().nextInt(100); i > 0; i--) in nextRandomValueForType()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/
H A DTestTypes.java258 return new Boolean(Env.getRNG().nextInt(2) == 0); in nextRandomValueForType()
261 return new Byte((byte) Env.getRNG().nextInt(1 << Byte.SIZE)); in nextRandomValueForType()
264 return new Integer(Env.getRNG().nextInt()); in nextRandomValueForType()
267 return new Short((short) Env.getRNG().nextInt(1 << Short.SIZE)); in nextRandomValueForType()
270 return new Long(Env.getRNG().nextLong()); in nextRandomValueForType()
273 return new Float(Env.getRNG().nextFloat()); in nextRandomValueForType()
276 return new Double(Env.getRNG().nextDouble()); in nextRandomValueForType()
279 return new Character((char) (32 + Env.getRNG().nextInt(96))); in nextRandomValueForType()
286 for (int i = Env.getRNG().nextInt(100); i > 0; i--) in nextRandomValueForType()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/
H A DTestTypes.java258 return new Boolean(Env.getRNG().nextInt(2) == 0); in nextRandomValueForType()
261 return new Byte((byte) Env.getRNG().nextInt(1 << Byte.SIZE)); in nextRandomValueForType()
264 return new Integer(Env.getRNG().nextInt()); in nextRandomValueForType()
267 return new Short((short) Env.getRNG().nextInt(1 << Short.SIZE)); in nextRandomValueForType()
270 return new Long(Env.getRNG().nextLong()); in nextRandomValueForType()
273 return new Float(Env.getRNG().nextFloat()); in nextRandomValueForType()
276 return new Double(Env.getRNG().nextDouble()); in nextRandomValueForType()
279 return new Character((char) (32 + Env.getRNG().nextInt(96))); in nextRandomValueForType()
286 for (int i = Env.getRNG().nextInt(100); i > 0; i--) in nextRandomValueForType()
/dports/net/kea/kea-2.0.1/src/lib/cryptolink/tests/
H A Dcrypto_unittests.cc34 RNGPtr rng1 = c.getRNG(); in TEST()
35 RNGPtr rng2 = c.getRNG(); in TEST()
41 RNGPtr rng = CryptoLink::getCryptoLink().getRNG(); in TEST()
/dports/math/hs-Agda/Agda-2.6.2/_cabal_deps/hashtables-1.2.3.4/benchmark/src/Criterion/Collection/Internal/
H A DTypes.hs10 , getRNG
50 getRNG :: WorkloadMonad GenIO
51 getRNG = WM ask function
/dports/devel/hs-threadscope/threadscope-0.2.14/_cabal_deps/hashtables-1.2.4.1/benchmark/src/Criterion/Collection/Internal/
H A DTypes.hs10 , getRNG
50 getRNG :: WorkloadMonad GenIO
51 getRNG = WM ask function

12345678910