Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 88 for CharSequence (0.04 sec)

  1. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

        return this;
      }
    
      /*
       * Note: hashString(CharSequence, Charset) is intentionally not overridden.
       *
       * While intuitively, using CharsetEncoder to encode the CharSequence directly to the buffer (or
       * even to an intermediate buffer) should be considerably more efficient than potentially
       * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Joiner.java

         */
        if (parts instanceof List) {
          int size = ((List<?>) parts).size();
          if (size == 0) {
            return "";
          }
          CharSequence[] toJoin = new CharSequence[size];
          int i = 0;
          for (Object part : parts) {
            if (i == toJoin.length) {
              /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            next(1);
        }
    
        public void next(int n) {
            pos += n;
        }
    
        public boolean lookingAt(char c) {
            return input.charAt(pos) == c;
        }
    
        public boolean lookingAt(CharSequence prefix) {
            int i = 0;
            int cpos = pos;
            while (i < prefix.length() && cpos < input.length()) {
                if (prefix.charAt(i) != input.charAt(cpos)) {
                    return false;
                }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                    import $nullableAnnotationName;
                    public class Source<String, T extends List<@Nullable CharSequence>, Integer> {}
                """,
                v2 = """
                    import java.util.List;
                    public class Source<String, T extends List<CharSequence>, Integer> {}
                """
            ) {
                assertHasErrors(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu May 15 17:05:08 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
       * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and
       * StringBuilders (in a CharSequence[] to make it a little harder for the JVM).
       */
      @BeforeExperiment
      void setUp() {
        long seed = 99;
        Random rnd = new Random(seed);
        strings = new String[SAMPLES];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypesTest.java

           * built-in nullness feature?
           */
          "ExtendsObject",
        })
        <T extends Object> void withObjectBound(List<T> list) {}
    
        @SuppressWarnings("unused")
        <T extends Number & CharSequence> void withUpperBound(List<T> list) {}
    
        static TypeVariable<?> getTypeVariable(String methodName) throws Exception {
          ParameterizedType parameterType =
              (ParameterizedType)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/JoinerTest.java

      private static final Appendable NASTY_APPENDABLE =
          new Appendable() {
            @Override
            public Appendable append(@Nullable CharSequence csq) throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(@Nullable CharSequence csq, int start, int end)
                throws IOException {
              throw new IOException();
            }
    
            @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/text/StringsKt__StringsKt;->contains$default(Ljava/lang/CharSequence;CZI)Z
    HSPLkotlin/text/StringsKt__StringsKt;->contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZI)Z
    HSPLkotlin/text/StringsKt__StringsKt;->endsWith$default(Ljava/lang/CharSequence;CZI)Z
    HSPLkotlin/text/StringsKt__StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
    HSPLkotlin/text/StringsKt__StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (1)
  9. guava/src/com/google/common/base/Predicates.java

       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
      public static Predicate<CharSequence> containsPattern(String pattern) {
        return new ContainsPatternFromStringPredicate(pattern);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested
       * contains any match for the given regular expression pattern. The test used is equivalent to
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt

     * Appends value to the given Appendable and simple `\n` line separator after it.
     *
     * Always using the same line separator on all systems to allow for reproducible outputs.
     */
    fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable {
        assert('\r' !in value) {
            "Unexpected line ending in string."
        }
        return append(value).append("\n")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top