Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 107 for set_kind (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching.go

    		isMatch       bool
    		matchResource schema.GroupVersionResource
    		matchKind     schema.GroupVersionKind
    		matchErr      error
    	)
    	if len(matchResources.ResourceRules) == 0 {
    		isMatch = true
    		matchKind = attr.GetKind()
    		matchResource = attr.GetResource()
    	} else {
    		isMatch, matchResource, matchKind, matchErr = matchesResourceRules(matchResources.ResourceRules, matchPolicy, attr, o)
    	}
    	if matchErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AbstractClasspathEntry.java

            attributes.forEach((key, value) -> {
                if (value != null && !String.valueOf(value).isEmpty()) {
                    allAttributes.put(key, value);
                }
            });
            allAttributes.put("kind", getKind());
            allAttributes.put("path", path);
    
    
            if (exported && !(this instanceof SourceFolder)) {
                allAttributes.put("exported", true);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/features/withstaticreference/WithExtensionReferencesReader.java

        }
    
        private static boolean shouldPostProcess(CallInterceptionRequest request) {
            CallableKindInfo kind = request.getInterceptedCallable().getKind();
            return kind == CallableKindInfo.INSTANCE_METHOD || kind == CallableKindInfo.GROOVY_PROPERTY_GETTER || kind == CallableKindInfo.GROOVY_PROPERTY_SETTER;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/CodeGeneratingSignatureTreeVisitor.java

        }
    
        private CodeBlock prepareInvocationArgs(CallInterceptionRequest request) {
            boolean hasKotlinDefaultMask = request.getInterceptedCallable().getParameters().stream().anyMatch(it -> it.getKind() == ParameterKindInfo.KOTLIN_DEFAULT_MASK);
            boolean hasCallerClassName = hasCallerClassName(request.getInterceptedCallable());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Classpath.java

            }
    
            SourceFolder sourceFolder = (SourceFolder) existingEntry;
            return newSourceFolders.stream().anyMatch(newSourceFolder -> {
                return Objects.equal(sourceFolder.getKind(), newSourceFolder.getKind())
                    && Objects.equal(sourceFolder.getPath(), newSourceFolder.getPath())
                    && Objects.equal(sourceFolder.getExcludes(), newSourceFolder.getExcludes())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/GroovyClassGeneratorUtils.java

                    CallableInfo callable = request.getInterceptedCallable();
                    CallableKindInfo kind = callable.getKind();
                    if (kind == CallableKindInfo.AFTER_CONSTRUCTOR) {
                        Type constructedType = request.getInterceptedCallable().getOwner().getType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 13:39:36 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/storage_factory.go

    	// special-case unstructured objects that tell us their apiVersion/kind
    	if u, isUnstructured := obj.(*unstructured.Unstructured); isUnstructured {
    		if apiVersion, kind := u.GetAPIVersion(), u.GetKind(); len(apiVersion) > 0 && len(kind) > 0 {
    			return []interface{}{"apiVersion", apiVersion, "kind", kind}
    		}
    	}
    
    	// otherwise just return the type
    	return []interface{}{"type", fmt.Sprintf("%T", obj)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

          return FullTypeDef();
        } else {
          return *ft;
        }
      }
    
      TF_Output output_;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      TF_Graph* graph_;  // For shape inference.
    };
    
    // GraphOperation wraps and populates a TF_OperationDescription.
    class GraphOperation : public TracingOperation {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go

    	if err != nil {
    		return field.ErrorList{field.Invalid(field.NewPath("kind"), nil, err.Error())}
    	}
    
    	var allErrs field.ErrorList
    	if typeAccessor.GetKind() != a.kind.Kind {
    		allErrs = append(allErrs, field.Invalid(field.NewPath("kind"), typeAccessor.GetKind(), fmt.Sprintf("must be %v", a.kind.Kind)))
    	}
    	if typeAccessor.GetAPIVersion() != a.kind.Group+"/"+a.kind.Version {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:00:05 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/metrics/types_util.cc

    void ExtractFileLine(const FileLineColLoc& loc,
                         tflite::metrics::ConverterErrorData::FileLoc* fileline) {
      fileline->set_filename(loc.getFilename().str());
      fileline->set_line(loc.getLine());
      fileline->set_column(loc.getColumn());
    }
    
    // Defines a child class of Location to access its protected members.
    class LocationExtractor : public Location {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top