Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for 00010001 (0.03 sec)

  1. src/test/java/jcifs/util/HexdumpTest.java

        @DisplayName("Should convert integer to hex string with padding")
        void testIntToHexString() {
            // Test various integer values
            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00001000", Hexdump.toHexString(4096, 8));
            assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
    
            // Test different sizes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/DES.java

        private static int[] bigbyte = { 0x800000, 0x400000, 0x200000, 0x100000, 0x080000, 0x040000, 0x020000, 0x010000, 0x008000, 0x004000,
                0x002000, 0x001000, 0x000800, 0x000400, 0x000200, 0x000100, 0x000080, 0x000040, 0x000020, 0x000010, 0x000008, 0x000004,
                0x000002, 0x000001 };
        private static byte[] pc1 = { (byte) 56, (byte) 48, (byte) 40, (byte) 32, (byte) 24, (byte) 16, (byte) 8, (byte) 0, (byte) 57,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(0, new BigDecimal("0.00001").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.00001D))));
            assertEquals(0, new BigDecimal("0.0000001").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.0000001D))));
    
            assertEquals(0, new BigDecimal("0.123").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.123D))));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HexdumpTest.java

    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert integer to hex string with specified size")
        void testToHexStringInt() {
            // Test zero
            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("0000", Hexdump.toHexString(0, 4));
            assertEquals("00", Hexdump.toHexString(0, 2));
    
            // Test positive values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://[::1]/".toHttpUrl())).isTrue()
      }
    
      @Test fun domainMatchesIpv6AddressWithCompression() {
        val cookie = parse("http://[0001:0000::]/".toHttpUrl(), "a=b; domain=0001:0000::")
        assertThat(cookie!!.domain).isEqualTo("1::")
        assertThat(cookie.matches("http://[1::]/".toHttpUrl())).isTrue()
      }
    
      @Test fun domainMatchesIpv6AddressWithIpv4Suffix() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://[1:0:0:0:0:0:0:0]/").host).isEqualTo("1::")
        assertThat(parse("http://[0:0:0:0:0:0:0:1]/").host).isEqualTo("::1")
        assertThat(parse("http://[0:0:0:0:0:0:0:0]/").host).isEqualTo("::")
        assertThat(parse("http://[::ffff:c0a8:1fe]/").host).isEqualTo("192.168.1.254")
      }
    
      /**
       * The builder permits square braces but does not require them.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/Hexdump.java

         * Generate "hexdump" output of the buffer at src like the following:
         *
         * <pre>
         * 00000: 04 d2 29 00 00 01 00 00 00 00 00 01 20 45 47 46  |..)......... EGF|
         * 00010: 43 45 46 45 45 43 41 43 41 43 41 43 41 43 41 43  |CEFEECACACACACAC|
         * 00020: 41 43 41 43 41 43 41 43 41 43 41 41 44 00 00 20  |ACACACACACAAD.. |
         * 00030: 00 01 c0 0c 00 20 00 01 00 00 00 00 00 06 20 00  |..... ........ .|
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/InputValidatorTest.java

        void testValidBufferSize() {
            assertDoesNotThrow(() -> InputValidator.validateBufferSize(100, 1000, "test"));
            assertDoesNotThrow(() -> InputValidator.validateBufferSize(0, 1000, "test"));
            assertDoesNotThrow(() -> InputValidator.validateBufferSize(1000, 1000, "test"));
        }
    
        @Test
        @DisplayName("Test invalid buffer size validation")
        void testInvalidBufferSize() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

            assertNotNull(addresses);
            assertTrue(addresses.length > 0);
            // IPv6 loopback can be represented as ::1 or 0:0:0:0:0:0:0:1
            String hostAddress = addresses[0].getHostAddress();
            assertTrue(hostAddress.contains(":"));
            assertTrue(hostAddress.equals("::1") || hostAddress.equals("0:0:0:0:0:0:0:1"));
    
            // Test IPv6 address with brackets
            host = "[2001:db8::1]";
            addresses = resolver.resolve(host);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            }
        }
    
        @Test
        @DisplayName("Known DOS error is correctly mapped to NTSTATUS")
        void testKnownMapping() {
            final int dosErr = 0x00010001;
            final int expectedNt = 0xc0000002;
            Optional<Integer> actual = findNtStatus(dosErr);
            assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top