- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 119 for checking (0.04 sec)
-
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
} sb.append(comp); } dummy ^= sb.toString().length(); } return dummy; } /** * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated * so far being empty. As a result, it does not have the above-mentioned bug. */ @Benchmark int booleanIfFirst(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect * {@code setCount()} to throw an exception, as checking the return value could produce an * incorrect error message like "setCount() should return the original count" instead of the * message passed to a later invocation of {@code fail()}, like "setCount should throw
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
// Execute final SsoMessageException exception = new SsoMessageException(messageCode, message); // Verify that it has serialVersionUID (indirectly by checking it's serializable) assertTrue(exception instanceof java.io.Serializable); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
// Both instances should be of the same class assertEquals(exception1.getClass(), exception2.getClass()); // Test serialization compatibility by checking class name assertEquals("org.codelibs.fess.exception.CommandExecutionException", exception1.getClass().getName()); } public void test_exceptionThrown() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
/* * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we * could use null, but that messes with our nullness checking, including under J2KT. We could * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code), * or extract a variable, and put the suppression on that. However, a local variable typically * doesn't work: Because nullness analyses typically infer the nullness of local variables,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
* * <p>Tests should inherit from this class, and declare subtyping relationship with public methods * annotated by {@link TestSubtype}. * * <p>These declaration methods rely on Java static type checking to make sure what we want to * assert as subtypes are really subtypes according to javac. For example: * * {@snippet : * class MySubtypeTests extends SubtypeTester {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
throw new UnsupportedOperationException(); } // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe // operations only in weird cases like checking for an EndpointPair<ArrayList> in a // Graph<LinkedList>. @SuppressWarnings("unchecked") @Override public boolean contains(@Nullable Object obj) { if (!(obj instanceof EndpointPair)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/EndpointPair.java
// and the transitive property of equality, this implies that nodeU equals nodeV. // If nodeU equals nodeV, condition1 == condition2, so checking condition1 is sufficient. return nodeV().equals(other.nodeV()); } return nodeU().equals(other.nodeV()) && nodeV().equals(other.nodeU()); // check condition2 } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.1K bytes - Viewed (0)