Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 7,216 for ADD (0.13 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/DependenciesExtensions.kt

    
    /**
     * Add a dependency.
     *
     * @param files files to add as a dependency
     * @since 8.6
     */
    operator fun DependencyCollector.invoke(files: FileCollection) = add(files)
    
    
    /**
     * Add a dependency.
     *
     * @param files files to add as a dependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 12 18:51:29 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtRendererOtherModifiersProvider.kt

                        if (symbol.isActual) add(KtTokens.ACTUAL_KEYWORD)
                        if (symbol.isExpect) add(KtTokens.EXPECT_KEYWORD)
                    }
    
                    if (symbol is KaFunctionSymbol) {
                        if (symbol.isExternal) add(KtTokens.EXTERNAL_KEYWORD)
                        if (symbol.isOverride) add(KtTokens.OVERRIDE_KEYWORD)
                        if (symbol.isInline) add(KtTokens.INLINE_KEYWORD)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

            when:
            mutate {
                add 'foo'
                add 'bar'
                remove 'foo'
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['bar'])
        }
    
        def "can remove all elements"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                clear()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/StructBindingExtractionContext.java

        }
    
        @Override
        public void add(String problem) {
            problems.add(problem);
        }
    
        @Override
        public void add(Field field, String problem) {
            problems.add(field, problem);
        }
    
        @Override
        public void add(WeaklyTypeReferencingMethod<?, ?> method, String problem) {
            add(method.getMethod(), problem);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top