Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 681 for characters (0.05 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

                validator.validatePath("\\\\..\\share");
            });
    
            // Test invalid characters in paths - caught by null byte check
            assertThrows(SmbException.class, () -> {
                // Null byte will be caught
                validator.validatePath("//server\0/share");
            });
    
            // Test path with control characters in strict mode
            PathValidator strictValidator = new PathValidator(260, 255, true, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

                assertFalse("Should return empty for locale: " + locale, result.isPresent());
            }
        }
    
        public void test_provide_withSpecialCharacters() {
            // Test classification names with special characters
            assertProvideThrowsException("Test@Classification");
            assertProvideThrowsException("Test#Classification");
            assertProvideThrowsException("Test$Classification");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertNull(user.getName());
    
            // Test with special characters in name
            user = new TestFessUser("******@****.***", new String[] {}, new String[] {}, new String[] {});
            assertEquals("******@****.***", user.getName());
    
            // Test with Unicode characters
            user = new TestFessUser("ユーザー名", new String[] {}, new String[] {}, new String[] {});
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/UUIDTest.java

                        "Should throw IllegalArgumentException for non-hex character in UUID string");
            }
    
            @Test
            @DisplayName("Constructor with too short UUID string should parse available data")
            void testConstructorWithStringTooShort() {
                // Arrange - UUID string missing last two characters
                String shortUuid = "00112233-4455-6677-8899-AABBCCDDEE";
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            input = "line1\nline2";
            result = KuromojiCSVUtil.quoteEscape(input);
            assertEquals("line1\nline2", result);
    
            // Tabs
            input = "tab\tcharacter";
            result = KuromojiCSVUtil.quoteEscape(input);
            assertEquals("tab\tcharacter", result);
    
            // Unicode
            input = "日本語,テスト";
            result = KuromojiCSVUtil.quoteEscape(input);
            assertEquals("\"日本語,テスト\"", result);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
        public void test_constructor_withSpecialCharactersInMessage() {
            // Test constructor with special characters in message
            final String message = "Job failed with special chars: \n\t\r\"'<>&";
            final JobProcessingException exception = new JobProcessingException(message);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/NetbiosNameTest.java

            // NetBIOS names can be up to 15 characters
            String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" };
    
            for (String testName : testNames) {
                when(mockNetbiosName.getName()).thenReturn(testName);
                assertEquals(testName, mockNetbiosName.getName());
            }
        }
    
        @Test
        @DisplayName("Should handle special characters in names")
        void testSpecialCharacters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4_test.go

    		}
    		if !bytes.Equal(hexChunkSignature, tt.chunkSign) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSign), string(hexChunkSignature))
    		}
    	}
    }
    
    // Test read CRLF characters on input reader.
    func TestReadCRLF(t *testing.T) {
    	type testCase struct {
    		reader      io.Reader
    		expectedErr error
    	}
    	tests := []testCase{
    		// Test - 1 valid buffer with CRLF.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    }
    
    /**
     * 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

     *
     * <p>
     * This class provides methods to:
     * </p>
     * <ul>
     *   <li>Detect the MIME type based on the input stream and filename.</li>
     *   <li>Normalize the filename to handle special characters.</li>
     *   <li>Configure whether to use the filename for MIME type detection.</li>
     *   <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li>
     * </ul>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top