Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 7576) sorted by relevance

12345678910>>...304

/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
DTensors.java29 public static Tensor<String> create(String data) { in create() method in Tensors
30 return Tensor.create(data.getBytes(UTF_8), String.class); in create()
39 public static Tensor<String> create(String data, java.nio.charset.Charset charset) { in create() method in Tensors
40 return Tensor.create(data.getBytes(charset), String.class); in create()
48 public static Tensor<Float> create(float data) { in create() method in Tensors
49 return Tensor.create(data, Float.class); in create()
58 public static Tensor<Float> create(float[] data) { in create() method in Tensors
59 return Tensor.create(data, Float.class); in create()
68 public static Tensor<Float> create(float[][] data) { in create() method in Tensors
69 return Tensor.create(data, Float.class); in create()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/common/
DTimestampTest.java34 assertThat(Timestamp.create(24, 42).getSeconds()).isEqualTo(24); in timestampCreate()
35 assertThat(Timestamp.create(24, 42).getNanos()).isEqualTo(42); in timestampCreate()
36 assertThat(Timestamp.create(-24, 42).getSeconds()).isEqualTo(-24); in timestampCreate()
37 assertThat(Timestamp.create(-24, 42).getNanos()).isEqualTo(42); in timestampCreate()
38 assertThat(Timestamp.create(315576000000L, 999999999).getSeconds()).isEqualTo(315576000000L); in timestampCreate()
39 assertThat(Timestamp.create(315576000000L, 999999999).getNanos()).isEqualTo(999999999); in timestampCreate()
40 assertThat(Timestamp.create(-315576000000L, 999999999).getSeconds()).isEqualTo(-315576000000L); in timestampCreate()
41 assertThat(Timestamp.create(-315576000000L, 999999999).getNanos()).isEqualTo(999999999); in timestampCreate()
48 Timestamp.create(-315576000001L, 0); in create_SecondsTooLow()
55 Timestamp.create(315576000001L, 0); in create_SecondsTooHigh()
[all …]
DDurationTest.java34 assertThat(Duration.create(24, 42).getSeconds()).isEqualTo(24); in testDurationCreate()
35 assertThat(Duration.create(24, 42).getNanos()).isEqualTo(42); in testDurationCreate()
36 assertThat(Duration.create(-24, -42).getSeconds()).isEqualTo(-24); in testDurationCreate()
37 assertThat(Duration.create(-24, -42).getNanos()).isEqualTo(-42); in testDurationCreate()
38 assertThat(Duration.create(315576000000L, 999999999).getSeconds()).isEqualTo(315576000000L); in testDurationCreate()
39 assertThat(Duration.create(315576000000L, 999999999).getNanos()).isEqualTo(999999999); in testDurationCreate()
40 assertThat(Duration.create(-315576000000L, -999999999).getSeconds()).isEqualTo(-315576000000L); in testDurationCreate()
41 assertThat(Duration.create(-315576000000L, -999999999).getNanos()).isEqualTo(-999999999); in testDurationCreate()
48 Duration.create(-315576000001L, 0); in create_SecondsTooLow()
55 Duration.create(315576000001L, 0); in create_SecondsTooHigh()
[all …]
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/core/
DConstant.java47 public static Constant<Integer> create(Scope scope, int data) { in create() method in Constant
48 return create(scope, data, Integer.class); in create()
58 public static Constant<Integer> create(Scope scope, int[] data) { in create() method in Constant
59 return create(scope, data, Integer.class); in create()
69 public static Constant<Integer> create(Scope scope, int[][] data) { in create() method in Constant
70 return create(scope, data, Integer.class); in create()
80 public static Constant<Integer> create(Scope scope, int[][][] data) { in create() method in Constant
81 return create(scope, data, Integer.class); in create()
91 public static Constant<Integer> create(Scope scope, int[][][][] data) { in create() method in Constant
92 return create(scope, data, Integer.class); in create()
[all …]
/external/opencensus-java/contrib/grpc_metrics/src/main/java/io/opencensus/contrib/grpc/metrics/
DRpcViewConstants.java126 @VisibleForTesting static final Aggregation MEAN = Aggregation.Mean.create();
127 @VisibleForTesting static final Aggregation COUNT = Count.create();
131 Distribution.create(BucketBoundaries.create(RPC_BYTES_BUCKET_BOUNDARIES));
135 Distribution.create(BucketBoundaries.create(RPC_MILLIS_BUCKET_BOUNDARIES));
138 Distribution.create(BucketBoundaries.create(RPC_MILLIS_BUCKET_BOUNDARIES_DEPRECATED));
142 Distribution.create(BucketBoundaries.create(RPC_COUNT_BUCKET_BOUNDARIES));
144 @VisibleForTesting static final Duration MINUTE = Duration.create(60, 0);
145 @VisibleForTesting static final Duration HOUR = Duration.create(60 * 60, 0);
148 static final View.AggregationWindow CUMULATIVE = View.AggregationWindow.Cumulative.create();
152 View.AggregationWindow.Interval.create(MINUTE);
[all …]
DRpcMeasureConstants.java38 @Deprecated public static final TagKey RPC_STATUS = TagKey.create("canonical_status");
46 @Deprecated public static final TagKey RPC_METHOD = TagKey.create("method");
57 public static final TagKey GRPC_CLIENT_STATUS = TagKey.create("grpc_client_status");
68 public static final TagKey GRPC_SERVER_STATUS = TagKey.create("grpc_server_status");
78 public static final TagKey GRPC_CLIENT_METHOD = TagKey.create("grpc_client_method");
88 public static final TagKey GRPC_SERVER_METHOD = TagKey.create("grpc_server_method");
124 Measure.MeasureLong.create("grpc.io/client/error_count", "RPC Errors", COUNT);
134 Measure.MeasureDouble.create("grpc.io/client/request_bytes", "Request bytes", BYTE);
144 Measure.MeasureDouble.create("grpc.io/client/response_bytes", "Response bytes", BYTE);
154 Measure.MeasureDouble.create(
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DDistributionTest.java46 private static final Timestamp TIMESTAMP = Timestamp.create(1, 0);
52 Bucket bucket = Bucket.create(98); in createAndGet_Bucket()
59 Exemplar exemplar = Exemplar.create(12.2, TIMESTAMP, ATTACHMENTS); in createAndGet_BucketWithExemplar()
60 Bucket bucket = Bucket.create(7, exemplar); in createAndGet_BucketWithExemplar()
69 Bucket.create(1, null); in createBucket_preventNullExemplar()
74 Exemplar exemplar = Exemplar.create(-9.9, TIMESTAMP, ATTACHMENTS); in createAndGet_Exemplar()
148 Exemplar exemplar = Exemplar.create(15.0, TIMESTAMP, ATTACHMENTS); in createAndGet_Distribution()
153 Bucket.create(3), Bucket.create(1), Bucket.create(2), Bucket.create(4, exemplar)); in createAndGet_Distribution()
154 Distribution distribution = Distribution.create(10, 6.6, 678.54, bucketOptions, buckets); in createAndGet_Distribution()
181 Bucket.create(-5); in createBucket_NegativeCount()
[all …]
DSummaryTest.java40 ValueAtPercentile valueAtPercentile = ValueAtPercentile.create(99.5, 10.2); in createAndGet_ValueAtPercentile()
49 ValueAtPercentile.create(100.1, 10.2); in createValueAtPercentile_InvalidValueAtPercentileInterval()
56 ValueAtPercentile.create(99.5, -10.2); in createValueAtPercentile_NegativeValue()
62 Snapshot.create( in createAndGet_Snapshot()
63 10L, 87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createAndGet_Snapshot()
67 .containsExactly(ValueAtPercentile.create(99.5, 10.2)); in createAndGet_Snapshot()
73 Snapshot.create( in createAndGet_Snapshot_WithNullCountAndSum()
74 null, null, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createAndGet_Snapshot_WithNullCountAndSum()
78 .containsExactly(ValueAtPercentile.create(99.5, 10.2)); in createAndGet_Snapshot_WithNullCountAndSum()
85 Snapshot.create(-10L, 87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createSnapshot_NegativeCount()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DViewTest.java50 View.create( in sortTagKeys()
56 TagKey.create("ab"), TagKey.create("a"), TagKey.create("A"), TagKey.create("b"))); in sortTagKeys()
59 TagKey.create("A"), TagKey.create("a"), TagKey.create("ab"), TagKey.create("b")) in sortTagKeys()
65 final View view = View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS); in testDistributionView()
71 assertThat(view.getWindow()).isEqualTo(Cumulative.create()); in testDistributionView()
76 final View view = View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS, Interval.create(MINUTE)); in testIntervalView()
82 assertThat(view.getWindow()).isEqualTo(Interval.create(MINUTE)); in testIntervalView()
89 View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS), in testViewEquals()
90 View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS, Cumulative.create())) in testViewEquals()
92 View.create(NAME, DESCRIPTION + 2, MEASURE, MEAN, KEYS, Cumulative.create())) in testViewEquals()
[all …]
DAggregationDataTest.java49 private static final Timestamp TIMESTAMP_1 = Timestamp.create(1, 0);
50 private static final Timestamp TIMESTAMP_2 = Timestamp.create(2, 0);
58 DistributionData.create(7.7, 10, 1.1, 9.9, 32.2, Arrays.asList(4L, 1L, 5L)); in testCreateDistributionData()
69 Exemplar exemplar1 = Exemplar.create(4, TIMESTAMP_2, ATTACHMENTS); in testCreateDistributionDataWithExemplar()
70 Exemplar exemplar2 = Exemplar.create(1, TIMESTAMP_1, ATTACHMENTS); in testCreateDistributionDataWithExemplar()
72 DistributionData.create( in testCreateDistributionDataWithExemplar()
79 Exemplar exemplar = Exemplar.create(15.0, TIMESTAMP_1, ATTACHMENTS); in testExemplar()
89 Exemplar.create(15, TIMESTAMP_1, null); in testExemplar_PreventNullAttachments()
97 Exemplar.create(15, TIMESTAMP_1, attachments); in testExemplar_PreventNullAttachmentKey()
105 Exemplar.create(15, TIMESTAMP_1, attachments); in testExemplar_PreventNullAttachmentValue()
[all …]
DViewDataTest.java65 View view = View.create(NAME, DESCRIPTION, MEASURE_DOUBLE, DISTRIBUTION, TAG_KEYS, CUMULATIVE); in testCumulativeViewData()
68 AggregationWindowData windowData = CumulativeData.create(start, end); in testCumulativeViewData()
69 ViewData viewData = ViewData.create(view, ENTRIES, windowData); in testCumulativeViewData()
78 View.create(NAME, DESCRIPTION, MEASURE_DOUBLE, DISTRIBUTION, TAG_KEYS, INTERVAL_HOUR); in testIntervalViewData()
80 AggregationWindowData windowData = IntervalData.create(end); in testIntervalViewData()
81 ViewData viewData = ViewData.create(view, ENTRIES, windowData); in testIntervalViewData()
90 View.create(NAME, DESCRIPTION, MEASURE_DOUBLE, DISTRIBUTION, TAG_KEYS, CUMULATIVE); in testViewDataEquals()
92 View.create(NAME, DESCRIPTION, MEASURE_DOUBLE, DISTRIBUTION, TAG_KEYS, INTERVAL_HOUR); in testViewDataEquals()
96 ViewData.create( in testViewDataEquals()
99 CumulativeData.create(Timestamp.fromMillis(1000), Timestamp.fromMillis(2000))), in testViewDataEquals()
[all …]
DAggregationTest.java45 BucketBoundaries bucketBoundaries = BucketBoundaries.create(Arrays.asList(0.1, 2.2, 33.3)); in testCreateDistribution()
46 Distribution distribution = Distribution.create(bucketBoundaries); in testCreateDistribution()
54 Distribution.create(null); in testNullBucketBoundaries()
60 .addEqualityGroup(Sum.create(), Sum.create()) in testEquals()
61 .addEqualityGroup(Count.create(), Count.create()) in testEquals()
63 Distribution.create(BucketBoundaries.create(Arrays.asList(-10.0, 1.0, 5.0))), in testEquals()
64 Distribution.create(BucketBoundaries.create(Arrays.asList(-10.0, 1.0, 5.0)))) in testEquals()
66 Distribution.create(BucketBoundaries.create(Arrays.asList(0.0, 1.0, 5.0))), in testEquals()
67 Distribution.create(BucketBoundaries.create(Arrays.asList(0.0, 1.0, 5.0)))) in testEquals()
68 .addEqualityGroup(Mean.create(), Mean.create()) in testEquals()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DMutableAggregationTest.java64 BucketBoundaries.create(Arrays.asList(-10.0, 0.0, 10.0));
66 BucketBoundaries.create(Collections.<Double>emptyList());
67 private static final Timestamp TIMESTAMP = Timestamp.create(60, 0);
71 assertThat(MutableSumDouble.create().getSum()).isWithin(TOLERANCE).of(0); in testCreateEmpty()
72 assertThat(MutableSumLong.create().getSum()).isWithin(TOLERANCE).of(0); in testCreateEmpty()
73 assertThat(MutableCount.create().getCount()).isEqualTo(0); in testCreateEmpty()
74 assertThat(MutableMean.create().getMean()).isWithin(TOLERANCE).of(0); in testCreateEmpty()
75 assertThat(MutableLastValueDouble.create().getLastValue()).isNaN(); in testCreateEmpty()
76 assertThat(MutableLastValueLong.create().getLastValue()).isNaN(); in testCreateEmpty()
78 BucketBoundaries bucketBoundaries = BucketBoundaries.create(Arrays.asList(0.1, 2.2, 33.3)); in testCreateEmpty()
[all …]
DViewManagerImplTest.java76 private static final TagKey KEY = TagKey.create("KEY");
78 private static final TagValue VALUE = TagValue.create("VALUE");
79 private static final TagValue VALUE_2 = TagValue.create("VALUE_2");
90 MeasureDouble.create(MEASURE_NAME, MEASURE_DESCRIPTION, MEASURE_UNIT);
93 MeasureLong.create(MEASURE_NAME_2, MEASURE_DESCRIPTION, MEASURE_UNIT);
95 private static final Name VIEW_NAME = Name.create("my view");
96 private static final Name VIEW_NAME_2 = Name.create("my view 2");
100 private static final Cumulative CUMULATIVE = Cumulative.create();
104 private static final Duration TEN_SECONDS = Duration.create(10, 0);
105 private static final Interval INTERVAL = Interval.create(TEN_SECONDS);
[all …]
DStatsRecorderImplTest.java62 private static final TagKey KEY = TagKey.create("KEY");
63 private static final TagValue VALUE = TagValue.create("VALUE");
64 private static final TagValue VALUE_2 = TagValue.create("VALUE_2");
66 MeasureDouble.create("my measurement", "description", "us");
68 MeasureDouble.create("my measurement no view 1", "description", "us");
70 MeasureDouble.create("my measurement no view 2", "description", "us");
71 private static final View.Name VIEW_NAME = View.Name.create("my view");
73 BucketBoundaries.create(Arrays.asList(-10.0, 0.0, 10.0));
74 private static final Distribution DISTRIBUTION = Distribution.create(BUCKET_BOUNDARIES);
76 Distribution.create(BucketBoundaries.create(Collections.<Double>emptyList()));
[all …]
/external/icu/icu4c/source/i18n/
Dmeasunit.cpp594 return MeasureUnit::create(0, 0, status); in createGForce()
602 return MeasureUnit::create(0, 1, status); in createMeterPerSecondSquared()
610 return MeasureUnit::create(1, 0, status); in createArcMinute()
618 return MeasureUnit::create(1, 1, status); in createArcSecond()
626 return MeasureUnit::create(1, 2, status); in createDegree()
634 return MeasureUnit::create(1, 3, status); in createRadian()
642 return MeasureUnit::create(1, 4, status); in createRevolutionAngle()
650 return MeasureUnit::create(2, 0, status); in createAcre()
658 return MeasureUnit::create(2, 1, status); in createDunam()
666 return MeasureUnit::create(2, 2, status); in createHectare()
[all …]
/external/cronet/third_party/icu/source/i18n/
Dmeasunit.cpp594 return MeasureUnit::create(0, 0, status); in createGForce()
602 return MeasureUnit::create(0, 1, status); in createMeterPerSecondSquared()
610 return MeasureUnit::create(1, 0, status); in createArcMinute()
618 return MeasureUnit::create(1, 1, status); in createArcSecond()
626 return MeasureUnit::create(1, 2, status); in createDegree()
634 return MeasureUnit::create(1, 3, status); in createRadian()
642 return MeasureUnit::create(1, 4, status); in createRevolutionAngle()
650 return MeasureUnit::create(2, 0, status); in createAcre()
658 return MeasureUnit::create(2, 1, status); in createDunam()
666 return MeasureUnit::create(2, 2, status); in createHectare()
[all …]
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/
Dchlo_legalize_to_hlo.cc72 Value constant = rewriter.create<mhlo::ConstantOp>(loc, op.value()); in matchAndRewrite()
73 Value shape = rewriter.create<shape::ShapeOfOp>(loc, adaptor.operand()); in matchAndRewrite()
90 b0 = rewriter.create<mhlo::MulOp>(loc, x.getType(), x, b1); in materializeChebyshevPolynomialApproximation()
91 b0 = rewriter.create<mhlo::SubtractOp>(loc, x.getType(), b0, b2); in materializeChebyshevPolynomialApproximation()
92 b0 = rewriter.create<mhlo::AddOp>( in materializeChebyshevPolynomialApproximation()
95 Value result = rewriter.create<mhlo::SubtractOp>(loc, x.getType(), b0, b2); in materializeChebyshevPolynomialApproximation()
96 result = rewriter.create<mhlo::MulOp>( in materializeChebyshevPolynomialApproximation()
106 Value z = rewriter.create<mhlo::AbsOp>(loc, x); in materializeBesselI1eApproximation()
112 Value tmp = rewriter.create<mhlo::MulOp>(loc, half, z); in materializeBesselI1eApproximation()
113 tmp = rewriter.create<mhlo::SubtractOp>(loc, tmp, two); in materializeBesselI1eApproximation()
[all …]
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/
Dbufferize.cc57 return rewriter.create<complex::ConstantOp>(loc, type, in matchAndRewrite()
59 return rewriter.create<arith::ConstantOp>(loc, attr); in matchAndRewrite()
63 Value buffer = rewriter.create<memref::AllocOp>(loc, memrefType); in matchAndRewrite()
66 rewriter.create<memref::StoreOp>(loc, constant, buffer); in matchAndRewrite()
71 Value buffer = rewriter.create<memref::AllocaOp>(loc, memrefType); in matchAndRewrite()
80 Value index = rewriter.create<arith::ConstantIndexOp>(loc, en.index()); in matchAndRewrite()
81 rewriter.create<memref::StoreOp>(loc, value, buffer, index); in matchAndRewrite()
98 Value zero = lb.create<arith::ConstantIndexOp>(0); in matchAndRewrite()
107 Value rank = lb.create<memref::DimOp>(loc, shapes[i], zero); in matchAndRewrite()
110 Value rankIsGreater = lb.create<arith::CmpIOp>( in matchAndRewrite()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DBenchmarkHelpers.java44 <E extends Comparable<E>> Collection<E> create(Collection<E> contents); in create() method
50 <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> contents); in create() method
56 <E> Interner<E> create(Collection<E> contents); in create() method
64 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
70 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
76 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
82 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
88 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
94 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
100 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
[all …]
DMultisetsTest.java43 TreeMultiset<DerivedComparable> set = TreeMultiset.create(); in testNewTreeMultisetDerived()
58 TreeMultiset<LegacyComparable> set = TreeMultiset.create(); in testNewTreeMultisetNonGeneric()
73 TreeMultiset<String> multiset = TreeMultiset.create(Collections.reverseOrder()); in testNewTreeMultisetComparator()
80 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty()
81 Multiset<String> toRetain = HashMultiset.create(Arrays.asList("a", "b", "a")); in testRetainOccurrencesEmpty()
87 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesIterableEmpty()
94 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesMultisetEmpty()
95 Multiset<String> toRemove = HashMultiset.create(Arrays.asList("a", "b", "a")); in testRemoveOccurrencesMultisetEmpty()
101 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnion()
102 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "b", "c")); in testUnion()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DBenchmarkHelpers.java44 <E extends Comparable<E>> Collection<E> create(Collection<E> contents); in create() method
50 <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> contents); in create() method
56 <E> Interner<E> create(Collection<E> contents); in create() method
64 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
70 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
76 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
82 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
88 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
94 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
100 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method
[all …]
DSynchronizedDequeTest.java32 protected Deque<String> create() { in create() method in SynchronizedDequeTest
259 create().element(); in testHoldsLockOnAllOperations()
260 create().offer("foo"); in testHoldsLockOnAllOperations()
261 create().peek(); in testHoldsLockOnAllOperations()
262 create().poll(); in testHoldsLockOnAllOperations()
263 create().remove(); in testHoldsLockOnAllOperations()
264 create().add("foo"); in testHoldsLockOnAllOperations()
265 create().addAll(ImmutableList.of("foo")); in testHoldsLockOnAllOperations()
266 create().clear(); in testHoldsLockOnAllOperations()
267 create().contains("foo"); in testHoldsLockOnAllOperations()
[all …]
/external/opencensus-java/exporters/stats/signalfx/src/test/java/io/opencensus/exporter/stats/signalfx/
DSignalFxSessionAdaptorTest.java63 private static final Duration ONE_SECOND = Duration.create(1, 0);
73 Mockito.when(view.getName()).thenReturn(Name.create("view-name")); in setUp()
74 Mockito.when(view.getColumns()).thenReturn(ImmutableList.of(TagKey.create("animal"))); in setUp()
83 null, AggregationWindow.Cumulative.create())); in checkMetricTypeFromAggregation()
87 Aggregation.Mean.create(), AggregationWindow.Cumulative.create())); in checkMetricTypeFromAggregation()
91 Aggregation.Mean.create(), AggregationWindow.Interval.create(ONE_SECOND))); in checkMetricTypeFromAggregation()
95 Aggregation.Count.create(), AggregationWindow.Cumulative.create())); in checkMetricTypeFromAggregation()
99 Aggregation.Sum.create(), AggregationWindow.Cumulative.create())); in checkMetricTypeFromAggregation()
101 SignalFxSessionAdaptor.getMetricTypeForAggregation(Aggregation.Count.create(), null)); in checkMetricTypeFromAggregation()
102 assertNull(SignalFxSessionAdaptor.getMetricTypeForAggregation(Aggregation.Sum.create(), null)); in checkMetricTypeFromAggregation()
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_widgets.py23 widget = self.create()
28 widget2 = self.create(class_='Foo')
32 widget = self.create()
36 widget2 = self.create(colormap='new')
40 widget = self.create()
44 widget2 = self.create(container=True)
48 widget = self.create()
52 widget2 = self.create(visual='default')
66 def create(self, **kwargs): member in ToplevelTest
70 widget = self.create()
[all …]

12345678910>>...304