Home
last modified time | relevance | path

Searched refs:closeEnough (Results 1 – 25 of 140) sorted by relevance

123456

/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/DDACE/tests/
H A DTestMainEffectsAnalyzer.cpp297 _test(closeEnough(x.getSumOfObservations in testAllMainEffects()
300 _test(closeEnough(x.getSumOfObservations in testAllMainEffects()
305 _test(closeEnough(x.getSumOfObservations in testAllMainEffects()
310 _test(closeEnough(x.getAverageObservation in testAllMainEffects()
323 _test(closeEnough(x.getSumOfSquares in testAllMainEffects()
327 _test(closeEnough(x.getSumOfSquares in testAllMainEffects()
332 _test(closeEnough(x.getSumOfSquares in testAllMainEffects()
337 _test(closeEnough(x.getVariance in testAllMainEffects()
340 _test(closeEnough(x.getVariance in testAllMainEffects()
345 _test(closeEnough(x.getVariance in testAllMainEffects()
[all …]
H A DTestStatistics.cpp24 _test( closeEnough(Statistics::sum(data), 81.1, 0.0001)); in testAll()
26 _test( closeEnough(Statistics::average(data), 20.275, 0.0001)); in testAll()
28 _test( closeEnough(Statistics::sumOfSquares(data,20.275), 0.4281, 0.0001)); in testAll()
31 _test( closeEnough(Statistics::variance(data), 0.1427, 0.0001)); in testAll()
/dports/deskutils/taskd/taskd-1.1.0/src/
H A Dtaskd.cpp68 if (args[0] == "-h" || closeEnough ("--help", args[0], 3)) in main()
71 else if (args[0] == "-v" || closeEnough ("--version", args[0], 3)) in main()
134 if (closeEnough ("--data", *arg, 3)) in main()
142 else if (closeEnough ("--quiet", *arg, 3)) config.set ("verbose", 0); in main()
143 else if (closeEnough ("--debug", *arg, 3)) config.set ("debug", 1); in main()
144 else if (closeEnough ("--force", *arg, 3)) config.set ("confirmation", 0); in main()
145 else if (closeEnough ("--daemon", *arg, 3)) config.set ("daemon", 1); in main()
154 if (closeEnough ("init", args[0], 3)) command_init (db, positionals); in main()
155 else if (closeEnough ("config", args[0], 3)) command_config (db, positionals); in main()
156 else if (closeEnough ("status", args[0], 3)) command_status (db, positionals); in main()
[all …]
H A Dhelp.cpp38 if (closeEnough ("init", args[1], 3)) in command_help()
52 else if (closeEnough ("config", args[1], 3)) in command_help()
79 else if (closeEnough ("server", args[1], 3)) in command_help()
99 else if (closeEnough ("status", args[1], 3)) in command_help()
119 else if (closeEnough ("client", args[1], 3)) in command_help()
134 else if (closeEnough ("add", args[1], 3)) in command_help()
150 else if (closeEnough ("remove", args[1], 3)) in command_help()
166 else if (closeEnough ("suspend", args[1], 3)) in command_help()
182 else if (closeEnough ("resume", args[1], 3)) in command_help()
198 else if (closeEnough ("diag", args[1], 3)) in command_help()
[all …]
H A Dadmin.cpp56 if (closeEnough ("org", args[1], 3)) in command_add()
78 else if (closeEnough ("group", args[1], 3)) in command_add()
103 else if (closeEnough ("user", args[1], 3)) in command_add()
152 if (closeEnough ("org", args[1], 3)) in command_remove()
174 else if (closeEnough ("group", args[1], 3)) in command_remove()
199 else if (closeEnough ("user", args[1], 3)) in command_remove()
248 if (closeEnough ("org", args[1], 3)) in command_suspend()
270 else if (closeEnough ("group", args[1], 3)) in command_suspend()
295 else if (closeEnough ("user", args[1], 3)) in command_suspend()
344 if (closeEnough ("org", args[1], 3)) in command_resume()
[all …]
/dports/deskutils/tasksh/tasksh-1.2.0/src/
H A Dmain.cpp120 else if (closeEnough ("exit", args[0], 3)) status = -1; in commandLoop()
121 else if (closeEnough ("quit", args[0], 3)) status = -1; in commandLoop()
122 else if (closeEnough ("help", args[0], 3)) status = cmdHelp (); in commandLoop()
123 else if (closeEnough ("diagnostics", args[0], 3)) status = cmdDiagnostics (); in commandLoop()
124 else if (closeEnough ("review", args[0], 3)) status = cmdReview (args, autoClear); in commandLoop()
125 else if (closeEnough ("exec", args[0], 3) || in commandLoop()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Activities/
H A DResupply.cs27 readonly WDist closeEnough; field in OpenRA.Mods.Common.Activities.Resupply
43 public Resupply(Actor self, Actor host, WDist closeEnough, bool stayOnResupplier = false) in Resupply() argument
46 this.closeEnough = closeEnough; in Resupply()
94 if (closeEnough < WDist.Zero) in Tick()
97 isCloseEnough = host.IsInRange(self.CenterPosition, closeEnough); in Tick()
99 …= (host.CenterPosition - self.CenterPosition).HorizontalLengthSquared <= closeEnough.LengthSquared; in Tick()
125 QueueChild(move.MoveWithinRange(host, closeEnough, targetLineColor: Color.Green)); in Tick()
/dports/deskutils/timewarrior/timewarrior-1.4.3/src/libshared/test/
H A Dshared.t.cpp278 t.ok (closeEnough ("foobar", "foobar"), "closeEnough foobar == foobar"); in main()
279 t.ok (closeEnough ("foobar", "foobar", 0), "closeEnough foobar == foobar,0"); in main()
280 t.ok (closeEnough ("foobar", "foobar", 1), "closeEnough foobar == foobar,1"); in main()
281 t.ok (closeEnough ("foobar", "foobar", 2), "closeEnough foobar == foobar,2"); in main()
282 t.ok (closeEnough ("foobar", "foobar", 3), "closeEnough foobar == foobar,3"); in main()
283 t.ok (closeEnough ("foobar", "foobar", 4), "closeEnough foobar == foobar,4"); in main()
284 t.ok (closeEnough ("foobar", "foobar", 5), "closeEnough foobar == foobar,5"); in main()
285 t.ok (closeEnough ("foobar", "foobar", 6), "closeEnough foobar == foobar,6"); in main()
286 t.ok (closeEnough ("foobar", "foo", 3), "closeEnough foobar == foo,3"); in main()
/dports/deskutils/taskwarrior/taskwarrior-2.6.1/src/libshared/test/
H A Dshared.t.cpp278 t.ok (closeEnough ("foobar", "foobar"), "closeEnough foobar == foobar"); in main()
279 t.ok (closeEnough ("foobar", "foobar", 0), "closeEnough foobar == foobar,0"); in main()
280 t.ok (closeEnough ("foobar", "foobar", 1), "closeEnough foobar == foobar,1"); in main()
281 t.ok (closeEnough ("foobar", "foobar", 2), "closeEnough foobar == foobar,2"); in main()
282 t.ok (closeEnough ("foobar", "foobar", 3), "closeEnough foobar == foobar,3"); in main()
283 t.ok (closeEnough ("foobar", "foobar", 4), "closeEnough foobar == foobar,4"); in main()
284 t.ok (closeEnough ("foobar", "foobar", 5), "closeEnough foobar == foobar,5"); in main()
285 t.ok (closeEnough ("foobar", "foobar", 6), "closeEnough foobar == foobar,6"); in main()
286 t.ok (closeEnough ("foobar", "foo", 3), "closeEnough foobar == foo,3"); in main()
/dports/graphics/scantailor/scantailor-advanced-1.0.16/filters/output/
H A DOutputImageParams.cpp243 …return closeEnough(m_11, other.m_11) && closeEnough(m_12, other.m_12) && closeEnough(m_21, other.m… in matches()
244 && closeEnough(m_22, other.m_22); in matches()
247 bool OutputImageParams::PartialXform::closeEnough(double v1, double v2) { in closeEnough() function in output::OutputImageParams::PartialXform
/dports/lang/gcc48/gcc-4.8.5/libgo/go/math/rand/
H A Drand_test.go21 closeEnough float64 member
32 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
34 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
45 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
46 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
51 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgo/go/math/rand/
H A Drand_test.go21 closeEnough float64 member
32 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
34 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
45 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
46 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
51 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
/dports/devel/mingw32-gcc/gcc-4.8.1/libgo/go/math/rand/
H A Drand_test.go21 closeEnough float64 member
32 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
34 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
45 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
46 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
51 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/math/rand/
H A Drand_test.go23 closeEnough float64 member
34 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
36 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
47 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
48 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
53 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Scripting/Properties/
H A DMobileProperties.cs33 public void Move(CPos cell, int closeEnough = 0) in Move() argument
35 Self.QueueActivity(new Move(Self, cell, WDist.FromCells(closeEnough))); in Move()
/dports/lang/gcc12-devel/gcc-12-20211205/libgo/go/math/rand/
H A Drand_test.go31 closeEnough float64 member
42 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
44 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
55 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
56 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
60 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
61 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
555 expected.closeEnough = 0.10 * errorScale
/dports/lang/gcc8/gcc-8.5.0/libgo/go/math/rand/
H A Drand_test.go27 closeEnough float64 member
38 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
40 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
51 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
52 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
56 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
57 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
551 expected.closeEnough = 0.10 * errorScale
/dports/lang/gcc10/gcc-10.3.0/libgo/go/math/rand/
H A Drand_test.go27 closeEnough float64 member
38 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
40 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
51 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
52 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
56 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
57 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
551 expected.closeEnough = 0.10 * errorScale
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/math/rand/
H A Drand_test.go27 closeEnough float64 member
38 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
40 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
51 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
52 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
56 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
57 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
551 expected.closeEnough = 0.10 * errorScale
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/math/rand/
H A Drand_test.go31 closeEnough float64 member
42 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
44 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
55 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
56 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
60 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
61 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
555 expected.closeEnough = 0.10 * errorScale
/dports/lang/gcc11-devel/gcc-11-20211009/libgo/go/math/rand/
H A Drand_test.go27 closeEnough float64 member
38 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
40 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
51 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
52 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
56 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
57 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
551 expected.closeEnough = 0.10 * errorScale
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libgo/go/math/rand/
H A Drand_test.go27 closeEnough float64 member
38 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
40 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
51 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
52 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
56 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
57 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
551 expected.closeEnough = 0.10 * errorScale
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgo/go/math/rand/
H A Drand_test.go27 closeEnough float64 member
38 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
40 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
51 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
52 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
56 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
57 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
551 expected.closeEnough = 0.10 * errorScale
/dports/lang/gcc9-devel/gcc-9-20211007/libgo/go/math/rand/
H A Drand_test.go27 closeEnough float64 member
38 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
40 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
51 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
52 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
56 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
57 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
551 expected.closeEnough = 0.10 * errorScale
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libgo/go/math/rand/
H A Drand_test.go27 closeEnough float64 member
38 func nearEqual(a, b, closeEnough, maxError float64) bool { argument
40 if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
51 if !nearEqual(this.mean, expected.mean, expected.closeEnough, expected.maxError) {
52 …n %v != %v (allowed error %v, %v)", this.mean, expected.mean, expected.closeEnough, expected.maxEr…
56 if !nearEqual(this.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
57 … != %v (allowed error %v, %v)", this.stddev, expected.stddev, expected.closeEnough, expected.maxEr…
551 expected.closeEnough = 0.10 * errorScale

123456