Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for 123_ (0.32 sec)

  1. guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123));
        assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123));
      }
    
      public void testHashCodeAndEquals() {
        HostAndPort hpNoPort1 = HostAndPort.fromString("foo::123");
        HostAndPort hpNoPort2 = HostAndPort.fromString("foo::123");
        HostAndPort hpNoPort3 = HostAndPort.fromString("[foo::123]");
        HostAndPort hpNoPort4 = HostAndPort.fromHost("[foo::123]");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 10K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java

            assertNull(StringConversionUtil.fromWindowsMapping(null));
            assertEquals("", StringConversionUtil.fromWindowsMapping(""));
            assertEquals("abc 123", StringConversionUtil.fromWindowsMapping("abc 123"));
            assertEquals("abc\uFF5E\u2225\uFF0D\uFFE0\uFFE1\uFFE2",
                    StringConversionUtil.fromWindowsMapping("abc\u301C\u2016\u2212\u00A2\u00A3\u00AC"));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/JoinerTest.java

      private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
      private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
      private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL_NULL =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ConverterTest.java

        List<String> mutableList = Lists.newArrayList("789", "123");
        Iterable<Long> convertedValues = STR_TO_LONG.convertAll(mutableList);
        assertEquals(ImmutableList.of(789L, 123L), ImmutableList.copyOf(convertedValues));
    
        Iterator<Long> iterator = convertedValues.iterator();
        iterator.next();
        iterator.remove();
        assertEquals(ImmutableList.of("123"), mutableList);
      }
    
      public void testReverse() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  5. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            checkVersionsOrder("2.0-1", "2.0.1");
            checkVersionsOrder("2.0.1-klm", "2.0.1-lmn");
            checkVersionsOrder("2.0.1", "2.0.1-xyz");
    
            checkVersionsOrder("2.0.1", "2.0.1-123");
            checkVersionsOrder("2.0.1-xyz", "2.0.1-123");
        }
    
        @Test
        void testLeadingZeroes() {
            checkVersionsOrder("0.7", "2");
            checkVersionsOrder("0.2", "1.0.7");
        }
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
            assertThat((String) props.get("aaa"), is("123"));
            assertThat((String) props.get("bbb"), is("3"));
            assertThat(props.get("ccc"), is(nullValue()));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final Field field = getClass().getField("objectField");
            final Integer testData = new Integer(123);
            FieldUtil.set(field, this, testData);
            assertThat((Integer) FieldUtil.get(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        assertThat(UnsignedBytes.join(",", new byte[] {(byte) 1})).isEqualTo("1");
        assertThat(UnsignedBytes.join(",", (byte) 1, (byte) 2)).isEqualTo("1,2");
        assertThat(UnsignedBytes.join("", (byte) 1, (byte) 2, (byte) 3)).isEqualTo("123");
        assertThat(UnsignedBytes.join(",", (byte) 128, (byte) -1)).isEqualTo("128,255");
      }
    
      private static String unsafeComparatorClassName() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "abc.a23",
              "biz.com.ua",
              "x",
              "fOo",
              "f--o",
              "f_a",
              "foo.net.us\uFF61ocm",
              "woo.com.",
              "8server.shop",
              "123.cn",
              "a" + DELTA + "b.com",
              ALMOST_TOO_MANY_LEVELS,
              ALMOST_TOO_LONG);
    
      private static final ImmutableSet<String> INVALID_NAME =
          ImmutableSet.of(
              "",
              " ",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

                31185, 47196, 261, 2346, 1489, 12441, 24320, 171, 20385, 32447, 54616, 35352, 380,
                38480, 125, 27963, 50640, 287, 23458, 3635, 1097, 7879, 123, 3263, 22120, 12484, 7843,
                601, 955, 19982, 12527, 31561, 39318, 12493, 36710, 31649, 20215, 30495, 20132, 35828,
                22914, 27491, 12408, 1398, 21407, 22580, 1590, 25552, 35328, 44256, 21046, 962, 2357,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
Back to top