Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 130 for set_kind (0.21 sec)

  1. 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)
  2. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    	fuzzer.Fuzz(object)
    
    	j, err := apimeta.TypeAccessor(object)
    	if err != nil {
    		t.Fatalf("Unexpected error %v for %#v", err, object)
    	}
    	j.SetKind("")
    	j.SetAPIVersion("")
    
    	return object
    }
    
    func groupsFromScheme(scheme *runtime.Scheme) []string {
    	ret := sets.String{}
    	for gvk := range scheme.AllKnownTypes() {
    		ret.Insert(gvk.Group)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview.go

    	attr := versionedAttributes.Attributes
    	gvk := invocation.Kind
    	gvr := invocation.Resource
    	subresource := invocation.Subresource
    	requestGVK := attr.GetKind()
    	requestGVR := attr.GetResource()
    	requestSubResource := attr.GetSubresource()
    	aUserInfo := attr.GetUserInfo()
    	userInfo := authenticationv1.UserInfo{
    		Extra:    make(map[string]authenticationv1.ExtraValue),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 9.5K 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