- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 41 for decrement (0.07 seconds)
-
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
private strictfp double trueLog2(double d) { double trueLog2 = StrictMath.log(d) / StrictMath.log(2); // increment until it's >= the true value while (StrictMath.pow(2.0, trueLog2) < d) { trueLog2 = StrictMath.nextUp(trueLog2); } // decrement until it's <= the true value while (StrictMath.pow(2.0, trueLog2) > d) { trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
private strictfp double trueLog2(double d) { double trueLog2 = StrictMath.log(d) / StrictMath.log(2); // increment until it's >= the true value while (StrictMath.pow(2.0, trueLog2) < d) { trueLog2 = StrictMath.nextUp(trueLog2); } // decrement until it's <= the true value while (StrictMath.pow(2.0, trueLog2) > d) { trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* both IPv4 and IPv6 addresses. * * @param address the InetAddress to decrement * @return a new InetAddress that is one less than the passed in address * @throws IllegalArgumentException if InetAddress is at the beginning of its range * @since 18.0 */ public static InetAddress decrement(InetAddress address) { byte[] addr = address.getAddress(); int i = addr.length - 1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
address = InetAddresses.increment(address); } assertThat(address).isEqualTo(address_66_255); address = InetAddresses.increment(address); assertThat(address).isEqualTo(address_67_0); InetAddress address_ffffff = InetAddress.getByName("255.255.255.255"); assertThrows(IllegalArgumentException.class, () -> InetAddresses.increment(address_ffffff)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * Removes an entry from within a table. All entries following the removed node can stay, but * all preceding ones need to be cloned. * * <p>This method does not decrement count for the removed entry, but does decrement count for * all partially collected entries which are skipped. As such callers which are modifying count * must re-read it after calling removeFromChain. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
assertEquals(1, statsObject.count.get()); assertEquals(2, statsObject.increment()); assertEquals(2, statsObject.count.get()); assertEquals(1, statsObject.decrement()); assertEquals(1, statsObject.count.get()); assertEquals(0, statsObject.decrement()); assertEquals(0, statsObject.count.get()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 15.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * Removes an entry from within a table. All entries following the removed node can stay, but * all preceding ones need to be cloned. * * <p>This method does not decrement count for the removed entry, but does decrement count for * all partially collected entries which are skipped. As such callers which are modifying count * must re-read it after calling removeFromChain. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
doc/go_spec.html
and the type of the value to be sent must be assignable to that element type. </p> <h3 id="IncDec_statements">IncDec statements</h3> <p> The "++" and "--" statements increment or decrement their operands by the untyped <a href="#Constants">constant</a> <code>1</code>. As with an assignment, the operand must be <a href="#Address_operators">addressable</a> or a map index expression. </p>
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
*/ public int incrementAndGetActiveThreadCount() { return activeThreadCount.incrementAndGet(); } /** * Decrements the active thread count and returns the new value. * @return The decremented active thread count. */ public int decrementAndGetActiveThreadCount() { return activeThreadCount.decrementAndGet(); } /**Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Dec 31 09:07:38 GMT 2025 - 9K bytes - Click Count (0) -
android/guava/src/com/google/common/math/IntMath.java
int signum = 1 | ((p ^ q) >> (Integer.SIZE - 1)); boolean increment; switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(rem == 0); // fall through case DOWN: increment = false; break; case UP: increment = true; break; case CEILING: increment = signum > 0; break; case FLOOR:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0)