Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,492 for to_string (0.17 sec)

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

            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // ::1 special case
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::1")))
            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // :: special case
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::")))
            .isEqualTo(InetAddresses.forString("0.0.0.0"));
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // ::1 special case
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::1")))
            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // :: special case
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::")))
            .isEqualTo(InetAddresses.forString("0.0.0.0"));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HostAndPort.java

     *
     * <pre>
     * HostAndPort hp = HostAndPort.fromString("[2001:db8::1]")
     *     .withDefaultPort(80)
     *     .requireBracketsForIPv6();
     * hp.getHost();   // returns "2001:db8::1"
     * hp.getPort();   // returns 80
     * hp.toString();  // returns "[2001:db8::1]:80"
     * </pre>
     *
     * <p>Here are some examples of recognized formats:
     *
     * <ul>
     *   <li>example.com
     *   <li>example.com:80
     *   <li>192.0.2.1
     *   <li>192.0.2.1:80
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                    val testProject = duration["testProject"] as String
                    duration.entries
                        .filter { (key, _) -> key != "testProject" }
                        .map { (osString, timeInMs) ->
                            val os = Os.valueOf(osString.uppercase(Locale.US))
                            val performanceTestDuration = PerformanceTestDuration(scenario, timeInMs as Int)
                            os to (testProject to performanceTestDuration)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            final String docString = getXmlString(document);
            final String pnString = getXmlString(pruneNode);
            assertTrue(docString.contains("<SCRIPT>"));
            assertTrue(docString.contains("foo"));
            assertTrue(docString.contains("<NOSCRIPT>"));
            assertTrue(docString.contains("bar"));
            assertTrue(pnString.contains("<SCRIPT>"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  6. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertTrue(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE);
            assertEquals("1.4", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND);
            assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE);
            restriction = restrictions.get(2);
            assertEquals("1.5", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 44.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>Use of either {@link InetAddresses#toAddrString}, {@link InetAddress#getHostAddress()}, or
       * this method is recommended over {@link InetAddress#toString()} when an IP address string
       * literal is desired. This is because {@link InetAddress#toString()} prints the hostname and the
       * IP address string joined by a "/".
       *
       * @param ip {@link InetAddress} to be converted to URI string literal
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString());
        assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString());
        assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString());
        assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashBytes(input.getBytes(UTF_8)).toString());
      }
    
      public void testKnownInputs_mixedAlgorithms() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                assertTrue(doc.entrySet().stream()
                        .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[0].toLowerCase())), doc.toString());
                assertFalse(doc.entrySet().stream()
                        .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[2].toLowerCase())), doc.toString());
            }
        }
    
        @Test
        public void searchTestWithLabel() throws Exception {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

          CacheControl.Builder()
            .maxAge(2, TimeUnit.DAYS)
            .build()
        assertThat(cacheControl.toString()).isEqualTo("max-age=172800")
        assertThat(cacheControl.toString()).isSameAs(cacheControl.toString())
      }
    
      @Test
      @Throws(Exception::class)
      fun timeDurationTruncatedToMaxValue() {
        val cacheControl =
          CacheControl.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top