Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 405 for recognizers (0.19 sec)

  1. pkg/controller/certificates/approver/sarapprove.go

    	approver := &sarApprover{
    		client:      client,
    		recognizers: recognizers(),
    	}
    	return certificates.NewCertificateController(
    		ctx,
    		"csrapproving",
    		client,
    		csrInformer,
    		approver.handle,
    	)
    }
    
    func recognizers() []csrRecognizer {
    	recognizers := []csrRecognizer{
    		{
    			recognize:      isSelfNodeClientCert,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 16:03:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. pkg/controller/certificates/approver/sarapprove_test.go

    			})
    			approver := sarApprover{
    				client: client,
    				recognizers: []csrRecognizer{
    					{
    						successMessage: "tester",
    						permission:     authorization.ResourceAttributes{Group: "foo", Resource: "bar", Subresource: "baz"},
    						recognize: func(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool {
    							return c.recognized
    						},
    					},
    				},
    			}
    			csr := makeTestCsr()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 21:12:04 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt

            assertFalse(instance.isFileSystemCheckIgnoredFor(File("xyz/abc")))
        }
    
        @Test
        fun `recognizes relative paths against rootDirectory`() {
            val instance = createFromPaths(listOf("test/123"))
            assertTrue(instance.isFileSystemCheckIgnoredFor(rootDir.resolve("test/123")))
        }
    
        @Test
        fun `recognizes multiple paths`() {
            val instance = createFromPaths(listOf("path/one", "path/two"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    		in         []byte
    		recognizes bool
    	}{
    		{
    			in:         nil,
    			recognizes: false,
    		},
    		{
    			in:         []byte{},
    			recognizes: false,
    		},
    		{
    			in:         []byte{0xd9},
    			recognizes: false,
    		},
    		{
    			in:         []byte{0xd9, 0xd9},
    			recognizes: false,
    		},
    		{
    			in:         []byte{0xd9, 0xd9, 0xf7},
    			recognizes: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/json"
    	"k8s.io/apimachinery/pkg/runtime/serializer/protobuf"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    	"k8s.io/apimachinery/pkg/runtime/serializer/versioning"
    )
    
    // serializerExtensions are for serializers that are conditionally compiled in
    var serializerExtensions = []func(*runtime.Scheme) (serializerType, bool){}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt

            )
        }
    
        @Test
        fun `recognizes build scripts from script templates`() {
            checkScriptRecognizedBy(KotlinProjectScriptTemplate::class, ScriptType.BUILD)
        }
    
        @Test
        fun `recognizes settings scripts from script templates`() {
            checkScriptRecognizedBy(KotlinSettingsScriptTemplate::class, ScriptType.SETTINGS)
        }
    
        @Test
        fun `recognizes init scripts from script templates`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top