Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 754 for Characters (0.12 seconds)

  1. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(info.equals(info2));
    
            // HashCode for empty string
            assertEquals(0, info.hashCode()); // Empty string has hashCode of 0
        }
    
        @Test
        @DisplayName("Test with special characters in names")
        void testWithSpecialCharacters() {
            String specialName = "Share$\\Special/Name:*?";
            String specialRemark = "Remark with\nnewline\tand\rtabs";
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                                problems,
                                severity,
                                fieldName,
                                sourceHint,
                                "must not contain any of these characters " + banned + " but found " + string.charAt(i));
                        return false;
                    }
                }
            }
    
            return true;
        }
    
        private static void addViolation(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. cmd/object-api-utils.go

    // requirements. It cannot exceed 1024 characters and must be a valid UTF8
    // string.
    //
    // See:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
    //
    // You should avoid the following characters in a key name because of
    // significant special handling for consistency across all
    // applications.
    //
    // Rejects strings with following characters.
    //
    // - Backslash ("\")
    //
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                assertEquals(-999, mockHolder[0].recordedReadTimeout);
            }
        }
    
        // --- URL special characters through real connect() path ---
    
        @Test
        public void test_UrlWithSpecialCharacters_ThroughRealConnectPath() throws Exception {
            // ## Arrange ##
            // URLs with special characters (spaces, curly braces, pipes) must be accepted
            // by the real connect() path using new URL()
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                    writeJsonResponse(response, HttpServletResponse.SC_BAD_REQUEST,
                            createErrorResponse("Message is too long (max " + maxMessageLength + " characters)"));
                    return;
                }
    
                final String userId = getUserId(request);
    
                // Set LLM type name as Access Type for search log
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  6. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Parses .mvn/jvm.config file for Windows batch/Unix shell scripts.
     * This avoids the complexity of parsing special characters (pipes, quotes, etc.) in scripts.
     *
     * Usage: java JvmConfigParser.java <jvm.config-path> <maven-project-basedir> [output-file]
     *
     * If output-file is provided, writes result to that file (avoids Windows file locking issues).
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertEquals(message, exception.getMessage());
                assertTrue(exception.toString().contains("TransportException"));
            }
    
            @Test
            @DisplayName("Should handle special characters in message")
            void testSpecialCharactersInMessage() {
                String message = "Error: \n\t\r\\ \"special\" 'chars' @#$%^&*()";
                TransportException exception = new TransportException(message);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                @Override
                public String getCanonicalLdapName(String name) {
                    return name;
                }
            });
            sambaHelper.init();
    
            // Test with Turkish locale characters that have special lowercase rules
            assertEquals("1üser", sambaHelper.getAccountId(createMockSID(1, "Üser")));
        }
    
        @Test
        public void test_getAccountId_exception_handling() throws SmbException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  9. src/archive/zip/writer.go

    		i += size
    		// Officially, ZIP uses CP-437, but many readers use the system's
    		// local character encoding. Most encoding are compatible with a large
    		// subset of CP-437, which itself is ASCII-like.
    		//
    		// Forbid 0x7e and 0x5c since EUC-KR and Shift-JIS replace those
    		// characters with localized currency and overline characters.
    		if r < 0x20 || r > 0x7d || r == 0x5c {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Test with spaces
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\my share\\file.txt"));
    
            // Test with special characters
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\share\\file$name.txt"));
        }
    
        @Test
        @DisplayName("Test buffer boundary conditions")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top