Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for coerced (0.2 sec)

  1. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>NOTE: an IPv6 address coerced to an IPv4 address can only be used for such purposes as
       * rudimentary identification or indexing into a collection of real {@link InetAddress}es. They
       * cannot be used as real addresses for the purposes of network communication.
       *
       * @param ip {@link InetAddress} to convert
       * @return {@code int}, "coerced" if ip is not an IPv4 address
       * @since 7.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  2. guava-tests/test/com/google/common/net/InetAddressesTest.java

        ipv4 = InetAddresses.forString("192.0.2.45");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
      }
    
      public void testGetCoercedIPv4Address() {
        // Check that a coerced IPv4 address is unaltered.
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("127.0.0.1")))
            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // ::1 special case
    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)
  3. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        ipv4 = InetAddresses.forString("192.0.2.45");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
      }
    
      public void testGetCoercedIPv4Address() {
        // Check that a coerced IPv4 address is unaltered.
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("127.0.0.1")))
            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // ::1 special case
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  4. tests/test_serialize_response_model.py

    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return Item(aliased_name="coerce", price="1.0")
    
    
    @app.get("/items/validlist", response_model=List[Item])
    def get_validlist():
        return [
            Item(aliased_name="foo"),
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  5. tests/test_serialize_response.py

        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=List[Item])
    def get_validlist():
        return [
            {"name": "foo"},
            {"name": "bar", "price": 1.0},
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Mon Aug 03 12:29:07 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  6. licenses/github.com/hashicorp/errwrap/LICENSE

         provided that You also comply with the requirements of this License for the
         Covered Software. If the Larger Work is a combination of Covered Software
         with a work governed by one or more Secondary Licenses, and the Covered
         Software is not Incompatible With Secondary Licenses, this License permits
         You to additionally distribute such Covered Software under the terms of
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  7. licenses/github.com/hashicorp/hcl/LICENSE

         provided that You also comply with the requirements of this License for the
         Covered Software. If the Larger Work is a combination of Covered Software
         with a work governed by one or more Secondary Licenses, and the Covered
         Software is not Incompatible With Secondary Licenses, this License permits
         You to additionally distribute such Covered Software under the terms of
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  8. tests/test_serialize_response_dataclass.py

    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "date": datetime(2021, 7, 26).isoformat(), "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=List[Item])
    def get_validlist():
        return [
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Aug 26 13:56:47 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  9. LICENSE

    permission to run the unmodified Program.  The output from running a
    covered work is covered by this License only if the output, given its
    content, constitutes a covered work.  This License acknowledges your
    rights of fair use or other equivalent, as provided by copyright law.
    
      You may make, run and propagate covered works that you do not
    convey, without conditions so long as your license otherwise remains
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/unrecognized-javax.annotation-api-1.3.2.txt

        of this License. You must include a copy of this License with every
        copy of the Source Code form of the Covered Software You distribute
        or otherwise make available. You must inform recipients of any such
        Covered Software in Executable form as to how they can obtain such
        Covered Software in Source Code form in a reasonable manner on or
        through a medium customarily used for software exchange.
    
    Plain Text
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue May 11 18:59:18 GMT 2021
    - 38.5K bytes
    - Viewed (0)
Back to top