Home
last modified time | relevance | path

Searched refs:diff (Results 301 - 325 of 1861) sorted by relevance

1...<<11121314151617181920>>...75

/kernel/linux/linux-5.10/tools/testing/selftests/timers/
H A Dadjtick.c72 long long diff = 0, tmp; in get_monotonic_and_raw() local
87 if (diff == 0 || newdiff < diff) { in get_monotonic_and_raw()
88 diff = newdiff; in get_monotonic_and_raw()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_veno.c33 u32 diff; /* calculate the diff rate */ member
153 veno->diff = (tp->snd_cwnd << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid()
163 if (veno->diff < beta) { in tcp_veno_cong_avoid()
200 if (veno->diff < beta) in tcp_veno_ssthresh()
H A Dtcp_htcp.c177 u32 diff = htcp_cong_time(ca); in htcp_alpha_update() local
179 if (diff > HZ) { in htcp_alpha_update()
180 diff -= HZ; in htcp_alpha_update()
181 factor = 1 + (10 * diff + ((diff / 2) * (diff / 2) / HZ)) / HZ; in htcp_alpha_update()
/kernel/linux/linux-6.6/drivers/gpu/drm/mcde/
H A Dmcde_clk_div.c54 unsigned long this_prate, div_rate, diff; in mcde_clk_div_choose_div() local
61 diff = abs(rate - div_rate); in mcde_clk_div_choose_div()
63 if (diff < best_diff) { in mcde_clk_div_choose_div()
65 best_diff = diff; in mcde_clk_div_choose_div()
/kernel/linux/linux-6.6/tools/perf/bench/
H A Dpmu-scan.c131 struct timeval start, end, diff; in run_pmu_scan() local
155 timersub(&end, &start, &diff); in run_pmu_scan()
156 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in run_pmu_scan()
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
H A Dadjtick.c72 long long diff = 0, tmp; in get_monotonic_and_raw() local
87 if (diff == 0 || newdiff < diff) { in get_monotonic_and_raw()
88 diff = newdiff; in get_monotonic_and_raw()
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_veno.c33 u32 diff; /* calculate the diff rate */ member
153 veno->diff = (tcp_snd_cwnd(tp) << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid()
163 if (veno->diff < beta) { in tcp_veno_cong_avoid()
200 if (veno->diff < beta) in tcp_veno_ssthresh()
/third_party/FreeBSD/contrib/libexecinfo/
H A Dbacktrace.c88 ptrdiff_t diff = (const char *)addr - (const char *)dli->dli_saddr; in format_string() local
103 if (diff) in format_string()
104 len = rasprintf(buf, bufsiz, o, "+0x%tx", diff); in format_string()
109 len = rasprintf(buf, bufsiz, o, "0x%tx", diff); in format_string()
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
H A Dglcpp_test.py106 valid, diff = test_output(args.glcpp, contents, testfile + '.expected')
112 for l in diff:
138 valid, diff = test_output(
146 for l in diff:
/third_party/ltp/testcases/kernel/mce-test/hwpoison/
H A Dtsoftinj.c162 unsigned diff = count2 - *count; in check() local
163 if (diff != expected) { in check()
166 diff); in check()
167 if (diff < expected) in check()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
H A Dtsoftinj.c162 unsigned diff = count2 - *count; in check() local
163 if (diff != expected) { in check()
166 diff); in check()
167 if (diff < expected) in check()
/third_party/libabigail/src/
H A Dabg-reporter-priv.h16 /// If the diff about two subjects S1 and S2 was reported earlier or
18 /// from the current diff reporting function.
20 /// @param S1 the first diff subject to take in account.
22 /// @param S2 the second diff subject to take in account.
39 /// If a given diff was reported earlier or is being reported, emit a
40 /// diagnostic message about this and return from the current diff
43 /// @param S1 the first diff subject to take in account.
45 /// @param S2 the second diff subject to take in account.
71 /// If the diff about two subjects S1 and S2 was reported earlier or
73 /// from the current diff reportin
[all...]
/third_party/rust/crates/memchr/src/memmem/
H A Dgenericsimd.rs154 let remaining = diff(end_ptr, ptr);
169 let overlap = diff(ptr, max_ptr);
258 diff(ptr, start_ptr) + chunki in matched()
263 fn diff(a: *const u8, b: *const u8) -> usize { in diff() functions
/kernel/linux/linux-5.10/include/math-emu/
H A Dop-common.h236 _FP_I_TYPE diff = X##_e - Y##_e; \
238 if (diff < 0) \
240 diff = -diff; \
241 if (diff <= _FP_WFRACBITS_##fs) \
242 _FP_FRAC_SRS_##wc(X, diff, _FP_WFRACBITS_##fs); \
249 if (diff > 0) \
251 if (diff <= _FP_WFRACBITS_##fs) \
252 _FP_FRAC_SRS_##wc(Y, diff, _FP_WFRACBITS_##fs); \
293 _FP_FRAC_CLZ_##wc(diff,
[all...]
/kernel/linux/linux-6.6/include/math-emu/
H A Dop-common.h236 _FP_I_TYPE diff = X##_e - Y##_e; \
238 if (diff < 0) \
240 diff = -diff; \
241 if (diff <= _FP_WFRACBITS_##fs) \
242 _FP_FRAC_SRS_##wc(X, diff, _FP_WFRACBITS_##fs); \
249 if (diff > 0) \
251 if (diff <= _FP_WFRACBITS_##fs) \
252 _FP_FRAC_SRS_##wc(Y, diff, _FP_WFRACBITS_##fs); \
293 _FP_FRAC_CLZ_##wc(diff,
[all...]
/third_party/python/Lib/test/
H A Ddouble_const.py23 diff = abs(x - x2)
24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger
25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect.
26 if x2 + (diff / 8.) != x2:
/third_party/python/Lib/unittest/
H A Dcase.py372 * maxDiff: sets the maximum length of a diff in failure messages
904 diff = abs(first - second)
906 if diff <= delta:
913 safe_repr(diff))
918 if round(diff, places) == 0:
925 safe_repr(diff))
943 diff = abs(first - second)
945 if not (first == second) and diff > delta:
951 safe_repr(diff))
955 if not (first == second) and round(diff, place
[all...]
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/
H A Dwfd_rtp_consumer.cpp182 std::chrono::duration<double, std::milli> diff = end - gopInterval_; in Release() local
187 diff.count(), GetSinkAgentId(), frameNums_, diff.count() / frameNums_); in Release()
311 std::chrono::duration<double, std::milli> diff = end - gopInterval_; in OnRtpUnpackCallback()
315 diff.count(), GetSinkAgentId(), frameNums_, diff.count() / frameNums_); in OnRtpUnpackCallback()
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dtime.c399 long diff; in time_init()
427 diff = cycle_freq - est_cycle_freq; in time_init()
428 if (diff < 0) in time_init()
429 diff = -diff; in time_init()
430 if ((unsigned long)diff > tolerance) { in time_init()
394 long diff; time_init() local
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dboot.h190 bool diff; in memcmp_fs() local
192 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_fs()
193 return diff; in memcmp_fs()
197 bool diff; in memcmp_gs() local
199 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_gs()
200 return diff; in memcmp_gs()
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dtime.c399 long diff; in time_init()
427 diff = cycle_freq - est_cycle_freq; in time_init()
428 if (diff < 0) in time_init()
429 diff = -diff; in time_init()
430 if ((unsigned long)diff > tolerance) { in time_init()
394 long diff; time_init() local
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dboot.h157 bool diff; in memcmp_fs() local
159 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_fs()
160 return diff; in memcmp_fs()
164 bool diff; in memcmp_gs() local
166 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_gs()
167 return diff; in memcmp_gs()
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dblacklist.c80 int diff; in pure_hex() local
82 diff = 0; in pure_hex()
85 while (diff <= max_digit) { in pure_hex()
92 diff++; in pure_hex()
95 if ((diff < min_digit) || (diff > max_digit) || (*val > max_val)) in pure_hex()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a.host.c239 int sum_r, diff; in ia_css_s3a_hmem_decode()
289 diff = sum_r - count_for_3a; in ia_css_s3a_hmem_decode()
290 out_ptr[0].r -= diff; in ia_css_s3a_hmem_decode()
291 out_ptr[0].g -= diff; in ia_css_s3a_hmem_decode()
292 out_ptr[0].b -= diff; in ia_css_s3a_hmem_decode()
293 out_ptr[0].y -= diff; in ia_css_s3a_hmem_decode()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a.host.c235 int sum_r, diff; in ia_css_s3a_hmem_decode() local
285 diff = sum_r - count_for_3a; in ia_css_s3a_hmem_decode()
286 out_ptr[0].r -= diff; in ia_css_s3a_hmem_decode()
287 out_ptr[0].g -= diff; in ia_css_s3a_hmem_decode()
288 out_ptr[0].b -= diff; in ia_css_s3a_hmem_decode()
289 out_ptr[0].y -= diff; in ia_css_s3a_hmem_decode()

Completed in 17 milliseconds

1...<<11121314151617181920>>...75