Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 170 for testF (0.68 sec)

  1. src/path/filepath/path_windows_test.go

    		{"{{tmp}}", `{{tmpnovol}}\TEST\FOO\BAR`, `{{tmpnovol}}\test\foo\bar`},
    
    		// test relative paths begin without '\'
    		{`{{tmp}}\test`, ".", `.`},
    		{`{{tmp}}\test`, "..", `..`},
    		{`{{tmp}}\test`, `foo\bar`, `foo\bar`},
    		{`{{tmp}}\test`, `.\foo\bar`, `foo\bar`},
    		{`{{tmp}}\test`, `foo\..\foo\bar`, `foo\bar`},
    		{`{{tmp}}\test`, `FOO\BAR`, `foo\bar`},
    
    		// test UNC paths
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/path/filepath/path_test.go

    	{"src/versions/v1/modules/test", "../../../pool/test"},
    	{"version", "src/versions/v1"},
    }
    
    var EvalSymlinksTests = []EvalSymlinksTest{
    	{"test", "test"},
    	{"test/dir", "test/dir"},
    	{"test/dir/../..", "."},
    	{"test/link1", "test"},
    	{"test/link2", "test/dir"},
    	{"test/link1/dir", "test/dir"},
    	{"test/link2/..", "test"},
    	{"test/dir/link3", "."},
    	{"test/link2/link3/test", "test"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	v_0 := v.Args[0]
    	// match: (SETAE (TESTQ x x))
    	// result: (ConstBool [true])
    	for {
    		if v_0.Op != OpAMD64TESTQ {
    			break
    		}
    		x := v_0.Args[1]
    		if x != v_0.Args[0] {
    			break
    		}
    		v.reset(OpConstBool)
    		v.AuxInt = boolToAuxInt(true)
    		return true
    	}
    	// match: (SETAE (TESTL x x))
    	// result: (ConstBool [true])
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_test.go

    	}
    
    	for i, test := range testCases {
    		var s runtime.Serializer
    		if test.yaml {
    			s = json.NewSerializerWithOptions(json.DefaultMetaFactory, test.creater, test.typer, json.SerializerOptions{Yaml: test.yaml, Pretty: false, Strict: test.strict})
    		} else {
    			s = json.NewSerializerWithOptions(json.DefaultMetaFactory, test.creater, test.typer, json.SerializerOptions{Yaml: test.yaml, Pretty: test.pretty, Strict: test.strict})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    // The abstract class that all tests inherit from.
    //
    // In Google Test, a unit test program contains one or many TestCases, and
    // each TestCase contains one or many Tests.
    //
    // When you define a test using the TEST macro, you don't need to
    // explicitly derive from Test - the TEST macro automatically does
    // this for you.
    //
    // The only time you derive from Test is when defining a test fixture
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    	obj2 := ObjectOpts{
    		Name: "obj2",
    	}
    
    	tests := []struct {
    		obj         ObjectOpts
    		expRuleID   int
    		transRuleID int
    	}{
    		{
    			obj:         obj1,
    			expRuleID:   0,
    			transRuleID: 1,
    		},
    		{
    			obj:         obj2,
    			expRuleID:   0,
    			transRuleID: 2,
    		},
    	}
    	for i, tc := range tests {
    		w := httptest.NewRecorder()
    		lc.SetPredictionHeaders(w, tc.obj)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			},
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			count = 0 // reset count every time
    			logger, ctx := ktesting.NewTestContext(t)
    			q := NewTestQueue(ctx, newDefaultQueueSort(), WithQueueingHintMapPerProfile(test.queueingHintMap))
    			actual := q.isPodWorthRequeuing(logger, test.podInfo, test.event, test.oldObj, test.newObj)
    			if actual != test.expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. pkg/api/pod/util_test.go

    					},
    				},
    			},
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.NodeInclusionPolicyInPodTopologySpread, test.enabled)
    
    			dropDisabledFields(test.podSpec, nil, test.oldPodSpec, nil)
    			if diff := cmp.Diff(test.wantPodSpec, test.podSpec); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    	if len(v2err) > 0 {
    		t.Errorf("Invalid test volume - expected success %v", v2err)
    		return
    	}
    	for i, test := range tests {
    		errs := ValidateVolumeMounts([]core.VolumeMount{test.mount}, nil, vols2, test.container, field.NewPath("field"))
    		if test.expectError && len(errs) == 0 {
    			t.Errorf("test %d expected error, got none", i)
    		}
    		if !test.expectError && len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/opGen.go

    			},
    		},
    	},
    	{
    		name:        "TESTL",
    		argLen:      2,
    		commutative: true,
    		asm:         x86.ATESTL,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 255}, // AX CX DX BX SP BP SI DI
    				{1, 255}, // AX CX DX BX SP BP SI DI
    			},
    		},
    	},
    	{
    		name:        "TESTW",
    		argLen:      2,
    		commutative: true,
    		asm:         x86.ATESTW,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top