Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,836 for to_string (0.25 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      private static final Comparator<Object> TO_STRING =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return o1.toString().compareTo(o2.toString());
            }
          };
    
      public void testSupertypeComparator() {
        SortedSet<Integer> set =
            new ImmutableSortedSet.Builder<Integer>(TO_STRING).add(3, 12, 101, 44).build();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_TString* t_in_tstr = static_cast<TF_TString*>(TF_TensorData(t_in.get()));
      TF_TString* t_out_tstr = static_cast<TF_TString*>(TF_TensorData(t_out));
      EXPECT_EQ(absl::string_view(test_string),
                absl::string_view(TF_TString_GetDataPointer(t_out_tstr),
                                  TF_TString_GetSize(t_out_tstr)));
      EXPECT_EQ(absl::string_view(TF_TString_GetDataPointer(t_in_tstr),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

        // TODO(user): different versions of this for different factories?
        InternetDomainName domain = InternetDomainName.from(host);
    
        if (domain.hasPublicSuffix()) {
          return new HostSpecifier(domain.toString());
        }
    
        throw new IllegalArgumentException(
            "Domain name does not have a recognized public suffix: " + host);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. .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 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top