Searched refs:threshold (Results 1 - 25 of 42) sorted by relevance

12

/openbsd-current/gnu/llvm/llvm/utils/filecheck_lint/
H A Dfilecheck_lint.py182 threshold: int = 3,
189 threshold: the (inclusive) maximum edit distance between a potential
204 [(threshold + 1, typo)] + [(levenshtein(typo, d), d)
206 if abs(len(d) - len(typo)) <= threshold],
222 # threshold, in order to avoid potentially long computation times.
223 if len(potential_directive) > max(map(len, all_directives)) + threshold:
229 elif score <= threshold and best_match not in _ignore:
245 threshold=_distance_threshold,
/openbsd-current/lib/librthread/
H A Drthread_barrier.c54 b->threshold = count;
116 _rthread_debug(6, "in: %d, threshold: %d\n", b->in, b->threshold);
117 if (++b->in == b->threshold) {
124 _rthread_debug(6, "threshold reached\n");
H A Drthread.h62 int threshold; member in struct:pthread_barrier
/openbsd-current/usr.sbin/mrouted/
H A Drsrr.h101 * The threshold indicates the ttl an outgoing packet needs in order to
110 u_char threshold; /* vif threshold ttl */ member in struct:rsrr_vif
H A Drsrr.c227 vif_list[vifi].threshold = v->uv_threshold;
/openbsd-current/gnu/usr.bin/binutils/gdb/tui/
H A Dtui-source.c90 int offset, cur_line_no, cur_line, cur_len, threshold; local
102 /* Determine the threshold for the length of the line
105 threshold = (line_width - 1) + offset;
112 (threshold + 1) * sizeof (char));
154 (c != '\r') && (++i < threshold))
179 i < threshold);
197 i < threshold && (c = fgetc (stream)));
H A Dtui-winsource.c607 int i, threshold; local
610 threshold = SCROLL_THRESHOLD;
612 threshold = 0;
614 while (i < win_info->generic.content_size - threshold && !is_displayed)
633 int i, threshold; local
636 threshold = SCROLL_THRESHOLD;
638 threshold = 0;
640 while (i < win_info->generic.content_size - threshold && !is_displayed)
/openbsd-current/usr.sbin/map-mbone/
H A Dmapper.c58 u_char threshold; /* TTL threshold to forward */ member in struct:neighbor
307 u_char metric, threshold, ncount; local
321 threshold = *p++;
357 || nb_i->threshold != nb_n->threshold)
360 "metric/threshold",
401 if (metric != nb->metric || threshold != nb->threshold)
404 "metric/threshold",
442 u_char metric, threshold, ncount, flags; local
[all...]
/openbsd-current/gnu/gcc/gcc/
H A Dtree-ssa-math-opts.c293 tree def, tree recip_def, int threshold)
301 && occ->num_divisions >= threshold)
340 insert_reciprocals (def_bsi, occ_child, def, recip_def, threshold);
402 int count = 0, threshold; local
417 threshold = targetm.min_divisions_for_recip_mul (TYPE_MODE (TREE_TYPE (def)));
418 if (count >= threshold)
424 insert_reciprocals (def_bsi, occ, def, NULL, threshold);
292 insert_reciprocals(block_stmt_iterator *def_bsi, struct occurrence *occ, tree def, tree recip_def, int threshold) argument
/openbsd-current/sbin/atactl/
H A Datasmart.h35 #define ATA_SMART_THRESHOLD 0xd1 /* SMART read threshold */
93 /* threshold entry */
94 struct threshold { struct
103 struct threshold threshold[30]; member in struct:smart_threshold
/openbsd-current/sys/dev/usb/
H A Dutpms.c78 * below a threshold. The raw finger position is computed as a
146 * threshold: Accumulated changes less than this are ignored. A good
170 int threshold; /* Changes less than this are ignored. */ member in struct:utpms_dev
186 .threshold = 5, \
315 sc->sc_threshold = pd->threshold;
626 detect_pos(int *sensors, int n_sensors, int threshold, int fact, argument
638 if (sensors[i] >= threshold) {
639 if (i == 0 || sensors[i - 1] < threshold)
641 s += sensors[i] - threshold;
642 w += (sensors[i] - threshold) *
[all...]
H A Dif_mue.c323 uint32_t flow, threshold; local
364 threshold = 0;
372 threshold = 0x820;
374 threshold =
383 MUE_FCT_FLOW : MUE_7800_FCT_FLOW, threshold);
/openbsd-current/gnu/llvm/llvm/bindings/ocaml/transforms/scalar_opts/
H A Dscalar_opts_ocaml.c179 value llvm_add_scalar_repl_aggregates_with_threshold(value threshold, argument
181 LLVMAddScalarReplAggregatesPassWithThreshold(PM, Int_val(threshold));
/openbsd-current/sys/dev/pci/drm/i915/gt/
H A Dintel_rps.h41 int intel_rps_set_up_threshold(struct intel_rps *rps, u8 threshold);
43 int intel_rps_set_down_threshold(struct intel_rps *rps, u8 threshold);
/openbsd-current/sys/dev/pci/drm/include/drm/
H A Dgpu_scheduler.h381 int threshold)
383 return s_job && atomic_inc_return(&s_job->karma) > threshold;
380 drm_sched_invalidate_job(struct drm_sched_job *s_job, int threshold) argument
/openbsd-current/sys/arch/riscv64/dev/
H A Dplic.c217 * enable, threshold, and claim bits by "context"
502 * After set the new threshold, if there is any pending
504 * threshold, they will get passed through plic to cpu,
671 /* update threshold for 'cpu' */
673 plic_set_threshold(int cpu, uint32_t threshold) argument
678 if (threshold < 4) // enable everything (as far as plic is concerned)
680 else if (threshold >= 12) // invalid priority level ?
681 prival = IPL_HIGH - 4; // XXX Device-specific high threshold
683 prival = threshold - 4; // XXX Device-specific threshold offse
[all...]
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Dnavi10_ih.c93 * @threshold: threshold to trigger the wptr reporting
97 * threshold input range: 0 ~ 15, default 0,
98 * real_threshold = 2^threshold
106 u32 threshold, u32 timeout, bool enabled)
121 RB_USED_INT_THRESHOLD, threshold);
132 RB_USED_INT_THRESHOLD, threshold);
105 force_update_wptr_for_self_int(struct amdgpu_device *adev, u32 threshold, u32 timeout, bool enabled) argument
H A Dih_v6_0.c81 * @threshold: threshold to trigger the wptr reporting
85 * threshold input range: 0 ~ 15, default 0,
86 * real_threshold = 2^threshold
94 u32 threshold, u32 timeout, bool enabled)
106 RB_USED_INT_THRESHOLD, threshold);
93 force_update_wptr_for_self_int(struct amdgpu_device *adev, u32 threshold, u32 timeout, bool enabled) argument
H A Dih_v6_1.c81 * @threshold: threshold to trigger the wptr reporting
85 * threshold input range: 0 ~ 15, default 0,
86 * real_threshold = 2^threshold
94 u32 threshold, u32 timeout, bool enabled)
106 RB_USED_INT_THRESHOLD, threshold);
93 force_update_wptr_for_self_int(struct amdgpu_device *adev, u32 threshold, u32 timeout, bool enabled) argument
/openbsd-current/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_linux.cpp517 uptr threshold = common_flags()->clear_shadow_mmap_threshold; local
519 UNLIKELY(page_end >= page_start + threshold && tag == 0)) {
/openbsd-current/sys/dev/pci/
H A Dmaestro.c413 u_int16_t threshold; member in struct:maestro_channel
1073 sc->record.threshold = sc->record.start;
1187 sc->play.threshold = sc->play.start;
1400 if (pos >= ch->threshold &&
1401 pos < ch->threshold + ch->blocksize/2)
1403 ch->threshold += ch->blocksize/2;
1404 if (ch->threshold >= ch->end)
1405 ch->threshold = ch->start;
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dpredict.c1106 expensive_function_p (threshold)
1107 int threshold;
1115 if (threshold > BB_FREQ_MAX)
1125 limit = ENTRY_BLOCK_PTR->frequency * threshold;
/openbsd-current/sys/net/
H A Drtable.c505 int threshold, npaths = 0; local
516 threshold = (0xffff / npaths) + 1;
529 while (hash > threshold && mrt != NULL) {
531 hash -= threshold;
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_hotplug.c65 * of interrupts exceeds a certain threshold, the interrupt is disabled for a
127 * @HPD_STORM_DEFAULT_THRESHOLD. Long IRQs count as +10 to this threshold, and
128 * short IRQs count as +1. If this threshold is exceeded, it's considered an
139 * The HPD threshold can be controlled through i915_hpd_storm_ctl in debugfs,
151 const int threshold = hpd->hpd_storm_threshold; local
154 if (!threshold ||
164 if (hpd->stats[pin].count > threshold) {
858 "Setting HPD storm detection threshold to %d\n",
/openbsd-current/gnu/usr.bin/perl/cpan/CPAN/lib/App/
H A DCpan.pm1526 my $threshold = (
1532 my $guesses = _guess_at_module_name( $module, $threshold );
1592 my( $target, $threshold ) = @_;
1601 $threshold ||= $try->[2];
1604 $_threshold ||= $threshold;

Completed in 507 milliseconds

12