- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for length_is (0.04 sec)
-
src/test/java/jcifs/NetbiosAddressTest.java
String smbServer = NbtAddress.SMBSERVER_NAME; assertNotNull(anyHosts); assertNotNull(masterBrowser); assertNotNull(smbServer); // Test that they have expected lengths assertEquals(16, anyHosts.length()); assertEquals(15, masterBrowser.length()); assertEquals(15, smbServer.length()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
byte[] data = new byte[size]; assertDoesNotThrow(() -> request.setData(data, 0, size)); } @ParameterizedTest @DisplayName("Should handle various offsets and lengths") @CsvSource({ "1024, 0, 1024", "1024, 100, 900", "1024, 500, 524", "2048, 1024, 1024", "4096, 2048, 2048", "65536, 32768, 32768" }) void testVariousOffsetsAndLengths(int dataSize, int offset, int length) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java
*/ package jcifs.internal.smb2.rdma; /** * RDMA channel information for SMB Direct operations. * * This class encapsulates RDMA channel metadata including remote memory keys, * addresses, and lengths for direct memory access operations. */ public class RdmaChannelInfo { private final Smb2RdmaTransform transform; /** * Create new RDMA channel info *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
output[1] = seedB + c; } /* * Compute an 8-byte hash of a byte array of length greater than 64 bytes. */ private static long fullFingerprint(byte[] bytes, int offset, int length) { // For lengths over 64 bytes we hash the end first, and then as we // loop we keep 56 bytes of state: v, w, x, y, and z. long x = load64(bytes, offset); long y = load64(bytes, offset + length - 16) ^ K1;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
cmd/erasure-decode_test.go
t.Errorf("Test %d: read returns wrong file content", i) } } } } } // Test erasureDecode with random offset and lengths. // This test is t.Skip()ed as it a long time to run, hence should be run // explicitly after commenting out t.Skip() func TestErasureDecodeRandomOffsetLength(t *testing.T) { if testing.Short() { t.Skip() }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
// When String scope = mockNetbiosName.getScope(); // Then assertNull(scope); } @Test @DisplayName("Should handle various name lengths") void testVariousNameLengths() { // NetBIOS names can be up to 15 characters String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" }; for (String testName : testNames) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
if (keyManager == null && (encryptionKey == null || decryptionKey == null)) { log.error("No encryption keys available"); return false; } // Validate key lengths try { int expectedKeyLength = getKeyLength(); byte[] encKey = getEncryptionKey(); byte[] decKey = getDecryptionKey(); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
output[1] = seedB + c; } /* * Compute an 8-byte hash of a byte array of length greater than 64 bytes. */ private static long fullFingerprint(byte[] bytes, int offset, int length) { // For lengths over 64 bytes we hash the end first, and then as we // loop we keep 56 bytes of state: v, w, x, y, and z. long x = load64(bytes, offset); long y = load64(bytes, offset + length - 16) ^ K1;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FessUserTest.java
return; } assertNotNull("Expected array is null but actual is not", expected); assertNotNull("Actual array is null but expected is not", actual); assertEquals("Array lengths differ", expected.length, actual.length); for (int i = 0; i < expected.length; i++) { assertEquals("Arrays differ at index " + i, expected[i], actual[i]); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
baseAuth.close(); startAuth.close(); middleAuth.close(); endAuth.close(); } } /** * Test constant-time comparison with various password lengths. */ @Test public void testConstantTimeWithDifferentLengths() throws Exception { char[] password1 = "short".toCharArray(); char[] password2 = "verylongpasswordthatisdifferent".toCharArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0)