Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for myc1 (0.04 sec)

  1. src/runtime/chan_test.go

    			select {
    			case <-myc1:
    			case <-myc2:
    			case <-myc3:
    			}
    		}
    	})
    	close(done)
    }
    
    func BenchmarkSelectAsyncContended(b *testing.B) {
    	procs := runtime.GOMAXPROCS(0)
    	myc1 := make(chan int, procs)
    	myc2 := make(chan int, procs)
    	b.RunParallel(func(pb *testing.PB) {
    		myc1 <- 0
    		for pb.Next() {
    			select {
    			case <-myc1:
    				myc2 <- 0
    			case <-myc2:
    				myc1 <- 0
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            assertNotNull(depResults);
            assertEquals(1, depResults.size());
            assertTrue(depResults.containsKey("org.myco.plugins:my-plugin"));
            assertEquals(
                    exec.getPlugin().getArtifact().key(),
                    depResults.get("org.myco.plugins:my-plugin").key(),
                    "dependency artifact is wrong.");
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

        }
    
        @Test
        public void shouldWarnPropertiesWithPomPrefix() throws Exception {
            final String orgName = "MyCo";
            final String uninterpolatedName = "${pom.organization.name} Tools";
            final String interpolatedName = "MyCo Tools";
    
            Model model = Model.newBuilder()
                    .name(uninterpolatedName)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/webhook_converter_test.go

    			}
    		})
    	}
    }
    
    func TestGetObjectsToConvert(t *testing.T) {
    	v1Object := &unstructured.Unstructured{Object: map[string]interface{}{"apiVersion": "foo/v1", "kind": "Widget", "metadata": map[string]interface{}{"name": "myv1"}}}
    	v2Object := &unstructured.Unstructured{Object: map[string]interface{}{"apiVersion": "foo/v2", "kind": "Widget", "metadata": map[string]interface{}{"name": "myv2"}}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/ingress/controller_test.go

    													Port: net.ServiceBackendPort{
    														Name: "http",
    													},
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    						{
    							Host: "my1.host.com",
    							IngressRuleValue: net.IngressRuleValue{
    								HTTP: &net.HTTPIngressRuleValue{
    									Paths: []net.HTTPIngressPath{
    										{
    											Path: "/mock",
    											Backend: net.IngressBackend{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 18:34:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top