Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for hasResources (0.21 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultSharedLibraryBinarySpec.java

                return hasSources() && !isResourceOnly();
            }
    
            @Override
            protected Set<File> getOutputs() {
                return Collections.singleton(getSharedLibraryLinkFile());
            }
    
            private boolean isResourceOnly() {
                return hasResources() && !hasExportedSymbols();
            }
    
            private boolean hasResources() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

      llvm::SmallVector<Value> non_resource_args, resource_args;
      bool has_resources = false, in_order = true;
      for (const Value &arg : cluster_func_op.getOperands()) {
        if (!mlir::isa<TF::ResourceType>(getElementTypeOrSelf(arg.getType()))) {
          non_resource_args.push_back(arg);
          if (has_resources) in_order = false;
        } else {
          resource_args.push_back(arg);
          has_resources = true;
        }
      }
    
      if (!in_order) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultStaticLibraryBinarySpec.java

            }
    
            @Override
            protected boolean hasOutputs() {
                return hasSources() || !additionalLinkFiles.isEmpty();
            }
    
            @Override
            protected Set<File> getOutputs() {
                Set<File> allFiles = new LinkedHashSet<File>();
                if (hasSources()) {
                    allFiles.add(getStaticLibraryFile());
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. 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)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

            """
        }
    
        String generatePomXML(Integer subProjectNumber, DependencyTree dependencyTree) {
            def body = ""
            def isParent = subProjectNumber == null || config.subProjects == 0
            def hasSources = subProjectNumber != null || config.subProjects == 0
            if (isParent) {
                if (config.subProjects != 0) {
                    body += """
                        <modules>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

      bool has_resources = false;
      auto add_resource_argument = [&](BlockArgument arg,
                                       TF::ResourceType resource_type) {
        Type arg_type = resource_type.getSubtypes().front();
        arg.setType(arg_type);
        resources[arg.getArgNumber()].live_value = arg;
        argument_types[arg.getArgNumber()] = arg_type;
        has_resources = true;
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractNativeLibraryBinarySpec.java

            return getComponentAs(NativeLibrarySpec.class);
        }
    
        @Override
        public NativeLibrarySpec getLibrary() {
            return getComponentAs(NativeLibrarySpec.class);
        }
    
        protected boolean hasSources() {
            for (LanguageSourceSet sourceSet : getInputs()) {
                if (!sourceSet.getSource().isEmpty()) {
                    return true;
                }
                if (sourceSet.hasBuildDependencies()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. 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)
  10. src/internal/trace/traceviewer/static/trace_viewer_full.html

    tate.isSolidColor;this.isUsingGpuMemory=this.args.managedState.isUsingGpuMemory;this.hasResource=this.args.managedState.hasResource;this.scheduledPriority=this.args.scheduledPriority;this.gpuMemoryUsageInBytes=this.args.gpuMemoryUsage;}else{this.resolution=this.args.resolution;this.isSolidColor=this.args.drawInfo.isSolidColor;this.isUsingGpuMemory=this.args.isUsingGpuMemory;this.hasResource=this.args.hasResource;this.scheduledPriority=this.args.scheduledPriority;this.gpuMemoryUsageInBytes=this.a...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top