- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 619 for nulled (0.05 sec)
-
src/test/java/jcifs/util/ByteEncodableTest.java
// Test with a null source array ByteEncodable encodable = new ByteEncodable(null, 0, 0); byte[] dest = new byte[1]; // Expect NullPointerException from System.arraycopy assertThrows(NullPointerException.class, () -> { encodable.encode(dest, 0); }, "Should throw NullPointerException if source array is null"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// Since the real method will propagate the exception from handle.close(), // we need to catch it to verify that pipe.close() was still called try { handle.close(); fail("Expected IOException to be thrown"); } catch (IOException e) { assertEquals("Handle close failed", e.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
} catch (Exception e) { // It's ok if it fails, we just want to verify reset was called } // Request/response reset should happen on retry verify(req, atLeastOnce()).reset(); verify(resp, atLeastOnce()).reset(); // Verify disconnect was called on retry verify(c, atLeastOnce()).disconnect(eq(true)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingOutputStream.java
hasher.putBytes(bytes, off, len); out.write(bytes, off, len); } /** * Returns the {@link HashCode} based on the data written to this stream. The result is * unspecified if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
smbtStatic = mockStatic(SmbTransport.class); smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445, inet, 0, null)).thenReturn(transport); smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445)).thenReturn(transport); } @AfterEach void tearDown() { if (smbtStatic != null) { smbtStatic.close(); } } @Test void transportLazyInitialisation() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* * @param key the non-null key whose value should be loaded * @param oldValue the non-null old value corresponding to {@code key} * @return the future new value associated with {@code key}; <b>must not be null, must not return * null</b> * @throws Exception if unable to reload the result
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
throws BucketOverflowException { /* * The cast is safe: n==entryArray.length means that we have filled the whole array with Entry * instances, in which case it is safe to cast it from an array of nullable entries to an array * of non-null entries. */ @SuppressWarnings("nullness") Entry<K, V>[] entries =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingInputStream.java
throw new IOException("reset not supported"); } /** * Returns the {@link HashCode} based on the data read from this stream. The result is unspecified * if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
String msg = indent + artifact; msg += " ("; if (replacement.getVersion() != null) { msg += "applying version: " + replacement.getVersion() + ";"; } if (replacement.getScope() != null) { msg += "applying artifactScope: " + replacement.getScope(); } msg += ")"; logger.debug(msg); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
CLOSED, /** * {@link ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)} has been * called. The step may not be further subsumed, nor may {@link #finishToFuture()} be called. */ WILL_CREATE_VALUE_AND_CLOSER, }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0)