Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 519 for Recognizes (0.24 sec)

  1. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/buildSrc/src/main/java/org/gradle/sample/transform/javamodules/ExtraModuleInfoPlugin.java

                    c -> c.getAttributes().attribute(javaModule, true));
    
            // all Jars have a javaModule=false attribute by default; the transform also recognizes modules and returns them without modification
            project.getDependencies().getArtifactTypes().getByName("jar").getAttributes().attribute(javaModule, false);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/text/scanner/scanner.go

    	ErrorCount int
    
    	// The Mode field controls which tokens are recognized. For instance,
    	// to recognize Ints, set the ScanInts bit in Mode. The field may be
    	// changed at any time.
    	Mode uint
    
    	// The Whitespace field controls which characters are recognized
    	// as white space. To recognize a character ch <= ' ' as white space,
    	// set the ch'th bit in Whitespace (the Scanner's behavior is undefined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

    				A:                                     "test",
    			},
    		},
    		// multi group versioner recognizes multiple groups and forces the output to a particular version, copies because version differs
    		{
    			scheme: GetTestScheme(),
    			in:     &runtimetesting.ExternalTestType1{A: "test"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top