Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 00101100 (0.02 sec)

  1. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 16] = 0x00;
            src[srcIndex + 17] = 0x04; // 00000100 - B-node, active
    
            // P-node (01)
            System.arraycopy("PNODE           ".getBytes("US-ASCII"), 0, src, srcIndex + 19, 16);
            src[srcIndex + 34] = 0x00;
            src[srcIndex + 35] = 0x24; // 00100100 - P-node, active
    
            // M-node (10)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testValidArrayAllocation() throws Exception {
            validator.validateArrayAllocation(100, 10, 1000);
            validator.validateArrayAllocation(0, 10, 1000); // Zero size should be allowed
        }
    
        @Test
        public void testArrayAllocationNegativeSize() throws Exception {
            assertThrows(SmbException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test range validation")
        @CsvSource({ "50, 0, 100, true", "0, 0, 100, true", "100, 0, 100, true", "-1, 0, 100, false", "101, 0, 100, false" })
        void testRangeValidation(long value, long min, long max, boolean valid) {
            if (valid) {
                assertDoesNotThrow(() -> InputValidator.validateRange(value, min, max, "test"));
            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should check capability correctly")
        void testHaveCapability() throws Exception {
            // Given
            setPrivateField(response, "commonCapabilities", 0x2F); // 0010 1111
    
            // Then
            assertTrue(response.haveCapabilitiy(0x01)); // Has this bit
            assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bits
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                    "134217728, 67108864, 8, 512, 549755813888, 274877906944", // 512GB total, 256GB free
                    "1, 1, 1, 1, 1, 1", // Minimal values
                    "0, 0, 1, 1, 0, 0" // Zero allocation units
            })
            void shouldCalculateVariousFileSystemSizes(long alloc, long free, int sectPerAlloc, int bytesPerSect, long expectedCapacity,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                    "134217728, 67108864, 8, 512, 549755813888, 274877906944", // 512GB total, 256GB free
                    "1, 1, 1, 1, 1, 1", // Minimal values
                    "0, 0, 1, 1, 0, 0" // Zero allocation units
            })
            void shouldCalculateVariousFileSystemSizes(long alloc, long free, int sectPerAlloc, int bytesPerSect, long expectedCapacity,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top