- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 1,393 for Create (0.12 sec)
-
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
/** Maximum size for fragmented operations */ protected int maxFragmentedSize; /** Maximum size for RDMA read/write operations */ protected int maxReadWriteSize; /** * Create new RDMA connection * * @param remote remote socket address * @param local local socket address, may be null */ public RdmaConnection(InetSocketAddress remote, InetSocketAddress local) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
assertNotNull(customResult); } } @Nested @DisplayName("Constructor and initialization") class ConstructorTests { @Test @DisplayName("Should create MimeMap instance successfully") void testConstructor() { assertDoesNotThrow(() -> new MimeMap()); } @Test @DisplayName("Should load mime.map resource properly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
} @Test @DisplayName("Test leak detection for unclosed resources") @Timeout(value = 5, unit = TimeUnit.SECONDS) void testLeakDetection() throws InterruptedException { // Create resource that will be garbage collected without closing createLeakyResource(); // Force garbage collection System.gc(); Thread.sleep(200); // Check for leaksRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
@Test @DisplayName("Should create appropriate response") void testCreateResponse() { Smb2ReadResponse response = request.createResponse(mockContext, request); assertNotNull(response); assertTrue(response instanceof Smb2ReadResponse); } @Test @DisplayName("Should create response with same configuration and buffer")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Mock the streams SmbPipeInputStream mockIn = mock(SmbPipeInputStream.class); SmbPipeOutputStream mockOut = mock(SmbPipeOutputStream.class); // Create spy and override getInput/getOutput SmbPipeHandleImpl spyHandle = spy(handle); doReturn(mockIn).when(spyHandle).getInput(); doReturn(mockOut).when(spyHandle).getOutput();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* name resolution and session services are handled internally by the smb package. * * * * Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and * <code>getAllByAddress</code> to create a new NbtAddress instance. This * class is symmetric with {@link java.net.InetAddress}. * * * * <b>About NetBIOS:</b> The NetBIOS name * service is a dynamic distributed service that allows hosts to resolve
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
System.arraycopy(testSalt, 0, buffer, 0, Math.min(buffer.length, testSalt.length)); return null; }).when(mockRandom).nextBytes(any(byte[].class)); } @Test @DisplayName("Should create request with default settings") void testConstructorWithDefaults() { // When request = new Smb2NegotiateRequest(mockConfig, Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
* serialisation and invalid input handling. */ class NegTokenTargTest { @Test @DisplayName("happy path – full token round‑trip") void testRoundTripFull() throws IOException { // Arrange – create a fully populated token ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); byte[] tokenArray = new byte[] { 1, 2, 3 }; byte[] mic = new byte[] { 9, 9, 9 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
err := w.WriteHeader(&Header{ Name: "lorem.txt", Mode: 0600, Size: int64(len(inp)), }) if err != nil { f.Fatalf("failed to create writer: %s", err) } _, err = w.Write(inp) if err != nil { f.Fatalf("failed to write file to archive: %s", err) } if err := w.Close(); err != nil { f.Fatalf("failed to write archive: %s", err) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.Config; /** * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we * create a lightweight concrete subclass only to exercise the inherited * behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negativeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0)