Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 161 for set_kind (0.15 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. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go

    	if a.GetOperation() == admission.Delete && a.GetKind().GroupKind() == v1.SchemeGroupVersion.WithKind("Namespace").GroupKind() && l.immortalNamespaces.Has(a.GetName()) {
    		return errors.NewForbidden(a.GetResource().GroupResource(), a.GetName(), fmt.Errorf("this namespace may not be deleted"))
    	}
    
    	// always allow non-namespaced resources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/c/eager/abstract_context.h

      enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler };
      explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {}
      virtual ~AbstractContext() {}
    
     public:
      AbstractContextKind getKind() const { return kind_; }
    
      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 24 11:16:58 UTC 2021
    - 3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/tape/tape_operation.h

          absl::Span<const AbstractOperation*> values) override;
      AbstractOperation* GetBackingOperation();
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeOperation() override;
    
     private:
      AbstractOperation* parent_op_;
      ForwardOperation forward_op_;
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 23:12:39 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  10. 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)
Back to top