- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 471 for NullPointerException (0.12 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
TransTransactNamedPipeResponse nullBufferResponse = new TransTransactNamedPipeResponse(mockConfig, null); byte[] buffer = new byte[100]; assertThrows(NullPointerException.class, () -> nullBufferResponse.readDataWireFormat(buffer, 0, 50)); } @Test void testReadDataWireFormatEmptyOutputBuffer() throws SMBProtocolDecodingException { // Test with empty outputBuffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
* @return the long value represented by {@code string}, or {@code null} if {@code string} has a * length of zero or cannot be parsed as a long value * @throws NullPointerException if {@code string} is {@code null} * @since 14.0 */ public static @Nullable Long tryParse(String string) { return tryParse(string, 10); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* more than once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will keep * the last value put for that key. * * @throws NullPointerException if any key or value in {@code map} is null */ @CanIgnoreReturnValue public Builder<K, V> putAll(Map<? extends K, ? extends V> map) { return putAll(map.entrySet()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
public void testEncloseAll_nullValue() { List<@Nullable Integer> nullFirst = Lists.newArrayList(null, 0); assertThrows(NullPointerException.class, () -> Range.encloseAll((List<Integer>) nullFirst)); List<@Nullable Integer> nullNotFirst = Lists.newArrayList(0, null); assertThrows(NullPointerException.class, () -> Range.encloseAll((List<Integer>) nullNotFirst)); } public void testEquivalentFactories() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* * @param collection a collection of {@code Boolean} objects * @return an array containing the same values as {@code collection}, in the same order, converted * to primitives * @throws NullPointerException if {@code collection} or any of its elements is null */ public static boolean[] toArray(Collection<Boolean> collection) { if (collection instanceof BooleanArrayAsList) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* * @param collection a collection of {@code Boolean} objects * @return an array containing the same values as {@code collection}, in the same order, converted * to primitives * @throws NullPointerException if {@code collection} or any of its elements is null */ public static boolean[] toArray(Collection<Boolean> collection) { if (collection instanceof BooleanArrayAsList) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* more than once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will keep * the last value put for that key. * * @throws NullPointerException if any key or value in {@code map} is null */ @CanIgnoreReturnValue public Builder<K, V> putAll(Map<? extends K, ? extends V> map) { return putAll(map.entrySet()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* performance for unescaped strings (as measured by {@code CharEscapersBenchmark}). * * @param string the literal string to be escaped * @return the escaped form of {@code string} * @throws NullPointerException if {@code string} is null * @throws IllegalArgumentException if invalid surrogate characters are encountered */ @Override public String escape(String string) { checkNotNull(string);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/UnicodeEscaper.java
* performance for unescaped strings (as measured by {@code CharEscapersBenchmark}). * * @param string the literal string to be escaped * @return the escaped form of {@code string} * @throws NullPointerException if {@code string} is null * @throws IllegalArgumentException if invalid surrogate characters are encountered */ @Override public String escape(String string) { checkNotNull(string);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
assertEquals(size + 1, multimap().size()); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutNullValue_unsupported() { assertThrows(NullPointerException.class, () -> multimap().put(k1(), null)); expectUnchanged(); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testPutNullKey() { int size = getNumElements();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.3K bytes - Viewed (0)