| /netbsd-src/external/mit/isl/dist/ |
| H A D | polytope_scan.c | 28 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 D | bench.c | 65 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 D | main.c | 282 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 D | data.c | 221 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 D | magic | 14 # 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 D | mouse.c | 167 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 D | sbc_encode.c | 53 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 D | tpcalib.c | 106 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 D | amdgpu_dce_audio.c | 142 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 D | iopending_example.txt | 30 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 D | priclass_example.txt | 60 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 D | pridist_example.txt | 49 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 D | hotuser_example.txt | 17 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 D | sampleproc_example.txt | 24 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 D | iopending_example.txt | 30 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 D | priclass_example.txt | 60 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 D | pridist_example.txt | 49 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 D | hotuser_example.txt | 17 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 D | loopwatch.config.SAMPLE | 5 # 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 D | README | 57 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 D | refclock_msfees.c | 1254 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 D | latency2.c | 55 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 D | tg.c | 646 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 D | dexplorer | 69 samples=20 # max number of tests 156 (( total = interval * samples )) 181 (( percent = current * 100 / samples ))
|
| /netbsd-src/external/cddl/dtracetoolkit/dist/Bin/ |
| H A D | dexplorer | 69 samples=20 # max number of tests 156 (( total = interval * samples )) 181 (( percent = current * 100 / samples ))
|