- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 223 for digits (0.04 seconds)
-
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
*/ static BigInteger randomNonNegativeBigInteger(int numBits) { int digits = RANDOM_SOURCE.nextInt(numBits); if (digits == 0) { return new BigInteger(1, RANDOM_SOURCE); } else { return new BigInteger(digits, RANDOM_SOURCE).setBit(digits); } } /** * Equivalent to calling randomPositiveBigInteger(numBits) and then flipping the sign with 50%
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
for (int i = n1 + 1; i <= n2; i++) { result *= i; } return BigInteger.valueOf(result); } /* * We want each multiplication to have both sides with approximately the same number of digits. * Currently, we just divide the range in half. */ int mid = (n1 + n2) >>> 1; return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2)); } @Benchmark
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
for (int i = n1 + 1; i <= n2; i++) { result *= i; } return BigInteger.valueOf(result); } /* * We want each multiplication to have both sides with approximately the same number of digits. * Currently, we just divide the range in half. */ int mid = (n1 + n2) >>> 1; return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2)); } @Benchmark
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt
protocol = Protocol.HTTP_1_1 codeStart = 12 } else { throw ProtocolException("Unexpected status line: $statusLine") } // Parse response code like "200". Always 3 digits. if (statusLine.length < codeStart + 3) { throw ProtocolException("Unexpected status line: $statusLine") } val code = statusLine.substring(codeStart, codeStart + 3).toIntOrNull()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
return null; } return tryParseInt(s); } private static Integer tryParseInt(String s) { // for performance, check digits instead of relying later on catching NumberFormatException if (!isDigits(s)) { return null; } try { long longValue = Long.parseLong(s); if (longValue > Integer.MAX_VALUE) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
src/cmd/asm/internal/lex/tokenizer.go
case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot return true case '\u2215': // Represents the slash in runtime/debug.setGCPercent. U+2215 '∕' division slash return true } // Digits are OK only after the first character. return i > 0 && unicode.IsDigit(ch) } func (t *Tokenizer) Text() string { switch t.tok { case LSH: return "<<" case RSH: return ">>" case ARR:
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
private fun VersionNumber.format() = // reformat according to our versioning scheme, since toString() would typically convert 1.0 to 1.0.0 // starting with Gradle 9.0, the version number is always 3 digits (SemVer) GradleVersion.version("$major.${minor}${if (micro > 0 || major >= 9) ".$micro" else ""}${if (qualifier != null) "-$qualifier" else ""}")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Sep 10 06:04:09 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
@GwtCompatible public final class PercentEscaper extends UnicodeEscaper { // In some escapers spaces are escaped to '+' private static final char[] plusSign = {'+'}; // Percent escapers output upper case hex digits (uri escapers require this). private static final char[] upperHexDigits = "0123456789ABCDEF".toCharArray(); /** If true we should convert space to the {@code +} character. */ private final boolean plusForSpace;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 8.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
* do double-duty to make sure the counting and content are consistent, particularly when it comes * to awkward operations like measuring the encoded length of header strings, or the * length-in-digits of an encoded integer. */ private fun writeOrCountBytes( sink: BufferedSink?, countBytes: Boolean, ): Long { var byteCount = 0L val buffer: Buffer = if (countBytes) Buffer() else sink!!.buffer
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
docs/en/docs/tutorial/response-status-code.md
/// ## About HTTP status codes { #about-http-status-codes } /// note If you already know what HTTP status codes are, skip to the next section. /// In HTTP, you send a numeric status code of 3 digits as part of the response. These status codes have a name associated to recognize them, but the important part is the number. In short:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4K bytes - Click Count (0)