Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 1148) sorted by relevance

12345678910>>...46

/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmAlgorithmDefines.h54 MAX(ECC_BN_P256 * 256, MAX(ECC_BN_P638 * 638, \
55 MAX(ECC_NIST_P192 * 192, MAX(ECC_NIST_P224 * 224, \
56 MAX(ECC_NIST_P256 * 256, MAX(ECC_NIST_P384 * 384, \
57 MAX(ECC_NIST_P521 * 521, MAX(ECC_SM2_P256 * 256, \
364 (MAX(ALG_SHA1 * SHA1_BLOCK_SIZE, \
365 MAX(ALG_SHA256 * SHA256_BLOCK_SIZE, \
366 MAX(ALG_SHA384 * SHA384_BLOCK_SIZE, \
367 MAX(ALG_SHA3_256 * SHA3_256_BLOCK_SIZE, \
368 MAX(ALG_SHA3_384 * SHA3_384_BLOCK_SIZE, \
369 MAX(ALG_SHA3_512 * SHA3_512_BLOCK_SIZE, \
[all …]
/external/ComputeLibrary/tests/datasets/system_tests/googlenet/inceptionv1/
DGoogLeNetInceptionV1PoolingLayerDataset.h47 …add_config(TensorShape(112U, 112U, 64U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2,… in GoogLeNetInceptionV1PoolingLayerDataset()
49 …add_config(TensorShape(56U, 56U, 192U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, … in GoogLeNetInceptionV1PoolingLayerDataset()
51 …add_config(TensorShape(28U, 28U, 192U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, … in GoogLeNetInceptionV1PoolingLayerDataset()
53 …add_config(TensorShape(28U, 28U, 256U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, … in GoogLeNetInceptionV1PoolingLayerDataset()
55 …add_config(TensorShape(28U, 28U, 480U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, … in GoogLeNetInceptionV1PoolingLayerDataset()
57 …add_config(TensorShape(14U, 14U, 480U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, … in GoogLeNetInceptionV1PoolingLayerDataset()
59 …add_config(TensorShape(14U, 14U, 512U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, … in GoogLeNetInceptionV1PoolingLayerDataset()
61 …add_config(TensorShape(14U, 14U, 528U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, … in GoogLeNetInceptionV1PoolingLayerDataset()
63 …add_config(TensorShape(14U, 14U, 832U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, … in GoogLeNetInceptionV1PoolingLayerDataset()
65 …add_config(TensorShape(7U, 7U, 832U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, 1,… in GoogLeNetInceptionV1PoolingLayerDataset()
/external/rust/crates/num-traits/src/
Dbounds.rs59 bounded_impl!(usize, usize::MIN, usize::MAX);
60 bounded_impl!(u8, u8::MIN, u8::MAX);
61 bounded_impl!(u16, u16::MIN, u16::MAX);
62 bounded_impl!(u32, u32::MIN, u32::MAX);
63 bounded_impl!(u64, u64::MIN, u64::MAX);
65 bounded_impl!(u128, u128::MIN, u128::MAX);
67 bounded_impl!(isize, isize::MIN, isize::MAX);
68 bounded_impl!(i8, i8::MIN, i8::MAX);
69 bounded_impl!(i16, i16::MIN, i16::MAX);
70 bounded_impl!(i32, i32::MIN, i32::MAX);
[all …]
/external/igt-gpu-tools/tools/
Dintel_gpu_frequency.c42 MAX, enumerator
204 act_upon[MAX] = true; in parse()
205 sscanf(optarg, "%d", &new_freq[MAX]); in parse()
206 new_freq[MIN] = new_freq[MAX]; in parse()
223 act_upon[MAX] = true; in parse()
224 sscanf(optarg+4, "%d", &new_freq[MAX]); in parse()
239 new_freq[MAX] = tmp; in parse()
241 act_upon[MAX] = true; in parse()
247 new_freq[MAX] = tmp; in parse()
249 act_upon[MAX] = true; in parse()
[all …]
/external/rust/crates/protobuf/src/varint/
Dencode.rs136 test(u64::MAX); in test_encoded_varint64_len()
137 test(u64::MAX - 1); in test_encoded_varint64_len()
138 test((i64::MAX as u64) + 1); in test_encoded_varint64_len()
139 test(i64::MAX as u64); in test_encoded_varint64_len()
140 test((i64::MAX as u64) - 1); in test_encoded_varint64_len()
141 test((u32::MAX as u64) + 1); in test_encoded_varint64_len()
142 test(u32::MAX as u64); in test_encoded_varint64_len()
143 test((u32::MAX as u64) - 1); in test_encoded_varint64_len()
144 test((i32::MAX as u64) + 1); in test_encoded_varint64_len()
145 test(i32::MAX as u64); in test_encoded_varint64_len()
[all …]
/external/igt-gpu-tools/tests/i915/
Di915_pm_rps.c50 MAX, enumerator
119 if (freqs[CUR] >= freqs[MIN] && freqs[CUR] <= freqs[MAX]) in wait_freq_settle()
156 igt_assert_lte(freqs[MIN], freqs[MAX]); in check_freq_constraints()
157 igt_assert_lte(freqs[CUR], freqs[MAX]); in check_freq_constraints()
160 igt_assert_lte(freqs[MAX], freqs[RP0]); in check_freq_constraints()
345 idx = MAX; in get_hw_rounded_freq()
377 writeval(sysfs_files[MAX].filp, origfreqs[RP0]); in min_max_config()
399 writeval_inval(sysfs_files[MAX].filp, origfreqs[RPn]); in min_max_config()
419 writeval(sysfs_files[MAX].filp, fmid); in min_max_config()
423 writeval(sysfs_files[MAX].filp, origfreqs[RPn]); in min_max_config()
[all …]
/external/rust/crates/arbitrary/src/
Dunstructured.rs240 let len = if self.data.len() as u64 <= std::u8::MAX as u64 + 1 { in arbitrary_byte_size()
246 } else if self.data.len() as u64 <= std::u16::MAX as u64 + 2 { in arbitrary_byte_size()
252 } else if self.data.len() as u64 <= std::u32::MAX as u64 + 4 { in arbitrary_byte_size()
356 let offset = if delta == T::Unsigned::MAX { in int_in_range_impl()
705 let max = max.unwrap_or(u32::MAX); in arbitrary_loop()
800 const MAX: Self; constant
834 const MAX: Self = Self::MAX; constant
915 assert_eq!(1, u.int_in_range::<u8>(0..=u8::MAX).unwrap()); in int_in_range_uses_minimal_amount_of_bytes()
919 assert_eq!(1, u.int_in_range::<u32>(0..=u8::MAX as u32).unwrap()); in int_in_range_uses_minimal_amount_of_bytes()
923 assert_eq!(1, u.int_in_range::<u32>(0..=u8::MAX as u32 + 1).unwrap()); in int_in_range_uses_minimal_amount_of_bytes()
[all …]
/external/rust/crates/chrono/src/
Doldtime.rs62 pub const MAX: Duration = Duration { constant
63 secs: i64::MAX / MILLIS_PER_SEC,
64 nanos: (i64::MAX % MILLIS_PER_SEC) as i32 * NANOS_PER_MILLI,
110 if d < MIN || d > MAX { in seconds()
219 if d < MIN || d > MAX { in checked_add()
237 if d < MIN || d > MAX { in checked_sub()
259 MAX in max_value()
280 if duration.as_secs() > MAX.secs as u64 { in from_std()
284 if d > MAX { in from_std()
458 use super::{Duration, OutOfRangeError, MAX, MIN};
[all …]
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h48 #undef MAX
49 #define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
91 MAX(TDES_128_BLOCK_SIZE_BYTES, MAX(TDES_192_BLOCK_SIZE_BYTES, 0))
99 MAX(AES_128_BLOCK_SIZE_BYTES, MAX(AES_256_BLOCK_SIZE_BYTES, 0))
105 #define MAX_SM4_BLOCK_SIZE_BYTES MAX(SM4_128_BLOCK_SIZE_BYTES, 0)
111 #define MAX_CAMELLIA_BLOCK_SIZE_BYTES MAX(CAMELLIA_128_BLOCK_SIZE_BYTES, 0)
135 MAX(ECC_BN_P256 * 256, MAX(ECC_BN_P638 * 638, \
136 MAX(ECC_NIST_P192 * 192, MAX(ECC_NIST_P224 * 224, \
137 MAX(ECC_NIST_P256 * 256, MAX(ECC_NIST_P384 * 384, \
138 MAX(ECC_NIST_P521 * 521, MAX(ECC_SM2_P256 * 256, \
[all …]
/external/rust/crates/rayon/src/
Drange_inclusive.rs319 Some(u32::MAX as usize), in test_u32_opt_len()
320 (0..=u32::MAX - 1).into_par_iter().opt_len() in test_u32_opt_len()
323 Some(u32::MAX as usize + 1), in test_u32_opt_len()
324 (0..=u32::MAX).into_par_iter().opt_len() in test_u32_opt_len()
333 Some(usize::MAX), in test_u64_opt_len()
334 (0..=usize::MAX as u64 - 1).into_par_iter().opt_len() in test_u64_opt_len()
336 assert_eq!(None, (0..=usize::MAX as u64).into_par_iter().opt_len()); in test_u64_opt_len()
337 assert_eq!(None, (0..=u64::MAX).into_par_iter().opt_len()); in test_u64_opt_len()
345 Some(usize::MAX), in test_u128_opt_len()
346 (0..=usize::MAX as u128 - 1).into_par_iter().opt_len() in test_u128_opt_len()
[all …]
Drange.rs394 assert_eq!(u128::MAX, (i128::MIN..i128::MAX).len()); in test_i128_len_doesnt_overflow()
402 Some(usize::MAX), in test_u64_opt_len()
403 (0..usize::MAX as u64).into_par_iter().opt_len() in test_u64_opt_len()
405 if (usize::MAX as u64) < u64::MAX { in test_u64_opt_len()
408 (0..(usize::MAX as u64).wrapping_add(1)) in test_u64_opt_len()
412 assert_eq!(None, (0..u64::MAX).into_par_iter().opt_len()); in test_u64_opt_len()
421 Some(usize::MAX), in test_u128_opt_len()
422 (0..usize::MAX as u128).into_par_iter().opt_len() in test_u128_opt_len()
424 assert_eq!(None, (0..1 + usize::MAX as u128).into_par_iter().opt_len()); in test_u128_opt_len()
425 assert_eq!(None, (0..u128::MAX).into_par_iter().opt_len()); in test_u128_opt_len()
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/compare/
DComparableUtilsTest.java445 assertEquals(Instant.MAX, ComparableUtils.max(Instant.MAX, Instant.MAX)); in testMax()
447 assertEquals(Instant.MAX, ComparableUtils.max(Instant.MIN, Instant.MAX)); in testMax()
448 assertEquals(Instant.MAX, ComparableUtils.max(Instant.MAX, Instant.MIN)); in testMax()
455 assertEquals(Instant.MAX, ComparableUtils.max(null, Instant.MAX)); in testMax()
456 assertEquals(Instant.MAX, ComparableUtils.max(Instant.MAX, null)); in testMax()
461 assertEquals(Instant.MAX, ComparableUtils.min(Instant.MAX, Instant.MAX)); in testMin()
463 assertEquals(Instant.MIN, ComparableUtils.min(Instant.MIN, Instant.MAX)); in testMin()
464 assertEquals(Instant.MIN, ComparableUtils.min(Instant.MAX, Instant.MIN)); in testMin()
471 assertEquals(Instant.MAX, ComparableUtils.min(null, Instant.MAX)); in testMin()
472 assertEquals(Instant.MAX, ComparableUtils.min(Instant.MAX, null)); in testMin()
/external/rust/crates/ring/src/
Dlimb.rs369 const MAX: Limb = LimbMask::True as Limb; constant
382 &[0, 0, 0, 0, MAX], in test_limbs_are_even()
395 &[1, 0, 0, 0, MAX], in test_limbs_are_even()
444 (&[MAX], MAX), in test_limbs_equal_limb()
446 (&[MAX, 0, 0], MAX), in test_limbs_equal_limb()
461 (&[MAX, MAX], MAX), in test_limbs_equal_limb()
462 (&[MAX, 1], MAX), in test_limbs_equal_limb()
478 (&[MAX - 1], MAX), in test_limbs_less_than_limb_constant_time()
479 (&[MAX - 1, 0], MAX), in test_limbs_less_than_limb_constant_time()
489 (&[MAX], MAX), in test_limbs_less_than_limb_constant_time()
[all …]
/external/python/cpython2/Objects/stringlib/
Dlocaleutil.h8 #define MAX(x, y) ((x) < (y) ? (y) : (x)) macro
145 l = MIN(l, MAX(MAX(remaining, min_width), 1)); in _Py_InsertThousandsGrouping()
146 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
147 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
175 l = MAX(MAX(remaining, min_width), 1); in _Py_InsertThousandsGrouping()
176 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
177 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
/external/rust/crates/glam/tests/support/
Dmacros.rs65 use core::$t::MAX;
78 assert_eq!(from_x_y(MAX.sqrt(), 0.0).normalize(), from_x_y(1.0, 0.0));
107 from_x_y(MAX.sqrt(), 0.0).try_normalize(),
120 assert_eq!(from_x_y(MAX, 0.0).try_normalize(), None);
121 assert_eq!(from_x_y(MAX, MAX).try_normalize(), None);
130 from_x_y(MAX.sqrt(), 0.0).normalize_or_zero(),
143 assert_eq!(from_x_y(MAX, 0.0).normalize_or_zero(), $vec::ZERO);
144 assert_eq!(from_x_y(MAX, MAX).normalize_or_zero(), $vec::ZERO);
/external/llvm/test/CodeGen/X86/
Dmisched-ilp.ll1 …e=x86_64-apple-macosx -mattr=+sse2 -enable-misched -misched=ilpmax | FileCheck -check-prefix=MAX %s
6 ; MAX: addss
7 ; MAX: addss
8 ; MAX: addss
9 ; MAX: subss
10 ; MAX: addss
/external/crosvm/resources/src/
Daddress_range.rs234 start: u64::MAX, in is_empty()
239 start: u64::MAX, in is_empty()
240 end: u64::MAX - 1 in is_empty()
255 end: u64::MAX in contains()
257 .contains(u64::MAX)); in contains()
327 test_intersect((0, u64::MAX), (3, 5), (3, 5)); in intersect()
478 AddressRange::from_start_and_size(0, u64::MAX), in from_start_and_size_valid()
481 end: u64::MAX - 1 in from_start_and_size_valid()
487 AddressRange::from_start_and_size(1, u64::MAX), in from_start_and_size_valid()
490 end: u64::MAX in from_start_and_size_valid()
[all …]
/external/ComputeLibrary/tests/datasets/system_tests/vgg/vgg16/
DVGG16PoolingLayerDataset.h46 …add_config(TensorShape(224U, 224U, 64U), PoolingLayerInfo(PoolingType::MAX, 2, PadStrideInfo(2, 2,… in VGG16PoolingLayerDataset()
48 …add_config(TensorShape(112U, 112U, 128U), PoolingLayerInfo(PoolingType::MAX, 2, PadStrideInfo(2, 2… in VGG16PoolingLayerDataset()
50 …add_config(TensorShape(56U, 56U, 256U), PoolingLayerInfo(PoolingType::MAX, 2, PadStrideInfo(2, 2, … in VGG16PoolingLayerDataset()
52 …add_config(TensorShape(28U, 28U, 512U), PoolingLayerInfo(PoolingType::MAX, 2, PadStrideInfo(2, 2, … in VGG16PoolingLayerDataset()
54 …add_config(TensorShape(14U, 14U, 512U), PoolingLayerInfo(PoolingType::MAX, 2, PadStrideInfo(2, 2, … in VGG16PoolingLayerDataset()
/external/rust/crates/quiche/src/recovery/
Dhystart.rs89 last_round_min_rtt: Duration::MAX, in new()
91 current_round_min_rtt: Duration::MAX, in new()
93 css_baseline_min_rtt: Duration::MAX, in new()
123 self.current_round_min_rtt = Duration::MAX; in start_round()
145 self.current_round_min_rtt != Duration::MAX && in on_packet_acked()
146 self.last_round_min_rtt != Duration::MAX in on_packet_acked()
168 self.css_baseline_min_rtt = Duration::MAX; in on_packet_acked()
222 assert_eq!(hspp.current_round_min_rtt, Duration::MAX); in start_round()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DAttributesImplSerializer.java57 private static final int MAX = 12; field in AttributesImplSerializer
63 private static final int MAXMinus1 = MAX - 1;
75 if (super.getLength() < MAX) in getIndex()
121 switchOverToHash(MAX); in addAttribute()
175 if (MAX <= len) in clear()
201 if (MAX <= numAtts) in setAttributes()
217 if (super.getLength() < MAX) in getIndex()
/external/python/pyasn1-modules/pyasn1_modules/
Drfc6031.py38 MAX = float('inf') variable
169 subtypeSpec=constraint.ValueRangeConstraint(0, MAX))),
171 subtypeSpec=constraint.ValueRangeConstraint(0, MAX)))
180 subtypeSpec=constraint.ValueRangeConstraint(0, MAX))),
205 at_pskc_counter.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
219 at_pskc_timeInterval.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
227 at_pskc_timeDrift.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
267 at_pskc_numberOfTransactions.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
326 subtypeSpec=constraint.ValueRangeConstraint(0, MAX)).subtype(
329 subtypeSpec=constraint.ValueRangeConstraint(0, MAX)).subtype(
[all …]
Drfc7914.py22 MAX = float('inf') variable
33 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, MAX))),
35 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, MAX))),
37 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, MAX))),
39 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, MAX)))
/external/rust/crates/half/benches/
Dconvert.rs14 f32::MAX, in bench_f32_to_f16()
35 f64::MAX, in bench_f64_to_f16()
56 f16::MAX, in bench_f16_to_f32()
77 f16::MAX, in bench_f16_to_f64()
106 f32::MAX, in bench_slice_f32_to_f16()
138 f64::MAX, in bench_slice_f64_to_f16()
170 f16::MAX, in bench_slice_f16_to_f32()
202 f16::MAX, in bench_slice_f16_to_f64()
242 f32::MAX, in bench_f32_to_bf16()
263 f64::MAX, in bench_f64_to_bf16()
[all …]
/external/rust/crates/rusqlite/src/types/
Dmod.rs420 test_conversion!(db_etc, u32::MAX, u64, expect u32::MAX as u64); in test_numeric_conversions()
422 test_conversion!(db_etc, i64::MAX, i64, expect i64::MAX); in test_numeric_conversions()
423 test_conversion!(db_etc, i64::MAX, u64, expect i64::MAX as u64); in test_numeric_conversions()
426 test_conversion!(db_etc, i64::MAX as u64, u64, expect i64::MAX as u64); in test_numeric_conversions()
434 test_conversion!(db_etc, u64::MAX, i64, expect_to_sql_error); in test_numeric_conversions()
435 test_conversion!(db_etc, u64::MAX, u64, expect_to_sql_error); in test_numeric_conversions()
436 test_conversion!(db_etc, i64::MAX as u64 + 1, u64, expect_to_sql_error); in test_numeric_conversions()
440 test_conversion!(db_etc, i64::MAX, f32, expect i64::MAX as f32); in test_numeric_conversions()
442 test_conversion!(db_etc, i64::MAX, f64, expect i64::MAX as f64); in test_numeric_conversions()
/external/tensorflow/tensorflow/tools/android/test/jni/
Dyuv2rgb.cc21 #ifndef MAX
22 #define MAX(a, b) ({__typeof__(a) _a = (a); __typeof__(b) _b = (b); _a > _b ? _a : _b; }) macro
46 nR = MIN(kMaxChannelValue, MAX(0, nR)); in YUV2RGB()
47 nG = MIN(kMaxChannelValue, MAX(0, nG)); in YUV2RGB()
48 nB = MIN(kMaxChannelValue, MAX(0, nB)); in YUV2RGB()
178 nR = MIN(kMaxChannelValue, MAX(0, nR)); in ConvertYUV420SPToRGB565()
179 nG = MIN(kMaxChannelValue, MAX(0, nG)); in ConvertYUV420SPToRGB565()
180 nB = MIN(kMaxChannelValue, MAX(0, nB)); in ConvertYUV420SPToRGB565()

12345678910>>...46