- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,799 for full (1.43 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
@Test @DisplayName("Test with null pipe name") void testWithNullPipeName() { // Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, null, TEST_DATA, 0, TEST_DATA.length); // When String result = transCallNamedPipe.toString(); // Then assertNotNull(result); assertTrue(result.contains("pipeName=null")); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
protected void finalize() throws Throwable { try { // Add null check to prevent NPE if object was not fully constructed if (this.usageCount != null && this.usageCount.get() != 0) { log.warn("Tree handle was not properly released, performing emergency cleanup: " + (this.resourceLoc != null ? this.resourceLoc.getURL() : "unknown")); emergencyReleaseHandle();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
return null; } synchronized (this.addressCache) { CacheEntry entry = this.addressCache.get(hostName); if (entry != null && entry.expiration < System.currentTimeMillis() && entry.expiration >= 0) { entry = null; } return entry != null ? entry.address : null; } } int getNextNameTrnId() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should handle null configuration gracefully") void testNullConfiguration() { // When - constructor accepts null config without throwing Smb2ReadResponse responseWithNull = new Smb2ReadResponse(null, outputBuffer, outputBufferOffset); // Then - response is created successfullyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
*/ public byte[] getBuffer() { return buf; } /** * Aligns the buffer index to the specified boundary with a fill value. * * @param boundary the alignment boundary * @param value the fill value for padding * @return the number of bytes added for alignment */ public int align(final int boundary, final byte value) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
*/ public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException { if (sessionId == null || sessionId.isEmpty()) { throw new CIFSException("Session ID cannot be null or empty"); } if (salt == null || salt.length < 16) { throw new CIFSException("Invalid preauth salt: minimum 16 bytes required"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
*/ public void secureWipeKey() { this.signingLock.lock(); try { if (this.signingKey != null) { java.util.Arrays.fill(this.signingKey, (byte) 0); this.signingKey = null; } this.closed = true; } finally { this.signingLock.unlock(); } } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
} @Test void equals_withBothNullScope_shouldReturnTrue() { Name name1 = new Name(mockConfig, "TEST", 0x20, null); name1.scope = null; Name name2 = new Name(mockConfig, "TEST", 0x20, null); name2.scope = null; assertTrue(name1.equals(name2)); } @Test void equals_withNonNameObject_shouldReturnFalse() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
// Intent: demonstrate defensive behavior with null when resolving this type by name assertThrows(NullPointerException.class, () -> Class.forName(null)); } @Test @DisplayName("Happy path: class is loadable via fully qualified name") void testClassForName() throws Exception { // Act Class<?> c = Class.forName("jcifs.smb.SessionSetupHandler"); // AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
final ComponentDef<?> componentDef = prototypeMap.get(name); if (componentDef != null) { return (T) componentDef.get(); } final ComponentHolder<?> componentHolder = singletonMap.get(name); if (componentHolder != null) { return (T) componentHolder.get(); } return null; } @Override public boolean available() { return available;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (0)