Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 186 for Chars (0.03 seconds)

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

     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    
    import com.google.common.primitives.Chars;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.common.primitives.Shorts;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 12:40:17 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

            when(cifsContext.getConfig()).thenReturn(configuration);
            when(configuration.getOemEncoding()).thenReturn("Cp850");
            String password14 = "ABCDEFGHIJKLMN"; // 14 chars
            String password15 = "ABCDEFGHIJKLMNO"; // 15 chars, same first 14
            byte[] challenge = hex("0102030405060708");
    
            // Act
            byte[] r14 = NtlmUtil.getPreNTLMResponse(cifsContext, password14, challenge);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

            // Test extended ASCII characters (not valid URL chars without encoding)
            assertFalse(CharUtil.isUrlChar('\u00A0')); // non-breaking space
            assertFalse(CharUtil.isUrlChar('\u00FF')); // ÿ
        }
    
        public void test_isUrlChar_unicode() {
            // Test Unicode characters (not valid URL chars without encoding)
            assertFalse(CharUtil.isUrlChar('\u3042')); // あ (Hiragana)
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        public static final String MIN_ELEMENT = "a";
        public static final String AFTER_LAST = "z";
        public static final String AFTER_LAST_2 = "zz";
      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

              HashTestUtils.randomLowSurrogate(new Random())
            });
      }
    
      private static void assertPutString(char[] chars) {
        Hasher h1 = new NonStreamingVersion().newHasher();
        Hasher h2 = new NonStreamingVersion().newHasher();
        String s = new String(chars);
        // this is the correct implementation of the spec
        for (int i = 0; i < s.length(); i++) {
          h1.putChar(s.charAt(i));
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            repeat(sb, '*', DEFAULT_MAX_SIZE);
            return sb.toString();
        }
    
        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
            int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces
            List<String> result = new ArrayList<>();
            StringBuilder sb = new StringBuilder(size);
            // first line
            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java

            assertEquals("カテゴリ:技術", queryLog.getFilterQueryString());
        }
    
        @Test
        public void test_specialCharacters() throws Exception {
            String query = "test-query_with.special@chars!";
            QueryLog queryLog = new QueryLog(query, null);
    
            assertEquals(query, queryLog.getQueryString());
        }
    
        @Test
        public void test_longQuery() throws Exception {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        String badUnicode = "\uDC00\uD800";
        assertThrows(IllegalArgumentException.class, () -> escaper.escape(badUnicode));
      }
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        UnicodeEscaper wrappingEscaper =
            new ArrayBasedUnicodeEscaper(NO_REPLACEMENTS, 'A', 'Z', null) {
              @Override
              protected char[] escapeUnsafe(int c) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/package-info.java

     *
     * <ul>
     *   <li>{@link Booleans}
     *   <li>{@link Bytes}
     *       <ul>
     *         <li>{@link SignedBytes}
     *         <li>{@link UnsignedBytes}
     *       </ul>
     *   <li>{@link Chars}
     *   <li>{@link Doubles}
     *   <li>{@link Floats}
     *   <li>{@link Ints}
     *       <ul>
     *         <li>{@link UnsignedInts}
     *       </ul>
     *   <li>{@link Longs}
     *       <ul>
     *         <li>{@link UnsignedLongs}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jan 03 15:30:05 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top