- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for emptyArray (0.06 seconds)
-
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)));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 10.6K bytes - Click Count (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));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java
Map<String, Object> dataMap = new HashMap<>(); transformer.putResultDataBody(dataMap, "empty", "value1"); String[] emptyArray = new String[] {}; transformer.putResultDataBody(dataMap, "empty", emptyArray); Object result = dataMap.get("empty"); assertTrue(result instanceof Object[]); Object[] resultArray = (Object[]) result;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.8K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.9K bytes - Click Count (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); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (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); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
public abstract class TraversalUtil { /** * Do not instantiate. */ protected TraversalUtil() { } /** An empty array of {@link Traverser}. */ protected static final Traverser[] EMPTY_ARRAY = new Traverser[0]; private static final Logger logger = Logger.getLogger(TraversalUtil.class); /** Mapping from URL protocol (as key) to {@link TraverserFactory} (as value). */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 18.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
return Spliterators.spliterator(this, SPLITERATOR_CHARACTERISTICS); } private static final Object[] EMPTY_ARRAY = {}; @Override @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
return Spliterators.spliterator(this, SPLITERATOR_CHARACTERISTICS); } private static final Object[] EMPTY_ARRAY = {}; @Override @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0)