/prebuilts/go/darwin-x86/src/strconv/ |
decimal.go | 15 d [800]byte // digits, big-endian representation 16 nd int // number of digits used 19 trunc bool // discarded nonzero digits beyond d[:nd] 38 // zeros fill space between decimal point and digits 47 // decimal point in middle of digits 54 // zeros fill space between digits and decimal point 70 // independent of the number of digits.) 114 // Pick up enough leading digits to cover first shift. 146 // Put down extra digits. 164 // number of new digits that will be introduced by that shift [all...] |
/prebuilts/go/linux-x86/src/strconv/ |
decimal.go | 15 d [800]byte // digits, big-endian representation 16 nd int // number of digits used 19 trunc bool // discarded nonzero digits beyond d[:nd] 38 // zeros fill space between decimal point and digits 47 // decimal point in middle of digits 54 // zeros fill space between digits and decimal point 70 // independent of the number of digits.) 114 // Pick up enough leading digits to cover first shift. 146 // Put down extra digits. 164 // number of new digits that will be introduced by that shift [all...] |
/external/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/ |
generate_canonical.pass.cpp | 38 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); 45 F f = std::generate_canonical<F, std::numeric_limits<F>::digits>(r); 52 F f = std::generate_canonical<F, std::numeric_limits<F>::digits + 1>(r); 74 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); 84 F f = std::generate_canonical<F, std::numeric_limits<F>::digits>(r); 94 F f = std::generate_canonical<F, std::numeric_limits<F>::digits + 1>(r);
|
/frameworks/base/core/java/com/android/internal/util/ |
HexDump.java | 117 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; local 124 buf[bufIndex++] = digits[(b >>> 4) & 0x0F]; 125 buf[bufIndex++] = digits[b & 0x0F]; 178 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; local 179 sb.append(digits[(b >> 4) & 0xf]); 180 sb.append(digits[b & 0xf]);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.util/rand.util.canonical/ |
generate_canonical.pass.cpp | 38 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); 45 F f = std::generate_canonical<F, std::numeric_limits<F>::digits>(r); 52 F f = std::generate_canonical<F, std::numeric_limits<F>::digits + 1>(r); 74 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); 84 F f = std::generate_canonical<F, std::numeric_limits<F>::digits>(r); 94 F f = std::generate_canonical<F, std::numeric_limits<F>::digits + 1>(r);
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/ |
ConcreteDefaultInterfaceWithLambda.java | 24 public List<String> digits() { method in class:ConcreteDefaultInterfaceWithLambda
|
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
MathContext.java | 26 /* 1998.06.25 Rename from DecimalContext; allow digits=0 */ 46 * <li><code>digits</code>: 47 * the number of digits (precision) to be used for an operation 51 * whether checking for lost digits is enabled 123 public static final int ENGINEERING=2; // 1-3 digits before . 131 * If any of the discarded digits are non-zero then the result 141 * All discarded digits are ignored (truncated). The result is 151 * If any of the discarded digits are non-zero then the result 162 * If the discarded digits represent greater than half (0.5 times) 164 * rounded up (away from zero). Otherwise the discarded digits ar 236 int digits; field in class:MathContext [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
MathContext.java | 25 /* 1998.06.25 Rename from DecimalContext; allow digits=0 */ 45 * <li><code>digits</code>: 46 * the number of digits (precision) to be used for an operation 50 * whether checking for lost digits is enabled 126 public static final int ENGINEERING=2; // 1-3 digits before . 134 * If any of the discarded digits are non-zero then the result 145 * All discarded digits are ignored (truncated). The result is 156 * If any of the discarded digits are non-zero then the result 168 * If the discarded digits represent greater than half (0.5 times) 170 * rounded up (away from zero). Otherwise the discarded digits ar 247 int digits; field in class:MathContext [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
MathContext.java | 25 /* 1998.06.25 Rename from DecimalContext; allow digits=0 */ 45 * <li><code>digits</code>: 46 * the number of digits (precision) to be used for an operation 50 * whether checking for lost digits is enabled 126 public static final int ENGINEERING=2; // 1-3 digits before . 134 * If any of the discarded digits are non-zero then the result 145 * All discarded digits are ignored (truncated). The result is 156 * If any of the discarded digits are non-zero then the result 168 * If the discarded digits represent greater than half (0.5 times) 170 * rounded up (away from zero). Otherwise the discarded digits ar 247 int digits; field in class:MathContext [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/parallel/ |
types.h | 130 static const int _CASable_bits = std::numeric_limits<_CASable>::digits;
|
random_number.h | 76 _M_rand_sup(1ULL << std::numeric_limits<uint32_t>::digits), 87 _M_rand_sup(1ULL << std::numeric_limits<uint32_t>::digits),
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/parallel/ |
types.h | 130 static const int _CASable_bits = std::numeric_limits<_CASable>::digits;
|
random_number.h | 76 _M_rand_sup(1ULL << std::numeric_limits<uint32_t>::digits), 87 _M_rand_sup(1ULL << std::numeric_limits<uint32_t>::digits),
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/ |
IntegralToString.java | 95 * The digits for every supported radix. 97 private static final char[] DIGITS = { 144 buf[--cursor] = DIGITS[radix * q - i]; 212 // Calculate digits two-at-a-time till remaining digits fit in 16 bits 222 // Calculate remaining digits one-at-a-time for performance 227 buf[--cursor] = DIGITS[r]; 278 buf[--cursor] = DIGITS[(int) (radix * q - v)]; 330 int low = (int) (n % 1000000000); // Extract low-order 9 digits 333 // Zero-pad Low order part to 9 digits 451 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 458 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 466 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 481 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local [all...] |
/libcore/luni/src/main/java/java/math/ |
Conversion.java | 57 int[] digits = val.digits; local 63 int highDigit = digits[numberLength - 1]; 84 System.arraycopy(digits, 0, temp, 0, numberLength); 91 // divide the array of digits by bigRadix and convert remainders 116 resDigit = digits[i] >> (j << 2) & 0xf; 141 int[] digits = val.digits; local 173 // one 32-bit unsigned value may contains 10 decimal digits 178 // inserting necessary scaled digits [all...] |
/external/icu/icu4c/source/i18n/ |
valueformatter.h | 73 VisibleDigitsWithExponent &digits, 82 VisibleDigitsWithExponent &digits,
|
/external/icu/icu4c/source/tools/genrb/ |
rbutil.c | 70 const char digits[16] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; local 85 buffer[length++]= digits[digit];
|
/external/skia/src/utils/ |
SkJSONWriter.h | 203 void appendFloatDigits(float value, int digits) { 205 this->appendf("%.*f", digits, value); 207 void appendDoubleDigits(double value, int digits) { 209 this->appendf("%.*f", digits, value); 235 void appendFloatDigits(const char* name, float value, int digits) { 237 this->appendFloatDigits(value, digits); 239 void appendDoubleDigits(const char* name, double value, int digits) { 241 this->appendDoubleDigits(value, digits);
|
/external/skqp/src/utils/ |
SkJSONWriter.h | 203 void appendFloatDigits(float value, int digits) { 205 this->appendf("%.*f", digits, value); 207 void appendDoubleDigits(double value, int digits) { 209 this->appendf("%.*f", digits, value); 235 void appendFloatDigits(const char* name, float value, int digits) { 237 this->appendFloatDigits(value, digits); 239 void appendDoubleDigits(const char* name, double value, int digits) { 241 this->appendDoubleDigits(value, digits);
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/mnist/ |
mnist_graph_test.py | 39 digits = np.random.randint(low=0, high=10, size=batch_size) 41 labels[np.arange(batch_size), digits] = 1.
|
/external/tensorflow/tensorflow/core/lib/core/ |
bits.h | 97 DCHECK_LT(exponent, std::numeric_limits<uint32>::digits); 103 DCHECK_LT(exponent, std::numeric_limits<uint64>::digits);
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue11359.go | 7 // identifiers beginning with non-ASCII digits were incorrectly accepted.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue11359.go | 7 // identifiers beginning with non-ASCII digits were incorrectly accepted.
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
ActionScriptTarget.java | 116 private void writeHexWithPadding(StringBuffer buf, String digits) { 117 digits = digits.toUpperCase(); 118 int padding = 8 - digits.length(); 123 buf.append(digits);
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
ns_name.c | 69 static char digits[] = "0123456789";
variable 133 *dn++ = digits[c / 100];
134 *dn++ = digits[(c % 100) / 10];
135 *dn++ = digits[c % 10];
184 if ((cp = strchr(digits, c)) != NULL) {
185 n = (int)(cp - digits) * 100;
187 (cp = strchr(digits, c)) == NULL) {
191 n += (int)(cp - digits) * 10;
193 (cp = strchr(digits, c)) == NULL) {
197 n += (int)(cp - digits);
[all...] |