- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,751 for LENGTH (1.2 sec)
-
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12); System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length); // Decode int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length); // Verify results assertEquals(namedPipeState, response.getNamedPipeState()); assertEquals(readDataAvailable, response.getReadDataAvailable());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
// When pointer is non-zero, validate string length String testString = "TEST"; short length = (short) (testString.length() * 2); // Unicode length PacUnicodeString unicodeString = new PacUnicodeString(length, length, 100); // Should validate string length String result = unicodeString.check(testString); assertEquals(testString, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
out.write(testContent.getBytes("UTF-8")); } assertTrue(file.exists(), "File should exist after writing"); assertEquals(testContent.length(), file.length(), "File length should match content length"); // Read content back try (InputStream in = file.getInputStream()) { String readContent = new String(in.readAllBytes(), "UTF-8");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
// When String[] messages = NtStatus.NT_STATUS_MESSAGES; // Then assertNotNull(messages); assertTrue(messages.length > 0); // Should have same length as codes array assertEquals(NtStatus.NT_STATUS_CODES.length, messages.length); // First message should be for success assertNotNull(messages[0]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
@Test @DisplayName("Should throw IOException for fragment length exceeding max") void testDoSendReceiveFragment_FragmentTooLarge() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); byte[] buf = new byte[50]; byte[] inB = new byte[100]; // Setup fragment length exceeding max (4280) Encdec.enc_uint16le((short) 4281, inB, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
else -> tag0.toLong() } // Read the length. val length0 = source.readByte().toInt() and 0xff val length = when { length0 == 0b1000_0000 -> { throw ProtocolException("indefinite length not permitted for DER") } (length0 and 0b1000_0000) == 0b1000_0000 -> { // Length specified over multiple bytes.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
assertEquals(32, derived1.length, "Derived key should have correct length"); assertEquals(32, derived2.length, "Derived key should have correct length"); assertEquals(32, derived3.length, "Derived key should have correct length"); assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return CompactHashSet.create(); } /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 5.8K bytes - Viewed (0)