- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 579 for prevent (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
expectAdded(entry(null, v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testMergePresent() { assertEquals( "Map.merge(present, value, function) should return function result", v4(), getMap() .merge( k0(), v3(), (oldV, newV) -> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
public static int compare(long a, long b) { return Longs.compare(flip(a), flip(b)); } /** * Returns the least value present in {@code array}, treating values as unsigned. * * @param array a <i>nonempty</i> array of unsigned {@code long} values * @return the value present in {@code array} that is less than or equal to every other value in * the array according to {@link #compare}
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-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java
import com.google.caliper.Benchmark; import java.util.ArrayList; import java.util.List; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Benchmark for HashMultiset.add for an already-present element. * * @author Louis Wasserman */ @NullUnmarked public class HashMultisetAddPresentBenchmark { private static final int ARRAY_MASK = 0x0ffff; private static final int ARRAY_SIZE = 0x10000;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
* enriched {@link Iterable} for pre-Java-8 users. * * <h3>Three types of methods</h3> * * Like other fluent types, there are three types of methods present: methods for <i>acquiring</i>, * <i>chaining</i>, and <i>using</i>. * * <h4>Acquiring</h4> * * <p>The common ways to get an instance of {@code Ordering} are: * * <ul>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 39.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3())); } @CollectionSize.Require(absent = ZERO) public void testCount_1() { assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0())); } @CollectionSize.Require(SEVERAL) public void testCount_3() { initThreeCopies();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
apply { this.headers = headers.newBuilder() } /** * Sets this request's `Cache-Control` header, replacing any cache control headers already * present. If [cacheControl] doesn't define any directives, this clears this request's * cache-control headers. */ open fun cacheControl(cacheControl: CacheControl): Builder { val value = cacheControl.toString()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 14.7K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
fsObj.free = f.getFreeSpace(); fsObj.total = f.getTotalSpace(); fsObj.usable = f.getUsableSpace(); fsObj.used = fsObj.total - fsObj.usable; fsObj.percent = (short) (100 * fsObj.used / fsObj.total); return fsObj; }).toArray(n -> new FsObj[n]); } private JvmObj getJvmObj() { final JvmObj jvmObj = new JvmObj();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacConstantsTest.java
*/ class PacConstantsTest { /** * Tests that the constant values in the PacConstants interface match their expected values. * This prevents accidental modification of these critical constants. */ @Test void testConstantValues() { // Verify the PAC version assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java
*/ public Class<? extends RootAction> getActionClass() { return actionClass; } /** * Overrides fillInStackTrace to return null for performance optimization. * This prevents stack trace generation for this exception type. * * @return null to skip stack trace generation */ @Override public synchronized Throwable fillInStackTrace() { return null; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 08:04:23 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
return -1; } else { return (int) value; } } /** * Returns the least value present in {@code array}, treating values as unsigned. * * @param array a <i>nonempty</i> array of unsigned {@code int} values * @return the value present in {@code array} that is less than or equal to every other value in * the array according to {@link #compare}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0)