Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 681 for characters (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

      @Test fun mixedCasePunycode() {
        testDecodeOnly(
          unicode = "ليهمابتكلموشعربي؟",
          punycode = "Xn--EgBpDaJ6Bu4bXfGeHfVwXn",
        )
      }
    
      /**
       * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may
       * overflow and return null.
       */
      @Test fun overflowEncodingOversizedLabel() {
        val a1000 = "a".repeat(1000)
        val a1000MaxCodePoint = a1000 + "\udbff\udfff"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            discloser.setPlainText("テスト内容です。\n改行もあります。");
    
            String result = notificationHelper.toSlackMessage(discloser);
    
            assertNotNull(result);
            // Unicode characters may be escaped in JSON
            assertTrue(result.contains("テスト") || result.contains("\\u"));
        }
    
        public void test_toGoogleChatMessage_withUnicodeContent() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testEquals() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        // We know that we have only added non-null Characters.
        Table<String, Integer, Character> hashCopy =
            HashBasedTable.create((Table<String, Integer, ? extends Character>) table);
        Table<String, Integer, C> reordered = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K 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/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle notification with Unicode characters")
        void testUnicodeFilenames() throws Exception {
            // Given
            byte[] buffer = new byte[512];
            int offset = 0;
    
            setHeaderStart(response, 64);
    
            String unicodeName = "文件名.txt"; // Chinese characters
            byte[] fileNameBytes = unicodeName.getBytes("UnicodeLittleUnmarked");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertEquals(rootCause, exception.getCause().getCause());
        }
    
        public void test_constructor_withSpecialCharactersInMessage() {
            // Test constructor with special characters in message
            String message = "Error with special chars: \n\t\r\"'<>&";
            SearchEngineClientException exception = new SearchEngineClientException(message);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. 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)
  8. src/bytes/iter.go

    // It returns a single-use iterator.
    func SplitAfterSeq(s, sep []byte) iter.Seq[[]byte] {
    	return splitSeq(s, sep, len(sep))
    }
    
    // FieldsSeq returns an iterator over subslices of s split around runs of
    // whitespace characters, as defined by [unicode.IsSpace].
    // The iterator yields the same subslices that would be returned by [Fields](s),
    // but without constructing a new slice containing the subslices.
    func FieldsSeq(s []byte) iter.Seq[[]byte] {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        @DisplayName("Should handle invalid NetBIOS name quickly")
        @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout
        void testGetNbtByNameInvalid() {
            // When/Then - Should fail quickly with invalid characters
            assertThrows(Exception.class, () -> {
                nameServiceClient.getNbtByName("INVALID@#$%NAME");
            }, "Should throw exception for invalid NetBIOS name");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            assertEquals(unicodeFileName, decodedName);
            assertEquals(20 + nameLength, bytesWritten);
        }
    
        @Test
        @DisplayName("Test with special characters in filename")
        void testWithSpecialCharactersInFilename() throws SMBProtocolDecodingException {
            String specialFileName = "file!@#$%^&*().txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top