Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 240 for tints (0.01 sec)

  1. 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)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

            }
        }
    
        @Nested
        @DisplayName("Context Flags Tests")
        class ContextFlagsTests {
    
            @ParameterizedTest
            @ValueSource(ints = { NegTokenInit.DELEGATION, NegTokenInit.MUTUAL_AUTHENTICATION, NegTokenInit.REPLAY_DETECTION,
                    NegTokenInit.SEQUENCE_CHECKING, NegTokenInit.ANONYMITY, NegTokenInit.CONFIDENTIALITY, NegTokenInit.INTEGRITY })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                        "Should throw configured exception");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 10, 50, 100, 255 })
            @DisplayName("Should handle various data lengths")
            void testVariousDataLengths(int length) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 8, 16, 100, 255, 1024, 4096, 65535 })
            @DisplayName("Should throw exception for various invalid structure sizes")
            void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Verify fail counts incremented
            assertEquals(1, pool.failCounts.get("10.0.0.1"));
            assertEquals(1, pool.failCounts.get("10.0.0.2"));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, -1 })
        @DisplayName("Should default to port 445 when port <= 0")
        void testDefaultPort(int invalidPort) throws Exception {
            // Given: Create a new pool for this test to ensure isolation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top