Home
last modified time | relevance | path

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

1234567891011

/openbsd-src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
H A Dsample.t8 use List::Util qw(sample);
11 my @items = sample 3, 1 .. 10;
14 @items = sample 10, 1 .. 10;
17 @items = sample 20, 1 .. 10;
22 my @items = sample 5, 1 .. 5;
33 my $x = join "", sample 3, 'a'..'z';
36 my $y = join "", sample 3, 'a'..'z';
45 sample 5, @nums;
56 my @ret = sample 3, map { bless [], "Guardian" } 1 .. 10;
69 join( "", sample 5, 'A'..'Z' ),
[all …]
/openbsd-src/sys/dev/pci/drm/i915/
H A Di915_pmu.c194 static u64 read_sample(struct i915_pmu *pmu, unsigned int gt_id, int sample) in read_sample() argument
196 return pmu->sample[gt_id][sample].cur; in read_sample()
200 store_sample(struct i915_pmu *pmu, unsigned int gt_id, int sample, u64 val) in store_sample() argument
202 pmu->sample[gt_id][sample].cur = val; in store_sample()
206 add_sample_mult(struct i915_pmu *pmu, unsigned int gt_id, int sample, u32 val, u32 mul) in add_sample_mult() argument
208 pmu->sample[gt_id][sample].cur += mul_u32_u32(val, mul); in add_sample_mult()
334 add_sample(struct i915_pmu_sample *sample, u32 val) in add_sample() argument
336 sample->cur += val; in add_sample()
360 add_sample(&pmu->sample[I915_SAMPLE_WAIT], period_ns); in engine_sample()
362 add_sample(&pmu->sample[I915_SAMPLE_SEMA], period_ns); in engine_sample()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcvt5.C5 void sample(const unsigned long (&an_array)[3]);
11 static void sample(const Array &an_array);
25 sample(a.array); in simple()
26 Sample::sample(a.array); in simple()
/openbsd-src/gnu/usr.bin/perl/ext/B/t/
H A Dconcise.t223 my $sample;
226 walk_output(\$sample);
228 like($sample, qr/goto/m, "post-compile -exec");
230 walk_output(\$sample);
232 unlike($sample, qr/goto/m, "post-compile -basic");
243 walk_output(\$sample);
246 $combos{"$style$mode"} = $sample;
262 walk_output(\$sample);
264 $combos{"$mode$style"} = $sample;
281 walk_output(\$sample);
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/FuzzMutate/
H A DRandom.h53 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()
/openbsd-src/gnu/llvm/llvm/docs/CommandGuide/
H A Dllvm-profdata.rst94 .. option:: --sample
96 Specify that the input profile is a sample-based profile.
108 be used with sample-based profile. The extensible binary encoding can be
115 sample-based and instrumentation-based profile. When this option is used
145 list in the profile. This option can only be used with sample-based profile
151 with sample-based profile in extbinary format.
156 This option can only be used with sample-based profile in extbinary format.
162 sample-based profile in extbinary format.
164 .. option:: --supplement-instr-with-sample=<file>
166 Supplement an instrumentation profile with sample profile. The sample profile
[all …]
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp37 RS.sample(nullptr, /*Weight=*/1); in findOrCreateSource()
48 RS.sample(Pred.generate(Srcs, KnownTypes)); in newSource()
67 RS.sample(NewLoad, RS.totalWeight()); in newSource()
139 RS.sample(&U, 1); in connectToSink()
142 RS.sample(nullptr, /*Weight=*/1); in connectToSink()
H A DIRMutator.cpp48 RS.sample(&F, /*Weight=*/1); in mutate()
73 RS.sample(Strategy.get(), in mutateModule()
174 RS.sample(&Inst, /*Weight=*/1); in mutate()
204 RS.sample(&*I, /*Weight=*/1); in mutate()
208 RS.sample(IB.newSource(*BB, InstsBefore, {}, Pred), /*Weight=*/1); in mutate()
565 RS.sample(Root, 1); in mutate()
/openbsd-src/gnu/llvm/libcxx/benchmarks/
H A Dto_chars.bench.cpp35 struct sample { in BM_to_chars_bad() struct
39 std::array<sample, 1000> data; in BM_to_chars_bad()
43 return sample{unsigned((result.ptr - buffer) / 2), value}; in BM_to_chars_bad()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dcrash1.C10 extern Sample sample;
28 sample << "hello"; in test()
/openbsd-src/sys/arch/armv7/marvell/
H A Dmvortc.c126 uint32_t sample, mode; in mvortc_read() local
135 sample = HREAD4(sc, reg); in mvortc_read()
138 if (samples[j] == sample) in mvortc_read()
145 samples[last] = sample; in mvortc_read()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/
H A Dno_log_results.t10 ok(1, "sample");
11 ok(2, "sample");
/openbsd-src/gnu/llvm/llvm/docs/
H A DHowToUpdateDebugInfo.rst89 scenarios in which a sample of a block containing a merged instruction is
287 !1 = !DIFile(filename: "debugify-sample.ll", directory: "/")
311 $ opt -debugify -pass-to-test -check-debugify sample.ll
313 This will inject synthetic DI to ``sample.ll`` run the ``pass-to-test`` and
322 $ opt -enable-debugify -pass-to-test sample.ll
325 $ opt -enable-debugify -debugify-quiet -pass-to-test sample.ll
329 $ opt -debugify-each -O2 sample.ll
338 $ opt -debugify < sample.ll | llc -o -
368 $ opt -verify-debuginfo-preserve -pass-to-test sample.ll
371 $ opt -verify-each-debuginfo-preserve -O2 sample.ll
[all …]
H A DXRayExample.rst7 compiling some sample LLVM IR generated by Clang.
273 the ``sample-trace.txt.gz`` file to visualize the execution trace.
287 // sample.cc
318 $ clang++ -o sample -O3 sample.cc -std=c++11 -fxray-instrument -fxray-instruction-threshold=1
319 $ XRAY_OPTIONS="patch_premain=true xray_mode=xray-basic" ./sample
321 We can then explore the graph rendering of the trace generated by this sample
332 $ llvm-xray graph xray-log.sample.* -m sample --color-edges=sum --edge-label=sum \
333 | unflatten -f -l10 | dot -Tsvg -o sample.svg
H A DProjects.rst35 * You can use the pre-made LLVM sample project. This sample project includes
149 be set to ``sample``.
168 example, to build an executable named ``sample``, ``TOOLNAME`` should be set
169 to ``sample``.
177 ``USEDLIBS`` to ``sample.a``.
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td988 class MIMG_Sampler_AddrSizes<AMDGPUSampleVariant sample, bit isG16> {
991 // sample/gather ops).
993 !foreach(dw, !if(sample.Gradients,
995 !if(!eq(sample.LodOrClamp, ""),
998 !if(!eq(sample.LodOrClamp, ""),
1001 !if(!eq(sample.LodOrClamp, ""),
1004 !add(dw, !size(sample.ExtraAddrArgs)));
1026 // the exact variant based on the sample variant and the image dimension.
1037 AMDGPUSampleVariant sample, RegisterClass dst_rc,
1040 foreach addr = MIMG_Sampler_AddrSizes<sample, isG16>.MachineInstrs in {
[all …]
/openbsd-src/lib/libkeynote/
H A DREADME17 A sample application is provided in sample-app.c. To build it, use
18 "make test-sample".
/openbsd-src/usr.sbin/ypserv/ypserv/
H A Dsecurenet2 # This is a sample file. It is not installed.
/openbsd-src/gnu/usr.bin/binutils/gas/doc/
H A Dc-ia64.texi139 the @sample{ssm}/@sample{sum} and @sample{rsm}/@sample{rum}
/openbsd-src/etc/ppp/
H A Dchatscript.sample1 # $OpenBSD: chatscript.sample,v 1.2 2014/07/10 11:18:23 jasper Exp $
H A Doptions.sample1 # $OpenBSD: options.sample,v 1.2 2014/07/10 11:18:23 jasper Exp $
/openbsd-src/sys/arch/i386/conf/
H A DGENERIC.MP3 # GENERIC.MP - sample multiprocessor kernel
/openbsd-src/usr.sbin/npppd/npppd/
H A Dnpppd-users2 # sample npppd-users file. see npppd-users(5)
/openbsd-src/usr.sbin/nsd/
H A DREADME.md47 [nsd.conf.sample](https://github.com/NLnetLabs/nsd/blob/master/nsd.conf.sample.in).
/openbsd-src/usr.bin/file/magdir/
H A Daudio26 >12 belong 8 Fragmented sample data,
64 >12 belong 8 Fragmented sample data,
299 # some common bits/sample values
314 # some common sample rates
373 # scream tracker: file(1) magic for Scream Tracker sample files
377 >0 byte 1 sample
456 # some common bits/sample values
471 # some common sample rates
517 >>(0x08.l+20) ulelong x \b, sample rate %d
526 >>12 ulelong x \b, sample rate %d

1234567891011