Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for separators (4.16 sec)

  1. cmd/utils_test.go

    		},
    		// Test case 5 object has many trailing separators.
    		{
    			path:   "/bucket/object/1///",
    			bucket: "bucket",
    			object: "object/1///",
    		},
    		// Test case 6 object has only trailing separators.
    		{
    			path:   "/bucket/object///////",
    			bucket: "bucket",
    			object: "object///////",
    		},
    		// Test case 7 object has preceding separators.
    		{
    			path:   "/bucket////object////",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

        /** Constant for the supported comment characters.*/
        private static final String COMMENT_CHARS = "#!";
    
        /** The list of possible key/value separators */
        private static final char[] SEPARATORS = new char[] {'=', ':'};
    
        /** The white space characters used as key/value separators. */
        private static final char[] WHITE_SPACE = new char[] {' ', '\t', '\f'};
    
        /**
         * Unless standard java props, use UTF-8
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         *
         * @param expected the option value expected by the test
         * @return the expected value with separators of the host
         */
        private static String toPlatformSpecific(String expected) {
            return expected.replace("/", File.separator).replace(":", File.pathSeparator);
        }
    
        /**
         * Tests the formatting of an option without module name.
         */
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 13 14:20:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            assertNotNull(result);
            assertEquals(longName.toString(), result.getContent());
        }
    
        /**
         * Test extraction with filename containing path separators.
         */
        public void test_getText_withPathInFilename() {
            final InputStream in = new ByteArrayInputStream(new byte[0]);
            final Map<String, String> params = new HashMap<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CaseFormat.java

        // deal with camel conversion
        StringBuilder out = null;
        int i = 0;
        int j = -1;
        while ((j = wordBoundary.indexIn(s, ++j)) != -1) {
          if (i == 0) {
            // include some extra space for separators
            out = new StringBuilder(s.length() + 4 * format.wordSeparator.length());
            out.append(format.normalizeFirstWord(s.substring(i, j)));
          } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Dec 03 18:46:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. tests/benchmarks/test_general_performance.py

        assert body == b'{"received":300}'
    
    
    def _expected_large_payload_json_bytes() -> bytes:
        return json.dumps(
            LARGE_PAYLOAD,
            ensure_ascii=False,
            allow_nan=False,
            separators=(",", ":"),
        ).encode("utf-8")
    
    
    def test_sync_return_large_dict_without_response_model(
        benchmark, client: TestClient
    ) -> None:
        status_code, body = _bench_get(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CaseFormat.java

        // deal with camel conversion
        StringBuilder out = null;
        int i = 0;
        int j = -1;
        while ((j = wordBoundary.indexIn(s, ++j)) != -1) {
          if (i == 0) {
            // include some extra space for separators
            out = new StringBuilder(s.length() + 4 * format.wordSeparator.length());
            out.append(format.normalizeFirstWord(s.substring(i, j)));
          } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Dec 03 18:46:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    func isSeparator(r rune) bool {
    	// ASCII alphanumerics and underscore are not separators
    	if r <= 0x7F {
    		switch {
    		case '0' <= r && r <= '9':
    			return false
    		case 'a' <= r && r <= 'z':
    			return false
    		case 'A' <= r && r <= 'Z':
    			return false
    		case r == '_':
    			return false
    		}
    		return true
    	}
    	// Letters and digits are not separators
    	if unicode.IsLetter(r) || unicode.IsDigit(r) {
    		return false
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 16:42:15 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                String expectedPath = "pom-with-profiles" + separator + "pom.xml";
    
                // The test will pass with File.separator but this shows the platform differences
                assertTrue(
                        actualLocation.contains("pom-with-profiles/pom.xml"),
                        "Location should contain path with proper separators for " + fsName + " (actual: " + actualLocation
                                + ")\n"
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        }
    
        /**
         * Test writeString method indirectly through writeBytesWireFormat
         */
        @Test
        @DisplayName("Test writeString handles path separators correctly")
        public void testWriteStringWithPathSeparators() {
            // Given
            String oldFileName = "folder\\oldFile.txt";
            String newFileName = "folder\\newFile.txt";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top