- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 229 for Subtract (0.11 sec)
-
guava/src/com/google/common/math/BigDecimalMath.java
} @Override BigDecimal toX(double d, RoundingMode mode) { return new BigDecimal(d); } @Override BigDecimal minus(BigDecimal a, BigDecimal b) { return a.subtract(b); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
return value.subtract(BigInteger.ONE); } @Override BigInteger offset(BigInteger origin, long distance) { checkNonnegative(distance, "distance"); return origin.add(BigInteger.valueOf(distance)); } @Override public long distance(BigInteger start, BigInteger end) { return end.subtract(start).max(MIN_LONG).min(MAX_LONG).longValue(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy
when: FileCollection sum = collection1 + collection2 then: sum instanceof UnionFileCollection sum.getFiles() == toLinkedSet(file1, file2, file3) } def "can subtract a collection"() { File file1 = new File("f1") File file2 = new File("f2") File file3 = new File("f3") TestFileCollection collection1 = new TestFileCollection(file1, file2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
double z = a.getAndUpdate(value -> value + y); assertBitEquals(x, z); assertBitEquals(x + y, a.get()); } } } /** * getAndUpdate with subtract stores subtraction of value from current, and returns previous value */ public void testGetAndUpdateWithSubtract() { for (double x : VALUES) { for (double y : VALUES) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigDecimalMath.java
} @Override BigDecimal toX(double d, RoundingMode mode) { return new BigDecimal(d); } @Override BigDecimal minus(BigDecimal a, BigDecimal b) { return a.subtract(b); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java
BigDecimal averageValue = average.toUnits(baseUnits).getValue(); for (Amount<Q> amount : this) { BigDecimal diff = amount.toUnits(baseUnits).getValue(); diff = diff.subtract(averageValue); diff = diff.multiply(diff); sumSquares = sumSquares.add(diff); } // This isn't quite right, as we may lose precision when converting to a double
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
cluster/addons/addon-manager/kube-addons-main.sh
if is_leader; then ensure_addons reconcile_addons else log INFO "Not elected leader, going back to sleep." fi end_sec=$(date +"%s") len_sec=$((end_sec-start_sec)) # subtract the time passed from the sleep time if [[ ${len_sec} -lt ${ADDON_CHECK_INTERVAL_SEC} ]]; then sleep_time=$((ADDON_CHECK_INTERVAL_SEC-len_sec)) sleep ${sleep_time} fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 24 18:35:44 UTC 2022 - 2.9K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js
clickNext: function(e)...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 13 04:21:06 UTC 2020 - 65.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
return value.subtract(BigInteger.ONE); } @Override BigInteger offset(BigInteger origin, long distance) { checkNonnegative(distance, "distance"); return origin.add(BigInteger.valueOf(distance)); } @Override public long distance(BigInteger start, BigInteger end) { return end.subtract(start).max(MIN_LONG).min(MAX_LONG).longValue(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/mranges.go
} // subtract takes the addrRange toPrune and cuts out any overlap with // from, then returns the new range. subtract assumes that a and b // either don't overlap at all, only overlap on one side, or are equal. // If b is strictly contained in a, thus forcing a split, it will throw. func (a addrRange) subtract(b addrRange) addrRange {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 14.5K bytes - Viewed (0)