Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for 00001011 (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://[2001:db8:0000:0:1::1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:DB8:0:0:1::1]").host).isEqualTo(a3)
      }
    
      @Test
      fun hostIpv6AddressLeadingCompression() {
        assertThat(parse("http://[::0001]").host).isEqualTo("::1")
        assertThat(parse("http://[0000::0001]").host).isEqualTo("::1")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                b[off + 6] = 0x00;
                b[off + 7] = 0x00;
                return 8;
            }).when(raf).read(any(byte[].class), anyInt(), eq(8));
            assertEquals(1.0d, raf.readDouble(), 0.0000001);
        }
    
        @Test
        @DisplayName("readLine(): reads until newline and handles CRLF")
        void readLine_reads() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/HexdumpTest.java

        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
            assertEquals("00", Hexdump.toHexString(0, 2));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            // Owner SID at offset 20
            buffer.position(20);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                return "[" + address + "]";
            }
            return address;
        }
    
        /**
         * Compresses an IPv6 address string to its canonical compressed form.
         * For example, "0:0:0:0:0:0:0:1" becomes "::1"
         *
         * @param ipv6Address the IPv6 address string to compress
         * @return the compressed IPv6 address string
         */
        protected static String compressIPv6(final String ipv6Address) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(cookie.httpOnly).isTrue()
      }
    
      @Test fun builderIpv6() {
        val cookie =
          Cookie
            .Builder()
            .name("a")
            .value("b")
            .domain("0:0:0:0:0:0:0:1")
            .build()
        assertThat(cookie.domain).isEqualTo("::1")
      }
    
      @Test fun emptySameSite() {
        assertThat(parse(url, "a=b; SameSite=")!!.sameSite).isEqualTo("")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      /** Sanity checking with many combinations of false positive rates and expected insertions */
      public void testBasic() {
        for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
          for (int expectedInsertions = 1; expectedInsertions <= 10000; expectedInsertions *= 10) {
            checkSanity(BloomFilter.create(HashTestUtils.BAD_FUNNEL, expectedInsertions, fpr));
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
Back to top