- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 63 for Younis (0.04 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
int size = request.size(); assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @ParameterizedTest @DisplayName("Should calculate size for various lock counts") @ValueSource(ints = { 0, 1, 2, 5, 10, 20, 50, 100 }) void testSizeWithVariousLockCounts(int lockCount) { Smb2Lock[] locks = new Smb2Lock[lockCount];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
String result = StringUtil.join(",", str, builder, buffer); assertEquals("string,builder,buffer", result); } @ParameterizedTest @DisplayName("Should handle various element counts") @ValueSource(ints = { 1, 2, 5, 10, 20, 50, 100 }) void testJoinWithVariousElementCounts(int count) { CharSequence[] elements = new CharSequence[count]; for (int i = 0; i < count; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test decode with maximum file name length") void testDecodeMaxFileNameLength() throws SMBProtocolDecodingException { // Create a very long filename (but within reasonable bounds) StringBuilder sb = new StringBuilder(); for (int i = 0; i < 255; i++) { sb.append('A'); } String longFileName = sb.toString();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)"); // In the opposite direction, an out-of-bounds occurs internally and is caught as false assertFalse(longer.equals(shorter), "Longer does not equal shorter (implementation behavior)"); } // Confirms equals() returns false when content differs
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
assertThrows(EOFException.class, () -> { ASN1Util.readLength(s, 100, false); }); } @Test void testReadLength_OutOfBounds() { // Length out of bounds InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x81, (byte) 0xFF }); // length 255 assertThrows(IOException.class, () -> { ASN1Util.readLength(s, 200, false); // limit 200 });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
} @Test @DisplayName("size should return correct message size") void testSize() { int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24; // size8 method rounds up to 8-byte boundary int expectedAlignedSize = (expectedSize + 7) & ~7; assertEquals(expectedAlignedSize, request.size()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
return baos.toByteArray(); } catch (IOException e) { throw new CIFSException("LZ77+Huffman decompression failed", e); } } /** * Counts the number of unique bytes in the data (for entropy estimation). */ private int countUniqueBytes(byte[] data) { boolean[] seen = new boolean[256]; int count = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
} while (++octetsPos < octetsCount); if (length >= limit && !isParsing) // after all we must have read at least 1 byte { throw new IOException("corrupted stream - out of bounds length found: " + length + " >= " + limit); } return length; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
} } return target; } /** * Updates a document with additional metadata and enhancements. * Adds click counts, favorite counts, document boosting, and generates document ID. * Also applies language-specific updates through the language helper. * * @param map the document data map to update with additional metadata */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 32.9K bytes - Viewed (0)