Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 560 for parseRhs (0.33 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradleModuleMetadataParserTest.groovy

            }
        }
    
        def "parses minimal metadata resource"() {
            def metadata = Mock(MutableModuleComponentResolveMetadata)
    
            when:
            parser.parse(resource('{ "formatVersion": "1.1" }'), metadata)
    
            then:
            1 * metadata.getMutableVariants()
            0 * metadata._
        }
    
        def "parses minimal metadata with identity and producer information"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 38K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverterTest.groovy

        def "parses module identifier notation"() {
            expect:
            parser.parseNotation("org.gradle:gradle-core") == new UnversionedModuleComponentSelector(moduleIdentifierFactory.module("org.gradle", "gradle-core"))
            parser.parseNotation(" foo:bar ") == new UnversionedModuleComponentSelector(moduleIdentifierFactory.module("foo", "bar"))
        }
    
        def "parses module component identifier notation"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. cni/test/testdata/pre/non_json.conf

    "This is not json"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 19 23:19:19 UTC 2020
    - 60 bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

     * limitations under the License.
     */
    package gradlebuild.docs
    
    import org.w3c.dom.*
    import org.xml.sax.InputSource
    import spock.lang.Specification
    
    import javax.xml.parsers.DocumentBuilder
    import javax.xml.parsers.DocumentBuilderFactory
    
    abstract class XmlSpecification extends Specification {
        final Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  5. src/go/build/constraint/expr.go

    	}
    	return x, nil
    }
    
    // or parses a sequence of || expressions.
    // On entry, the next input token has not yet been lexed.
    // On exit, the next input token has been lexed and is in p.tok.
    func (p *exprParser) or() Expr {
    	x := p.and()
    	for p.tok == "||" {
    		x = or(x, p.and())
    	}
    	return x
    }
    
    // and parses a sequence of && expressions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        }
    
        // ----------------------------------------------------------------------
        // Implementation methods
        // ----------------------------------------------------------------------
    
        /**
         * Parses a sequence of XML elements and converts them to the given target type.
         *
         * @param parser The XML parser
         * @param toType The target type
         * @return Converted instance of the target type
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy

        )
        def "parses a file with a single bundle and nothing else"() {
            when:
            parse('one-bundle')
    
            then:
            InvalidUserDataException ex = thrown()
            verify(ex.message, undefinedAliasRef {
                inCatalog('libs')
                bundle('guava')
                aliasRef('hello')
            })
        }
    
        def "parses a file with a single version and nothing else"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/endpoint.go

    		}
    
    		// overrides the control-plane url using the controlPlaneAddress (and eventually the bindport)
    		return formatURL(host, port).String(), nil
    	}
    
    	return localAPIEndpoint, nil
    }
    
    // GetLocalAPIEndpoint parses an APIEndpoint and returns it as a string,
    // or returns and error in case it cannot be parsed.
    func GetLocalAPIEndpoint(localEndpoint *kubeadmapi.APIEndpoint) (string, error) {
    	// get the URL of the local endpoint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 11 15:08:59 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  9. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/package-info.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    /**
     * A {@link org.gradle.api.Plugin} for generating parsers from Antlr grammars.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 742 bytes
    - Viewed (0)
  10. src/html/template/multi_test.go

    }
    
    func TestParseFS(t *testing.T) {
    	fs := os.DirFS("testdata")
    
    	{
    		_, err := ParseFS(fs, "DOES NOT EXIST")
    		if err == nil {
    			t.Error("expected error for non-existent file; got none")
    		}
    	}
    
    	{
    		template := New("root")
    		_, err := template.ParseFS(fs, "file1.tmpl", "file2.tmpl")
    		if err != nil {
    			t.Fatalf("error parsing files: %v", err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top