Home
last modified time | relevance | path

Searched refs:max_ (Results 1 – 25 of 43) sorted by relevance

12

/external/google-breakpad/src/testing/src/
Dgmock-cardinalities.cc54 max_(max >= min_ ? max : min_) { in BetweenCardinalityImpl()
75 virtual int ConservativeUpperBound() const { return max_; } in ConservativeUpperBound()
78 return min_ <= call_count && call_count <= max_; in IsSatisfiedByCallCount()
82 return call_count >= max_; in IsSaturatedByCallCount()
89 const int max_; member in testing::__anon80f283160111::BetweenCardinalityImpl
110 if (max_ == 0) { in DescribeTo()
112 } else if (max_ == INT_MAX) { in DescribeTo()
115 *os << "called at most " << FormatTimes(max_); in DescribeTo()
117 } else if (min_ == max_) { in DescribeTo()
119 } else if (max_ == INT_MAX) { in DescribeTo()
[all …]
/external/googletest/googlemock/src/
Dgmock-cardinalities.cc53 max_(max >= min_ ? max : min_) { in BetweenCardinalityImpl()
74 int ConservativeUpperBound() const override { return max_; } in ConservativeUpperBound()
77 return min_ <= call_count && call_count <= max_; in IsSatisfiedByCallCount()
81 return call_count >= max_; in IsSaturatedByCallCount()
88 const int max_; member in testing::__anon3a3374a10111::BetweenCardinalityImpl
109 if (max_ == 0) { in DescribeTo()
111 } else if (max_ == INT_MAX) { in DescribeTo()
114 *os << "called at most " << FormatTimes(max_); in DescribeTo()
116 } else if (min_ == max_) { in DescribeTo()
118 } else if (max_ == INT_MAX) { in DescribeTo()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/src/
Dgmock-cardinalities.cc54 max_(max >= min_ ? max : min_) { in BetweenCardinalityImpl()
75 virtual int ConservativeUpperBound() const { return max_; } in ConservativeUpperBound()
78 return min_ <= call_count && call_count <= max_; in IsSatisfiedByCallCount()
82 return call_count >= max_; in IsSaturatedByCallCount()
89 const int max_; member in testing::__anon6acf5ec60111::BetweenCardinalityImpl
110 if (max_ == 0) { in DescribeTo()
112 } else if (max_ == INT_MAX) { in DescribeTo()
115 *os << "called at most " << FormatTimes(max_); in DescribeTo()
117 } else if (min_ == max_) { in DescribeTo()
119 } else if (max_ == INT_MAX) { in DescribeTo()
[all …]
/external/webrtc/webrtc/base/
Drollingaccumulator.h48 max_ = T(); in Reset()
60 if (sample_to_remove >= max_) { in AddSample()
74 if (count_ == 1 || sample >= max_) { in AddSample()
75 max_ = sample; in AddSample()
101 max_ = samples_[next_index_]; in ComputeMax()
103 max_ = std::max(max_, samples_[(next_index_ + i) % max_count()]); in ComputeMax()
107 return max_; in ComputeMax()
162 mutable T max_; variable
Dexp_filter.cc34 if (max_ != kValueUndefined && filtered_ > max_) { in Apply()
35 filtered_ = max_; in Apply()
Dexp_filter.h24 : max_(max) { in max_() function
45 const float max_; variable
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibration_logger.h32 min_ = max_ = values[0]; in Update()
43 } else if (max_ < val) { in Update()
44 max_ = val; in Update()
54 *max_val = max_; in Get()
60 float min_, max_; variable
/external/tensorflow/tensorflow/core/util/
Dstats_calculator.h42 max_ = std::max(v, max_); in UpdateStat()
57 ValueType max() const { return max_; } in max()
67 bool all_same() const { return (count_ == 0 || min_ == max_); } in all_same()
86 << " curr=" << newest_ << " min=" << min_ << " max=" << max_ in OutputToStream()
100 ValueType max_ = std::numeric_limits<ValueType>::min();
/external/tensorflow/tensorflow/core/lib/histogram/
Dhistogram.cc77 max_ = proto.max(); in DecodeFromProto()
93 max_ = -DBL_MAX; in Clear()
110 if (max_ < value) max_ = value; in Add()
148 rhs = std::min(rhs, max_); in Percentile()
156 return max_; in Percentile()
177 (num_ == 0.0 ? 0.0 : min_), Median(), max_); in ToString()
205 proto->set_max(max_); in EncodeToProto()
Dhistogram.h89 double max_; variable
/external/tensorflow/tensorflow/core/kernels/
Dfake_quant_ops.cc62 OP_REQUIRES_OK(context, context->GetAttr("max", &max_)); in FakeQuantWithMinMaxArgsOp()
63 OP_REQUIRES(context, min_ < max_, in FakeQuantWithMinMaxArgsOp()
65 " >= ", max_)); in FakeQuantWithMinMaxArgsOp()
79 functor(context->eigen_device<Device>(), input.flat<float>(), min_, max_, in Operate()
85 float max_; member in tensorflow::FakeQuantWithMinMaxArgsOp
102 OP_REQUIRES_OK(context, context->GetAttr("max", &max_)); in FakeQuantWithMinMaxArgsGradientOp()
103 OP_REQUIRES(context, min_ < max_, in FakeQuantWithMinMaxArgsGradientOp()
105 " >= ", max_)); in FakeQuantWithMinMaxArgsGradientOp()
129 input.flat<float>(), min_, max_, quant_min_, quant_max_, in OperateNoTemplate()
135 float max_; member in tensorflow::FakeQuantWithMinMaxArgsGradientOp
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtest_utils.h42 : min_(min_value), max_(max_value), generator_(seed) {} in PseudorandomGenerator()
48 (max_ - min_) * distribution(generator_)); in get()
53 NativeT max_; variable
/external/webp/src/utils/
Dquant_levels_dec_utils.c66 int min_, max_; // min and max level values member
145 if (v < p->max_ && v > p->min_) { in ApplyFilter()
188 p->max_ = 0; in CountLevels()
193 if (v > p->max_) p->max_ = v; in CountLevels()
199 p->min_level_dist_ = p->max_ - p->min_; in CountLevels()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework.h97 max_(0) { in Stats()
136 return max_; in GetMax()
155 min_ = max_ = 0; in RefreshMinMax()
160 min_ = max_ = *it; in RefreshMinMax()
163 max_ = std::max(max_, *it); in RefreshMinMax()
175 T max_; variable
/external/libchrome/base/metrics/
Dhistogram_samples.cc44 int64_t max_; member in base::__anonbd76f3640111::SampleCountPickleIterator
61 if (!iter_->ReadInt(&min_) || !iter_->ReadInt64(&max_) || in Next()
72 *max = max_; in Get()
282 : min_(min), max_(max), bucket_index_(bucket_index), count_(count) {} in SingleSampleIterator()
302 *max = max_; in Get()
/external/v8/src/compiler/
Dnode-cache.h33 : entries_(nullptr), size_(0), max_(max) {} in entries_()
54 size_t max_; variable
Dnode-cache.cc33 if (size_ >= max_) return false; // Don't grow past the maximum size. in Resize()
/external/tensorflow/tensorflow/core/grappler/costs/
Dutils.cc342 max_ = std::max(max_, value); in Add()
350 max_ = std::max(max_, src.max_); in Merge()
364 r.append(strings::HumanReadableNumBytes(max_)); in ToString()
Dutils.h91 uint64 Max() const { return max_; } in Max()
107 uint64 max_ = 0; variable
/external/deqp/modules/gles2/functional/
Des2fImplementationLimitTests.cpp67 FloatRange (float min_, float max_) : min(min_), max(max_) {} in FloatRange()
/external/tensorflow/tensorflow/core/nccl/
Dnccl_manager_test.cc88 test::FillFn<Scalar>(&test_case->expected, [](int) { return -max_; }); in MakeReductionTestCase()
90 test::FillFn<Scalar>(&test_case->expected, [](int) { return max_; }); in MakeReductionTestCase()
241 static const Scalar max_; member in tensorflow::NcclManagerTest
251 const Scalar NcclManagerTest<Scalar>::max_ = member in tensorflow::NcclManagerTest<Scalar>
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_impl.py884 def max_(x, y): function
904 offset_crop_width = max_(-width_diff // 2, 0)
905 offset_pad_width = max_(width_diff // 2, 0)
908 offset_crop_height = max_(-height_diff // 2, 0)
909 offset_pad_height = max_(height_diff // 2, 0)
1280 def max_(x, y): function
1296 ratio = max_(f_width / f_target_width, f_height / f_target_height)
1308 p_height = max_(0, math_ops.cast(f_padding_height, dtype=dtypes.int32))
1309 p_width = max_(0, math_ops.cast(f_padding_width, dtype=dtypes.int32))
/external/skia/third_party/skcms/src/
DTransform_inl.h198 SI F max_(F x, F y) { return (F)vmaxq_f32((float32x4_t)x, (float32x4_t)y); } in max_() function
201 SI F max_(F x, F y) { return if_then_else(x < y, y, x); } in max_() function
512 F ix = max_(F0, min_(v, F1)) * (float)(curve->table_entries - 1); in table()
883 r = max_(F0, min_(r, F1)); in exec_ops()
884 g = max_(F0, min_(g, F1)); in exec_ops()
885 b = max_(F0, min_(b, F1)); in exec_ops()
886 a = max_(F0, min_(a, F1)); in exec_ops()
/external/skqp/third_party/skcms/src/
DTransform_inl.h198 SI F max_(F x, F y) { return (F)vmaxq_f32((float32x4_t)x, (float32x4_t)y); } in max_() function
201 SI F max_(F x, F y) { return if_then_else(x < y, y, x); } in max_() function
512 F ix = max_(F0, min_(v, F1)) * (float)(curve->table_entries - 1); in table()
883 r = max_(F0, min_(r, F1)); in exec_ops()
884 g = max_(F0, min_(g, F1)); in exec_ops()
885 b = max_(F0, min_(b, F1)); in exec_ops()
886 a = max_(F0, min_(a, F1)); in exec_ops()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_UnsortedSegmentMax.pbtxt27 \\(output_i = \max_{j...} data[j...]\\) where max is over tuples `j...` such

12