Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for testkey (0.33 sec)

  1. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    			namespaceTolerations:      []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}},
    			podTolerations:            []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
    			mergedTolerations:         []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}, {Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. cmd/sftp-server_test.go

    	if err != nil {
    		c.Fatalf("could not read test key file: %s", err)
    	}
    
    	testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes)
    	if err != nil {
    		c.Fatalf("could not parse test key file: %s", err)
    	}
    
    	newSSHCon := newSSHConnMock("dillon=ldap")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil || !errors.Is(err, errAuthentication) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_cache_inputs.txt

    # should invalidate cached test results.
    env TESTKEY=x
    go test testcache -run=TestLookupEnv
    go test testcache -run=TestLookupEnv
    stdout '\(cached\)'
    
    # GODEBUG is always read
    env GODEBUG=asdf=1
    go test testcache -run=TestLookupEnv
    ! stdout '\(cached\)'
    go test testcache -run=TestLookupEnv
    stdout '\(cached\)'
    env GODEBUG=
    
    env TESTKEY=y
    go test testcache -run=TestLookupEnv
    ! stdout '\(cached\)'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

        @Test
        void testEnvironmentVariablesAreInterpolated() throws Exception {
            Properties props = new Properties();
            props.put("key", "${env.testKey}");
            Xpp3Dom configurationChild = new Xpp3Dom("jdkHome");
            configurationChild.setValue("${env.testKey}");
            Xpp3Dom configuration = new Xpp3Dom("configuration");
            configuration.addChild(configurationChild);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	testCases := []struct {
    		key                 string
    		expectAttachedCount int64
    	}{
    		{
    			key:                 "testkey1",
    			expectAttachedCount: 1,
    		},
    		{
    			key:                 "testkey2",
    			expectAttachedCount: 2,
    		},
    		{
    			key: "testkey3",
    			// We assume each time has 1 object attached to the lease
    			// so after granting a new lease, the recorded count is set to 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-go-create-without-running-g.go

    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g1 := t.Generation(1)
    
    	// A goroutine gets created on a running P, then starts running.
    	b0 := g1.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b0.Event("GoCreate", trace.GoID(5), testgen.NoStack, testgen.NoStack)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 996 bytes
    - Viewed (0)
  7. src/internal/trace/testdata/generators/go122-syscall-steal-proc-self.go

    // it happens on the same P.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	t.DisableTimestamps()
    
    	g := t.Generation(1)
    
    	// A goroutine execute a syscall and steals its own P, then starts running
    	// on that P.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc.go

    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine enters a syscall, grabs a P, and starts running.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/generators/go122-syscall-steal-proc-sitting-in-syscall.go

    // that have been in a syscall the entire generation.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// Steal proc from a goroutine that's been blocked
    	// in a syscall the entire generation.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 946 bytes
    - Viewed (0)
  10. src/math/rand/rand_test.go

    	testFe = make([]float32, 256)
    
    	q := ve / math.Exp(-de)
    	testKe[0] = uint32((de / q) * m2)
    	testKe[1] = 0
    	testWe[0] = float32(q / m2)
    	testWe[255] = float32(de / m2)
    	testFe[0] = 1.0
    	testFe[255] = float32(math.Exp(-de))
    	for i := 254; i >= 1; i-- {
    		de = -math.Log(ve/de + math.Exp(-de))
    		testKe[i+1] = uint32((de / te) * m2)
    		te = de
    		testFe[i] = float32(math.Exp(-de))
    		testWe[i] = float32(de / m2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top