Searched refs:Integer (Results 1 – 13 of 13) sorted by relevance
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/ |
A D | size_util.h | 29 template <typename Integer> 30 inline Integer floor_log2(Integer n) { in floor_log2() 33 static_assert(sizeof(Integer) == 4 || sizeof(Integer) == 8, ""); in floor_log2() 65 template <typename Integer> 66 Integer ceil_log2(Integer n) { in ceil_log2() 71 template <typename Integer> 77 Integer pot_log2(Integer n) { in pot_log2() 83 Integer round_down_pot(Integer value) { in round_down_pot() 88 Integer round_up_pot(Integer value) { in round_up_pot() 93 Integer round_down_pot(Integer value, Modulo modulo) { in round_down_pot() [all …]
|
A D | size_util_test.cc | 27 template <typename Integer> 28 void SizeUtilTestValue(Integer value) { in SizeUtilTestValue() 35 EXPECT_LE(ceil_log2(value), 8 * sizeof(Integer)); in SizeUtilTestValue() 44 EXPECT_EQ(round_down_pot(value), static_cast<Integer>(1) in SizeUtilTestValue() 50 if (ceil_log2(value) < static_cast<int>(8 * sizeof(Integer) - 1)) { in SizeUtilTestValue() 62 if (value <= std::numeric_limits<Integer>::max() - modulo) { in SizeUtilTestValue() 69 template <typename Integer> 71 for (unsigned exponent = 0; exponent < 8 * sizeof(Integer) - 1; exponent++) { in SizeUtilTest() 72 const Integer pot = static_cast<Integer>(1) << exponent; in SizeUtilTest() 79 SizeUtilTestValue(std::numeric_limits<Integer>::max() - 1); in SizeUtilTest() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/ |
A D | test_qjscalc.js | 55 assert(Integer.isInteger(1) === true); 56 assert(Integer.isInteger(1.0) === false); 58 assert(Integer.floorLog2(0) === -1); 59 assert(Integer.floorLog2(7) === 2); 94 a = Integer.invmod(i, p); 99 assert(Integer.isPrime(2^107-1)); 100 assert(!Integer.isPrime((2^107-1) * (2^89-1))); 101 a = Integer.factor((2^89-1)*2^3*11*13^2*1009);
|
/AliOS-Things-master/components/py_engine/tests/jni/ |
A D | object.py | 4 Integer = jni.cls("java/lang/Integer") 10 i = Integer(42)
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/old/ |
A D | visual-basic.txt | 34 As Long) As Integer 37 lcompr As Long) As Integer 41 Long, ByVal uncompr As String, ByVal uncomprLen As Integer) 42 As Integer 44 Long, ByVal uncompr As String, ByVal uncomprLen As Integer) 45 As Integer 47 Long) As Integer 51 String, ByVal buflen As Long) As Integer 88 ByVal level As Integer) As Long 94 strargCprFilPth As String, Optional ByVal intLvl As Integer = 9)
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | qjscalc.js | 30 global.Integer = global.BigInt; 188 add_props(Integer, { 2387 var gcd = Integer.gcd; 2388 var fact = Integer.fact; 2389 var comb = Integer.comb; 2390 var pmod = Integer.pmod; 2391 var invmod = Integer.invmod; 2392 var factor = Integer.factor; 2393 var isprime = Integer.isPrime; 2433 if (Integer.isInteger(a)) { [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/ |
A D | common.h | 269 template <typename Integer> 270 inline Integer FloorLog2(Integer n) { in FloorLog2() 272 static_assert(std::is_signed<Integer>::value, ""); in FloorLog2() 273 static_assert(sizeof(Integer) == 4 || sizeof(Integer) == 8, ""); in FloorLog2() 275 if (sizeof(Integer) == 4) { in FloorLog2() 943 template <unsigned Modulus, typename Integer> 944 Integer RoundDown(Integer i) { in RoundDown() 953 template <unsigned Modulus, typename Integer> 954 Integer RoundUp(Integer i) { in RoundUp() 962 template <typename Integer> [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/pascal/ |
A D | readme.txt | 28 translated directly into Pascal types of similar sizes (Integer, 33 Integer. Even if there is a 32-bit Cardinal type, there is no
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/swig/ |
A D | README | 27 System.out.println("libwebp version: " + Integer.toHexString(version));
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/delphi/ |
A D | readme.txt | 19 - Some field types from TZStreamRec are changed from Integer to
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/doc/ |
A D | jsbignum.texi | 402 Getter and setter (Integer). Return or set the precision in bits. 405 Getter and setter (Integer). Return or set the exponent size in bits 409 Getter and setter (Integer). Return or set the rounding mode. 569 @item Integer literals (i.e. numbers without a decimal point or an exponent) with or without the @c…
|
A D | quickjs.texi | 500 supported. Integer format types (e.g. @code{%d}) truncate the Numbers 729 Integer. If present, the process uid with @code{setuid}. 732 Integer. If present, the process gid with @code{setgid}.
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/ |
A D | ChangeLog | 1786 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)".
|
Completed in 22 milliseconds