Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 179 for 1234 (0.02 sec)

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

            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
            assertEquals("00001234", Hexdump.toHexString(0x1234, 8));
            assertEquals("1234", Hexdump.toHexString(0x1234, 4));
            assertEquals("34", Hexdump.toHexString(0x1234, 2));
    
            // Test negative values (treated as unsigned)
            assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        // Now change the inputs and see result dynamically change as well
    
        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            byte[] data = new byte[] { 1, 2, 3, 4, 5 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Read using array-only method
            byte[] buffer = new byte[3];
            assertEquals(3, sis.read(buffer));
            assertArrayEquals(new byte[] { 1, 2, 3 }, buffer);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/LmhostsTest.java

            // Create a temporary lmhosts file with various IP formats
            File lmhostsFile = tempDir.resolve("lmhosts_ips").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("1.2.3.4 HOST1\n");
                writer.write("192.168.1.100 HOST2\n");
                writer.write("255.255.255.255 HOST3\n");
                writer.write("10.0.0.1 HOST4\n");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
        map.put("bar", 4);
        assertEquals("[1, 2, 3, 4]", map.values().toString());
        map.values().remove(2);
        assertEquals("{bar=[1, 3, 4]}", map.toString());
      }
    
      public void testLinkedEntries() {
        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetsTest.java

        expected.add(ImmutableSet.of(2, 3));
        expected.add(ImmutableSet.of(1, 2, 3));
    
        Set<Set<Integer>> almostPowerSet = new HashSet<>(expected);
        almostPowerSet.remove(ImmutableSet.of(1, 2, 3));
        almostPowerSet.add(ImmutableSet.of(1, 2, 4));
    
        new EqualsTester()
            .addEqualityGroup(expected, powerSet)
            .addEqualityGroup(ImmutableSet.of(1, 2, 3))
            .addEqualityGroup(almostPowerSet)
            .testEquals();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(localVerifier.verify("\uD83D\uDCA9.com", session)).isFalse()
      }
    
      @Test fun verifyAsIpAddress() {
        // IPv4
        assertThat("127.0.0.1".canParseAsIpAddress()).isTrue()
        assertThat("1.2.3.4".canParseAsIpAddress()).isTrue()
    
        // IPv6
        assertThat("::1".canParseAsIpAddress()).isTrue()
        assertThat("2001:db8::1".canParseAsIpAddress()).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

            .scheme("http")
            .build()
            .port,
        ).isEqualTo(80)
        assertThat(
          parse("https://example.com:1234")
            .newBuilder()
            .scheme("http")
            .build()
            .port,
        ).isEqualTo(1234)
      }
    
      @Test
      fun composeEncodesWhitespace() {
        val url =
          HttpUrl
            .Builder()
            .scheme("http")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://foo/abcd?efgh?ijkl  s:http h:foo p:/abcd q:?efgh?ijkl
    http://foo/abcd#foo?bar  s:http h:foo p:/abcd f:#foo?bar
    [61:24:74]:98  s:http h:example.org p:/foo/[61:24:74]:98
    http:[61:27]/:foo  s:http h:example.org p:/foo/[61:27]/:foo
    http://[1::2]:3:4
    http://2001::1
    http://2001::1]
    http://2001::1]:80
    http://[2001::1]  s:http h:[2001::1] p:/
    http://[2001::1]:80  s:http h:[2001::1] p:/
    http:/example.com/  s:http h:example.org p:/example.com/
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top