HomeSort by relevance Sort by last modified time
    Searched refs:sample (Results 276 - 300 of 1474) sorted by null

<<11121314151617181920>>

  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/FuzzMutate/
Random.h 53 /// Sample each item in \c Items with unit weight
54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
56 sample(I, 1);
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
78 RS.sample(Items);
86 RS.sample(Item, Weight);
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/FuzzMutate/
Random.h 53 /// Sample each item in \c Items with unit weight
54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
56 sample(I, 1);
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
78 RS.sample(Items);
86 RS.sample(Item, Weight);
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/FuzzMutate/
Random.h 53 /// Sample each item in \c Items with unit weight
54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
56 sample(I, 1);
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
78 RS.sample(Items);
86 RS.sample(Item, Weight);
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/FuzzMutate/
Random.h 53 /// Sample each item in \c Items with unit weight
54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
56 sample(I, 1);
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
78 RS.sample(Items);
86 RS.sample(Item, Weight);
  /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/FuzzMutate/
Random.h 53 /// Sample each item in \c Items with unit weight
54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
56 sample(I, 1);
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
78 RS.sample(Items);
86 RS.sample(Item, Weight);
  /prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/FuzzMutate/
Random.h 53 /// Sample each item in \c Items with unit weight
54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
56 sample(I, 1);
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
78 RS.sample(Items);
86 RS.sample(Item, Weight);
  /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/FuzzMutate/
Random.h 53 /// Sample each item in \c Items with unit weight
54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
56 sample(I, 1);
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
78 RS.sample(Items);
86 RS.sample(Item, Weight);
  /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/FuzzMutate/
Random.h 53 /// Sample each item in \c Items with unit weight
54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
56 sample(I, 1);
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
78 RS.sample(Items);
86 RS.sample(Item, Weight);
  /device/google/contexthub/firmware/os/drivers/hall/
hall.c 66 union EmbeddedDataPoint sample; local
72 sample.idata = pinState ? HALL_REPORT_OPENED_VALUE :
75 if (sample.idata != mTask.prevReportedValue) {
76 mTask.prevReportedValue = sample.idata;
77 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL);
166 union EmbeddedDataPoint sample; local
168 sample.idata = pinState ? HALL_REPORT_OPENED_VALUE :
170 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL);
183 union EmbeddedDataPoint sample; local
187 sample.idata = mTask.prevReportedValue
    [all...]
  /external/linux-kselftest/tools/testing/selftests/timers/
