Home
last modified time | relevance | path

Searched refs:MaxValue (Results 1 – 25 of 65) sorted by relevance

123

/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DSampleMessages.cs71 SingleUint32 = UInt32.MaxValue, in CreateFullTestAllTypes()
72 SingleUint64 = UInt64.MaxValue, in CreateFullTestAllTypes()
76 RepeatedFixed32 = { UInt32.MaxValue, 23 }, in CreateFullTestAllTypes()
77 RepeatedFixed64 = { UInt64.MaxValue, 1234567890123 }, in CreateFullTestAllTypes()
84 RepeatedInt64 = { 3210987654321, Int64.MaxValue }, in CreateFullTestAllTypes()
93 RepeatedUint32 = { UInt32.MaxValue, UInt32.MinValue }, in CreateFullTestAllTypes()
94 RepeatedUint64 = { UInt64.MaxValue, UInt32.MinValue }, in CreateFullTestAllTypes()
DGeneratedMessageTest.cs162 SingleUint32 = uint.MaxValue, in RoundTrip_SingleValues()
163 SingleUint64 = ulong.MaxValue in RoundTrip_SingleValues()
179 RepeatedFixed32 = { uint.MaxValue, 23 }, in RoundTrip_RepeatedValues()
180 RepeatedFixed64 = { ulong.MaxValue, 1234567890123 }, in RoundTrip_RepeatedValues()
187 RepeatedInt64 = { 3210987654321, long.MaxValue }, in RoundTrip_RepeatedValues()
196 RepeatedUint32 = { uint.MaxValue, uint.MinValue }, in RoundTrip_RepeatedValues()
197 RepeatedUint64 = { ulong.MaxValue, uint.MinValue } in RoundTrip_RepeatedValues()
458 SingleUint32 = uint.MaxValue, in CloneSingleNonMessageValues()
459 SingleUint64 = ulong.MaxValue in CloneSingleNonMessageValues()
477 RepeatedFixed32 = { uint.MaxValue, 23 }, in CloneRepeatedNonMessageValues()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs71 SingleUint32 = UInt32.MaxValue, in CreateFullTestAllTypes()
72 SingleUint64 = UInt64.MaxValue, in CreateFullTestAllTypes()
76 RepeatedFixed32 = { UInt32.MaxValue, 23 }, in CreateFullTestAllTypes()
77 RepeatedFixed64 = { UInt64.MaxValue, 1234567890123 }, in CreateFullTestAllTypes()
84 RepeatedInt64 = { 3210987654321, Int64.MaxValue }, in CreateFullTestAllTypes()
93 RepeatedUint32 = { UInt32.MaxValue, UInt32.MinValue }, in CreateFullTestAllTypes()
94 RepeatedUint64 = { UInt64.MaxValue, UInt32.MinValue }, in CreateFullTestAllTypes()
DGeneratedMessageTest.cs162 SingleUint32 = uint.MaxValue, in RoundTrip_SingleValues()
163 SingleUint64 = ulong.MaxValue in RoundTrip_SingleValues()
179 RepeatedFixed32 = { uint.MaxValue, 23 }, in RoundTrip_RepeatedValues()
180 RepeatedFixed64 = { ulong.MaxValue, 1234567890123 }, in RoundTrip_RepeatedValues()
187 RepeatedInt64 = { 3210987654321, long.MaxValue }, in RoundTrip_RepeatedValues()
196 RepeatedUint32 = { uint.MaxValue, uint.MinValue }, in RoundTrip_RepeatedValues()
197 RepeatedUint64 = { ulong.MaxValue, uint.MinValue } in RoundTrip_RepeatedValues()
458 SingleUint32 = uint.MaxValue, in CloneSingleNonMessageValues()
459 SingleUint64 = ulong.MaxValue in CloneSingleNonMessageValues()
477 RepeatedFixed32 = { uint.MaxValue, 23 }, in CloneRepeatedNonMessageValues()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DCustomOptionsTest.cs182 AssertOption(int.MaxValue, options.TryGetInt32, Int32Opt); in MaxValues()
183 AssertOption(long.MaxValue, options.TryGetInt64, Int64Opt); in MaxValues()
184 AssertOption(uint.MaxValue, options.TryGetUInt32, UInt32Opt); in MaxValues()
185 AssertOption(ulong.MaxValue, options.TryGetUInt64, UInt64Opt); in MaxValues()
186 AssertOption(int.MaxValue, options.TryGetSInt32, SInt32Opt); in MaxValues()
187 AssertOption(long.MaxValue, options.TryGetSInt64, SInt64Opt); in MaxValues()
188 AssertOption(uint.MaxValue, options.TryGetFixed32, Fixed32Opt); in MaxValues()
189 AssertOption(ulong.MaxValue, options.TryGetFixed64, Fixed64Opt); in MaxValues()
190 AssertOption(int.MaxValue, options.TryGetSFixed32, SFixed32Opt); in MaxValues()
191 AssertOption(long.MaxValue, options.TryGetSFixed64, SFixed64Opt); in MaxValues()
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.cpp203 template<> cl_int AtomicTypeExtendedInfo<cl_int>::MaxValue() {return CL_INT_MAX;} in MaxValue() function in AtomicTypeExtendedInfo
204 template<> cl_uint AtomicTypeExtendedInfo<cl_uint>::MaxValue() {return CL_UINT_MAX;} in MaxValue() function in AtomicTypeExtendedInfo
205 template<> cl_long AtomicTypeExtendedInfo<cl_long>::MaxValue() {return CL_LONG_MAX;} in MaxValue() function in AtomicTypeExtendedInfo
206 template<> cl_ulong AtomicTypeExtendedInfo<cl_ulong>::MaxValue() {return CL_ULONG_MAX;} in MaxValue() function in AtomicTypeExtendedInfo
207 template<> cl_float AtomicTypeExtendedInfo<cl_float>::MaxValue() {return CL_FLT_MAX;} in MaxValue() function in AtomicTypeExtendedInfo
208 template<> cl_double AtomicTypeExtendedInfo<cl_double>::MaxValue() {return CL_DBL_MAX;} in MaxValue() function in AtomicTypeExtendedInfo
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DTimespec.cs59 return new Timespec(long.MaxValue, 0, ClockType.Realtime);
135 return DateTime.MaxValue; in ToDateTime()
154 return tv_sec > 0 ? DateTime.MaxValue : DateTime.MinValue; in ToDateTime()
159 return tv_sec > 0 ? DateTime.MaxValue : DateTime.MinValue; in ToDateTime()
173 if (dateTime == DateTime.MaxValue) in FromDateTime()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_summary_test.cc86 EXPECT_EQ(summary.MaxValue(), buffer1_max_value_); in TEST_F()
106 EXPECT_EQ(summary.MaxValue(), buffer1_max_value_); in TEST_F()
124 EXPECT_EQ(summary.MaxValue(), buffer1_max_value_); in TEST_F()
176 EXPECT_EQ(summary1.MaxValue(), in TEST_F()
188 EXPECT_EQ(summary2.MaxValue(), in TEST_F()
216 EXPECT_EQ(summary1.MaxValue(), in TEST_F()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DTimespecTest.cs86 Assert.AreEqual(DateTime.MaxValue, Timespec.InfFuture.ToDateTime()); in ToDateTime()
112 var timespec = new Timespec(long.MaxValue - 100, 0); in ToDateTime_Overflow()
114 Assert.AreEqual(DateTime.MaxValue, timespec.ToDateTime()); in ToDateTime_Overflow()
128 Assert.AreEqual(DateTime.MaxValue, timespec.ToDateTime()); in ToDateTime_OutOfDateTimeRange()
150 Assert.AreEqual(Timespec.InfFuture, Timespec.FromDateTime(DateTime.MaxValue)); in FromDateTime()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs137 Int32Field = { int.MaxValue, int.MinValue, 0 }, in RepeatedWrappersSerializeDeserialize()
138 Int64Field = { long.MaxValue, long.MinValue, 0L }, in RepeatedWrappersSerializeDeserialize()
140 Uint32Field = { uint.MaxValue, uint.MinValue, 0U }, in RepeatedWrappersSerializeDeserialize()
141 Uint64Field = { ulong.MaxValue, ulong.MinValue, 0UL }, in RepeatedWrappersSerializeDeserialize()
190 Int32Field = { { 5, int.MaxValue }, { 6, int.MinValue }, { 7, 0 } }, in MapWrappersSerializeDeserialize()
191 Int64Field = { { 8, long.MaxValue }, { 9, long.MinValue }, { 10, 0L } }, in MapWrappersSerializeDeserialize()
193 Uint32Field = { { 15, uint.MaxValue }, { 16, uint.MinValue }, { 17, 0U } }, in MapWrappersSerializeDeserialize()
194 Uint64Field = { { 18, ulong.MaxValue }, { 19, ulong.MinValue }, { 20, 0UL } }, in MapWrappersSerializeDeserialize()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs137 Int32Field = { int.MaxValue, int.MinValue, 0 }, in RepeatedWrappersSerializeDeserialize()
138 Int64Field = { long.MaxValue, long.MinValue, 0L }, in RepeatedWrappersSerializeDeserialize()
140 Uint32Field = { uint.MaxValue, uint.MinValue, 0U }, in RepeatedWrappersSerializeDeserialize()
141 Uint64Field = { ulong.MaxValue, ulong.MinValue, 0UL }, in RepeatedWrappersSerializeDeserialize()
190 Int32Field = { { 5, int.MaxValue }, { 6, int.MinValue }, { 7, 0 } }, in MapWrappersSerializeDeserialize()
191 Int64Field = { { 8, long.MaxValue }, { 9, long.MinValue }, { 10, 0L } }, in MapWrappersSerializeDeserialize()
193 Uint32Field = { { 15, uint.MaxValue }, { 16, uint.MinValue }, { 17, 0U } }, in MapWrappersSerializeDeserialize()
194 Uint64Field = { { 18, ulong.MaxValue }, { 19, ulong.MinValue }, { 20, 0UL } }, in MapWrappersSerializeDeserialize()
/external/swiftshader/third_party/subzero/src/
DIceSwitchLowering.cpp64 const uint64_t MaxValue = CaseClusters.back().High; in clusterizeSwitch() local
67 const uint64_t Range = MaxValue - MinValue; in clusterizeSwitch()
91 CaseClusters.emplace_back(MinValue, MaxValue, JumpTable); in clusterizeSwitch()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dconstants.cc101 XlaOp MaxValue(XlaBuilder* builder, PrimitiveType type) { in MaxValue() function
102 return ConstantLiteral(builder, LiteralUtil::MaxValue(type)); in MaxValue()
117 return MaxValue(builder, type); in MaxFiniteValue()
Dconstants_test.cc140 MaxValue(&builder, S32); in XLA_TEST_F()
153 MaxValue(&builder, F32); in XLA_TEST_F()
Darithmetic.cc142 value_init_value = MaxValue(builder, input_shape.element_type()); in ArgMinMax()
174 init_value = MaxValue(builder, input_shape.element_type()); in ArgMinMaxTwoPass()
/external/libvpx/libvpx/test/
Davg_test.cc346 TEST_P(AverageTest, MaxValue) { in TEST_P() argument
365 TEST_P(AverageTestHBD, MaxValue) { in TEST_P() argument
386 TEST_P(IntProRowTest, MaxValue) { in TEST_P() argument
401 TEST_P(IntProColTest, MaxValue) { in TEST_P() argument
418 TEST_P(SatdLowbdTest, MaxValue) { in TEST_P() argument
473 TEST_P(SatdHighbdTest, MaxValue) { in TEST_P() argument
519 TEST_P(BlockErrorTestFP, MaxValue) { in TEST_P() argument
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DBenchmarkResult.h93 double max() const { return MaxValue; } in max()
101 double MaxValue = std::numeric_limits<double>::min();
/external/libaom/libaom/test/
Davg_test.cc125 TEST_P(AverageTest, MaxValue) { in TEST_P() argument
221 TEST_P(IntProRowTest, MaxValue) { in TEST_P() argument
236 TEST_P(IntProColTest, MaxValue) { in TEST_P() argument
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DTimeoutsTest.cs62 Assert.AreEqual(DateTime.MaxValue, context.Deadline); in InfiniteDeadline()
70 …ls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: DateTime.MaxValue)), "abc")); in InfiniteDeadline()
/external/scudo/standalone/
Drelease.h53 uptr MaxValue) in PackedCounterArray() argument
57 CHECK_GT(MaxValue, 0); in PackedCounterArray()
62 roundUpToPowerOfTwo(getMostSignificantSetBitIndex(MaxValue) + 1); in PackedCounterArray()
/external/grpc-grpc/src/csharp/Grpc.Core/Logging/
DLogLevel.cs46 Off = int.MaxValue
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dquantize_and_dequantize_op.cc76 min_range = ReduceAll(input, xla::MaxValue(b, xla_type), *fmin); in Compile()
94 min_range = Reduce(input, xla::MaxValue(b, xla_type), *fmin, in Compile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp274 APInt MinValue, MaxValue; in makeGuaranteedNoWrapRegion() local
277 MaxValue = APInt::getMaxValue(BitWidth); in makeGuaranteedNoWrapRegion()
280 MaxValue = APInt::getSignedMaxValue(BitWidth); in makeGuaranteedNoWrapRegion()
284 return ConstantRange(-MaxValue, MinValue); in makeGuaranteedNoWrapRegion()
288 Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP); in makeGuaranteedNoWrapRegion()
292 Upper = APIntOps::RoundingUDiv(MaxValue, V, APInt::Rounding::DOWN); in makeGuaranteedNoWrapRegion()
295 Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN); in makeGuaranteedNoWrapRegion()
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs97 internal const int DefaultSizeLimit = Int32.MaxValue;
110 private int currentLimit = int.MaxValue;
1012 if (currentLimit == int.MaxValue)
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DStats.cs100 return EnumerableExtensions.Min(EnumerableExtensions.DefaultIfEmpty(X, int.MaxValue)); in min()

123