- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 8,849 for ADD (0.03 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultDomainObjectCollectionTest.groovy
boolean isSatisfiedBy(String element) { return element != "c" } } given: container.add("a") container.add("b") container.add("c") container.add(new StringBuffer("d")) def collection = container.matching(spec).withType(String.class).matching(spec2); expect: toList(collection) == ["a"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 16 23:50:58 UTC 2024 - 11.3K bytes - Viewed (0) -
test/typeparam/setsimp.dir/main.go
func TestSet() { s1 := a.Make[int]() if got := s1.Len(); got != 0 { panic(fmt.Sprintf("Len of empty set = %d, want 0", got)) } s1.Add(1) s1.Add(1) s1.Add(1) if got := s1.Len(); got != 1 { panic(fmt.Sprintf("(%v).Len() == %d, want 1", s1, got)) } s1.Add(2) s1.Add(3) s1.Add(4) if got := s1.Len(); got != 4 { panic(fmt.Sprintf("(%v).Len() == %d, want 4", s1, got)) } if !s1.Contains(1) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ImmutableActionSetTest.groovy
def "can add empty set to singleton set"() { def action = Mock(Action) expect: def set = ImmutableActionSet.empty().add(action) set.add(ImmutableActionSet.empty()).is(set) } def "can add duplicate action to singleton set"() { def action = Mock(Action) expect: def set = ImmutableActionSet.empty().add(action) set.add(action).is(set)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 16.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/work/shell_test.go
f.Add([]byte(`-lextra\ fun\ arg\\`)) f.Add([]byte("\textra whitespace\r")) f.Add([]byte(" \r ")) f.Add([]byte(`"-r:foo" "-L/usr/white space/lib" "-lfoo bar" "-lbar baz"`)) f.Add([]byte(`"-lextra fun arg\\"`)) f.Add([]byte(`" \r\n\ "`)) f.Add([]byte(`""`)) f.Add([]byte(``)) f.Add([]byte(`"\\"`)) f.Add([]byte(`"\x"`)) f.Add([]byte(`"\\x"`)) f.Add([]byte(`'\\'`)) f.Add([]byte(`'\x'`))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 15:30:05 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/GradleEnterprisePluginServices.java
registration.add(GradleEnterpriseAutoAppliedPluginRegistry.class); registration.add(GradleEnterprisePluginAutoAppliedStatus.class); registration.add(DefaultGradleEnterprisePluginServiceRef.class); registration.add(DefaultGradleEnterprisePluginBuildState.class); registration.add(DefaultGradleEnterprisePluginConfig.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 13:39:48 UTC 2024 - 2.5K bytes - Viewed (0) -
src/runtime/testdata/testexithooks/testexithooks.go
f3 := func() { println("blek") } f4 := func() { println("blub") } f5 := func() { println("blat") } exithook.Add(exithook.Hook{F: f1}) exithook.Add(exithook.Hook{F: f2, RunOnFailure: true}) exithook.Add(exithook.Hook{F: f3}) exithook.Add(exithook.Hook{F: f4, RunOnFailure: true}) exithook.Add(exithook.Hook{F: f5}) os.Exit(1) } func testPanics() { f1 := func() { println("ok") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelGraphTest.groovy
b.addLink c when: graph.add(a) graph.add(b) graph.add(c) graph.addListener(listener) then: 1 * listener.onDiscovered(b) 1 * listener.onDiscovered(c) 0 * listener.onDiscovered(_) when: graph.add(d) graph.add(e) graph.add(f) then: 1 * listener.onDiscovered(d)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
int x = 1 << exponent; intValues.add(x, x + 1, x - 1); } intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10 intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down POSITIVE_INTEGER_CANDIDATES = intValues.build(); NEGATIVE_INTEGER_CANDIDATES = ImmutableList.copyOf( Iterables.concat(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 11.2K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy
container.realizeNow() when: container.add(Stub(SwiftBinary)) then: def e = thrown(IllegalStateException) e.message == 'Cannot add an element to this collection as it has already been realized.' } def "cannot add elements while collection is realizing"() { given: container.add(Stub(SwiftBinary))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 18.4K bytes - Viewed (0)