Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,039 for charAt (0.05 sec)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       */
      private static char[] growBuffer(char[] dest, int index, int size) {
        if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it
          throw new AssertionError("Cannot increase internal buffer any further");
        }
        char[] copy = new char[size];
        if (index > 0) {
          System.arraycopy(dest, 0, copy, 0, index);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

            final char decimalSep = symbols.getDecimalSeparator();
            final char groupingSep = symbols.getGroupingSeparator();
            final StringBuilder buf = new StringBuilder(20);
            for (int i = 0; i < s.length(); ++i) {
                char c = s.charAt(i);
                if (c == groupingSep) {
                    continue;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        @Override
        public void setPath ( String path ) {
            if ( path.length() > 0 && path.charAt(0) == '\\' ) {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if ( path.length() > 1 && path.charAt(path.length() - 1) == '\\' ) {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ParseRequest.java

        if (stringValue.length() == 0) {
          throw new NumberFormatException("empty string");
        }
    
        // Handle radix specifier if present
        String rawValue;
        int radix;
        char firstChar = stringValue.charAt(0);
        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
          radix = 16;
        } else if (firstChar == '#') {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

        }
        private String parseServerAndShare( String pathInfo ) {
            char[] out = new char[256];
            char ch;
            int len, p, i;
    
            if( pathInfo == null ) {
                return null;
            }
            len = pathInfo.length();
    
            p = i = 0;
            while( p < len && pathInfo.charAt( p ) == '/' ) {
                p++;
            }
            if( p == len ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/HostAndPort.java

        } else {
          checkArgument(
              hostPortString.charAt(closeBracketIndex + 1) == ':',
              "Only a colon may follow a close bracket: %s",
              hostPortString);
          for (int i = closeBracketIndex + 2; i < hostPortString.length(); ++i) {
            checkArgument(
                Character.isDigit(hostPortString.charAt(i)),
                "Port must be numeric: %s",
                hostPortString);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/AbstractHasher.java

        for (int i = 0, len = charSequence.length(); i < len; i++) {
          putChar(charSequence.charAt(i));
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putString(CharSequence charSequence, Charset charset) {
        return putBytes(charSequence.toString().getBytes(charset));
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

        for (int i = 0; i < len; i++) {
          buffer.putChar(input.charAt(i));
        }
        return hashBytes(buffer.array());
      }
    
      @Override
      public HashCode hashString(CharSequence input, Charset charset) {
        return hashBytes(input.toString().getBytes(charset));
      }
    
      @Override
      public abstract HashCode hashBytes(byte[] input, int off, int len);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

                    } else if (idx == 0) {
                        result = result.substring(3);
                        continue;
                    }
                    int parent = idx - 1;
                    while (parent >= 0 && result.charAt(parent) == '/') {
                        parent--;
                    }
                    parent = result.lastIndexOf('/', parent);
                    if (parent < 0) {
                        result = result.substring(idx + 4);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, String> table = HashBasedTable.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top