/external/strace/tests-m32/ |
xchownx.c | 51 if (unlink(sample)) \ 67 # define SYSCALL_ARG1 sample 102 static const char sample[] = SYSCALL_NAME "_sample"; local 125 int fd = open(sample, O_RDONLY | O_CREAT, 0400);
|
/external/strace/tests-mx32/ |
xchownx.c | 51 if (unlink(sample)) \ 67 # define SYSCALL_ARG1 sample 102 static const char sample[] = SYSCALL_NAME "_sample"; local 125 int fd = open(sample, O_RDONLY | O_CREAT, 0400);
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
layers_dense_variational_test.py | 72 def sample(self, *args, **kwargs): member in class:MockDistribution 177 kernel_posterior_tensor_fn=lambda d: d.sample(seed=42), 181 bias_posterior_tensor_fn=lambda d: d.sample(seed=43), 280 expected_kernel_posterior_affine.sample(seed=42)) 334 expected_kernel_posterior_affine.sample(seed=42)) 421 kernel_posterior_tensor_fn=lambda d: d.sample(seed=42), 423 bias_posterior_tensor_fn=lambda d: d.sample(seed=43), 428 kernel_posterior_tensor_fn=lambda d: d.sample(seed=42), 430 bias_posterior_tensor_fn=lambda d: d.sample(seed=43),
|
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/ |
helper.py | 69 """Batch size of tensor returned by `sample`. 77 """Shape of tensor returned by `sample`, excluding the batch dimension. 85 """DType of tensor returned by `sample`. 97 def sample(self, time, outputs, state, name=None): member in class:Helper 154 def sample(self, time, outputs, state, name=None): member in class:CustomHelper 233 def sample(self, time, outputs, name=None, **unused_kwargs): member in class:TrainingHelper 257 Returns -1s for sample_ids where no sampling took place; valid sample id 306 def sample(self, time, outputs, state, name=None): member in class:ScheduledEmbeddingTrainingHelper 309 # Return -1s where we did not sample, and sample_ids elsewhere 312 select_sample = select_sampler.sample( 425 def sample(self, time, outputs, state, name=None): member in class:ScheduledOutputTrainingHelper 545 def sample(self, time, outputs, state, name=None): member in class:GreedyEmbeddingHelper 601 def sample(self, time, outputs, state, name=None): member in class:SampleEmbeddingHelper 663 def sample(self, time, outputs, state, name=None): member in class:InferenceHelper [all...] |
/external/webrtc/webrtc/base/ |
random_unittest.cc | 33 // Sample a number of random integers of type T. Divide them into buckets 48 T sample; local 54 sample = prng->Rand<T>(); 55 } while (sample > upper_limit); 56 buckets[fdiv_remainder(sample, bucket_count)]++; 134 int32_t sample = prng->Rand(low, high); local 135 EXPECT_LE(low, sample); 136 EXPECT_GE(high, sample); 137 buckets[static_cast<uint32_t>(sample - low) / numbers_per_bucket]++; 174 uint32_t sample = prng->Rand(low, high) local 226 uint32_t sample = bucket_count * prng->Rand<float>(); local [all...] |
/frameworks/opt/chips/sample/src/com/android/ex/chips/sample/ |
MainActivity.java | 16 package com.android.ex.chips.sample;
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
SampleQueue.java | 23 /** A sample queue which reads from the buffer and passes to player pipeline. */ 33 public void queueSample(SampleHolder sample) { 34 mQueue.offer(sample); 35 mLastQueuedPositionUs = sample.timeUs; 38 public int dequeueSample(SampleHolder sample) { 43 sample.ensureSpaceForWrite(sampleFromQueue.size); 44 sample.size = sampleFromQueue.size; 45 sample.flags = sampleFromQueue.flags; 46 sample.timeUs = sampleFromQueue.timeUs; 47 sample.clearData() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
InputSmoother.java | 20 * out the data using a moving average over this window size. A sample window size n will 28 * Only consecutive samples will factor into the rolling average sample window. 29 * Any samples that are older than this maximum are continually purged from the sample window, 37 private final Deque<Sample> mRecentSamples = Lists.newLinkedList(); 40 private static class Sample { 50 Sample sample; local 53 final Sample last = mRecentSamples.peekLast(); 59 sample = mRecentSamples.removeFirst(); 61 sample = new Sample() [all...] |
/packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/sample/ |
ClusterDisplayProvider.java | 17 package android.car.cluster.sample;
|
NavigationFragment.java | 16 package android.car.cluster.sample;
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
BitmapUtils.java | 17 package com.android.car.cluster.sample;
|
MessagingConverter.java | 17 package com.android.car.cluster.sample;
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/ |
MediaCard.java | 17 package com.android.car.cluster.sample.cards; 28 import com.android.car.cluster.sample.DebugUtil; 29 import com.android.car.cluster.sample.R;
|
NavCard.java | 17 package com.android.car.cluster.sample.cards; 26 import com.android.car.cluster.sample.ManeuverPanel; 27 import com.android.car.cluster.sample.R;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/test/test_ttk/ |
test_functions.py | 219 def sample(indent=0, indent_size=2): function in function:InternalFunctionsTest.test_format_layoutlist 252 self.assertEqual(sample(), sample_expected()) 254 self.assertEqual(sample(i), sample_expected(i)) 255 self.assertEqual(sample(i, i), sample_expected(i, i))
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/test/test_ttk/ |
test_functions.py | 219 def sample(indent=0, indent_size=2): function in function:InternalFunctionsTest.test_format_layoutlist 252 self.assertEqual(sample(), sample_expected()) 254 self.assertEqual(sample(i), sample_expected(i)) 255 self.assertEqual(sample(i, i), sample_expected(i, i))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_functions.py | 219 def sample(indent=0, indent_size=2): function in function:InternalFunctionsTest.test_format_layoutlist 252 self.assertEqual(sample(), sample_expected()) 254 self.assertEqual(sample(i), sample_expected(i)) 255 self.assertEqual(sample(i, i), sample_expected(i, i))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_functions.py | 219 def sample(indent=0, indent_size=2): function in function:InternalFunctionsTest.test_format_layoutlist 252 self.assertEqual(sample(), sample_expected()) 254 self.assertEqual(sample(i), sample_expected(i)) 255 self.assertEqual(sample(i, i), sample_expected(i, i))
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
SampleTestActivity.java | 17 package com.android.cts.verifier.sample; 36 * A sample CTS Verifier test case for testing file transfers using bluetooth sharing. 51 private static final String TEST_STRING = "Sample Test String"; 80 getReportLog().setSummary("Sample Summary", 1.0, ResultType.HIGHER_BETTER, 82 getReportLog().addValues("Sample Values", metricValues, ResultType.NEUTRAL, 87 reportLog.setSummary("Sample Summary", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); 88 reportLog.addValues("Sample Values", metricValues, ResultType.NEUTRAL, ResultUnit.FPS);
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
AppNavHomeActivity.java | 69 SampleInfo sample = new SampleInfo(label, target); local 70 samples.add(sample);
|
/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...] |
/device/google/contexthub/util/nanotool/ |
sensorevent.cpp | 135 const SensorSampleHeader *sample; local 138 // For index 0, the sample time is the reference time. For each subsequent 139 // sample, sum the delta to the previous sample to get the sample time. 141 sample = GetSampleAtIndex(index); 142 sample_time += sample->delta_time; 161 LOGW("Requested sample at invalid index %u", index); 175 "Event from sensor %d (%s) with %d sample%s\n", 206 const SingleAxisDataPoint *sample local 223 const SingleAxisDataPoint *sample = local 236 const TripleAxisDataPoint *sample = local 262 const CompressedTripleAxisDataPoint *sample = local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
MicrosphereInterpolatingFunction.java | 52 * sample data. 56 * Sample data. 69 /** Illumination received from the brightest sample. */ 72 /** Brightest sample. */ 100 * Store the illumination and index of the brightest sample. 101 * @param illuminationFromSample illumination received from sample 102 * @param sample current sample illuminating the element 105 final Map.Entry<RealVector, Double> sample) { 108 this.brightestSample = sample; 124 Map.Entry<RealVector, Double> sample() { method in class:MicrosphereInterpolatingFunction.MicrosphereSurfaceElement [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
AbstractIntegerDistribution.java | 230 public int sample() throws MathException { method in class:AbstractIntegerDistribution 235 * Generates a random sample from the distribution. The default implementation 236 * generates the sample by calling {@link #sample()} in a loop. 240 * @return an array representing the random sample 241 * @throws MathException if an error occurs generating the sample 244 public int[] sample(int sampleSize) throws MathException { method in class:AbstractIntegerDistribution 250 out[i] = sample();
|
ExponentialDistributionImpl.java | 194 public double sample() throws MathException { method in class:ExponentialDistributionImpl
|