Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 360 for brackets (0.2 seconds)

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

     *   <li>192.0.2.1
     *   <li>192.0.2.1:80
     *   <li>[2001:db8::1] - {@link #getHost()} omits brackets
     *   <li>[2001:db8::1]:80 - {@link #getHost()} omits brackets
     *   <li>2001:db8::1 - Use {@link #requireBracketsForIPv6()} to prohibit this
     * </ul>
     *
     * <p>Note that this is not an exhaustive list, because these methods are only concerned with
     * brackets, colons, and port numbers. Full validation of the host field (if desired) is the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/HostSpecifier.java

       *   <li>An IPv6 address string with or without brackets, like {@code [2001:db8::1]} or {@code
       *       2001:db8::1}
       * </ul>
       *
       * @throws IllegalArgumentException if the specifier is not valid.
       */
      public static HostSpecifier fromValid(String specifier) {
        // Verify that no port was specified, and strip optional brackets from
        // IPv6 literals.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

        /**
         * Resolves the given host name to an array of IP addresses.
         * The host name is first converted to ASCII using IDN before resolution.
         * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are
         * handled specially by removing the brackets before resolution.
         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 06 07:24:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            }
        }
    
        /**
         * Formats an IP address string for use in a URL.
         * IPv6 addresses are wrapped in brackets, IPv4 addresses are returned as-is.
         *
         * @param address the IP address string to format
         * @return the formatted address (IPv6 with brackets, IPv4 unchanged)
         */
        public static String formatForUrl(final String address) {
            if (address == null) {
                return null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

        @Test
        public void testFormatForUrl() {
            // IPv6 addresses - should add brackets
            assertEquals("[::1]", IpAddressUtil.formatForUrl("::1"));
            assertEquals("[2001:db8::1]", IpAddressUtil.formatForUrl("2001:db8::1"));
            assertEquals("[fe80::1]", IpAddressUtil.formatForUrl("fe80::1"));
    
            // IPv6 addresses already with brackets - should not double-wrap
            assertEquals("[::1]", IpAddressUtil.formatForUrl("[::1]"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. docs/en/docs/python-types.md

    ```
    
    ### Generic types { #generic-types }
    
    Some types can take "type parameters" in square brackets, to define their internal types, for example a "list of strings" would be declared `list[str]`.
    
    These types that can take type parameters are called **Generic types** or **Generics**.
    
    You can use the same builtin types as generics (with square brackets and types inside):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java

        /**
         * Resolves the given host name to an array of IP addresses.
         * The host name is first converted to ASCII using IDN before resolution.
         * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are
         * handled specially by removing the brackets before resolution.
         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. docs/ja/llm-prompt.md

    ### Headings
    
    - Follow the existing Japanese style: short, descriptive headings (often noun phrases), e.g. 「チェック」.
    - Do not add a trailing period at the end of headings.
    
    ### Quotes
    
    - Prefer Japanese corner brackets 「」 in normal prose when quoting a term.
    - Do not change quotes inside inline code, code blocks, URLs, or file paths.
    
    ### Ellipsis
    
    - Keep ellipsis style consistent with existing Japanese docs (commonly `...`).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  9. LICENSE

          To apply the Apache License to your work, attach the following
          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue May 08 21:35:34 GMT 2018
    - 11.1K bytes
    - Click Count (0)
  10. LICENSE

          To apply the Apache License to your work, attach the following
          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Jan 11 04:30:09 GMT 2021
    - 11.1K bytes
    - Click Count (0)
Back to Top