/freebsd/contrib/googletest/ |
H A D | BUILD.bazel | 180 # The following rules build samples of how to use gTest. 184 "googletest/samples/sample1.cc", 185 "googletest/samples/sample2.cc", 186 "googletest/samples/sample4.cc", 189 "googletest/samples/prime_tables.h", 190 "googletest/samples/sample1.h", 191 "googletest/samples/sample2.h", 192 "googletest/samples/sample3-inl.h", 193 "googletest/samples/sample4.h", 204 # All Samples except: [all …]
|
/freebsd/tools/tools/ath/athsurvey/ |
H A D | athsurvey.c | 87 * Skip samples with no cycle count in process_survey_stats() 89 if (hs->samples[i].cycle_count == 0) in process_survey_stats() 96 cycle_count = hs->samples[i].cycle_count; in process_survey_stats() 103 tx = (float) hs->samples[i].tx_busy * 100.0 / in process_survey_stats() 104 hs->samples[i].cycle_count; in process_survey_stats() 105 rx = (float) hs->samples[i].rx_busy * 100.0 / in process_survey_stats() 106 hs->samples[i].cycle_count; in process_survey_stats() 107 cc = (float) hs->samples[i].chan_busy * 100.0 / in process_survey_stats() 108 hs->samples[i].cycle_count; in process_survey_stats() 109 cext = (float) hs->samples[i].ext_chan_busy * 100.0 / in process_survey_stats() [all …]
|
/freebsd/sys/contrib/zstd/lib/ |
H A D | zdict.h | 51 * structure, you can train a dictionary on ahead of time on some samples of 53 * present across samples. This can vastly improve compression ratio. 79 * repeated content that is common across many samples. 91 * Gather samples from your use case. These samples should be similar to each 95 * Pass those samples to `ZDICT_trainFromBuffer()` and that will train your 102 * either passed too few samples, or a dictionary would not be effective 104 * if it doesn't say too few samples, then a dictionary would not be effective. 118 * How many samples should I provide to the dictionary builder? 122 * in samples. A few thousand should suffice. Having too few samples 123 * can hurt the dictionaries effectiveness. Having more samples will [all …]
|
/freebsd/contrib/ncurses/ |
H A D | MANIFEST | 46 ./Ada95/samples/Makefile.in 47 ./Ada95/samples/README 48 ./Ada95/samples/explain.txt 49 ./Ada95/samples/ncurses.adb 50 ./Ada95/samples/ncurses2-acs_and_scroll.adb 51 ./Ada95/samples/ncurses2-acs_and_scroll.ads 52 ./Ada95/samples/ncurses2-acs_display.adb 53 ./Ada95/samples/ncurses2-acs_display.ads 54 ./Ada95/samples/ncurses2-attr_test.adb 55 ./Ada95/samples/ncurses2-attr_test.ads [all …]
|
/freebsd/contrib/file/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
|
/freebsd/contrib/ntp/html/ |
H A D | filter.html | 15 … offset and delay samples produced by the on-wire protocol for each peer process separately. It us… 19 …d. As the delay increases, the offset variation increases, so the best samples are those at the … 20 …in large errrors. However, these errors can be largely eliminated using samples near the limb lin… 21 …samples from the on-wire protocol are inserted as the youngest stage of an eight-stage shift regi… 22 …is computed as the root mean square (RMS) differences between the offset samples and the offset of… 23 <p> The peer dispersion statistic is determined as a weighted sum of the dispersion samples in the… 24 <p> As samples enter the register, the peer dispersion drops from 16 s to 8 s, 4 s, 2 s, and so for… 29 …lute value of the offset samples, the mean error is defined as the mean of this series. Thus, the … 30 …f up to seven samples in the shift register, or more to the point, the output sample rate can neve…
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | brcm,iproc-touchscreen.txt | 39 - average_data: Number of data samples which are averaged before a final 43 1 = 2 samples 44 2 = 4 samples 45 3 = 8 samples 46 4 = 16 samples 47 5 = 32 samples 48 6 = 64 samples 49 7 = 128 samples
|
/freebsd/contrib/ntp/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
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SampleProfReader.h | 47 // function header specify how many total samples were accumulated in the 48 // function (first number), and the total number of samples accumulated 95 // c. Number of samples. This is an integer quantity representing the 96 // number of samples collected by the profiler at this source 99 // d. [OPTIONAL] Potential call targets and samples. If present, this 101 // number of samples. For example, 116 // c. Number of samples. This is an integer quantity representing the 117 // total number of samples collected for the inlined instance at this 122 // occur after all the body samples and callsite samples. 150 // Total number of samples in the profile. [all …]
|
H A D | SampleProf.h | 341 /// Increment the number of samples for this record by \p S. 353 /// Decrease the number of samples for this record by \p S. Return the amout 354 /// of samples actually decreased. 362 /// Add called function \p F with samples \p S. 425 /// Merge the samples in \p Other into this record. 740 /// Representation of the samples collected for a function. 742 /// This data structure contains all the collected samples for the body 801 // the number of body samples actually decreased. 816 // Remove all call site samples for inlinees. This is needed when flattening 822 // Accumulate all call target samples to update the body samples. [all …]
|
/freebsd/contrib/googletest/googletest/ |
H A D | CMakeLists.txt | 162 # Samples on how to link user tests with gtest or gtest_main. 169 cxx_executable(sample1_unittest samples gtest_main samples/sample1.cc) 170 cxx_executable(sample2_unittest samples gtest_main samples/sample2.cc) 171 cxx_executable(sample3_unittest samples gtest_main) 172 cxx_executable(sample4_unittest samples gtest_main samples/sample4.cc) 173 cxx_executable(sample5_unittest samples gtest_main samples/sample1.cc) 174 cxx_executable(sample6_unittest samples gtest_main) 175 cxx_executable(sample7_unittest samples gtest_main) 176 cxx_executable(sample8_unittest samples gtest_main) 177 cxx_executable(sample9_unittest samples gtest) [all …]
|
/freebsd/usr.bin/gprof/ |
H A D | gprof.c | 188 * assign samples to procedures in main() 349 * dump the samples in dumpsum() 351 if (fwrite(samples, histcounter_size, nsamples, sfile) != nsamples) in dumpsum() 395 if (samples == 0) { in readsamples() 396 samples = (double *) calloc(nsamples, sizeof(double)); in readsamples() 397 if (samples == NULL) in readsamples() 406 samples[i] += *(int8_t *)&sample; in readsamples() 409 samples[i] += *(u_int8_t *)&sample; in readsamples() 412 samples[i] += *(int16_t *)&sample; in readsamples() 415 samples[i] += *(u_int16_t *)&sample; in readsamples() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SampleProfileLoaderBaseUtil.cpp | 33 cl::desc("Emit a warning if less than N% of samples in the input profile " 39 "samples but without debug information to use those samples. ")); 77 /// Mark as used the sample record for the given function samples at 84 uint64_t Samples) { in markSamplesUsed() argument 89 TotalUsedSamples += Samples; in markSamplesUsed() 105 // If there are inlined callsites in this function, count the samples found in countUsedRecords() 107 // total samples, these are callees that were never invoked at runtime. in countUsedRecords() 137 /// Return the number of samples collected in the body of this profile. 139 /// This count does not include samples from cold inlined callsites. 147 // Only count samples in hot callsites. in countBodySamples()
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | microchip,qt1050.txt | 38 - microchip,average-samples: 39 Number of data samples which are averaged for each read. 42 The scaling factor which is used to scale the average-samples. 60 microchip,average-samples = <64>; 68 microchip,average-samples = <64>; 75 microchip,average-samples = <256>;
|
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | include.am | 7 SAMPLES = \ macro 17 SAMPLES += sample/le-proxy 22 SAMPLES += sample/https-client 38 noinst_PROGRAMS += $(SAMPLES) 41 $(SAMPLES) : libevent.la
|
/freebsd/contrib/libevent/sample/ |
H A D | include.am | 7 SAMPLES = \ macro 17 SAMPLES += sample/le-proxy 22 SAMPLES += sample/https-client 38 noinst_PROGRAMS += $(SAMPLES) 41 $(SAMPLES) : libevent.la
|
/freebsd/usr.sbin/bhyve/ |
H A D | audio.h | 68 * audio_playback - plays samples to the sound device using blocking operations 69 * @aud - the audio player used to play the samples 70 * @buf - the buffer containing the samples 77 * audio_record - records samples from the sound device using blocking 79 * @aud - the audio player used to capture the samples 80 * @buf - the buffer to receive the samples
|
/freebsd/lib/libsys/ |
H A D | profil.2 | 42 .Fn profil "char *samples" "size_t size" "vm_offset_t offset" "int scale" 51 .Fa samples 57 .Fa samples 75 the kernel takes program counter samples. 100 .Fa samples 115 .Fa samples
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | dibio.c | 105 * load samples from files listed in fileNamesTable into buffer. 106 * works even if buffer is too small to load all samples. 109 * @return : nb of samples effectively loaded into `buffer` 149 /* If file-chunking is enabled, load the rest of the file as more samples */ in DiB_loadFiles() 170 DISPLAYLEVEL(4, "Loaded %d KB total training data, %d nb samples \n", in DiB_loadFiles() 263 * provides the amount of data to be loaded and the resulting nb of samples. 304 …DISPLAYLEVEL(4, "Found training data %d files, %d KB, %d samples\n", nbFiles, (int)(fs.totalSizeTo… in DiB_fileStats() 315 int nbSamplesLoaded; /* nb of samples effectively loaded in srcBuffer */ in DiB_trainFromFiles() 316 size_t loadedSize; /* total data loaded in srcBuffer for all samples */ in DiB_trainFromFiles() 317 void* srcBuffer /* contiguous buffer with training data/samples */; in DiB_trainFromFiles() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | ProfiledCallGraph.h | 70 for (const auto &Samples : ProfileMap) { 71 addProfiledCalls(Samples.second); variable 97 // Note that callsite target samples are completely ignored since they can 170 void addProfiledCalls(const FunctionSamples &Samples) { in addProfiledCalls() argument 171 addProfiledFunction(Samples.getFunction()); in addProfiledCalls() 173 for (const auto &Sample : Samples.getBodySamples()) { in addProfiledCalls() 176 addProfiledCall(Samples.getFunction(), Target, Frequency); in addProfiledCalls() 180 for (const auto &CallsiteSamples : Samples.getCallsiteSamples()) { in addProfiledCalls() 183 addProfiledCall(Samples.getFunction(), InlinedSamples.first, in addProfiledCalls()
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | fastcover.c | 36 * There are 32bit indexes used to ref samples, so limit samples size to 4GB 104 unsigned finalize; /* Percentage of training samples used for ZDICT_finalizeDictionary */ 128 const BYTE *samples; member 181 const size_t idx = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.end, f, d); in FASTCOVER_selectSegment() 193 const size_t delIndex = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.begin, f, d); in FASTCOVER_selectSegment() 211 const size_t delIndex = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.begin, f, d); in FASTCOVER_selectSegment() 220 const size_t i = FASTCOVER_hashPtrToIndex(ctx->samples + pos, f, d); in FASTCOVER_selectSegment() 281 * Calculate for frequency of hash value of each dmer in ctx->samples 297 const size_t dmerIndex = FASTCOVER_hashPtrToIndex(ctx->samples + start, f, d); in FASTCOVER_computeFrequency() 319 const BYTE* const samples = (const BYTE*)samplesBuffer; in FASTCOVER_ctx_init() local [all …]
|
/freebsd/contrib/googletest/docs/ |
H A D | samples.md | 1 # Googletest Samples 4 [googletest samples.](https://github.com/google/googletest/blob/main/googletest/samples) 5 The sample directory has a number of well-commented samples showing how to use a
|
/freebsd/usr.sbin/pmcstat/ |
H A D | pmcpl_calltree.c | 30 * Process hwpmc(4) samples as calltree. 159 * Initialize a samples. 163 pmcpl_ct_samples_init(struct pmcpl_ct_sample *samples) in pmcpl_ct_samples_init() argument 166 samples->npmcs = 0; in pmcpl_ct_samples_init() 167 samples->sb = NULL; in pmcpl_ct_samples_init() 171 * Free a samples. 175 pmcpl_ct_samples_free(struct pmcpl_ct_sample *samples) in pmcpl_ct_samples_free() argument 178 samples->npmcs = 0; in pmcpl_ct_samples_free() 179 free(samples->sb); in pmcpl_ct_samples_free() 180 samples->sb = NULL; in pmcpl_ct_samples_free() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SampleProfileLoaderBaseImpl.h | 120 const FunctionSamples &Samples) const { 121 return FuncDesc.getFunctionHash() != Samples.getFunctionHash(); 128 bool profileIsValid(const Function &F, const FunctionSamples &Samples) const { 147 return Desc && !profileIsHashMismatched(*Desc, Samples); 308 /// Synthetic samples created by duplicating the samples of inlined functions 316 /// Samples collected for the body of this function. 317 FunctionSamples *Samples = nullptr; 335 /// Clear all the per-function data used to load samples and propagate weights. 391 /// The "weight" of an instruction \p Inst is the number of samples 395 /// look up the samples collected for \p Inst using BodySamples. [all …]
|