Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 169 for var2 (0.06 sec)

  1. src/internal/types/testdata/fixedbugs/issue60460.go

    type testRules struct{}
    
    func newTestRules() Rules[int] {
    	return testRules{}
    }
    
    func (r testRules) Hash(val int) int {
    	return val % 16
    }
    
    func (r testRules) Equivalent(val1 int, val2 int) bool {
    	return val1 == val2
    }
    
    func (r testRules) SameRules(other Rules[int]) bool {
    	_, ok := other.(testRules)
    	return ok
    }
    
    type testRules2 struct{}
    
    func newTestRules2() Rules[string] {
    	return testRules2{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/argument_test.go

    			args:         []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "bar2"}},
    			name:         "foo",
    			value:        "zz",
    			nArgs:        -1,
    			expectedArgs: []Arg{{Name: "foo", Value: "zz"}, {Name: "foo", Value: "zz"}},
    		},
    		{
    			testName:     "add new argument",
    			args:         []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "bar2"}},
    			name:         "z",
    			value:        "zz",
    			nArgs:        -1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    		"foo": sets.New[string]("dev-foo1", "dev-foo2", "dev-foo3"),
    		"bar": sets.New[string]("dev-bar1", "dev-bar2", "dev-bar3"),
    		"baz": sets.New[string]("dev-baz1", "dev-baz2", "dev-baz3"),
    	}
    	resp = devs.Filter(cond)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels_test.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestCloneSelectorAndAddLabel(t *testing.T) {
    	labels := map[string]string{
    		"foo1": "bar1",
    		"foo2": "bar2",
    		"foo3": "bar3",
    	}
    	matchExpressions := []LabelSelectorRequirement{
    		{Key: "foo", Operator: LabelSelectorOpIn, Values: []string{"foo"}},
    	}
    
    	cases := []struct {
    		labels     map[string]string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 11:09:05 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy

        def "creates manifest classpath with relative urls"() {
            when:
            def classpathFiles = [tmpDir.file('mydir/jar1.jar'), tmpDir.file('mydir/nested/jar2.jar')]
    
            then:
            ManifestUtil.createManifestClasspath(jarFile, classpathFiles) == "jar1.jar nested/jar2.jar";
        }
    
        def "creates manifest classpath with absolute urls"() {
            when:
            def tmpDirPath = tmpDir.testDirectory.toURI().rawPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			expectCost: map[string]int64{
    				ValsEqualThemselvesAndDataLiteral("self.val1", "self.val2", "[1, 2, 3]"): 11,
    				"1 in self.val1":                              5,
    				"self.val2[0] in self.val1":                   8,
    				"!(0 in self.val1)":                           6,
    				"self.val1 + self.val2 == [1, 2, 3, 1, 2, 3]": 6,
    				"self.val1 + [4, 5] == [1, 2, 3, 4, 5]":       4,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  7. src/internal/reflectlite/swapper.go

    		if uint(i) >= uint(s.Len) || uint(j) >= uint(s.Len) {
    			panic("reflect: slice index out of range")
    		}
    		val1 := arrayAt(s.Data, i, size, "i < s.Len")
    		val2 := arrayAt(s.Data, j, size, "j < s.Len")
    		typedmemmove(typ, tmp, val1)
    		typedmemmove(typ, val1, val2)
    		typedmemmove(typ, val2, tmp)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/reflect/swapper.go

    		if uint(i) >= uint(s.Len) || uint(j) >= uint(s.Len) {
    			panic("reflect: slice index out of range")
    		}
    		val1 := arrayAt(s.Data, i, size, "i < s.Len")
    		val2 := arrayAt(s.Data, j, size, "j < s.Len")
    		typedmemmove(typ, tmp, val1)
    		typedmemmove(typ, val1, val2)
    		typedmemmove(typ, val2, tmp)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p256_asm_ppc64le.s

    	VADDECUQ T1, RED2, CAR1, CAR2 // VACCCQ T1, RED2, CAR1, CAR2
    	VADDEUQM T1, RED2, CAR1, T1   // VACQ   T1, RED2, CAR1, T1
    	VADDUQM  T2, CAR2, T2         // VAQ    T2, CAR2, T2
    
    	// ---------------------------------------------------
    
    	VSUBCUQ  T0, PL, CAR1       // VSCBIQ  PL, T0, CAR1
    	VSUBUQM  T0, PL, TT0        // VSQ     PL, T0, TT0
    	VSUBECUQ T1, PH, CAR1, CAR2 // VSBCBIQ T1, PH, CAR1, CAR2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. pkg/volume/util/volumeattributesclass_test.go

    			driverName: dirverName1,
    			classes:    []*storagev1alpha1.VolumeAttributesClass{vac1, vac2, vac6},
    			expect:     nil,
    		},
    		{
    			name:       "no default volume attributes class for the driverName1",
    			driverName: dirverName1,
    			classes:    []*storagev1alpha1.VolumeAttributesClass{vac1, vac2, vac6, vac7},
    			expect:     nil,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top