freq-step.c 40 struct sample { struct
56 static double get_sample(struct sample *sample)
78 sample->offset = diff_timespec(&ts2, &ts1);
79 sample->offset -= delay / 2.0;
80 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9;
119 static void regress(struct sample *samples, int n, double *intercept,
156 struct sample samples[SAMPLES];
214 struct sample sample; local
    [all...]
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
plot_dynamics.py 66 sample = re.search(r'(\d+\.\d+)\t([-]?\d+\.\d+)', line)
68 s = (sample.group(1), sample.group(2))
80 x = [sample[0] for sample in v.samples[alg][series]]
81 y = [sample[1] for sample in v.samples[alg][series]]
  /prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/profile/
prune.go 59 // matching keepRx. If the root node of a Sample matches, the sample
92 // Prune locs from each Sample
93 for _, sample := range p.Sample {
98 for i := len(sample.Location) - 1; i >= 0; i-- {
99 id := sample.Location[i].ID
108 sample.Location = sample.Location[i+1:]
112 sample.Location = sample.Location[i:
    [all...]
  /prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/profile/
prune.go 59 // matching keepRx. If the root node of a Sample matches, the sample
92 // Prune locs from each Sample
93 for _, sample := range p.Sample {
98 for i := len(sample.Location) - 1; i >= 0; i-- {
99 id := sample.Location[i].ID
108 sample.Location = sample.Location[i+1:]
112 sample.Location = sample.Location[i:
    [all...]
  /external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
deterministic_test.py 149 sample = deterministic.sample(sample_shape)
150 self.assertAllEqual(sample_shape, sample.get_shape())
152 np.zeros(sample_shape).astype(np.float32), sample.eval())
158 sample = deterministic.sample(sample_shape)
159 self.assertAllEqual(sample_shape + (2,), sample.get_shape())
161 np.zeros(sample_shape + (2,)).astype(np.float32), sample.eval())
170 sample_ = deterministic.sample(sample_shape).eval(
266 sample = deterministic.sample(sample_shape
    [all...]
relaxed_onehot_categorical_test.py 61 x = dist.sample().eval()
89 self.assertAllEqual([3], dist.sample().eval().shape)
90 self.assertAllEqual([5, 3], dist.sample(5).eval().shape)
95 self.assertAllEqual([2, 3], dist.sample().eval().shape)
96 self.assertAllEqual([5, 2, 3], dist.sample(5).eval().shape)
101 self.assertAllEqual([4, 1, 3], dist.sample().eval().shape)
102 self.assertAllEqual([5, 4, 1, 3], dist.sample(5).eval().shape)
123 x = dist.sample().eval()
133 x = dist.sample().eval()
163 self.assertAllEqual([3], dist.sample().eval(feed_dict=feed_dict).shape
    [all...]
  /device/sample/products/
sample_addon.mk 9 device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.xml:system/etc/permissions/com.example.android.platform_library.xml
17 device/sample/sdk_addon/manifest.ini:manifest.ini \
18 device/sample/sdk_addon/hardware.ini:hardware.ini \
19 $(call find-copy-subdir-files,*,device/sample/skins/WVGAMedDpi,skins/WVGAMedDpi)
24 #$(call find-copy-subdir-files,*,device/sample/skins/WVGAMedDpi,skins/WVGAMedDpi)
  /external/perf_data_converter/src/
builder.cc 168 std::cerr << "No sample type specified";
172 for (const auto &sample : profile.sample()) {
173 if (sample.value_size() != sample_type_len) {
174 std::cerr << "Found sample with " << sample.value_size()
178 for (uint64 location_id : sample.location_id()) {
180 std::cerr << "Sample referencing location_id=0";
190 for (const auto &label : sample.label()) {
208 for (auto &sample : *profile_->mutable_sample())
    [all...]
perf_data_handler.h 20 // with normalized sample fields (i.e., materializing mappings,
25 // SAMPLE event.
75 sample(s),
83 const quipper::PerfDataProto::SampleEvent &sample; member in struct:perftools::PerfDataHandler::SampleContext
113 // Process initiates processing of perf_proto. handler.Sample will
121 // Called for every sample.
122 virtual void Sample(const SampleContext& sample) = 0;
  /device/google/contexthub/firmware/os/drivers/ams_tmd2772/
ams_tmd2772.c 158 } __attribute__((packed)) sample; member in union:I2cTransfer::__anon1896
369 // first sample yet, so a broadcast event will go out soon with the first sample
421 union EmbeddedDataPoint sample; local
426 sample.fdata = (mData.proxState == PROX_STATE_NEAR) ?
428 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid);
530 /* Get another sample; go back to earlier state */
543 union EmbeddedDataPoint sample; local
613 osLog(LOG_INFO, DRIVER_NAME "sample ready: status=%02x prox=%u als0=%u als1=%u\n",
614 xfer->txrxBuf.sample.status, xfer->txrxBuf.sample.prox
    [all...]
  /external/strace/
mpers_test.sh 41 sample="$mpers_dir/sample.c"
42 cat > "$sample" <<EOF
83 expected="$mpers_dir/sample.expected"
132 "$mpers_sh" "$mpers_name" "$mpers_cc_flags" "$sample"
  /external/libmojo/base/android/
record_histogram.cc 120 DCHECK_GE(min, 1) << "The min expected sample must be >= 1";
213 bool sample = static_cast<bool>(j_sample); local
216 histogram->AddBoolean(sample);
226 int sample = static_cast<int>(j_sample); local
230 histogram->Add(sample);
242 int sample = static_cast<int>(j_sample); local
246 histogram->Add(sample);
258 int sample = static_cast<int>(j_sample); local
262 histogram->Add(sample);
271 int sample = static_cast<int>(j_sample) local
    [all...]
  /external/strace/tests/
scm_rights.c 42 static const char sample[] = local
44 const unsigned int data_size = sizeof(sample) - 1;
46 memcpy(data, sample, data_size);
  /external/strace/tests-m32/
scm_rights.c 42 static const char sample[] = local
44 const unsigned int data_size = sizeof(sample) - 1;
46 memcpy(data, sample, data_size);
  /external/strace/tests-mx32/
scm_rights.c 42 static const char sample[] = local
44 const unsigned int data_size = sizeof(sample) - 1;
46 memcpy(data, sample, data_size);
  /external/tensorflow/tensorflow/python/profiler/
pprof_profiler.py 23 Sample usage:
206 """Keeps track of `Sample` protos for pprof profile.
224 """Adds a sample data point.
227 datum: `ProfileDatum` to add a sample for.
229 sample.
233 sample = self._node_name_to_sample[node_name]
234 sample.location_id.extend(location_ids)
236 sample = profile_pb2.Sample()
237 # Sample stores 3 values: count, all_time, op_tim
    [all...]

Completed in 1452 milliseconds

<<11121314151617181920>>