Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for subsequences (0.26 sec)

  1. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

                    public int length() {
                        return name.length();
                    }
    
                    @Override
                    public CharSequence subSequence(final int start, final int end) {
                        return name.subSequence(start, end);
                    }
    
                };
            }
    
            /**
             * @return CharSequence
             */
            public static CharSequence aaa() {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/JoinerTest.java

          return 3;
        }
    
        @Override
        public char charAt(int index) {
          return "foo".charAt(index);
        }
    
        @Override
        public CharSequence subSequence(int start, int end) {
          return "foo".subSequence(start, end);
        }
    
        @Override
        public String toString() {
          throw new AssertionFailedError("shouldn't be invoked");
        }
      }
    
      // Don't do this.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

        int p = 0;
        while (p < maxPrefixLength && a.charAt(p) == b.charAt(p)) {
          p++;
        }
        if (validSurrogatePairAt(a, p - 1) || validSurrogatePairAt(b, p - 1)) {
          p--;
        }
        return a.subSequence(0, p).toString();
      }
    
      /**
       * Returns the longest string {@code suffix} such that {@code a.toString().endsWith(suffix) &&
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:47:03 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/fingerprinting_utils.cc

          TF_ASSIGN_OR_RETURN(
              int matches,
              fieldTagMatches(chunked_field.field_tag(), target_fields));
          if (matches == chunked_field.field_tag_size()) {
            // chunked_field_tags is an initial subsequence of target_fields, which
            // means the chunked_field is relevant and the necessary data should be
            // copied over.
            auto cf = std::make_unique<proto_splitter::ChunkedField>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

            Matcher matcher = WORD_SEPARATOR.matcher(string);
            int pos = 0;
            boolean first = true;
            while (matcher.find()) {
                String chunk = string.subSequence(pos, matcher.start()).toString();
                pos = matcher.end();
                if (chunk.isEmpty()) {
                    continue;
                }
                if (lower && first) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

            Matcher matcher = WORD_SEPARATOR.matcher(string);
            int pos = 0;
            boolean first = true;
            while (matcher.find()) {
                String chunk = string.subSequence(pos, matcher.start()).toString();
                pos = matcher.end();
                if (chunk.isEmpty()) {
                    continue;
                }
                if (lower && first) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

                int codePoint = Character.codePointAt(input, i);
                if (codePoint == c) {
                  // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves
                  putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset));
                  return this;
                }
                i++;
                update(4, codePointToFourUtf8Bytes(codePoint));
              }
            }
            return this;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

                int codePoint = Character.codePointAt(input, i);
                if (codePoint == c) {
                  // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves
                  putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset));
                  return this;
                }
                i++;
                update(4, codePointToFourUtf8Bytes(codePoint));
              }
            }
            return this;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

                    public int length() {
                        return name.length();
                    }
    
                    @Override
                    public CharSequence subSequence(final int start, final int end) {
                        return name.subSequence(start, end);
                    }
    
                };
            }
    
            /**
             * @return CharSequence
             */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/BaseEncoding.java

          char padChar = paddingChar.charValue();
          int l;
          for (l = chars.length() - 1; l >= 0; l--) {
            if (chars.charAt(l) != padChar) {
              break;
            }
          }
          return chars.subSequence(0, l + 1);
        }
    
        @Override
        public boolean canDecode(CharSequence chars) {
          checkNotNull(chars);
          chars = trimTrailingPadding(chars);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top