- Sort Score
- Result 10 results
- Languages All
Results 1461 - 1470 of 2,109 for collect (0.04 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
private String testPipeName = "\\PIPE\\testpipe"; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() { // Act transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); // Assert assertNotNull(transWaitNamedPipe);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/prepare-storage.go
resp, err := httpClient.Do(req) if err != nil { return err } xhttp.DrainBody(resp.Body) return nil } // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct // and are in quorum, if no formats are found attempt to initialize all of them for the first // time. additionally make sure to close all the disks used in this attempt.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbSessionInternal.java
*/ SmbTransport getTransport(); /** * Connect to the logon share * * @throws SmbException if the connection fails */ void treeConnectLogon() throws SmbException; /** * Gets or creates an SMB tree connection for the specified share and service. * * @param share the share name to connect to * @param service the service type for the connection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java
* * @since 4.0.0 */ @Experimental @Consumer @Named public interface PropertyContributor extends SpiService { /** * Invoked just before session is created with a mutable map that carries collected user properties so far. * * @param userProperties The mutable user properties, never {@code null}. * @see #contribute(ProtoSession) */ default void contribute(Map<String, String> userProperties) {}
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Nov 20 19:58:27 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
assertTrue(bytesWritten > 0); // Verify data is written at correct offset assertEquals(3, dst[startOffset]); // Verify total parameter count at correct offset assertEquals(500, SMBUtil.readInt4(dst, startOffset + 3)); // Verify total data count at correct offset assertEquals(1000, SMBUtil.readInt4(dst, startOffset + 7)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
Of course, the attackers would not try all this by hand, they would write a program to do it, possibly with thousands or millions of tests per second. And they would get just one extra correct letter at a time. But doing that, in some minutes or hours the attackers would have guessed the correct username and password, with the "help" of our application, just using the time taken to answer. #### Fix it with `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java
return new TcpRdmaConnection(remote, local); } @Override public RdmaConnection connect(String hostname, int port) throws IOException { InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port); RdmaConnection connection = createConnection(remoteAddress, null); connection.connect(); return connection; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
class MockCurlRequest extends CurlRequest { MockCurlRequest(Curl.Method method, String url) { super(method, url); } @Override public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) { try { actionListener.accept(new MockHttpURLConnection(new URL(url))); } catch (MalformedURLException e) {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
void ensureConnected_throwsIOException() throws Exception { doThrow(new java.io.IOException("connect failed")).when(transport).ensureConnected(); java.io.IOException ex = assertThrows(java.io.IOException.class, () -> transport.ensureConnected()); assertTrue(ex.getMessage().contains("connect")); verify(transport).ensureConnected(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
} } /* * Build a connection. Only one thread will ever call this method at * any one time. If this method throws an exception or the connect timeout * expires an encapsulating TransportException will be thrown from connect * and the transport will be in error. */ /** * Establish the transport connection * * @throws Exception if the connection fails
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0)