Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/freebsd-12.1/contrib/libevent/sample/
H A Dinclude.am1 # 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-12.1/contrib/netbsd-tests/usr.bin/mkdep/
H A Dt_mkdep.sh38 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-12.1/sys/contrib/zstd/tests/
H A Dtest-zstd-versions.py93 os.rename(sample + '.zst', sample + '_01_64_' + tag + '_dictio.zst')
95 os.rename(sample + '.zst', sample + '_05_64_' + tag + '_dictio.zst')
97 os.rename(sample + '.zst', sample + '_09_64_' + tag + '_dictio.zst')
99 os.rename(sample + '.zst', sample + '_15_64_' + tag + '_dictio.zst')
101 os.rename(sample + '.zst', sample + '_18_64_' + tag + '_dictio.zst')
107 def compress_sample(tag, sample): argument
110 os.rename(sample + '.zst', sample + '_01_64_' + tag + '_nodict.zst')
112 os.rename(sample + '.zst', sample + '_05_64_' + tag + '_nodict.zst')
114 os.rename(sample + '.zst', sample + '_09_64_' + tag + '_nodict.zst')
116 os.rename(sample + '.zst', sample + '_15_64_' + tag + '_nodict.zst')
[all …]
/freebsd-12.1/sys/dev/adlink/
H A Dadlink.c98 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-12.1/contrib/libevent/
H A DMakefile.in307 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-12.1/contrib/apr-util/crypto/
H A Dapr_passwd.c85 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-12.1/contrib/bearssl/samples/
H A DREADME.txt1 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-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td358 // sample/gather ops).
360 !foreach(dw, !if(sample.Gradients,
361 !if(!eq(sample.LodOrClamp, ""),
364 !if(!eq(sample.LodOrClamp, ""),
395 let NumExtraArgs = !size(sample.ExtraAddrArgs);
396 let Gradients = sample.Gradients;
397 let LodOrClampOrMip = !ne(sample.LodOrClamp, "");
403 def "" : MIMG_Sampler_BaseOpcode<sample> {
423 : MIMG_Sampler<op, sample, 1>;
427 def "" : MIMG_Sampler_BaseOpcode<sample> {
[all …]
/freebsd-12.1/contrib/ntp/ntpd/
H A Drefclock_irig.c417 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-12.1/contrib/amd/scripts/
H A DMakefile.am23 amd.conf-sample \
24 lostaltmail.conf-sample
45 amd.conf-sample \
46 lostaltmail.conf-sample \
/freebsd-12.1/etc/mail/
H A Dvirtusertable.sample8 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-12.1/contrib/llvm/include/llvm/FuzzMutate/
H A DRandom.h54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { in sample() function
56 sample(I, 1); in sample()
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { in sample() function
78 RS.sample(Items); in makeSampler()
86 RS.sample(Item, Weight); in makeSampler()
/freebsd-12.1/usr.bin/gprof/
H A Dgprof.c408 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-12.1/lib/libc/tests/stdlib/
H A Dtsearch_test.c98 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-12.1/contrib/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp36 RS.sample(nullptr, /*Weight=*/1); in findOrCreateSource()
46 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()
H A DIRMutator.cpp43 RS.sample(&F, /*Weight=*/1); in mutate()
64 RS.sample(Strategy.get(), in mutateModule()
162 RS.sample(&Inst, /*Weight=*/1); in mutate()
192 RS.sample(&*I, /*Weight=*/1); in mutate()
196 RS.sample(IB.newSource(*BB, InstsBefore, {}, Pred), /*Weight=*/1); in mutate()
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_stats.cpp79 void statistic::addSample(double sample) { in addSample() argument
80 sample -= offset; in addSample()
83 double delta = sample - meanVal; in addSample()
87 m2 = m2 + delta * (sample - meanVal); in addSample()
89 minVal = std::min(minVal, sample); in addSample()
90 maxVal = std::max(maxVal, sample); in addSample()
92 hist.addSample(sample); in addSample()
180 double v = std::fabs(sample); in findBin()
195 if (sample == 0.0) { in addSample()
204 uint32_t bin = findBin(sample); in addSample()
[all …]
/freebsd-12.1/sys/modules/ath_rate/
H A DMakefile32 ATH_RATE?= sample # tx rate control algorithm
42 .PATH: ${SRCTOP}/sys/dev/ath/ath_rate/sample
43 SRCS+= sample.c
/freebsd-12.1/share/examples/etc/
H A DREADME.examples14 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-12.1/contrib/tcpdump/
H A DCONTRIBUTING69 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-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-profiler.c195 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-12.1/contrib/sendmail/libmilter/
H A DREADME8 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-12.1/contrib/ncurses/
H A DMANIFEST95 ./Ada95/samples/sample-curses_demo.adb
96 ./Ada95/samples/sample-curses_demo.ads
103 ./Ada95/samples/sample-form_demo.adb
104 ./Ada95/samples/sample-form_demo.ads
109 ./Ada95/samples/sample-helpers.adb
110 ./Ada95/samples/sample-helpers.ads
113 ./Ada95/samples/sample-manifest.ads
118 ./Ada95/samples/sample-menu_demo.adb
119 ./Ada95/samples/sample-menu_demo.ads
124 ./Ada95/samples/sample.adb
[all …]
/freebsd-12.1/contrib/ntp/lib/isc/
H A Dentropy.c151 isc_entropysamplesource_t sample; member
744 samplequeue_release(ent, &source->sources.sample.samplequeue); in destroysource()
967 sq = &source->sources.sample.samplequeue; in isc_entropy_createsamplesource()
1012 sq->samples[sq->nsamples] = sample; in addsample()
1023 isc_entropy_addsample(isc_entropysource_t *source, isc_uint32_t sample, in isc_entropy_addsample() argument
1037 sq = &source->sources.sample.samplequeue; in isc_entropy_addsample()
1038 result = addsample(sq, sample, extra); in isc_entropy_addsample()
1060 result = addsample(sq, sample, extra); in isc_entropy_addcallbacksample()
1195 isc_uint32_t sample; in kbdget() local
1210 sample = isc_time_nanoseconds(&t); in kbdget()
[all …]
/freebsd-12.1/share/examples/tests/
H A DREADME3 This directory contains sample test programs along the Makefile and
26 To inspect the available sample test cases from an installed system:
30 To run the full suite of sample test cases:

12345678910>>...13