Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for hasResource (0.26 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper.go

    	resource := coerceResourceForMatching(input)
    
    	hasResource := len(resource.Resource) > 0
    	hasGroup := len(resource.Group) > 0
    	hasVersion := len(resource.Version) > 0
    
    	if !hasResource {
    		return nil, fmt.Errorf("a resource must be present, got: %v", resource)
    	}
    
    	ret := []schema.GroupVersionResource{}
    	switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 01:55:47 UTC 2021
    - 16.1K bytes
    - Viewed (0)
  2. src/internal/trace/traceviewer/static/webcomponents.min.js

    removeAttribute(H,""),t.setAttribute(x,""),t[x]=!0,t.parentNode!==P&&(e.parentNode===P?P.replaceChild(t,e):this.addElementToDocument(t)),t.__importParsed=!0,this.markParsingComplete(e),this.parseNext()}};var o=HTMLImports.parser.hasResource;HTMLImports.parser.hasResource=function(e){return"link"===e.localName&&"stylesheet"===e.rel&&e.hasAttribute(H)?e.__resource:o.call(this,e)}}})}e.ShadowCSS=u}(window.WebComponents)),function(e){window.ShadowDOMPolyfill?(window.wrap=ShadowDOMPolyfill.wrapIfNeed...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 115.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleSourceDetectorTest.groovy

            expect:
            detector.getDeclaredSources(clazz).toList() == expected
    
            where:
            clazz         | expected
            String        | []
            HasOneSource  | [HasOneSource.Source]
            HasTwoSources | [HasTwoSources.SourceOne, HasTwoSources.SourceTwo]
            IsASource     | [IsASource]
        }
    
        def "has model sources - #clazz"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy

    """
            and:
            parseContext.getMetaDataArtifact({ it.selector.module == 'parent' }, _, MAVEN_POM) >> asResource(parent)
            parseContext.getMetaDataArtifact({ it.selector.module == 'grandparent' }, _, MAVEN_POM) >> asResource(grandParent)
            parseContext.getMetaDataArtifact({ it.selector.module == 'imported' }, _, MAVEN_POM) >> asResource(imported)
    
            when:
            parsePom()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 75.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy

        </dependencies>
    </project>
    """
            and:
            parseContext.getMetaDataArtifact({ it.selector.module == 'parent' }, _, MAVEN_POM) >> asResource(parent)
            parseContext.getMetaDataArtifact({ it.selector.module == 'grandparent' }, _, MAVEN_POM) >> asResource(grandParent)
    
            when:
            parsePom()
    
            then:
            def dep = single(metadata.dependencies)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserBomTest.groovy

                </dependency>
            </dependencies>
        </dependencyManagement>
    </project>
    """
            parseContext.getMetaDataArtifact({ it.selector.module == 'parent' }, _, MAVEN_POM) >> asResource(parent)
    
            when:
            parsePom()
    
            then:
            metadata.dependencies.size() == 1
            metadata.dependencies[0].constraint
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultSharedLibraryBinarySpec.java

                return Collections.singleton(getSharedLibraryLinkFile());
            }
    
            private boolean isResourceOnly() {
                return hasResources() && !hasExportedSymbols();
            }
    
            private boolean hasResources() {
                for (NativeResourceSet windowsResourceSet : getInputs().withType(NativeResourceSet.class)) {
                    if (!windowsResourceSet.getSource().isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Sign.java

            getSignatures().add(signature);
        }
    
        private void removeSignature(final Buildable source) {
            getSignatures().removeIf(hasSource(source));
        }
    
        private Predicate<Signature> hasSource(Buildable source) {
            return signature -> signature.getSource().equals(source);
        }
    
        /**
         * Changes the signatory of the signatures.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DependencyVerifyingModuleComponentRepository.java

                        if (isExternalArtifactId(artifact)) {
                            sources.withSource(ModuleDescriptorHashModuleSource.class, hashSource -> {
                                if (hashSource.isPresent()) {
                                    boolean changingModule = requestMetaData.isChanging() || hashSource.get().isChangingModule();
                                    if (!changingModule) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/controller.go

    	}
    	return slices.Filter(cfgs, func(c config.Config) bool {
    		return c.Namespace == namespace
    	})
    }
    
    // hasResources determines if there are any gateway-api resources created at all.
    // If not, we can short circuit all processing to avoid excessive work.
    func (kr GatewayResources) hasResources() bool {
    	return len(kr.GatewayClass) > 0 ||
    		len(kr.Gateway) > 0 ||
    		len(kr.HTTPRoute) > 0 ||
    		len(kr.GRPCRoute) > 0 ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top