Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 877 for charsB (0.06 seconds)

  1. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

          HashFunction hashFunction, Random random) {
        int size = random.nextInt(8) + 1;
        char[] chars = new char[size];
        for (int i = 0; i < chars.length; i++) {
          chars[i] = random.nextBoolean() ? randomLowSurrogate(random) : randomHighSurrogate(random);
        }
        String string = new String(chars);
        assertEquals(
            hashFunction.hashUnencodedChars(string),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  2. helm/minio/Chart.yaml

    Harshavardhana <******@****.***> 1735882487 -0800
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 03 05:34:47 GMT 2025
    - 374 bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

        /** The list of possible key/value separators */
        private static final char[] SEPARATORS = new char[] {'=', ':'};
    
        /** The white space characters used as key/value separators. */
        private static final char[] WHITE_SPACE = new char[] {' ', '\t', '\f'};
    
        /**
         * Unless standard java props, use UTF-8
         */
        static final Charset DEFAULT_ENCODING = StandardCharsets.UTF_8;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/io/BaseEncoding.java

            }
          }
          return chars.subSequence(0, l + 1);
        }
    
        @Override
        public boolean canDecode(CharSequence chars) {
          checkNotNull(chars);
          chars = trimTrailingPadding(chars);
          if (!alphabet.isValidPaddingStartPosition(chars.length())) {
            return false;
          }
          for (int i = 0; i < chars.length(); i++) {
            if (!alphabet.canDecode(chars.charAt(i))) {
              return false;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 06 14:51:47 GMT 2025
    - 41.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

          HashFunction hashFunction, Random random) {
        int size = random.nextInt(8) + 1;
        char[] chars = new char[size];
        for (int i = 0; i < chars.length; i++) {
          chars[i] = random.nextBoolean() ? randomLowSurrogate(random) : randomHighSurrogate(random);
        }
        String string = new String(chars);
        assertEquals(
            hashFunction.hashUnencodedChars(string),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

          public Hasher putString(CharSequence chars, Charset charset) {
            for (Hasher hasher : hashers) {
              hasher.putString(chars, charset);
            }
            return this;
          }
    
          @Override
          public <T extends @Nullable Object> Hasher putObject(
              @ParametricNullness T instance, Funnel<? super T> funnel) {
            for (Hasher hasher : hashers) {
              hasher.putObject(instance, funnel);
            }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (isEmpty(name)) {
                return name;
            }
            final char[] chars = name.toCharArray();
            if (chars.length >= 2 && Character.isUpperCase(chars[0]) && Character.isUpperCase(chars[1])) {
                return name;
            }
            chars[0] = Character.toLowerCase(chars[0]);
            return new String(chars);
        }
    
        /**
         * Capitalizes a string according to JavaBeans conventions.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizer.java

                return null;
            }
            final char[] chars = new char[text.length()];
            for (int i = 0; i < chars.length; i++) {
                final char c = text.charAt(i);
                if (c >= 'a' && c <= 'z') {
                    chars[i] = (char) (c - 'a' + 'a');
                } else if (c >= 'A' && c <= 'Z') {
                    chars[i] = (char) (c - 'A' + 'A');
                } else if (c >= '0' && c <= '9') {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

        String allMatchingChars = allMatchingChars(bitSet);
        char[] result = new char[STRING_LENGTH];
        // Fill with matching chars.
        for (int i = 0; i < result.length; i++) {
          result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length()));
        }
        // Replace some of chars by non-matching.
        int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5);
        while (remaining > 0) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

        }
    
        @Test
        @DisplayName("should handle different charset encodings correctly")
        void shouldHandleDifferentCharsetEncodingsCorrectly() {
            Terminal mockTerminal = mock(Terminal.class);
    
            // Test with ISO-8859-1 (Latin-1) - should support some but not all Unicode chars
            when(mockTerminal.encoding()).thenReturn(StandardCharsets.ISO_8859_1);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top