- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for var2 (0.49 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy
def set2 = factory.of(BAR, "bar2") when: def concat = factory.concat(set1, set2) then: concat.keySet() == [FOO, BAR] as Set concat.getAttribute(FOO) == "foo1" concat.getAttribute(BAR) == "bar2" } def "can replace attribute with same name and different type"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 07 17:59:06 UTC 2022 - 8.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
cmd/kubeadm/app/util/env_test.go
{Name: "Foo1", Value: "Bar1"}, {Name: "Foo2", Value: "Bar2"}, {Name: "Foo3", Value: "Bar3"}, }, }, { name: "extraEnv env take precedence over the proxyEnv", proxyEnv: []kubeadmapi.EnvVar{ { EnvVar: v1.EnvVar{Name: "Foo1", Value: "Bar1"}, }, { EnvVar: v1.EnvVar{Name: "Foo2", Value: "Bar2"}, }, }, extraEnv: []kubeadmapi.EnvVar{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 09:09:19 UTC 2023 - 2.2K bytes - Viewed (0) -
pkg/kube/krt/singleton_test.go
assert.Equal(t, s.Get(), nil) tt.WaitOrdered("delete/foo") s.Set(ptr.Of("bar")) assert.Equal(t, s.Get(), ptr.Of("bar")) tt.WaitOrdered("add/bar") s.Set(ptr.Of("bar2")) assert.Equal(t, s.Get(), ptr.Of("bar2")) tt.WaitOrdered("update/bar2") } // TrackerHandler returns an object handler that records each event func TrackerHandler[T any](tracker *assert.Tracker[string]) func(krt.Event[T]) { return func(o krt.Event[T]) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 11 08:27:29 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/ListBuildOptionTest.groovy
import spock.lang.Specification import static org.gradle.internal.buildoption.BuildOptionFixture.* class ListBuildOptionTest extends Specification { private static final List<String> SAMPLE_VALUES = ['val1', 'val2', 'val3'] def testSettings = new TestSettings() def commandLineParser = new CommandLineParser() def "can apply from property"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 6K bytes - Viewed (0)