Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 519 for recognizers (0.37 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    	util "k8s.io/apimachinery/pkg/util/runtime"
    
    	"github.com/fxamacker/cbor/v2"
    )
    
    type metaFactory interface {
    	// Interpret should return the version and kind of the wire-format of the object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesBetweenBuildsFileSystemWatchingIntegrationTest.groovy

    import spock.lang.Issue
    
    @LocalOnly
    class ChangesBetweenBuildsFileSystemWatchingIntegrationTest extends AbstractFileSystemWatchingIntegrationTest {
    
        def "source file changes are recognized"() {
            buildFile << """
                apply plugin: "application"
    
                application.mainClass = "Main"
            """
    
            def mainSourceFileRelativePath = "src/main/java/Main.java"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pkg/controller/certificates/signer/signer.go

    		if err != nil {
    			return fmt.Errorf("error adding failure condition for csr: %v", err)
    		}
    		return nil
    	} else if !recognized {
    		// Ignore requests for kubernetes.io signerNames we don't recognize
    		return nil
    	}
    	cert, err := s.sign(x509cr, csr.Spec.Usages, csr.Spec.ExpirationSeconds, nil)
    	if err != nil {
    		return fmt.Errorf("error auto signing csr: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body.md

    **FastAPI** will recognize each of them and take the data from the correct place.
    
    === "Python 3.10+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/body/tutorial004_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/body/tutorial004.py!}
        ```
    
    The function parameters will be recognized as follows:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/testing/recognizer_test.go

    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    )
    
    type A struct{}
    
    func (A) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
    func (a A) DeepCopyObject() runtime.Object {
    	return a
    }
    
    func TestRecognizer(t *testing.T) {
    	s := runtime.NewScheme()
    	s.AddKnownTypes(schema.GroupVersion{Version: "v1"}, &A{})
    	d := recognizer.NewDecoder(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 07:28:47 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/apitesting/codec.go

    import (
    	"fmt"
    	"mime"
    	"os"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    )
    
    var (
    	testCodecMediaType        string
    	testStorageCodecMediaType string
    )
    
    // TestCodec returns the codec for the API version to test against, as set by the
    // KUBE_TEST_API_TYPE env var.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/storage/storage_codec.go

    limitations under the License.
    */
    
    package storage
    
    import (
    	"fmt"
    	"mime"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    	"k8s.io/apiserver/pkg/storage/storagebackend"
    )
    
    // StorageCodecConfig are the arguments passed to newStorageCodecFn
    type StorageCodecConfig struct {
    	StorageMediaType  string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 15:03:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsBuilderTest.groovy

        def "ignores other options"() {
            expect:
            !DaemonForkOptionsBuilder.findUnreliableArgument(["--show-version", "-ea", "pkg.Main"]).isPresent()
        }
    
        def "recognizes unreliable options in JVM args"() {
            expect:
            DaemonForkOptionsBuilder.findUnreliableArgument(options).get() == options[0]
            where:
            options << [
                ["-cp", "/path/to/jar"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. BUG-BOUNTY.md

    Serious about security
    ======================
    
    Square recognizes the important contributions the security research community
    can make. We therefore encourage reporting security issues with the code
    contained in this repository.
    
    If you believe you have discovered a security vulnerability, please follow the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 25 19:52:57 UTC 2020
    - 361 bytes
    - Viewed (0)
  10. tests/integration/pilot/validation_test.go

    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			ignored := sets.New(ignoredCRDs...)
    			recognized := sets.New[string]()
    
    			// TODO(jasonwzm) remove this after multi-version APIs are supported.
    			for _, r := range collections.Pilot.All() {
    				s := strings.Join([]string{r.Group(), r.Version(), r.Kind()}, "/")
    				recognized.Insert(s)
    				for _, alias := range r.GroupVersionAliasKinds() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 13 15:19:36 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top