- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 2,214 for correct (0.04 sec)
-
src/test/java/jcifs/util/CryptoTest.java
import jcifs.BaseTest; /** * Test class for Crypto utility functionality */ @DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly") void testMD4Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
* Determines whether this session is currently in use. * * @return whether the session is in use */ boolean isInUse(); /** * Returns the current session key used for signing and encryption. * * @return the current session key * @throws CIFSException if the session key cannot be retrieved */ byte[] getSessionKey() throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
cmd/perf-tests.go
}, nil } // To collect RX stats during "mc support perf net" // RXSample holds the RX bytes for the duration between // the last peer to connect and the first peer to disconnect. // This is to improve the RX throughput accuracy. type netPerfRX struct { RX uint64 // RX bytes lastToConnect time.Time // time at which last peer to connect to us
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.features; import static com.google.common.collect.testing.Helpers.copyToSet; import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Inherited; import java.lang.annotation.Retention;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 3K 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/jcifs/dcerpc/ndr/NdrObjectTest.java
verify(mockBuffer).dec_ndr_long(); } /** * Test case for the encode method when it throws an NdrException. * Verifies that the exception is correctly propagated. */ @Test void testEncodeThrowsNdrException() { // Given ndrObject.setThrowOnEncode(true); // When & Then assertThrows(NdrException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K 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/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) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
* limitations under the License. */ package com.google.common.net; import static com.google.common.truth.Truth.assertThat; import com.google.common.collect.ImmutableList; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.text.ParseException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertNotNull(response); assertTrue(response instanceof SmbComTransactionResponse); assertEquals(0, response.getAvailable()); } @Test @DisplayName("Should verify status constants are correctly defined") void testStatusConstants() { // Assert assertEquals(1, TransPeekNamedPipeResponse.STATUS_DISCONNECTED); assertEquals(2, TransPeekNamedPipeResponse.STATUS_LISTENING);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)