Home
last modified time | relevance | path

Searched refs:oldRNG (Results 1 – 16 of 16) sorted by relevance

/dports/devel/R-cran-rngtools/rngtools/tests/testthat/
H A Dtest-RNG.r17 oldRNG <- RNGseed() functionVar
27 expect_identical(oldRNG, newRNG, .msg("does not change RNG"))
55 oldRNG <- RNGseed() functionVar
60 expect_true(!identical(oldRNG, newRNG), msg("changes RNG"))
62 expect_identical(d, oldRNG, msg("returns old RNG") )
113 oldRNG <- getRNG() globalVar
115 expect_identical(oldRNG, getRNG(), "RNG still valid after error")
121 oldRNG <- getRNG() globalVar
124 expect_identical(oldRNG, getRNG(), "RNG keep old value")
126 oldRNG <- getRNG() globalVar
[all …]
H A Dtest-format.R27 oldRNG <- RNGseed() functionVar
39 expect_identical(oldRNG, newRNG, info = msg("does not change RNG", ...))
75 oldRNG <- getRNG() functionVar
87 expect_identical(oldRNG, newRNG, info = msg("does not change RNG", ...))
110 oldRNG <- getRNG() globalVar
112 expect_identical(oldRNG, getRNG(), info = "RNG still valid after error")
115 oldRNG <- getRNG() globalVar
117 expect_identical(oldRNG, getRNG(), info = "RNG still valid after error")
119 expect_identical(oldRNG, getRNG(), info = "RNG still valid after error")
/dports/math/R/R-4.1.2/src/library/utils/R/
H A Dexample.R65 oldRNG <- RNGkind() functionVar
66 on.exit(RNGkind(oldRNG[1L], oldRNG[2L], oldRNG[3L]), add = TRUE)
/dports/math/libRmath/R-4.1.1/src/library/utils/R/
H A Dexample.R65 oldRNG <- RNGkind() functionVar
66 on.exit(RNGkind(oldRNG[1L], oldRNG[2L], oldRNG[3L]), add = TRUE)
/dports/devel/R-cran-Rdpack/Rdpack/R/
H A Drunexamples.R74 oldRNG <- RNGkind() functionVar
75 on.exit(RNGkind(oldRNG[1L], oldRNG[2L]), add = TRUE)
/dports/math/R-cran-spdep/spdep/man/
H A Daple.mc.Rd38 oldRNG <- RNGkind()
66 RNGkind(oldRNG[1], oldRNG[2])
/dports/math/R-cran-spdep/spdep/R/
H A Dlisa_perm.R166 oldRNG <- RNGkind() functionVar
172 RNGkind(oldRNG[1])
290 oldRNG <- RNGkind() functionVar
295 RNGkind(oldRNG[1])
/dports/games/brogue/BrogueCE-1.10.1/src/brogue/
H A DIO.c1780 short oldRNG; in plotCharWithColor() local
1799 oldRNG = rogue.RNG; in plotCharWithColor()
1839 short oldRNG; in plotCharToBuffer() local
1848 oldRNG = rogue.RNG; in plotCharToBuffer()
2036 short oldRNG; in flashForeground() local
2042 oldRNG = rogue.RNG; in flashForeground()
2885 short oldRNG; in flashMessage() local
3737 short oldRNG; in refreshSideBar() local
4566 short oldRNG; in printMonsterInfo() local
4901 short oldRNG; in printItemInfo() local
[all …]
H A DRecordings.c584 short oldRNG; in RNGCheck() local
587 oldRNG = rogue.RNG; in RNGCheck()
597 rogue.RNG = oldRNG; in RNGCheck()
H A DButtons.c45 short oldRNG = rogue.RNG; in drawButton() local
H A DRogueMain.c148 short oldRNG; in initializeRogue() local
232 oldRNG = rogue.RNG; in initializeRogue()
H A DRogue.h1231 #define assureCosmeticRNG short oldRNG = rogue.RNG; rogue.RNG = RNG_COSMETIC;
1232 #define restoreRNG rogue.RNG = oldRNG;
H A DTime.c2211 short oldRNG; in playerTurnEnded() local
2475 oldRNG = rogue.RNG; in playerTurnEnded()
H A DItems.c5202 short oldRNG; in moveCursor() local
5217 oldRNG = rogue.RNG; in moveCursor()
5436 short oldRNG; in chooseTarget() local
5448 oldRNG = rogue.RNG; in chooseTarget()
H A DMonsters.c235 short oldRNG; in monsterName() local
244 oldRNG = rogue.RNG; in monsterName()
/dports/devel/R-cran-data.table/data.table/R/
H A Dtest.data.table.R64 oldRNG = suppressWarnings(RNGversion("3.5.0")) functionVar
131 suppressWarnings(do.call("RNGkind",as.list(oldRNG)))