- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 217 for Recognizes (0.94 sec)
-
staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go
if ok, _, err := s.RecognizesData(data); err != nil || ok { t.Errorf("%d: should not recognize data: %v", i, err) } } recognizes := [][]byte{ {0x6b, 0x38, 0x73, 0x00}, {0x6b, 0x38, 0x73, 0x00, 0x01}, } for i, data := range recognizes { if ok, _, err := s.RecognizesData(data); err != nil || !ok { t.Errorf("%d: should recognize data: %v", i, err) } } } func TestEncode(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/helper.go
for _, t := range m { gvks, unversionedType, err = t.ObjectKinds(obj) if err == nil { return } } return } func (m MultiObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool { for _, t := range m { if t.Recognizes(gvk) { return true } } return false } // SetZeroValue would set the object of objPtr to zero value of its type. func SetZeroValue(objPtr Object) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 22:54:34 UTC 2023 - 8.4K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/DaemonPerformanceMonitoringSoakTest.groovy
State.map.put(UUID.randomUUID(), "foo" * ${leakRate}) } println "Build: " + State.x } catch(OutOfMemoryError e) { // TeamCity recognizes this message as build failures if it occurs in build log throw new OutOfMemoryError(e?.message?.replace(' ', '_')) } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme/scheme.go
return nil, false, runtime.NewMissingVersionErr("object has no apiVersion field") } return []schema.GroupVersionKind{obj.GetObjectKind().GroupVersionKind()}, false, nil } func (t unstructuredObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool { return true } type unstructuredCreator struct{} // NewUnstructuredCreator returns a simple object creator that always returns an unstructured
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 27 12:37:23 UTC 2020 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf_test.go
if t.gvk == nil { return nil, false, t.err } return []schema.GroupVersionKind{*t.gvk}, false, t.err } func (t *mockTyper) Recognizes(_ schema.GroupVersionKind) bool { return false } func TestSerializerEncodeWithAllocator(t *testing.T) { testCases := []struct { name string obj runtime.Object }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 03:17:50 UTC 2022 - 5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/mkbuiltin.go
fmt.Fprintf(w, "typs[%d] = %s\n", i, typ) } fmt.Fprintln(w, "return typs[:]") fmt.Fprintln(w, "}") } // typeInterner maps Go type expressions to compiler code that // constructs the denoted type. It recognizes and reuses common // subtype expressions. type typeInterner struct { typs []string hash map[string]int } func (i *typeInterner) intern(t ast.Expr) int { x := i.mktype(t) v, ok := i.hash[x]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 6K bytes - Viewed (0) -
docs/sts/README.md
- Temporary credentials are short-term, as the name implies. They can be configured to last for anywhere from a few minutes to several hours. After the credentials expire, MinIO no longer recognizes them or allows any kind of access from API requests made with them.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
public void testListenInPoolThreadRunsListenerAfterRuntimeException() throws Exception { RuntimeExceptionThrowingFuture<String> input = new RuntimeExceptionThrowingFuture<>(); /* * The compiler recognizes that "input instanceof ListenableFuture" is * impossible. We want the test, though, in case that changes in the future, * so we use isInstance instead. */ assertFalse(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
public void testListenInPoolThreadRunsListenerAfterRuntimeException() throws Exception { RuntimeExceptionThrowingFuture<String> input = new RuntimeExceptionThrowingFuture<>(); /* * The compiler recognizes that "input instanceof ListenableFuture" is * impossible. We want the test, though, in case that changes in the future, * so we use isInstance instead. */ assertFalse(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 9.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/semver/semver.go
// all-numeric PRERELEASE identifiers must not have leading zeros. // // This package follows Semantic Versioning 2.0.0 (see semver.org) // with two exceptions. First, it requires the "v" prefix. Second, it recognizes // vMAJOR and vMAJOR.MINOR (with no prerelease or build suffixes) // as shorthands for vMAJOR.0.0 and vMAJOR.MINOR.0. package semver import "sort" // parsed returns the parsed form of a semantic version string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 8.9K bytes - Viewed (0)