- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 4,335 for news (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
*/ @Test public void testWriteParameterWordsWireFormat() { // Arrange SmbComWrite write = new SmbComWrite(); write.setParam(0x1234, 0x5678L, 100, new byte[10], 0, 10); byte[] dst = new byte[20]; // Act int bytesWritten = write.writeParameterWordsWireFormat(dst, 0); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
@Test void decodeFromEncodedBuffer() throws NdrException { NdrShort ns = new NdrShort(123); // masked value 123 (already fits in 8 bits) buf.reset(); ns.encode(buf); // Reset buffer to start for decoding buf.reset(); // Prepare a new object to decode into NdrShort decoded = new NdrShort(0); decoded.decode(buf);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
} public void test_register_multipleAuthenticators() { TestSsoAuthenticator authenticator1 = new TestSsoAuthenticator(); TestSsoAuthenticator authenticator2 = new TestSsoAuthenticator(); TestSsoAuthenticator authenticator3 = new TestSsoAuthenticator(); ssoManager.register(authenticator1); ssoManager.register(authenticator2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.9K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java
@Test public void test() throws Exception { final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null); final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1); final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2); final ClassLoaderIterator it = new ClassLoaderIterator(cl3); assertThat(it.hasNext(), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
// Test with very long URLs StringBuilder longParentUrl = new StringBuilder("http://example.com/"); StringBuilder longUrl = new StringBuilder("http://example.com/"); for (int i = 0; i < 100; i++) { longParentUrl.append("parent/"); longUrl.append("child/"); } ContentNotFoundException exception = new ContentNotFoundException(longParentUrl.toString(), longUrl.toString());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
} // Test case for the equals method @Test void testEquals() { SmbTreeImpl tree1 = new SmbTreeImpl(session, "SHARE", "A:"); SmbTreeImpl tree2 = new SmbTreeImpl(session, "SHARE", "A:"); SmbTreeImpl tree3 = new SmbTreeImpl(session, "OTHER", "A:"); assertEquals(tree1, tree2); assertFalse(tree1.equals(tree3)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
wagon.connect(new Repository(repository.getId(), repository.getUrl()), proxyInfo(repository)); } else { wagon.connect(new Repository(repository.getId(), repository.getUrl())); } } private AuthenticationInfo authenticationInfo(ArtifactRepository repository) { AuthenticationInfo ai = new AuthenticationInfo();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
MockitoAnnotations.openMocks(this); testMessage = new TestServerMessageBlock2(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create with configuration only") void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
mockAuth.password = "testpass"; when(mockAuth.getAnsiHash(any(byte[].class))).thenReturn(new byte[24]); when(mockAuth.getUnicodeHash(any(byte[].class))).thenReturn(new byte[24]); when(mockAuth.getName()).thenReturn("testuser"); when(mockAuth.getDomain()).thenReturn("TESTDOMAIN"); setupAndX = new SmbComSessionSetupAndX(mockSession, mockAndx, mockAuth); } @Test void testConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)