Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 260 for Hints (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(3, SMBUtil.readInt2(buffer, 2));
                assertArrayEquals(salt, Arrays.copyOfRange(buffer, 4, 7));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 3, 5, 10, 20 })
            @DisplayName("Should encode various hash algorithm counts correctly")
            void testEncodeVariousHashAlgoCounts(int algoCount) {
                int[] hashAlgos = new int[algoCount];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.26.md

    ### Bug or Regression
    
    - Fix Topology Aware Hints not working when the `topology.kubernetes.io/zone` label is added after Node creation
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @ParameterizedTest
        @DisplayName("Test writeBytesWireFormat with different info sizes")
        @ValueSource(ints = { 0, 10, 50, 100, 255 })
        void testWriteBytesWireFormatWithDifferentSizes(int infoSize) {
            request = new Smb2SetInfoRequest(mockConfig, testFileId);
    
            Encodable mockInfo = mock(Encodable.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertTrue(output.contains(" AB~"));
            // High bytes should be dots
            assertTrue(output.contains("..."));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 15, 16, 17, 31, 32, 33, 64, 128 })
        @DisplayName("Should handle various data sizes in hexdump")
        void testHexdumpVariousSizes(int size) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 })
            @DisplayName("Should throw exception for various invalid structure sizes")
            void testReadBytesWireFormatVariousInvalidSizes(int structureSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            assertEquals(testSessionId, decodedHeader.getSessionId());
        }
    
        // Duplicate testFlags method removed - keeping the first one
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 })
        @DisplayName("Should handle various message sizes")
        void testVariousMessageSizes(int messageSize) {
            // When
            transformHeader.setOriginalMessageSize(messageSize);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 })
        @DisplayName("Test readBytesWireFormat with 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
    - 23.5K bytes
    - Viewed (0)
Back to top