Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 484 for spaces (0.03 sec)

  1. src/bytes/bytes.go

    		if f(r) {
    			if start >= 0 {
    				spans = append(spans, span{start, i})
    				start = -1
    			}
    		} else {
    			if start < 0 {
    				start = i
    			}
    		}
    		i += size
    	}
    
    	// Last field might end at EOF.
    	if start >= 0 {
    		spans = append(spans, span{start, len(s)})
    	}
    
    	// Create subslices from recorded field indices.
    	a := make([][]byte, len(spans))
    	for i, span := range spans {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 16:42:15 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Test forward slashes
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "//server/share"));
    
            // Test with spaces
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\my share\\file.txt"));
    
            // Test with special characters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertTrue(result.contains("pipeName=null"));
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "\\PIPE\\test", "testpipe", "\\\\server\\pipe\\test", " ", "pipe with spaces" })
        @DisplayName("toString should handle various pipe names")
        void testToStringWithVariousPipeNames(String pipeName) {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "a", "test.txt", "very_long_filename_that_exceeds_normal_length_limits_and_tests_buffer_handling.txt",
                "file with spaces.txt", "file*with?wildcards.txt", "../relative/path/file.txt", "C:\\absolute\\path\\file.txt" })
        void testFilenameHandling(String filename) {
            // Test various filename formats
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertEquals(0x0101, actualInfoLevel);
        }
    
        @Test
        void testWriteParametersWithSpecialCharacters() {
            String specialPath = "test/file with spaces and $pecial #chars!.txt";
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, specialPath, TEST_INFO_LEVEL);
    
            byte[] buffer = new byte[512];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. CLAUDE.md

    mvn test                       # Run tests
    mvn formatter:format           # Format code
    mvn license:format             # Update license headers
    ```
    
    ### Code Style
    
    - 4 spaces (no tabs)
    - Opening brace on same line
    - Max line length: 120
    - JavaDoc required for public APIs
    - License headers required
    
    ### Testing
    
    **Structure**: `src/test/java/org/codelibs/fess/crawler/`
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

         */
        @Test
        @DisplayName("Test writeBytesWireFormat with special characters in file names")
        public void testWriteBytesWireFormatSpecialCharacters() {
            // Given
            String oldFileName = "file with spaces.txt";
            String newFileName = "file@#$%.doc";
            byte[] dst = new byte[200];
            smbComRename = new SmbComRename(config, oldFileName, newFileName);
            int dstIndex = 0;
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        }
    
        /**
         * Derive the path portion of the given URL.
         *
         * @param url the repository URL
         * @return the basedir of the repository
         * TODO need to URL decode for spaces?
         */
        private String basedir(String url) {
            String retValue = null;
    
            if (protocol.equalsIgnoreCase("file")) {
                retValue = url.substring(protocol.length() + 1);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            // Test index name with special characters
            builder.setSettingsIndexName("Test-Index_Name.2024");
            assertEquals("test-index_name.2024", builder.settingsIndexName);
    
            // Test index name with spaces (should be lowercased)
            builder.setSettingsIndexName("Test Index Name");
            assertEquals("test index name", builder.settingsIndexName);
        }
    
        @Test
        public void testVariousTimeoutFormats() {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/PathValidator.java

                }
    
                // Check for trailing spaces or periods (Windows doesn't handle well)
                if (component.endsWith(" ") || component.endsWith(".")) {
                    throw new SmbException("Path component has trailing space or period: " + component);
                }
            }
        }
    
        /**
         * Validate host name
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top