| /freebsd-13.1/contrib/libevent/sample/ |
| H A D | include.am | 1 # sample/include.am for libevent 8 sample/dns-example \ 9 sample/event-read-fifo \ 10 sample/hello-world \ 11 sample/http-server \ 12 sample/http-connect \ 13 sample/signal-test \ 14 sample/time-test 24 sample/https-client.c \ 25 sample/hostcheck.c \ [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/usr.bin/mkdep/ |
| H A D | t_mkdep.sh | 38 atf_check touch sample.c 40 atf_check mkdep -f sample.d -P some/path/ sample.c 51 atf_check touch sample.c 54 atf_check mkdep -f sample.d sample.c 55 atf_check -o ignore grep '^sample.o:' sample.d 58 atf_check mkdep -f sample.d -s '.a .b' sample.c 59 atf_check -o ignore grep '^sample.b sample.a:' sample.d 62 atf_check mkdep -f sample.d -s '' sample.c 63 atf_check -o ignore grep '^sample:' sample.d 73 atf_check touch sample.c [all …]
|
| /freebsd-13.1/sys/dev/adlink/ |
| H A D | adlink.c | 98 uint64_t *sample; member 115 uint64_t sample; member 145 *(pg->sample) = sc->sample; in adlink_intr() 158 *(pg->sample) = 0; in adlink_intr() 201 uint64_t *sample; in adlink_ioctl() local 256 pg->sample = sample; in adlink_ioctl() 257 *pg->sample = 0; in adlink_ioctl() 258 sample++; in adlink_ioctl() 276 *pg->sample = 0; in adlink_ioctl() 309 *(pg->sample) = 0; in adlink_ioctl() [all …]
|
| /freebsd-13.1/sys/dev/ow/ |
| H A D | owc_gpiobus.c | 262 bool sample; in owc_gpiobus_read_data() local 283 GETPIN(sc, &sample); in owc_gpiobus_read_data() 284 } while (now - then < (t->t_rdv + 2) * SBT_1US && sample == false); in owc_gpiobus_read_data() 324 bool sample; in owc_gpiobus_reset_and_presence() local 335 GETPIN(sc, &sample); in owc_gpiobus_reset_and_presence() 336 if (sample == false) { in owc_gpiobus_reset_and_presence() 353 GETPIN(sc, &sample); in owc_gpiobus_reset_and_presence() 354 *bit = sample; in owc_gpiobus_reset_and_presence() 365 GETPIN(sc, &sample); in owc_gpiobus_reset_and_presence() 366 if (sample == false) { in owc_gpiobus_reset_and_presence()
|
| /freebsd-13.1/contrib/apr-util/crypto/ |
| H A D | apr_passwd.c | 85 char sample[200]; in apr_password_validate() local 93 if (_crypt_blowfish_rn(passwd, hash, sample, sizeof(sample)) == NULL) in apr_password_validate() 100 apr_md5_encode(passwd, hash, sample, sizeof(sample)); in apr_password_validate() 103 apr_sha1_base64(passwd, (int)strlen(passwd), sample); in apr_password_validate() 183 return (strcmp(sample, hash) == 0) ? APR_SUCCESS : APR_EMISMATCH; in apr_password_validate()
|
| /freebsd-13.1/contrib/bearssl/samples/ |
| H A D | README.txt | 1 This directory contains sample code for using BearSSL. 5 A sample client code, that connects to a server, performs a SSL 15 A sample SSL server, that serves one client at a time. It reads a 25 in client_basic.c, so the sample client and the sample server can 30 A sample C source file that shows how to write your own client or 35 and anchors used by the sample client and server. They are provided
|
| /freebsd-13.1/usr.bin/beep/ |
| H A D | beep.c | 244 float sample; in main() local 247 sample = a * wave_function_16(p, WAVE_POWER); in main() 250 sample = sample * off / (float)slope; in main() 252 sample = sample * (size - off - 1) / (float)slope; in main() 254 buffer[off] = sample * 0x7fffff00; in main()
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | Makefile.in | 307 sample/signal-test$(EXEEXT) sample/time-test$(EXEEXT) \ 337 sample/hostcheck.c sample/openssl_hostname_validation.c 1079 SAMPLES = sample/dns-example sample/event-read-fifo sample/hello-world \ 1080 sample/http-server sample/http-connect sample/signal-test \ 1395 sample/dns-example.$(OBJEXT): sample/$(am__dirstamp) \ 1407 sample/hello-world.$(OBJEXT): sample/$(am__dirstamp) \ 1419 sample/http-server.$(OBJEXT): sample/$(am__dirstamp) \ 1427 sample/hostcheck.$(OBJEXT): sample/$(am__dirstamp) \ 1435 sample/le-proxy.$(OBJEXT): sample/$(am__dirstamp) \ 1447 sample/time-test.$(OBJEXT): sample/$(am__dirstamp) \ [all …]
|
| /freebsd-13.1/etc/mail/ |
| H A D | virtusertable.sample | 8 username@a.sample.hostname localuser 9 username@a.sample.hostname [email protected] 10 @another.sample.hostname [email protected] 11 @yet.another.sample.hostname %[email protected]
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | refclock_irig.c | 417 double sample; /* codec sample */ in irig_receive() local 435 sample = up->comp[~*dpt++ & 0xff]; in irig_receive() 451 irig_rf(peer, sample); in irig_receive() 452 irig_rf(peer, sample); in irig_receive() 454 irig_rf(peer, sample); in irig_receive() 457 sample = fabs(sample); in irig_receive() 458 if (sample > up->signal) in irig_receive() 459 up->signal = sample; in irig_receive() 535 up->bpf[0] = sample - irig_b; in irig_rf() 556 up->lpf[0] = sample - irig_e; in irig_rf() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| H A D | Random.h | 53 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { in sample() function 55 sample(I, 1); in sample() 60 ReservoirSampler &sample(const T &Item, uint64_t Weight) { in sample() function 77 RS.sample(Items); in makeSampler() 85 RS.sample(Item, Weight); in makeSampler()
|
| /freebsd-13.1/usr.bin/gprof/ |
| H A D | gprof.c | 408 intmax_t sample; in readsamples() local 416 fread(&sample, histcounter_size, 1, pfile); in readsamples() 421 samples[i] += *(int8_t *)&sample; in readsamples() 424 samples[i] += *(u_int8_t *)&sample; in readsamples() 427 samples[i] += *(int16_t *)&sample; in readsamples() 430 samples[i] += *(u_int16_t *)&sample; in readsamples() 433 samples[i] += *(int32_t *)&sample; in readsamples() 436 samples[i] += *(u_int32_t *)&sample; in readsamples() 439 samples[i] += *(int64_t *)&sample; in readsamples() 442 samples[i] += *(u_int64_t *)&sample; in readsamples()
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/mmc/ |
| H A D | rockchip-dw-mshc.yaml | 61 the card interface unit clock. If "ciu-drive" and "ciu-sample" are 71 - const: ciu-sample 74 "ciu-drive" and "ciu-sample" are supported. They are used 75 to control the clock phases, "ciu-sample" is required for tuning 78 rockchip,default-sample-phase: 84 The default phase to set "ciu-sample" at probing, 116 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
|
| /freebsd-13.1/lib/libc/tests/stdlib/ |
| H A D | tsearch_test.c | 98 int sample = i; in ATF_TC_BODY() local 104 if ((sample % NKEYS) > 3) in ATF_TC_BODY() 105 sample = nrand48(random_state) % 3; in ATF_TC_BODY() 107 switch (sample) { in ATF_TC_BODY()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | RandomIRBuilder.cpp | 35 RS.sample(nullptr, /*Weight=*/1); in findOrCreateSource() 45 RS.sample(Pred.generate(Srcs, KnownTypes)); in newSource() 61 RS.sample(NewLoad, RS.totalWeight()); in newSource() 106 RS.sample(&U, 1); in connectToSink() 109 RS.sample(nullptr, /*Weight=*/1); in connectToSink()
|
| /freebsd-13.1/sys/modules/ath_rate/ |
| H A D | Makefile | 32 ATH_RATE?= sample # tx rate control algorithm 42 .PATH: ${SRCTOP}/sys/dev/ath/ath_rate/sample 43 SRCS+= sample.c
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_stats.cpp | 80 void statistic::addSample(double sample) { in addSample() argument 81 sample -= offset; in addSample() 84 double delta = sample - meanVal; in addSample() 88 m2 = m2 + delta * (sample - meanVal); in addSample() 90 minVal = std::min(minVal, sample); in addSample() 91 maxVal = std::max(maxVal, sample); in addSample() 93 hist.addSample(sample); in addSample() 181 double v = std::fabs(sample); in findBin() 193 if (sample == 0.0) { in addSample() 202 uint32_t bin = findBin(sample); in addSample() [all …]
|
| /freebsd-13.1/share/examples/etc/ |
| H A D | README.examples | 14 csh.cshrc - sample .cshrc (see csh(1)) 15 csh.login - sample .login 16 csh.logout - sample .logout 37 motd - sample Message of the Day 56 rc.resume - sample run command file for APM Resume Event 60 rc.suspend - sample run command file for APM Resume Event
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | CONTRIBUTING | 69 6) Add/update sample.pcap files 71 packets, by running tcpdump against a savefile sample.pcap, created with -w 72 option and comparing the results with a text file sample.out giving the 75 Any new/updated fields in a dissector must be present in a sample.pcap file 80 test-name sample.pcap sample.out tcpdump-options 82 the sample.out file can be build by: 83 (cd tests && ../tcpdump -n -r sample.pcap tcpdump-options > sample.out) 121 sudo tcpreplay -i lo sample.pcap # in another terminal
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/display/bridge/ |
| H A D | ti,tfp410.txt | 21 pclk-sample and bus-width property and a remote-endpoint property as specified 23 - If pclk-sample is not defined, pclk-sample = 0 should be assumed for 52 pclk-sample = <1>;
|
| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-profiler.c | 195 cvmx_sample_entry_t *sample = (cvmx_sample_entry_t *) cpu_buf->pcpu_blk_info.data; in cvmx_add_sample_to_buffer() local 196 sample->pc = epc; in cvmx_add_sample_to_buffer() 197 sample->core = cpu; in cvmx_add_sample_to_buffer() 207 …PRINTF("the core%d:pc 0x%016lx, sample_count=%ld\n", cpu, sample->pc, cpu_buf->pcpu_blk_info.sampl… in cvmx_add_sample_to_buffer()
|
| /freebsd-13.1/contrib/sendmail/libmilter/ |
| H A D | README | 8 through reference to a sample filter which is attached at the end of this 43 The following command presumes that the sample code from the end of this 44 README is saved to a file named 'sample.c' and built in the local platform- 47 cc -I../../include -o sample sample.c libmilter.a ../libsm/libsm.a -pthread 135 To test sendmail with the sample filter, the following might be added (in 138 INPUT_MAIL_FILTER(`sample', `S=local:/var/run/f1.sock') 149 The sample filter takes one argument -p, which indicates the local port 154 % ./sample -p local:/var/run/f1.sock 156 If the sample filter returns immediately to a command line, there was either 180 Subject: testing sample filter [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| H A D | stmpe.txt | 9 0 -> 1 sample 38 - st,sample-time : ADC conversion time in number of clock. 86 st,sample-time = <4>; 91 /* 8 sample average control */
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/iio/adc/ |
| H A D | at91-sama5d2_adc.txt | 11 - atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC. 12 - atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC. 41 atmel,min-sample-rate-hz = <200000>; 42 atmel,max-sample-rate-hz = <20000000>;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | MIMGInstructions.td | 746 // sample/gather ops). 748 !foreach(dw, !if(sample.Gradients, 749 !if(!eq(sample.LodOrClamp, ""), 752 !if(!eq(sample.LodOrClamp, ""), 822 let NumExtraArgs = !size(sample.ExtraAddrArgs); 823 let Gradients = sample.Gradients; 824 let LodOrClampOrMip = !ne(sample.LodOrClamp, ""); 831 def "" : MIMG_Sampler_BaseOpcode<sample> { 852 : MIMG_Sampler<op, sample, 1>; 856 def "" : MIMG_Sampler_BaseOpcode<sample> { [all …]
|