- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 4,954 for new (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/netbios/NameQueryResponseTest.java
Name mockRecordName = new Name(mockConfig); recordNameField.set(nameQueryResponse, mockRecordName); NbtAddress[] addresses = new NbtAddress[2]; // Create dummy NbtAddress objects for testing toString addresses[0] = new NbtAddress(mockRecordName, 0xC0A80101, false, 0); // 192.168.1.1 addresses[1] = new NbtAddress(mockRecordName, 0x0A000005, true, 1); // 10.0.0.5
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
if (lrm != null && lrm.getRepository().getBasedir().equals(new File(repository.getBasedir()))) { return session; } newSession = new DefaultRepositorySystemSession(session); } else { newSession = new DefaultRepositorySystemSession(h -> false); // no close handle used }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
new SessionRequestPacket(mockConfig, new TestNetbiosName("SERVER", 0x20, null), new TestNetbiosName("CLIENT", 0x00, null)); byte[] buffer = new byte[256]; int written = writePacket.writeTrailerWireFormat(buffer, 0); ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, written); SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
private final int maxRetries; private final long retryDelay; /** * Create a new handle reconnector * @param manager the persistent handle manager */ public HandleReconnector(PersistentHandleManager manager) { this(manager, 3, 1000); } /** * Create a new handle reconnector with custom settings * @param manager the persistent handle managerCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass"); NameCallback nc = new NameCallback("user:"); PasswordCallback pc = new PasswordCallback("pass:", false); // Exercise callback handler with both callbacks supplied Callback[] cbs = new Callback[] { nc, pc }; auth.handle(cbs);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
PluginException exception = new PluginException(longMessage); assertNotNull(exception); assertEquals(longMessage, exception.getMessage()); } @Test public void test_multiLevelExceptionChain() { // Test multi-level exception chain Throwable level3 = new NullPointerException("Null value"); Throwable level2 = new IllegalStateException("Invalid state", level3);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
void testEncode() { byte[] buffer = new byte[1024]; int length = response.encode(buffer, 0); assertTrue(length >= 0); } @Test @DisplayName("Test decode operation") void testDecode() { byte[] buffer = new byte[1024]; // Fill with basic SMB header structure System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
Type2Message message = new Type2Message(mockContext, Type2Message.NTLMSSP_NEGOTIATE_UNICODE, TEST_CHALLENGE, TEST_TARGET); byte[] testContext = new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 }; message.setContext(testContext); byte[] testTargetInfo = new byte[] { 0x10, 0x20, 0x30 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return set.subSet(firstInclusive, lastExclusive); } else { throw new IllegalArgumentException(); } } @Override public E belowSamplesLesser() { throw new UnsupportedOperationException(); } @Override public E belowSamplesGreater() { throw new UnsupportedOperationException(); } @Override public E aboveSamplesLesser() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
void testWriteBytesWireFormatFileIdCopy() { setupMockConfig(); byte[] customFileId = new byte[16]; for (int i = 0; i < 16; i++) { customFileId[i] = (byte) i; } Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE, customFileId); byte[] buffer = new byte[1024]; int written = request.writeBytesWireFormat(buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0)