- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 185 for division (0.1 seconds)
-
src/cmd/asm/internal/lex/tokenizer.go
return &Tokenizer{ s: &s, base: src.NewFileBase(name, objabi.AbsFile(objabi.WorkingDir(), name, *flags.TrimPath)), line: 1, file: file, } } // We want center dot (·) and division slash (∕) to work as identifier characters. func isIdentRune(ch rune, i int) bool { if unicode.IsLetter(ch) { return true } switch ch { case '_': // Underscore; traditional. return true
Created: 2026-04-07 11:13 - Last Modified: 2022-08-04 20:35 - 3K bytes - Click Count (0) -
RELEASE.md
* Fixes a division by 0 in `Conv2DBackpropInput` ([CVE-2021-29525](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29525)) * Fixes a division by 0 in `Conv2D` ([CVE-2021-29526](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29526)) * Fixes a division by 0 in `QuantizedConv2D` ([CVE-2021-29527](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29527)) * Fixes a division by 0 in `QuantizedMul`Created: 2026-04-07 12:39 - Last Modified: 2026-03-30 18:31 - 746.5K bytes - Click Count (3) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* @param divisor the divisor (denominator) * @throws ArithmeticException if divisor is 0 * @since 11.0 */ public static long remainder(long dividend, long divisor) { if (divisor < 0) { // i.e., divisor >= 2^63: if (compare(dividend, divisor) < 0) { return dividend; // dividend < divisor } else { return dividend - divisor; // dividend >= divisor } }
Created: 2026-04-03 12:43 - Last Modified: 2026-01-05 22:13 - 17.8K bytes - Click Count (0) -
src/cmd/asm/internal/asm/expr_test.go
} } } type badExprTest struct { input string error string // Empty means no error. } var badExprTests = []badExprTest{ {"0/0", "division by zero"}, {"3/0", "division by zero"}, {"(1<<63)/0", "divide of value with high bit set"}, {"3%0", "modulo by zero"}, {"(1<<63)%0", "modulo of value with high bit set"}, {"3<<-4", "negative left shift count"},Created: 2026-04-07 11:13 - Last Modified: 2023-08-29 07:48 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
* <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent * to unsigned arithmetic in all cases except: * * <ul> * <li>comparisons (signed values can be negative) * <li>division (avoided here) * <li>shifting (right shift must be unsigned) * </ul> * * @author ******@****.*** (Kyle Maddison) * @author ******@****.*** (Geoff Pike) */
Created: 2026-04-03 12:43 - Last Modified: 2025-08-11 19:31 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/FarmHashFingerprint64.java
* <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent * to unsigned arithmetic in all cases except: * * <ul> * <li>comparisons (signed values can be negative) * <li>division (avoided here) * <li>shifting (right shift must be unsigned) * </ul> * * @author Kyle Maddison * @author Geoff Pike */ final class FarmHashFingerprint64 extends AbstractNonStreamingHashFunction {
Created: 2026-04-03 12:43 - Last Modified: 2025-08-11 19:31 - 7.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
// Should write a benchmark to test that! Map<Element, Element> map = mapToTest; Element[] queries = this.queries; // Allows us to use & instead of %, acting on hearsay that division // operators (/%) are disproportionately expensive; should test this too! int mask = queries.length - 1; boolean dummy = false; for (int i = 0; i < reps; i++) {Created: 2026-04-03 12:43 - Last Modified: 2025-05-13 17:27 - 7.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
scenario.scenario } }.firstOrNull() // Fallback for new performance tests (don't use 0 to avoid division by zero) ?: PerformanceTestDuration(scenario.scenario, 1) }) .entries .map { TestProjectDuration(it.key, it.value) } .sortedBy { -it.totalTime }Created: 2026-04-01 11:36 - Last Modified: 2026-01-29 01:37 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/math/IntMath.java
* Returns the result of dividing {@code p} by {@code q}, rounding using the specified {@code * RoundingMode}. If the {@code RoundingMode} is {@link RoundingMode#DOWN}, then this method is * equivalent to regular Java division, {@code p / q}; and if it is {@link RoundingMode#FLOOR}, * then this method is equivalent to {@link Math#floorDiv(int,int) Math.floorDiv}{@code (p, q)}. *Created: 2026-04-03 12:43 - Last Modified: 2026-01-29 22:14 - 26.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
bb.putShort((short) 0); bb.putShort((short) 0); buffer.decode(testBuffer, 0, testBuffer.length); assertEquals(7, buffer.getPathConsumed()); // 15 / 2 = 7 (integer division) } }
Created: 2026-04-05 00:10 - Last Modified: 2025-08-14 05:31 - 15.4K bytes - Click Count (0)