Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 243) sorted by relevance

12345678910

/netbsd-src/external/mit/isl/dist/
H A Dpolytope_scan.c28 struct isl_mat *samples; member
36 ss->samples = isl_mat_extend(ss->samples, ss->samples->n_row + 1, in scan_samples_add_sample()
37 ss->samples->n_col); in scan_samples_add_sample()
38 if (!ss->samples) in scan_samples_add_sample()
41 isl_seq_cpy(ss->samples->row[ss->samples->n_row - 1], in scan_samples_add_sample()
63 ss.samples = isl_mat_alloc(ctx, 0, 1 + dim); in isl_basic_set_scan_samples()
64 if (!ss.samples) in isl_basic_set_scan_samples()
68 isl_mat_free(ss.samples); in isl_basic_set_scan_samples()
72 return ss.samples; in isl_basic_set_scan_samples()
81 struct isl_mat *samples; in isl_basic_set_samples() local
[all …]
/netbsd-src/external/bsd/tre/dist/tests/
H A Dbench.c65 stats(double *sample_data, int samples, int len) in stats() argument
71 for (i = 0; i < samples; i++) in stats()
77 for (i = 0; i < samples; i++) { in stats()
81 if (samples > 1) in stats()
82 variance = tmp1 / (samples-1); in stats()
89 error = t_distribution[samples-1] * stddev / sqrt(samples); in stats()
102 run_tests(int len, int samples, double *sample_data, int repeats, in run_tests() argument
112 for (i = 0; i < samples; i++) { in run_tests()
147 int samples = 20; in main() local
167 samples = atoi(optarg); in main()
[all …]
/netbsd-src/usr.sbin/tpctl/
H A Dmain.c282 coords->samples[0].x = fb.conf.hf_width/2; in do_calibration()
283 coords->samples[0].y = fb.conf.hf_height/2; in do_calibration()
286 coords->samples[1].x = xm; in do_calibration()
287 coords->samples[1].y = ym; in do_calibration()
290 coords->samples[2].x = xm; in do_calibration()
291 coords->samples[2].y = fb.conf.hf_height - ym; in do_calibration()
294 coords->samples[3].x = fb.conf.hf_width - xm; in do_calibration()
295 coords->samples[3].y = fb.conf.hf_height - ym; in do_calibration()
298 coords->samples[4].x = fb.conf.hf_width - xm; in do_calibration()
299 coords->samples[4].y = ym; in do_calibration()
[all …]
H A Ddata.c221 elem->calibcoords.samples[i / 4].rawx = t; in read_data()
224 elem->calibcoords.samples[i / 4].rawy = t; in read_data()
227 elem->calibcoords.samples[i / 4].x = t; in read_data()
230 elem->calibcoords.samples[i / 4].y = t; in read_data()
328 coords->samples[i].rawx, in write_coords()
329 coords->samples[i].rawy, in write_coords()
330 coords->samples[i].x, in write_coords()
331 coords->samples[i].y); in write_coords()
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dmagic14 # some samples start with a comment line
16 # many samples start with separator line
19 # few samples with 1st comment line and without seperator comment line
25 # few samples with 1st comment line and without seperator comment line and string value like:
30 # few samples with 1st comment line and without seperator comment line and short value like:
34 # but many samples start with an empty first line
36 # many samples sttart with separator comment line
39 # few samples with 1st empty line and without seperator comment line like: biosig espressif
50 # some (34/339) samples start comment line
54 # but most (305/339) samples start with an empty first line
/netbsd-src/sbin/wsconsctl/
H A Dmouse.c167 char *samples; in mouse_get_calibration() local
196 samples = malloc(tmp.samplelen * sizeof(buf)); in mouse_get_calibration()
197 if (samples == NULL) in mouse_get_calibration()
200 samples[0] = '\0'; in mouse_get_calibration()
204 tmp.samples[i].rawx, in mouse_get_calibration()
205 tmp.samples[i].rawy, in mouse_get_calibration()
206 tmp.samples[i].x, in mouse_get_calibration()
207 tmp.samples[i].y); in mouse_get_calibration()
208 strcat(samples, buf); in mouse_get_calibration()
210 calibration_samples = samples; in mouse_get_calibration()
[all …]
/netbsd-src/usr.sbin/bta2dpd/bta2dpd/
H A Dsbc_encode.c53 static void calc_scalefactors(int32_t samples[16][2][8]);
97 uint8_t samples[256]; member
103 uint8_t samples[256]; member
109 uint8_t samples[256]; member
216 calc_scalefactors(int32_t samples[16][2][8]) in calc_scalefactors()
226 ax = abs((int32_t)samples[block][ch][sb]); in calc_scalefactors()
486 sbc_encode(int16_t *input, int32_t *samples) in sbc_encode() argument
578 samples[numsamples++] = audioout; in sbc_encode()
586 sbc_decode(int32_t *samples, int16_t *pcm) in sbc_decode() argument
610 audioout = ((((samples[numsamples] in sbc_decode()
[all …]
/netbsd-src/sys/dev/wscons/
H A Dtpcalib.c106 if (mra_Y_AX1_BX2_C(&d->samples[0].x, s, in tpcalib_ioctl()
107 &d->samples[0].rawx, s, in tpcalib_ioctl()
108 &d->samples[0].rawy, s, in tpcalib_ioctl()
111 mra_Y_AX1_BX2_C(&d->samples[0].y, s, in tpcalib_ioctl()
112 &d->samples[0].rawx, s, in tpcalib_ioctl()
113 &d->samples[0].rawy, s, in tpcalib_ioctl()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
H A Damdgpu_dce_audio.c142 uint32_t samples; in check_audio_bandwidth_hdmi() local
186 samples = h_blank * 10; in check_audio_bandwidth_hdmi()
190 samples /= 32; in check_audio_bandwidth_hdmi()
191 samples *= crtc_info->v_active; in check_audio_bandwidth_hdmi()
193 samples *= crtc_info->refresh_rate; in check_audio_bandwidth_hdmi()
195 samples /= 10; in check_audio_bandwidth_hdmi()
206 samples *= 4; in check_audio_bandwidth_hdmi()
209 samples *= 5; in check_audio_bandwidth_hdmi()
212 samples *= 6; in check_audio_bandwidth_hdmi()
215 samples *= 4; in check_audio_bandwidth_hdmi()
[all …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Diopending_example.txt30 The iopending tool samples at 1000 Hz, and prints a distribution of how many
32 quiet - for all the samples there are zero disk events pending.
55 In the above output there was a little disk activity. For 390 samples there
56 was 1 I/O event pending; for 80 samples there was 2, and so on.
123 see many samples were off the scale - 650 samples at 32 or more pending
H A Dpriclass_example.txt60 The IA interactive class had 30 samples of a 50 to 59 priority, a fairly
65 The SYS system class has had 4959 samples at a < 0 priority - the lowest,
66 which was for the idle thread. There are a few samples at higher
70 The RT real time class had 110 samples in the 100 to 109 priority range.
81 with I/O bound processes. The result is more samples in the lower priority
H A Dpridist_example.txt49 where it is sampled 20 times. pridist.d samples 1000 times per second,
59 ... ok, so when I say 20 samples equates 20 ms, we know that's only an
60 estimate. It really means that for 20 samples that process was the one on
61 the CPU. In between the samples anything may have occured (I/O bound
63 to measure this based on schedular events not samples (eg, cpudist),
H A Dhotuser_example.txt17 is delta(), which was sampled 1552 times - 50.2% of the total samples.
45 samples.
106 This shows that 352 samples found code from libgklayout.so running, which
107 was 38.6% of the samples.
H A Dsampleproc_example.txt24 setiathome was on the CPU 421 times, which is 93% of the samples.
59 around 4000 samples (checking the COUNT column), this is due to
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Diopending_example.txt30 The iopending tool samples at 1000 Hz, and prints a distribution of how many
32 quiet - for all the samples there are zero disk events pending.
55 In the above output there was a little disk activity. For 390 samples there
56 was 1 I/O event pending; for 80 samples there was 2, and so on.
123 see many samples were off the scale - 650 samples at 32 or more pending
H A Dpriclass_example.txt60 The IA interactive class had 30 samples of a 50 to 59 priority, a fairly
65 The SYS system class has had 4959 samples at a < 0 priority - the lowest,
66 which was for the idle thread. There are a few samples at higher
70 The RT real time class had 110 samples in the 100 to 109 priority range.
81 with I/O bound processes. The result is more samples in the lower priority
H A Dpridist_example.txt49 where it is sampled 20 times. pridist.d samples 1000 times per second,
59 ... ok, so when I say 20 samples equates 20 ms, we know that's only an
60 estimate. It really means that for 20 samples that process was the one on
61 the CPU. In between the samples anything may have occured (I/O bound
63 to measure this based on schedular events not samples (eg, cpudist),
H A Dhotuser_example.txt17 is delta(), which was sampled 1552 times - 50.2% of the total samples.
45 samples.
106 This shows that 352 samples found code from libgklayout.so running, which
107 was 38.6% of the samples.
/netbsd-src/external/bsd/ntp/dist/scripts/monitoring/
H A Dloopwatch.config.SAMPLE5 # samples: use only last # samples
6 samples=600
8 # srcprefix: name of file to read samples from
59 # ignore any samples before the specified date
63 # ignore any samples after the specified date
66 # the value specified for samples is ignored
H A DREADME57 delay: number of seconds to wait between samples
61 logfile: file to log samples to
67 Thus all samples of a month end up in the same file.
103 -P<printer> [-s<samples>]
126 samples: use last # samples from input data
127 start-time: ignore input samples before this date
128 end-time: ignore input samples after this date
130 a given samples value is ignored
/netbsd-src/external/bsd/ntp/dist/ntpd/
H A Drefclock_msfees.c1254 int samples = ees->nsamples; in ees_process() local
1256 int samplereduce = (samples + 1) / 2; in ees_process()
1263 samplelog = (samples < 2) ? 0 : in ees_process()
1264 (samples < 5) ? 1 : in ees_process()
1265 (samples < 9) ? 2 : in ees_process()
1266 (samples < 17) ? 3 : in ees_process()
1267 (samples < 33) ? 4 : 5; in ees_process()
1271 if (samples != last_samples && in ees_process()
1272 ((samples != (last_samples-1)) || samples < 3)) { in ees_process()
1274 samples, last_samples, samplereduce); in ees_process()
[all …]
/netbsd-src/regress/sys/kern/latency2/
H A Dlatency2.c55 long samples; variable
86 samples++; in reader()
149 printf("\nmin=%ldns, max=%ldns, mean=%ldns\n", min, max, sum / samples); in main()
/netbsd-src/external/bsd/ntp/dist/util/
H A Dtg.c646 int samples; /* samples remaining */ in delay() local
648 samples = delay; in delay()
650 while (samples >= BUFLNG) { in delay()
652 samples -= BUFLNG; in delay()
654 write(fd, buffer, samples); in delay()
/netbsd-src/external/cddl/dtracetoolkit/dist/
H A Ddexplorer69 samples=20 # max number of tests
156 (( total = interval * samples ))
181 (( percent = current * 100 / samples ))
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A Ddexplorer69 samples=20 # max number of tests
156 (( total = interval * samples ))
181 (( percent = current * 100 / samples ))

12345678910