Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for getKinds (0.47 sec)

  1. tensorflow/c/eager/immediate_execution_context.h

      // to the caller.
      virtual std::unique_ptr<RunMetadata> ExportRunMetadata() = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
      //===--------------------------------------------------------------------===//
      // Experimental Custom Device.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/meta/meta.go

    		return nil, fmt.Errorf("unable to find type fields on %#v: %v", typeMeta, err)
    	}
    	return a, nil
    }
    
    type objectAccessor struct {
    	runtime.Object
    }
    
    func (obj objectAccessor) GetKind() string {
    	return obj.GetObjectKind().GroupVersionKind().Kind
    }
    
    func (obj objectAccessor) SetKind(kind string) {
    	gvk := obj.GetObjectKind().GroupVersionKind()
    	gvk.Kind = kind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 16.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    				}
    				if e, a := noxuDefinition.Spec.Group+"/"+watchVersion, createdTypeMeta.GetAPIVersion(); e != a {
    					t.Errorf("expected %v, got %v", e, a)
    				}
    				if e, a := noxuDefinition.Spec.Names.Kind, createdTypeMeta.GetKind(); e != a {
    					t.Errorf("expected %v, got %v", e, a)
    				}
    			case <-time.After(5 * time.Second):
    				t.Errorf("missing watch event")
    			}
    		}
    
    		// Check get for all versions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifier.java

            List<Checksum> checksums = verification.getChecksums();
            for (Checksum checksum : checksums) {
                verifyChecksum(checksum.getKind(), file, checksum.getValue(), checksum.getAlternatives(), checksumService, builder);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go

    	return getNestedString(u.Object, "apiVersion")
    }
    
    func (u *Unstructured) SetAPIVersion(version string) {
    	u.setNestedField(version, "apiVersion")
    }
    
    func (u *Unstructured) GetKind() string {
    	return getNestedString(u.Object, "kind")
    }
    
    func (u *Unstructured) SetKind(kind string) {
    	u.setNestedField(kind, "kind")
    }
    
    func (u *Unstructured) GetNamespace() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

            }
            return groupedOutputFixture;
        }
    
        private String normalize(LogContent output) {
            List<String> result = new ArrayList<>();
            List<String> lines = output.getLines();
            int i = 0;
            while (i < lines.size()) {
                String line = lines.get(i);
                if (line.contains(DaemonStartupMessage.STARTING_DAEMON_MESSAGE)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      Type getElementType() {
        return mlir::cast<ShapedType>(value_.getType()).getElementType();
      }
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kMlir;
      }
    
      // Return default (TFT_UNSET) full type information. This could be updated in
      // the future if full type information is needed.
      tensorflow::FullTypeDef FullType() const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. plugin/pkg/admission/limitranger/admission.go

    	// update request will always fail pod validation because those fields are immutable once the object is created.
    	if a.GetKind().GroupKind() == api.Kind("Pod") && a.GetOperation() == admission.Update {
    		return false
    	}
    
    	return a.GetKind().GroupKind() == api.Kind("Pod") || a.GetKind().GroupKind() == api.Kind("PersistentVolumeClaim")
    }
    
    // SupportsLimit always returns true.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 13:04:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go

    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if e, a := "a", typeAccessor.GetAPIVersion(); e != a {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    	if e, a := "b", typeAccessor.GetKind(); e != a {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    
    	accessor.SetNamespace("baz")
    	accessor.SetName("bar")
    	accessor.SetGenerateName("generate")
    	accessor.SetUID("other")
    	typeAccessor.SetAPIVersion("c")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/DependencyVerificationReportWriter.java

                state.failedSignatures();
                if (((SignatureVerificationFailure) failure).getErrors().values().stream().map(SignatureVerificationFailure.SignatureError::getKind).noneMatch(kind -> kind == SignatureVerificationFailure.FailureKind.PASSED_NOT_TRUSTED)) {
                    state.maybeCompromised();
                } else {
                    state.hasUntrustedKeys();
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top