/external/tensorflow/tensorflow/core/lib/math/ |
D | math_util_test.cc | 209 TEST(MathUtil, GCD) { in TEST() argument 221 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint32>(tc.x, tc.y)); in TEST() 222 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint32>(tc.y, tc.x)); in TEST() 223 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint64>(tc.x, tc.y)); in TEST() 224 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint64>(tc.y, tc.x)); in TEST() 229 MathUtil::GCD<uint64>(biggish_prime * 3, biggish_prime * 4)); in TEST()
|
D | math_util.h | 66 static IntegralType GCD(IntegralType x, IntegralType y); 136 IntegralType MathUtil::GCD(IntegralType a, IntegralType b) { in GCD() function
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | arena.cc | 119 return (a / MathUtil::GCD<uint32>(a, b)) * b; in LeastCommonMultiple() 121 return (b / MathUtil::GCD<uint32>(b, a)) * a; in LeastCommonMultiple()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_tests.txt | 11162 # GCD tests. 11164 # These test vectors satisfy gcd(A, B) = GCD and lcm(A, B) = LCM. 11166 GCD = 0 11172 GCD = 1 11177 GCD = a 11182 GCD = 16 11187 GCD = 1 11192 GCD = 1 11197 GCD = 1 11202 GCD = 1 [all …]
|
D | check_bn_tests.go | 278 g = new(big.Int).GCD(nil, nil, a, b)
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_mac_test_helpers.mm | 81 // Used by the GCD tests to avoid a race between the worker thread reporting a
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_impl.cc | 52 int GCD(int a, int b) { in GCD() function 415 int gcd = GCD(inst->simulcastStream[idx].width, in InitEncode()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | image_resize_ops.cc | 104 int64 gcd = MathUtil::GCD(static_cast<uint64>(in_size_factor), in ComputeResizeConvolutionParameters()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 5526 uint64_t GCD = 0; in ReduceSwitchRange() local 5528 GCD = GreatestCommonDivisor64(GCD, (uint64_t)V); in ReduceSwitchRange() 5538 if (GCD <= 1 || !isPowerOf2_64(GCD)) in ReduceSwitchRange() 5542 unsigned Shift = Log2_64(GCD); in ReduceSwitchRange()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | ir_emitter.cc | 1689 unsigned element_alignment = tensorflow::MathUtil::GCD<unsigned>( in EmitVectorizedReduce() 2485 unsigned element_alignment = tensorflow::MathUtil::GCD<unsigned>( in EmitTransferElements()
|
/external/llvm/test/Analysis/DependenceAnalysis/ |
D | GCD.ll | 4 ; ModuleID = 'GCD.bc'
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 2080 TEST(APIntTest, GCD) { in TEST() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 6259 unsigned GCD = std::min(MulZeros, TZ); in createSCEV() local 6260 APInt DivAmt = APInt::getOneBitSet(BitWidth, TZ - GCD); in createSCEV() 6262 MulOps.push_back(getConstant(OpC->getAPInt().lshr(GCD))); in createSCEV()
|
/external/cldr/tools/java/org/unicode/cldr/util/data/external/ |
D | 2013-1_UNLOCODE_CodeListPart3.csv | 15731 ,"US","GCD","Glen Allen","Glen Allen","MD","--3-----","RQ","9307",,,
|
D | 2013-1_UNLOCODE_CodeListPart1.csv | 36272 ,"FR","GCD","Guiscard","Guiscard","60","--3-----","RL","0201",,"4939N 00303E",
|