Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,039 for charAt (0.1 sec)

  1. guava/src/com/google/common/net/InternetDomainName.java

        if (!PART_CHAR_MATCHER.matchesAllOf(asciiChars)) {
          return false;
        }
    
        // No initial or final dashes or underscores.
    
        if (DASH_MATCHER.matches(part.charAt(0))
            || DASH_MATCHER.matches(part.charAt(part.length() - 1))) {
          return false;
        }
    
        /*
         * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Longs.java

              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
        }
        boolean negative = string.charAt(0) == '-';
        int index = negative ? 1 : 0;
        if (index == string.length()) {
          return null;
        }
        int digit = AsciiDigits.digit(string.charAt(index++));
        if (digit < 0 || digit >= radix) {
          return null;
        }
        long accum = -digit;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

       * charset} parameter set to the {@link Charset#name name} of the given charset. Only one {@code
       * charset} parameter will be present on the new instance regardless of the number set on this
       * one.
       *
       * <p>If a charset must be specified that is not supported on this JVM (and thus is not
       * representable as a {@link Charset} instance), use {@link #withParameter}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                 * Lookup the domain based DFS root target referral. Note the
                 * path is just "\" and not "\example.com\root".
                 */
                link = "\\";
            }
            else if ( path.charAt(path.length() - 1) == '\\' ) {
                // strip trailing slash
                link = path.substring(0, path.length() - 1);
            }
            else {
                link = path;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(
       *             flatteningToImmutableSetMultimap(
       *                  str -> str.charAt(0),
       *                  str -> str.substring(1).chars().mapToObj(c -> (char) c));
       *
       * // is equivalent to
       *
       * static final ImmutableSetMultimap<Character, Character> FIRST_LETTER_MULTIMAP =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

                    @Override
                    public String toString() {
                        return name;
                    }
    
                    @Override
                    public char charAt(final int index) {
                        return name.charAt(index);
                    }
    
                    @Override
                    public int length() {
                        return name.length();
                    }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSource.java

      }
    
      /** A byte source that reads chars from this source and encodes them as bytes using a charset. */
      private final class AsByteSource extends ByteSource {
    
        final Charset charset;
    
        AsByteSource(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (charset.equals(this.charset)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    String layout = className.substring(0, className.length() - "RepositoryLayout".length());
                    if (!layout.isEmpty()) {
                        layout = Character.toLowerCase(layout.charAt(0)) + layout.substring(1);
                        return layout;
                    }
                }
                return "";
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

            radix);
        if (x == 0) {
          // Simply return "0"
          return "0";
        } else if (x > 0) {
          return Long.toString(x, radix);
        } else {
          char[] buf = new char[64];
          int i = buf.length;
          if ((radix & (radix - 1)) == 0) {
            // Radix is a power of two so we can avoid division.
            int shift = Integer.numberOfTrailingZeros(radix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SIDCacheImpl.java

                    String server = authorityServerName;
                    int dot = server.indexOf('.');
                    if ( dot > 0 && Character.isDigit(server.charAt(0)) == false )
                        server = server.substring(0, dot);
                    try ( LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
Back to top