- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for emptyArray (0.11 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
final String[] emptyArray = new String[0]; assertThat(ArrayUtil.addAll((Object[]) null, (Object[]) null), is(nullValue())); assertThat(ArrayUtil.addAll(null, emptyArray).length, is(0)); assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray))); assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray)));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
byte[] emptyArray = new byte[0]; // When & Then - should handle gracefully Method writeParams = SmbComNtCancel.class.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class); writeParams.setAccessible(true); assertEquals(0, writeParams.invoke(cancel, emptyArray, 0));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java
} public void test_emptyArrayValues() { // Test with empty array ExtractData data = new ExtractData(); String[] emptyArray = {}; data.putValues("empty", emptyArray); String[] retrieved = data.getValues("empty"); assertNotNull(retrieved); assertEquals(0, retrieved.length); } public void test_nullValues() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
// Create empty DfsEnumArray200 netdfs.DfsEnumArray200 emptyArray = new netdfs.DfsEnumArray200(); emptyArray.count = 0; emptyArray.s = new netdfs.DfsInfo200[0]; // Replace the info.e field with our empty array setDfsEnumArray(dfsRootEnum, emptyArray); // Test getEntries returns empty array FileEntry[] entries = dfsRootEnum.getEntries();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
final Ordering<T> ordering; final List<T> strictlyOrderedList; final T[] emptyArray; Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) { this.ordering = ordering; this.strictlyOrderedList = strictlyOrderedList; this.emptyArray = emptyArray; } void testCompareTo() { testComparator(ordering, strictlyOrderedList); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
final Ordering<T> ordering; final List<T> strictlyOrderedList; final T[] emptyArray; Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) { this.ordering = ordering; this.strictlyOrderedList = strictlyOrderedList; this.emptyArray = emptyArray; } void testCompareTo() { testComparator(ordering, strictlyOrderedList); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
* * @throws Exception */ public void testFromBinaryToObject_EmptyArray() throws Exception { final String[] emptyArray = new String[0]; final byte[] binary = SerializeUtil.fromObjectToBinary(emptyArray); final String[] result = (String[]) SerializeUtil.fromBinaryToObject(binary); assertEquals(0, result.length); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 7.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
assertNull(crawlerContext.removeSitemaps()); // Test with empty array crawlerContext.addSitemaps(new String[0]); String[] emptyArray = crawlerContext.removeSitemaps(); assertNotNull(emptyArray); assertEquals(0, emptyArray.length); } /** * Test thread-local nature of sitemaps */ public void test_sitemaps_threadLocal() throws Exception {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
operator fun get(name: String): String? = commonGet(name) fun build(): Headers = commonBuild() } companion object { /** Empty headers. */ @JvmField val EMPTY = Headers(emptyArray()) /** * Returns headers for the alternating header names and values. There must be an even number of * arguments, and they must alternate between header names and values. */ @JvmStatic
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
throw KeyStoreException("unable to support unencodable private key") } val keyManager = newKeyManager(null, heldCertificate, *(intermediates ?: emptyArray())) val trustManager = newTrustManager(null, trustedCertificates, immutableInsecureHosts) return HandshakeCertificates(keyManager, trustManager) } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.4K bytes - Viewed (0)