Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 796 for Parsing (0.43 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. src/cmd/asm/internal/asm/operand_test.go

    func newParser(goarch string) *Parser {
    	architecture, ctxt := setArch(goarch)
    	return NewParser(ctxt, architecture, nil)
    }
    
    // tryParse executes parse func in panicOnError=true context.
    // parse is expected to call any parsing methods that may panic.
    // Returns error gathered from recover; nil if no parse errors occurred.
    //
    // For unexpected panics, calls t.Fatal.
    func tryParse(t *testing.T, parse func()) (err error) {
    	panicOnError = true
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

        @PathSensitive(PathSensitivity.NAME_ONLY)
        FileTree getSource() {
            return super.getSource();
        }
    
        @TaskAction
        def extract() {
            Date start = new Date()
    
            //parsing all input files into metadata
            //and placing them in the repository object
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top