Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 689 for Parsing (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

        private val KNOWN_FAILURES =
          listOf(
            "Parsing: <http://example\t.\norg> against <http://example.org/foo/bar>",
            "Parsing: <http://f:0/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:00000000000000/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:\n/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:999999/c> against <http://example.org/foo/bar>",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  2. src/archive/tar/strconv_test.go

    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && got != v.want {
    			t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want)
    		}
    	}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            // Test case-insensitive string parsing - TRUE
            Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "TRUE");
            assertTrue(Features.deployBuildPom(properties));
        }
    
        @Test
        void testDeployBuildPomWithStringFalseUpperCase() {
            // Test case-insensitive string parsing - FALSE
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 04 19:42:23 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

         * @return a map of Path to Document for all discovered POM files
         * @throws IOException if there's an error reading files
         * @throws DomTripException if there's an error parsing XML
         */
        public static Map<Path, Document> discoverPoms(Path startDirectory) throws IOException, DomTripException {
            Map<Path, Document> pomMap = new HashMap<>();
    
            // Find and load the root POM
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

     * under the License.
     */
    package org.apache.maven.api.cli;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Defines the contract for parsing Maven command-line arguments and creating an execution or invoker requests.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Parser {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                StringBuilder value = new StringBuilder();
    
                // state of the automaton:
                // 0: key parsing
                // 1: antislash found while parsing the key
                // 2: separator crossing
                // 3: white spaces
                // 4: value parsing
                int state = 0;
    
                for (int pos = 0; pos < line.length(); pos++) {
                    char c = line.charAt(pos);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                StringBuilder value = new StringBuilder();
    
                // state of the automaton:
                // 0: key parsing
                // 1: antislash found while parsing the key
                // 2: separator crossing
                // 3: white spaces
                // 4: value parsing
                int state = 0;
    
                for (int pos = 0; pos < line.length(); pos++) {
                    char c = line.charAt(pos);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * If not explicitly set, this value will be detected during parsing.
         *
         * @return the current working directory path, or null if not set
         */
        @Nullable
        Path cwd();
    
        /**
         * Returns the Maven home directory.
         * If not explicitly set, this value will be detected during parsing.
         *
         * @return the Maven home directory path, or null if not set
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. cmd/streaming-signature-v4_test.go

    		}
    		if !bytes.Equal(chunkSignature, tt.chunkSignature) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSignature), string(chunkSignature))
    		}
    	}
    }
    
    // Test parsing s3 chunk extension.
    func TestParseS3ChunkExtension(t *testing.T) {
    	type testCase struct {
    		buf       []byte
    		chunkSize []byte
    		chunkSign []byte
    	}
    
    	tests := []testCase{
    		// Test - 1 valid case.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

         */
        public static void write(XmlNode node, Writer writer) throws IOException {
            getService().doWrite(node, writer);
        }
    
        /**
         * Interface for building input locations during XML parsing.
         */
        public interface InputLocationBuilder {
            Object toInputLocation(XMLStreamReader parser);
        }
    
        /**
         * Implementation method for reading an XML node from an input stream.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top