- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for decrement (0.04 sec)
-
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()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 15K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
*/ public int increment() { return count.incrementAndGet(); } /** * Decrements the reference count for this statistics object. * * @return the new reference count after decrementing */ public int decrement() { return count.decrementAndGet(); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
// Test increment assertEquals(1L, crawlerContext.incrementAndGetAccessCount()); assertEquals(1L, crawlerContext.getAccessCount()); assertEquals(2L, crawlerContext.incrementAndGetAccessCount()); assertEquals(2L, crawlerContext.getAccessCount()); // Test decrement assertEquals(1L, crawlerContext.decrementAndGetAccessCount());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
cmd/http-stats.go
} if w == nil { // when response recorder nil, this is an active request hstats.currentS3Requests.Inc(api) bh.httpStats[bucket] = hstats return } // else { hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder. hstats.totalS3Requests.Inc(api) code := w.StatusCode switch { case code == 0: case code == 499: // 499 is a good error, shall be counted as canceled.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 11.4K bytes - Viewed (0) -
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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
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;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
* @param sid the RPC sid_t structure * @param type the SID type * @param domainName the domain name for this SID * @param acctName the account name for this SID * @param decrementAuthority whether to decrement the authority count */ public SID(final rpc.sid_t sid, final int type, final String domainName, final String acctName, final boolean decrementAuthority) { this.revision = sid.revision;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (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;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* @param sid the RPC sid_t structure * @param type the SID type * @param domainName the domain name for this SID * @param acctName the account name for this SID * @param decrementAuthority whether to decrement the authority count */ public SID(final rpc.sid_t sid, final int type, final String domainName, final String acctName, final boolean decrementAuthority) { this.revision = sid.revision;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0)