Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for myc1 (0.03 sec)

  1. pkg/kubelet/client/kubelet_client_test.go

    		// Invalid certificate and key path
    		TLSClientConfig: KubeletTLSConfig{
    			CertFile: "../../client/testdata/mycertinvalid.cer",
    			KeyFile:  "../../client/testdata/mycertinvalid.key",
    			CAFile:   "../../client/testdata/myCA.cer",
    		},
    	}
    
    	rt, err := MakeTransport(config)
    	if err == nil {
    		t.Errorf("Expected an error")
    	}
    	if rt != nil {
    		t.Error("rt should be nil as we provided invalid cert file")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 01:34:49 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LocalValueTest.kt

    
    object LocalValueTest {
        @Test
        fun `local values with the same name are not ambiguous`() {
            val resolution = schema.resolve(
                """
                val m = my1()
    
                my {
                    my = m
                }
    
                my {
                    val m = my2()
                    my = m
                }
                """.trimIndent()
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/crypto/hmac/hmac.go

    	return hm
    }
    
    // Equal compares two MACs for equality without leaking timing information.
    func Equal(mac1, mac2 []byte) bool {
    	// We don't have to be constant time if the lengths of the MACs are
    	// different as that suggests that a completely different hash function
    	// was used.
    	return subtle.ConstantTimeCompare(mac1, mac2) == 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. pkg/config/mesh/watcher.go

    	mc := DefaultMeshConfig()
    	if w.userMeshConfig != "" {
    		mc1, err := ApplyMeshConfig(w.userMeshConfig, mc)
    		if err != nil {
    			log.Errorf("user config invalid, ignoring it %v %s", err, w.userMeshConfig)
    		} else {
    			mc = mc1
    			log.Infof("Applied user config: %s", PrettyFormatOfMeshConfig(mc))
    		}
    	}
    	if w.revMeshConfig != "" {
    		mc1, err := ApplyMeshConfig(w.revMeshConfig, mc)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/TestSchema.kt

    import org.gradle.declarative.dsl.model.annotations.Restricted
    
    
    class MyClass {
        @get:Restricted
        lateinit var my: MyClass
    }
    
    
    class TopLevel {
        @Adding
        fun my1(): MyClass = MyClass()
    
        @Adding
        fun my2(): MyClass = MyClass()
    
        @Adding
        fun my(configure: MyClass.() -> Unit) = MyClass().also(configure)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 443 bytes
    - Viewed (0)
Back to top