Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 338 for charactersOf (0.09 sec)

  1. android/guava/src/com/google/common/base/SmallCharMatcher.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.CharMatcher.NamedFastMatcher;
    import java.util.BitSet;
    
    /**
     * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with
     * linear probing to check for matches.
     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    final class SmallCharMatcher extends NamedFastMatcher {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5");
        assertFailsToDecode(base64(), "?", "Invalid input length 1");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

         *
         * @param domain the domain name to append
         */
        void fixupDomain(String domain);
    
        /**
         * Reduces path consumed by the given value
         *
         * @param i the number of characters to strip from path consumed
         */
        void stripPathConsumed(int i);
    
        @Override
        DfsReferralDataInternal next();
    
        /**
         * Set the UNC path link for this referral
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals("third", item.toLineString());
            assertTrue(item.isUpdated());
            assertFalse(item.isDeleted());
        }
    
        public void test_specialCharacters() {
            // Test with special characters
            String specialInput = "test@#$%^&*()_+-=[]{}|;':\",./<>?";
            StopwordsItem item = new StopwordsItem(1, specialInput);
            assertEquals(specialInput, item.getInput());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(messageCode, exception.getMessageCode());
        }
    
        public void test_constructor_withMessageCodeAndMessage() {
            // Setup
            final String message = "Query contains invalid characters";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      }
      return endIndex
    }
    
    /**
     * Returns the index of the first character in this string that is either a control character (like
     * `\u0000` or `\n`) or a non-ASCII character. Returns -1 if this string has no such characters.
     */
    internal fun String.indexOfControlOrNonAscii(): Int {
      for (i in 0 until length) {
        val c = this[i]
        if (c <= '\u001f' || c >= '\u007f') {
          return i
        }
      }
      return -1
    }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      private fun loggerTag(loggerName: String): String {
        // We need to handle long logger names before they hit Log.
        // java.lang.IllegalArgumentException: Log tag "okhttp3.mockwebserver.MockWebServer" exceeds limit of 23 characters
        return knownLoggers[loggerName] ?: loggerName.take(23)
      }
    
      fun enable() {
        try {
          for ((logger, tag) in knownLoggers) {
            enableLogging(logger, tag)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertEquals("Root problem", exception.getCause().getCause().getMessage());
        }
    
        public void test_messageWithSpecialCharacters() {
            // Test constructor with message containing special characters
            String message = "GSA error: config file not found at /path/to/config.xml\n" + "Details: \"file\" does not exist\t[TAB]\r\n"
                    + "Unicode: \u4E2D\u6587";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/UniAddressTest.java

            assertFalse(UniAddress.isAllDigits(nonNumeric));
        }
    
        @Test
        void isAllDigitsHandlesEmptyString() {
            // Empty string technically has no non-digit characters, so it returns true
            assertTrue(UniAddress.isAllDigits(""), "isAllDigits should return true for empty string (no non-digits)");
        }
    
        /* ---------------------------------------------------------------------
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>This deliberately avoids all nameservice lookups (e.g. no DNS).
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top