- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,560 for just (0.02 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
int bytesWritten2 = netShareEnum.writeParametersWireFormat(dst2, 100); // Same number of bytes should be written assertEquals(bytesWritten1, bytesWritten2); // Data should be the same, just at different offsets for (int i = 0; i < bytesWritten1; i++) { assertEquals(dst1[i], dst2[100 + i]); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
verify(mockResponse, never()).setStatus(any(int.class)); } /** * Test case for the instance method doAuthentication. * It should just delegate to the static authenticate method. * @throws IOException */ @Test public void testDoAuthentication() throws IOException { // Setup: No "Authorization" header to follow a simple path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
String stringRep = transformHeader.toString(); // Then assertNotNull(stringRep); assertTrue(stringRep.contains("Smb2TransformHeader")); // toString() implementation may vary, just check it's not null and not empty assertFalse(stringRep.isEmpty()); } @Test @DisplayName("Should generate correct associated data for AEAD") void testGetAssociatedData() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/erasure-decode.go
if missingPartsHeal == 1 { return newBuf, errFileNotFound } else if bitrotHeal == 1 { return newBuf, errFileCorrupt } return newBuf, nil } // If we cannot decode, just return read quorum error. return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers)) } // Decode reads from readers, reconstructs data if needed and writes the data to the writer.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
int contextOffset = SMBUtil.readInt4(buffer, 28); assertTrue(contextOffset > 0); // Skip detailed context verification since we can't access headerStart // Just verify that contexts were written assertTrue(bytesWritten > 60); // Should be larger than basic negotiate request } @Test @DisplayName("Should handle empty negotiate contexts array")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
const val BOUNCYCASTLE_PROPERTY = "bouncycastle" const val LOOM_PROPERTY = "loom" /** * For whatever reason our BouncyCastle provider doesn't work with ECDSA keys. Just configure it * to use RSA-2048 instead. * * (We otherwise prefer ECDSA because it's faster.) */ private val localhostHandshakeCertificatesWithRsa2048: HandshakeCertificates by lazy {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
docs/features/https.md
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
SMBUtil.writeInt4(ctx.length, base, offsetFieldPos + 4); // Assemble full body: base (fixed-size fields only), but actual context bytes sit elsewhere in the full packet // Return just the base; caller is responsible for placing ctx at the correct absolute offset. // We will return a composite buffer from the test when building the full packet.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
assertEquals(HTTP_UNAUTHORIZED, responseCode); // In a real scenario, the connection would reconnect and send Type1/Type3 messages // This simplified test just verifies the initial handshake detection } /** * Test handshake failure when the server does not return an NTLM challenge. * @throws IOException */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
cmd/net.go
} else { nonIPs = append(nonIPs, ip) } } sort.Slice(ipV4s, func(i, j int) bool { // This case is needed when all ips in the list // have same last octets, Following just ensures that // 127.0.0.1 is moved to the end of the list. if ipV4s[i].IsLoopback() { return false } if ipV4s[j].IsLoopback() { return true }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1)