- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,617 for empty (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
* ability to throw the correct exception in the future. */ assertThrows(NoSuchElementException.class, empty::peek); assertThrows(NoSuchElementException.class, empty::peek); } public void testSneakyThrow() throws Exception { Iterator<Integer> iter = new AbstractIterator<Integer>() { boolean haveBeenCalled;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
} @Test @DisplayName("Test with empty strings") void testWithEmptyStrings() { SmbShareInfo info = new SmbShareInfo("", 0, ""); assertEquals("", info.getName()); assertEquals(SmbConstants.TYPE_SHARE, info.getType()); // Test equals with empty string SmbShareInfo info2 = new SmbShareInfo("", 1, "Different");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
* * @return A processed string with terms and spaces, or an empty string if the reader is null or an IOException occurs. */ public String execute() { if (reader == null) { return StringUtil.EMPTY; } final StringBuilder buf = new StringBuilder(initialCapacity); boolean isSpace = false;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
} @Test void testEncodeEmptySourceArray() { // Test with an empty source array byte[] data = {}; ByteEncodable encodable = new ByteEncodable(data, 0, 0); byte[] dest = new byte[1]; int encodedLen = encodable.encode(dest, 0); assertEquals(0, encodedLen, "Encoded length should be zero for empty source array");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
* * @param algorithm * The algorithm (refer to the Javadoc of {@link MessageDigest} for available algorithms). * Must not be {@literal null} or an empty string. * @return {@link MessageDigest} * @throws RuntimeException * If a {@link NoSuchAlgorithmException} occurs */ public static MessageDigest getInstance(final String algorithm) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
return Arrays.stream(DosError.DOS_ERROR_CODES).filter(pair -> pair[0] == dosErrorCode).map(pair -> pair[1]).findFirst(); } @Test @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty") void testCodesArrayExistence() { assertNotNull(DosError.DOS_ERROR_CODES, "DOS_ERROR_CODES should be non‑null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
/** * Tests for {@code MoreCollectors}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class MoreCollectorsTest extends TestCase { public void testToOptionalEmpty() { assertThat(Stream.empty().collect(toOptional())).isEmpty(); } public void testToOptionalSingleton() { assertThat(Stream.of(1).collect(toOptional())).hasValue(1); } public void testToOptionalNull() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 3.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
/** * Decodes MIME-encoded text. * * @param value the encoded text to decode * @return the decoded text or empty string if decoding fails */ protected String getDecodeText(final String value) { if (value == null) { return StringUtil.EMPTY; } try { return MimeUtility.decodeText(value); } catch (final UnsupportedEncodingException e) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
import java.util.Set; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * {@link LoadingCache} tests that deal with empty caches. * * @author mike nonemacher */ @NullUnmarked public class EmptyCachesTest extends TestCase { public void testEmpty() { for (LoadingCache<Object, Object> cache : caches()) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
import java.util.Set; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * {@link LoadingCache} tests that deal with empty caches. * * @author mike nonemacher */ @NullUnmarked public class EmptyCachesTest extends TestCase { public void testEmpty() { for (LoadingCache<Object, Object> cache : caches()) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 11.9K bytes - Viewed (0)