- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for penalty (0.04 sec)
-
.ci/init.gradle
.getData() gradle.settingsEvaluated { settings -> settings.buildCache { local { // Disable the local build cache in CI since we use ephemeral workers and it incurs an IO penalty enabled = false } remote(HttpBuildCache) { url = buildCacheUrl push = buildCachePush credentials { username = buildCacheCredentials.get("username")
Registered: Sun Dec 21 06:47:06 UTC 2025 - Last Modified: Wed Nov 13 10:14:04 UTC 2019 - 3K bytes - Viewed (0) -
architecture/standards/0008-use-nullaway.md
Do not suppress NullAway errors without a justification. Prefer rearranging the code to avoid the error, unless there is a provable performance penalty or a significant loss of code readability. Use `Objects.requireNonNull` statement or `Preconditions` rather than `assert` or `@SuppressWarning` annotation to suppress if possible.
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 11 10:24:40 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
void testScoring() { channelInfo.setState(ChannelState.ESTABLISHED); int baseScore = channelInfo.getScore(); assertTrue(baseScore > 0); // Active channel should have lower score (busy penalty) channelInfo.setState(ChannelState.ACTIVE); int activeScore = channelInfo.getScore(); assertTrue(activeScore < baseScore); // Failed channel should have zero score
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
* @return channel score */ public int getScore() { int score = 100; // Adjust based on state if (state == ChannelState.ACTIVE) score -= 20; // Busy channel penalty if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE) return 0; // Adjust based on error rate double errorRate = getErrorRate(); if (errorRate > 0.1)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
} /** * Returns the total number of nanoseconds the cache has spent loading new values. This can be * used to calculate the miss penalty. This value is increased every time {@code loadSuccessCount} * or {@code loadExceptionCount} is incremented. */ @SuppressWarnings("GoodTime") // should return a java.time.Duration public long totalLoadTime() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
} /** * Returns the total number of nanoseconds the cache has spent loading new values. This can be * used to calculate the miss penalty. This value is increased every time {@code loadSuccessCount} * or {@code loadExceptionCount} is incremented. */ @SuppressWarnings("GoodTime") // should return a java.time.Duration public long totalLoadTime() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned * {@code long} values. When possible, it is recommended that the {@link UnsignedLong} wrapper class * be used, at a small efficiency penalty, to enforce the distinction in the type system. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned * primitive utilities</a>. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned * {@code int} values. When possible, it is recommended that the {@link UnsignedInteger} wrapper * class be used, at a small efficiency penalty, to enforce the distinction in the type system. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned * primitive utilities</a>. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* cause DNS services to be accessed. For this reason, you should prefer these methods as much as * possible over their JDK equivalents whenever you are expecting to handle only IP address string * literals -- there is no blocking DNS penalty for a malformed string. * * <p>When dealing with {@link Inet4Address} and {@link Inet6Address} objects as byte arrays (vis. * {@code InetAddress.getAddress()}) they are 4 and 16 bytes in length, respectively, and representRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* {@link Cache#stats} will return zero for all statistics. Note that recording stats requires * bookkeeping to be performed with each operation, and thus imposes a performance penalty on * cache operation. * * @return this {@code CacheBuilder} instance (for chaining) * @since 12.0 (previously, stats collection was automatic) */ @CanIgnoreReturnValueRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0)