Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 382 for charactersOf (0.05 sec)

  1. 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)
  2. android/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/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                generator.generate("test_id", outputFile);
                assertTrue("Should handle special characters in paths", true);
            } catch (final Exception e) {
                assertTrue("Exception handling for special characters", true);
            } finally {
                if (outputFile.exists()) {
                    outputFile.delete();
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/InputValidatorTest.java

            // Test null input
            assertEquals("null", InputValidator.sanitizeForLogging(null));
    
            // Test normal string without control characters
            assertEquals("test", InputValidator.sanitizeForLogging("test"));
    
            // Test removal of control characters (they are removed, not replaced with spaces)
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\0string"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Verify timeout specified flag is set
            assertEquals(0x1, buffer[12]);
        }
    
        @Test
        @DisplayName("Test with special characters in pipe name")
        void testWithSpecialCharactersInPipeName() {
            // Test with special characters
            String pipeName = "\\\\?\\pipe\\test$pipe#name!";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            // Test with all special characters
            char[] plaintext = "!@#$%^&*()_+-=[]{}|;':\",./<>?`~\t\n\r".toCharArray();
    
            byte[] encrypted = storage.encryptCredentials(plaintext);
            char[] decrypted = storage.decryptCredentials(encrypted);
    
            assertArrayEquals(plaintext, decrypted, "Special characters should be preserved");
    
            // Clean up
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            assertEquals("Not Found:  Parent: ", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withSpecialCharacters() {
            // Test with URLs containing special characters
            String parentUrl = "http://example.com/parent?query=test&id=123";
            String url = "http://example.com/child#fragment";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // Test with special characters in message
            String message = "LDAP error: \n\t\r Special chars: @#$%^&*(){}[]|\\:;\"'<>,.?/~`";
            LdapOperationException exception = new LdapOperationException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        public void test_unicodeMessage() {
            // Test with Unicode characters in message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top