- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 824 for BOTH (0.02 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import org.jspecify.annotations.Nullable; /** Implementations of {@code Futures.catching*}. */ @GwtCompatible // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || @SuppressWarnings("ShortCircuitBoolean") abstract class AbstractCatchingFuture<Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 11 18:28:58 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
return value; } /** * Gets a typed value from a document map. * Supports conversion to String, Date, Long, Integer, Double, Float, Boolean, * List, and String array types. Handles both single values and arrays/lists. * * @param <T> the type to convert the value to * @param doc the document map to extract the value from * @param key the key to look up in the document mapCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
ContainerNotAvailableException exception1 = new ContainerNotAvailableException("test"); ContainerNotAvailableException exception2 = new ContainerNotAvailableException("test"); // Both instances should be of the same class assertEquals(exception1.getClass(), exception2.getClass()); } @Test public void test_componentNameWithSpecialCharacters() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
@Test @DisplayName("Test equals method with null netName") void testEqualsWithNullNetName() { SmbShareInfo info1 = new SmbShareInfo(); SmbShareInfo info2 = new SmbShareInfo(); // Both have null netName assertTrue(info1.equals(info2)); SmbShareInfo info3 = new SmbShareInfo(TEST_NET_NAME, 0, TEST_REMARK); // One null, one non-null assertFalse(info1.equals(info3));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
// Decode into second instance FileInternalInfo secondInstance = new FileInternalInfo(); secondInstance.decode(encodedBuffer, 0, encodedBuffer.length); // Verify both instances have same values assertEquals(firstInstance.getIndexNumber(), secondInstance.getIndexNumber()); assertEquals(expectedIndexNumber, secondInstance.getIndexNumber()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
docs/en/docs/advanced/events.md
You can probably skip this part. /// There's an alternative way to define this logic to be executed during *startup* and during *shutdown*.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
for (AtomicInteger value : countMap.values()) { sum += value.get(); } return Ints.saturatedCast(sum); } /* * We override the toArray methods for two reasons: * * 1. Both superclass toArray methods assume that size() gives a correct answer, while our size() * might not (and the answer might change while we're building the array). *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
satisfied = true; } finally { if (!satisfied) { leave(); } } } /** * Enters this monitor when the guard is satisfied. Blocks at most the given time, including both * the time to acquire the lock and the time to wait for the guard to be satisfied, and may be * interrupted. * * @return whether the monitor was entered, which guarantees that the guard is now satisfiedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
* </ul> */ public static <T extends @Nullable Object> void testComparator( Comparator<? super T> comparator, List<T> valuesInExpectedOrder) { // This does an O(n^2) test of all pairs of values in both orders for (int i = 0; i < valuesInExpectedOrder.size(); i++) { T t = valuesInExpectedOrder.get(i); for (int j = 0; j < i; j++) { T lesser = valuesInExpectedOrder.get(j); assertTrue(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0)