- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 717 for semver (0.17 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
} }, ), ).sslSocketFactory(sslSocketFactory, handshakeCertificates.trustManager) .build() server.enqueue(MockResponse(body = "abc1")) server.enqueue(MockResponse(body = "abc2")) val request = Request(server.url("/")) client.newCall(request).execute().use { response -> assertEquals(200, response.code) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 5.9K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
*/ @Test void testConstructor() { // Given String serverName = "test-server"; // When MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum(serverName); // Then assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null."); // The server name is stored in a protected field without a public getter, so we cannot directly test it.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
Address dc; String msg, pathInfo, server = null; boolean offerBasic, possibleWorkgroup = true; NtlmPasswordAuthentication ntlm = null; final HttpSession ssn = req.getSession(false); pathInfo = req.getPathInfo(); if (pathInfo != null) { int i; server = parseServerAndShare(pathInfo); if (server != null && (i = server.indexOf('/')) > 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
*/ @Test void testGetRemoteHostName() { when(smbTreeHandle.getRemoteHostName()).thenReturn("test-server"); assertEquals("test-server", smbTreeHandle.getRemoteHostName(), "Remote host name should be test-server"); } /** * Test for getTreeType() method. * Verifies that the method returns the correct tree type. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
class DcerpcBindingTest { private DcerpcBinding dcerpcBinding; private static final String PROTO = "ncacn_np"; private static final String SERVER = "testServer"; @BeforeEach void setUp() { dcerpcBinding = new DcerpcBinding(PROTO, SERVER); // Initialize static INTERFACES map for tests DcerpcBinding.addInterface("srvsvc", "4B324FC8-1670-01D3-1278-5A47BF6EE188:3.0");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
} } /** * Server information level 100 structure containing basic server information. */ public static class ServerInfo100 extends NdrObject { /** * Default constructor for ServerInfo100. */ public ServerInfo100() { } /** * The platform ID of the server. */ public int platform_id;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 27K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2.java
* Creates a new request to connect to the SAM service. * * @param server the server name to connect to * @param access the desired access rights * @param policyHandle the policy handle to be populated */ public MsrpcSamrConnect2(final String server, final int access, final SamrPolicyHandle policyHandle) { super(server, access, policyHandle); this.ptype = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect4.java
* Creates a new request to connect to the SAM service. * * @param server the server name to connect to * @param access the desired access rights * @param policyHandle the policy handle to be populated */ public MsrpcSamrConnect4(final String server, final int access, final SamrPolicyHandle policyHandle) { super(server, 2, access, policyHandle); ptype = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
this.sslContext = sslContext; this.root = root; this.port = port; } public void run() throws IOException { MockWebServer server = new MockWebServer(); server.useHttps(sslContext.getSocketFactory(), false); server.setDispatcher(this); server.start(port); } @Override public MockResponse dispatch(RecordedRequest request) { String path = request.getPath(); try {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java
* This class provides functionality to open a handle to the LSA policy * database on a remote server using the LSA RPC interface. */ public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 { /** * Creates a new request to open an LSA policy handle. * * @param server the server name to connect to * @param access the desired access rightsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)