Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for testFn (0.12 sec)

  1. pkg/test/framework/components/echo/echotest/run.go

    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/components/istio/ingress"
    )
    
    type (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand_test.go

    	testKn[0] = uint32((dn / q) * m1)
    	testKn[1] = 0
    	testWn[0] = float32(q / m1)
    	testWn[127] = float32(dn / m1)
    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    		testFn[i] = float32(math.Exp(-0.5 * dn * dn))
    		testWn[i] = float32(dn / m1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. src/math/rand/rand_test.go

    	testKn[0] = uint32((dn / q) * m1)
    	testKn[1] = 0
    	testWn[0] = float32(q / m1)
    	testWn[127] = float32(dn / m1)
    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    		testFn[i] = float32(math.Exp(-0.5 * dn * dn))
    		testWn[i] = float32(dn / m1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_pod_control_test.go

    	}
    }
    
    func TestStatefulPodControlUpdatePodClaimForRetentionPolicy(t *testing.T) {
    	// All the update conditions are tested exhaustively in stateful_set_utils_test. This
    	// tests the wiring from the pod control to that method.
    	testFn := func(t *testing.T) {
    		_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf_test.go

    	zeroSizedVariable := struct{}{}
    	fmt.Println(zeroSizedVariable)
    }
    `
    
    func TestZeroSizedVariable(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	mustHaveDWARF(t)
    	t.Parallel()
    
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	// This test verifies that the compiler emits DIEs for zero sized variables
    	// (for example variables of type 'struct {}').
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/status/server_test.go

    	}
    	t.ResetTimer()
    	return server
    }
    
    func BenchmarkStats(t *testing.B) {
    	tests := map[int]string{
    		1:        "1kb",
    		1 << 10:  "1mb",
    		10 << 10: "10mb",
    	}
    	for size, v := range tests {
    		server := initServerWithSize(t, size)
    		t.Run("stats-fmttext-"+v, func(t *testing.B) {
    			for i := 0; i < t.N; i++ {
    				req := &http.Request{}
    				req.Header = make(http.Header)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_test.go

    	if !got.Equal(want) {
    		t.Errorf("getPodsForStatefulSet() = %v, want %v", got, want)
    	}
    }
    
    func TestOrphanedPodsWithPVCDeletePolicy(t *testing.T) {
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.StatefulSetAutoDeletePVC, true)
    
    	testFn := func(t *testing.T, scaledownPolicy, deletionPolicy apps.PersistentVolumeClaimRetentionPolicyType) {
    		set := newStatefulSet(4)
    		*set.Spec.Replicas = 2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy

    }
    dependencies {
        debug 'test:a:1.2'
        release 'test:a:1.2'
    }
    """
            resolve.prepare {
                config("debug")
                config("release")
            }
    
            when:
            run("checkDebug")
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("test:a:1.2") {
                        artifact(classifier: "debug")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ProjectDependencyResolveIntegrationTest.groovy

            then:
            executedAndNotSkipped ":b:jar", ":c:jar"
            resolve.expectGraph {
                root(":a", "test:a:") {
                    project(":b", "test:b:") {
                        project(":c", "test:c:") {
                            project(":a", "test:a:")
                        }
                    }
                }
            }
        }
    
        @NotYetImplemented
        @Issue('GRADLE-3280')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy

                        compile project(':a')
                    }
                }
            """
    
            expect:
            succeeds "b:checkDeps"
            resolve.expectGraph {
                root(":b", "test:b:") {
                    project(":a", "test:a:") {
                        artifact(name: 'foo', type: '')
                        artifact(name: 'foo', type: 'txt')
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top