Home
last modified time | relevance | path

Searched refs:initial (Results 1 – 25 of 2088) sorted by relevance

12345678910>>...84

/external/rust/crates/ring/tests/
Dconstant_time_tests.rs28 let initial: [u8; 256] = rand::generate(&rand::SystemRandom::new()).unwrap().expose(); in test_verify_slices_are_equal() localVariable
31 let copy = initial; in test_verify_slices_are_equal()
35 constant_time::verify_slices_are_equal(&initial, &copy[..len]), in test_verify_slices_are_equal()
40 constant_time::verify_slices_are_equal(&initial[..len], &copy[..len]), in test_verify_slices_are_equal()
46 constant_time::verify_slices_are_equal(&initial, &copy), in test_verify_slices_are_equal()
51 for i in 0..initial.len() { in test_verify_slices_are_equal()
53 let mut copy = initial; in test_verify_slices_are_equal()
56 for len in 0..=initial.len() { in test_verify_slices_are_equal()
58 assert_ne!(&initial[..], &copy[..]); in test_verify_slices_are_equal()
60 let a = &initial[..len]; in test_verify_slices_are_equal()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DLaguerreSolver.java99 public double solve(final double min, final double max, final double initial) in solve() argument
101 return solve(p, min, max, initial); in solve()
122 final double min, final double max, final double initial) in solve() argument
125 return solve(f, min, max, initial); in solve()
146 final double min, final double max, final double initial) in solve() argument
156 if (f.value(initial) == 0.0) { in solve()
157 return initial; in solve()
161 verifySequence(min, initial, max); in solve()
162 if (isBracketing(min, initial, f)) { in solve()
163 return solve(f, min, initial); in solve()
[all …]
DRiddersSolver.java72 public double solve(final double min, final double max, final double initial) in solve() argument
74 return solve(f, min, max, initial); in solve()
94 final double min, final double max, final double initial) in solve() argument
97 return solve(f, min, max, initial); in solve()
117 final double min, final double max, final double initial) in solve() argument
123 if (f.value(initial) == 0.0) { return initial; } in solve()
126 verifySequence(min, initial, max); in solve()
127 if (isBracketing(min, initial, f)) { in solve()
128 return solve(f, min, initial); in solve()
130 return solve(f, initial, max); in solve()
DUnivariateRealSolverUtils.java126 double initial, double lowerBound, double upperBound) in bracket() argument
128 return bracket( function, initial, lowerBound, upperBound, in bracket()
166 double initial, double lowerBound, double upperBound, in bracket() argument
177 if (initial < lowerBound || initial > upperBound || lowerBound >= upperBound) { in bracket()
180 lowerBound, initial, upperBound); in bracket()
182 double a = initial; in bracket()
183 double b = initial; in bracket()
201 numIterations, maximumIterations, initial, in bracket()
DBrentSolver.java104 public double solve(double min, double max, double initial) in solve() argument
106 return solve(f, min, max, initial); in solve()
130 final double min, final double max, final double initial) in solve() argument
134 if ((initial < min) || (initial > max)) { in solve()
137 min, initial, max); in solve()
141 double yInitial = f.value(initial); in solve()
143 setResult(initial, 0); in solve()
156 return solve(f, min, yMin, initial, yInitial, min, yMin); in solve()
168 return solve(f, initial, yInitial, max, yMax, initial, yInitial); in solve()
197 final double min, final double max, final double initial) in solve() argument
[all …]
DMullerSolver.java73 public double solve(final double min, final double max, final double initial) in solve() argument
75 return solve(f, min, max, initial); in solve()
96 final double min, final double max, final double initial) in solve() argument
99 return solve(f, min, max, initial); in solve()
120 final double min, final double max, final double initial) in solve() argument
126 if (f.value(initial) == 0.0) { return initial; } in solve()
129 verifySequence(min, initial, max); in solve()
130 if (isBracketing(min, initial, f)) { in solve()
131 return solve(f, min, initial); in solve()
133 return solve(f, initial, max); in solve()
/external/rust/crates/tokio/src/
Dcoop.rs54 const fn initial() -> Budget { in initial() method
76 with_budget(Budget::initial(), f) in budget()
232 assert_eq!(get().0, Budget::initial().0); in bugeting()
235 assert_eq!(get().0.unwrap(), Budget::initial().0.unwrap() - 1); in bugeting()
238 assert_eq!(get().0, Budget::initial().0); in bugeting()
241 assert_eq!(get().0.unwrap(), Budget::initial().0.unwrap() - 1); in bugeting()
245 assert_eq!(get().0.unwrap(), Budget::initial().0.unwrap() - 1); in bugeting()
248 assert_eq!(get().0.unwrap(), Budget::initial().0.unwrap() - 2); in bugeting()
251 assert_eq!(get().0.unwrap(), Budget::initial().0.unwrap() - 2); in bugeting()
254 assert_eq!(get().0, Budget::initial().0); in bugeting()
[all …]
/external/llvm-project/clang/test/CodeGen/aarch64-sve-intrinsics/
Dacle_sve_adda.c18 float16_t test_svadda_f16(svbool_t pg, float16_t initial, svfloat16_t op) in test_svadda_f16() argument
24 return SVE_ACLE_FUNC(svadda,_f16,,)(pg, initial, op); in test_svadda_f16()
27 float32_t test_svadda_f32(svbool_t pg, float32_t initial, svfloat32_t op) in test_svadda_f32() argument
33 return SVE_ACLE_FUNC(svadda,_f32,,)(pg, initial, op); in test_svadda_f32()
36 float64_t test_svadda_f64(svbool_t pg, float64_t initial, svfloat64_t op) in test_svadda_f64() argument
42 return SVE_ACLE_FUNC(svadda,_f64,,)(pg, initial, op); in test_svadda_f64()
/external/icu/icu4c/source/data/rbnf/
Dhu.txt38 "200: <%%spellout-cardinal-initial<\u00ADsz\u00E1z[\u00AD>>];",
40 "2000: <%%spellout-cardinal-initial<\u00ADezer[\u00AD>>];",
41 "1000000: <%%spellout-cardinal-initial<\u00ADmilli\u00F3[\u00AD>>];",
42 "1000000000: <%%spellout-cardinal-initial<\u00ADmilli\u00E1rd[\u00AD>>];",
43 "1000000000000: <%%spellout-cardinal-initial<\u00ADbilli\u00F3[\u00AD>>];",
44 "1000000000000000: <%%spellout-cardinal-initial<\u00ADbilli\u00E1rd[\u00AD>>];",
57 "%%spellout-cardinal-initial:",
97 "200: <%%spellout-cardinal-initial<sz\u00E1z>%%spellout-ordinal-adik>;",
100 "2000: <%%spellout-cardinal-initial<\u00ADezr>>;",
101 "2001: <%%spellout-cardinal-initial<\u00ADezer\u00AD>>;",
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
DStaticSymmetry.h143 static inline RV run(const std::array<Index, NumIndices>& idx, RV initial, Args&&... args)
147initial = Op::run(tensor_static_symgroup_index_permute(idx, typename first::indices(), remaining_i…
148 …_do_apply<internal::type_list<next...>>::template run<Op, RV, SGNumIndices>(idx, initial, args...);
152 static inline RV run(const std::vector<Index>& idx, RV initial, Args&&... args)
155initial = Op::run(tensor_static_symgroup_index_permute(idx, typename first::indices()), first::fla…
156 …_do_apply<internal::type_list<next...>>::template run<Op, RV, SGNumIndices>(idx, initial, args...);
164 static inline RV run(const std::array<Index, NumIndices>&, RV initial, Args&&...)
167 return initial;
171 static inline RV run(const std::vector<Index>&, RV initial, Args&&...)
174 return initial;
[all …]
/external/cpuinfo/test/dmesg/
Dgalaxy-a3-2016-eu.log148 <3>[ 2.129824] [1: swapper/0: 1] [SENSOR] taos_get_initial_offset: initial offset = 0
440 <3>[ 2.325188] [0: swapper/0: 1] Warning: unable to open an initial console.
441 <6>[ 2.325212] [0: swapper/0: 1] gpio initial-state: gpa0-0 IN/PD/L
442 <6>[ 2.325223] [0: swapper/0: 1] gpio initial-state: gpa0-1 INT/NP/H
443 <6>[ 2.325232] [0: swapper/0: 1] gpio initial-state: gpa0-2 INT/PU/H
444 <6>[ 2.325242] [0: swapper/0: 1] gpio initial-state: gpa0-3 INT/NP/H
445 <6>[ 2.325251] [0: swapper/0: 1] gpio initial-state: gpa0-4 INT/PU/H
446 <6>[ 2.325260] [0: swapper/0: 1] gpio initial-state: gpa0-5 INT/NP/H
447 <6>[ 2.325270] [0: swapper/0: 1] gpio initial-state: gpa0-6 IN/PD/H
448 <6>[ 2.325279] [0: swapper/0: 1] gpio initial-state: gpa0-7 INT/NP/H
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/sources/
Drx-timer.hpp62 timer_initial_type initial; member
65 : initial(t, std::move(cn)) in timer()
69 : initial(rxsc::scheduler::clock_type::time_point(), std::move(cn)) in timer()
71 initial.when = initial.coordination.now() + p; in timer()
78 auto coordinator = initial.coordination.create_coordinator(o.get_subscription()); in on_subscribe()
94 controller.schedule(initial.when, selectedProducer.get()); in on_subscribe()
Drx-interval.hpp55 : initial(i) in interval_initial_type()
60 rxsc::scheduler::clock_type::time_point initial; member
64 interval_initial_type initial; member
67 : initial(i, p, std::move(cn)) in interval()
75 auto coordinator = initial.coordination.create_coordinator(o.get_subscription()); in on_subscribe()
93 controller.schedule_periodically(initial.initial, initial.period, selectedProducer.get()); in on_subscribe()
/external/tcpdump/tests/
Dhsrp_1.out8 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
18 IP 192.168.0.10.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
20 IP 192.168.0.10.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
21 IP 192.168.0.10.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=3 [|hsrp]
23 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
24 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
25 IP 192.168.0.10.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=3 [|hsrp]
48 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
49 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
/external/kotlinx.coroutines/stdlib-stubs/src/
DCoroutineContext.kt9 public fun <R> fold(initial: R, operation: (R, Element) -> R): R in get()
20 public override fun <R> fold(initial: R, operation: (R, Element) -> R): R = in get()
21 operation(initial, this) in get()
33 …public override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R = initi…
/external/pigweed/pw_checksum/
Ddocs.rst15 The default initial value for the CRC16.
20 default initial value of :cpp:expr:`0xFFFF`.
22 To incrementally calculate a CRC16, use the previous value as the initial
36 The initial value for the CRC32.
40 Calculates the initial / one-time CRC32 of the provided data using polynomial
41 0x4C11DB7, with an initial value of :cpp:expr:`0xFFFFFFFF`.
/external/kotlinx.atomicfu/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt10 public actual fun <T> atomic(initial: T): AtomicRef<T> = AtomicRef<T>(initial) in atomic()
13 public actual fun atomic(initial: Int): AtomicInt = AtomicInt(initial) in atomic()
16 public actual fun atomic(initial: Long): AtomicLong = AtomicLong(initial) in atomic()
19 public actual fun atomic(initial: Boolean): AtomicBoolean = AtomicBoolean(initial) in atomic()
/external/eigen/bench/btl/generic_bench/timers/
DSTL_timer.hh39 initial = time(0); in start()
52 if (initial < final) { in check()
54 initial = final; in check()
70 time_t initial, final; member in STL_Timer
Dx86_timer.hh86 time_t initial, final; in find_frequency() local
89 initial = time(0); in find_frequency()
94 while(time(0)==initial); in find_frequency()
96 initial = time(0); in find_frequency()
101 while(time(0)==initial); in find_frequency()
106 _frequency=_frequency*get_elapsed_time_in_second()/double(final-initial); in find_frequency()
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt15 public actual fun <T> atomic(initial: T): AtomicRef<T> = AtomicRef<T>(KAtomicRef(initial)) in atomic()
16 public actual fun atomic(initial: Int): AtomicInt = AtomicInt(KAtomicInt(initial)) in atomic()
17 public actual fun atomic(initial: Long): AtomicLong = AtomicLong(KAtomicLong(initial)) in atomic()
18 public actual fun atomic(initial: Boolean): AtomicBoolean = AtomicBoolean(KAtomicInt(if (initial) 1… in atomic()
/external/perfetto/src/base/
Dsubprocess_unittest.cc364 Subprocess initial({"ping", "127.0.0.1", "-n", "100"}); in TEST() local
366 Subprocess initial = Subprocess({"sleep", "10000"}); in TEST()
368 initial.args.stdout_mode = Subprocess::kDevNull; in TEST()
369 initial.Start(); in TEST()
370 Subprocess moved(std::move(initial)); in TEST()
372 EXPECT_EQ(initial.Poll(), Subprocess::kNotStarted); in TEST()
376 initial = Subprocess({"cmd", "/c", "echo|set /p ignored_var=hello"}); in TEST()
378 initial = Subprocess({"echo", "-n", "hello"}); in TEST()
380 initial.args.stdout_mode = Subprocess::OutputMode::kBuffer; in TEST()
381 initial.Start(); in TEST()
[all …]
/external/abseil-cpp/absl/algorithm/
Dcontainer_test.cc553 const std::vector<int> initial = {1, 2, 3, 4, 5}; in TEST() local
555 auto ends = absl::c_partition_copy(initial, back_inserter(odds), in TEST()
564 const std::vector<int> initial = {1, 3, 5, 2, 4}; in TEST() local
565 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
570 const std::vector<int> initial = {4, -1, -2, -3, 5}; in TEST() local
574 std::list<int> test_list(initial.begin(), initial.end()); in TEST()
578 std::vector<int> test_vector = initial; in TEST()
584 const std::list<int> initial = {4, 5}; in TEST() local
588 std::list<int> test_list = initial; in TEST()
594 const std::vector<int> initial = {4, 5}; in TEST() local
[all …]
/external/webrtc/third_party/abseil-cpp/absl/algorithm/
Dcontainer_test.cc553 const std::vector<int> initial = {1, 2, 3, 4, 5}; in TEST() local
555 auto ends = absl::c_partition_copy(initial, back_inserter(odds), in TEST()
564 const std::vector<int> initial = {1, 3, 5, 2, 4}; in TEST() local
565 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
570 const std::vector<int> initial = {4, -1, -2, -3, 5}; in TEST() local
574 std::list<int> test_list(initial.begin(), initial.end()); in TEST()
578 std::vector<int> test_vector = initial; in TEST()
584 const std::list<int> initial = {4, 5}; in TEST() local
588 std::list<int> test_list = initial; in TEST()
594 const std::vector<int> initial = {4, 5}; in TEST() local
[all …]
/external/skqp/include/core/
DSkTLazy.h144 explicit SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} in SkTCopyOnFirstWrite() argument
146 explicit SkTCopyOnFirstWrite(const T* initial) : fObj(initial) {} in SkTCopyOnFirstWrite() argument
167 void init(const T& initial) { in init() argument
170 fObj = &initial; in init()
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/zephyr_riscv/src/
Daccelerometer_handler.cc33 bool initial = true; variable
78 if (initial && begin_index >= 100) { in ReadAccelerometer()
79 initial = false; in ReadAccelerometer()
82 if (initial) { in ReadAccelerometer()

12345678910>>...84