- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 268 for tints (0.12 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesRead); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 }) @DisplayName("Should write consistent structure at different offsets") void testWriteBytesAtDifferentOffsets(int offset) { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(securityInfo, SMBUtil.readInt4(dst, dstIndex + 4)); } @ParameterizedTest @DisplayName("Test writeParametersWireFormat with various FID values") @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD }) void testWriteParametersWireFormatWithVariousFids(int fid) { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, OWNER_SECURITY_INFORMATION);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
assertEquals(negativeLength, SMBUtil.readInt4(buffer, startIndex + 16)); } @ParameterizedTest @DisplayName("Should encode at various buffer positions") @ValueSource(ints = { 0, 1, 10, 50, 70 }) void testEncodeAtDifferentPositions(int position) { // Given byte[] largeBuffer = new byte[200]; long sourceOffset = 12345L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
assertEquals(0, info.getAction()); assertNull(info.getFileName()); } @DisplayName("Test readParametersWireFormat with various file actions") @ParameterizedTest @ValueSource(ints = { FileNotifyInformation.FILE_ACTION_ADDED, FileNotifyInformation.FILE_ACTION_REMOVED, FileNotifyInformation.FILE_ACTION_MODIFIED, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
void testDialectAny() { assertEquals(0x02FF, Smb2Constants.SMB2_DIALECT_ANY, "SMB dialect ANY must be 0x02FF"); } @ParameterizedTest @ValueSource(ints = { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }) @DisplayName("All specific dialects should be greater than or equal to SMB 2.0.2") void testDialectVersionProgression(int dialect) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
byte[] buffer = new byte[256]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100 }) @DisplayName("writeBytesWireFormat should work at different offsets") void testWriteBytesWireFormatAtDifferentOffsets(int offset) { byte[] buffer = new byte[512];
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/dcerpc/msrpc/MsrpcLookupSidsTest.java
Object namesObj = namesField.get(lookupSids); assertNotNull(namesObj); assertTrue(namesObj instanceof lsarpc.LsarTransNameArray); } @ParameterizedTest @ValueSource(ints = { 1, 5, 10, 20, 50 }) void constructor_shouldHandleVariousSidArraySizes(int size) { // Arrange testSids = new jcifs.SID[size]; for (int i = 0; i < size; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Assert assertNotNull(transPeekNamedPipe); assertNull(transPeekNamedPipe.name); } @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0xFFFF }) @DisplayName("Constructor should handle various FID values") void testConstructorWithVariousFids(int fid) { // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
tail[padLen + i] = (byte) (count * 8 >>> 8 * i); } engineUpdate(tail, 0, tail.length); final byte[] result = new byte[16]; // cast this MD4's context (array of 4 ints) into an array of 16 bytes. for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { result[i * 4 + j] = (byte) (context[i] >>> 8 * j); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
assertEquals(0x08, ace.getFlags()); assertEquals(0x00000001, ace.getAccessMask()); } @ParameterizedTest @DisplayName("Test various access mask values") @ValueSource(ints = { 0x00000001, // FILE_READ_DATA 0x00000002, // FILE_WRITE_DATA 0x00000004, // FILE_APPEND_DATA 0x00010000, // DELETE 0x00020000, // READ_CONTROL
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0)