Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 661 for addLink (0.21 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenScopesTestIntegTest.groovy

                        }
                    }
                }
    
                dependencies {
                    custom 'log4j:log4j:1.2.17'
                }
            """
        }
    
        def "test adding custom variant with dependency mapped to Maven runtime scope"() {
            given:
            buildFile << """
                components.java.addVariantsFromConfiguration(configurations.custom) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. src/go/token/position.go

    func (f *File) LineCount() int {
    	f.mutex.Lock()
    	n := len(f.lines)
    	f.mutex.Unlock()
    	return n
    }
    
    // AddLine adds the line offset for a new line.
    // The line offset must be larger than the offset for the previous line
    // and smaller than the file size; otherwise the line offset is ignored.
    func (f *File) AddLine(offset int) {
    	f.mutex.Lock()
    	if i := len(f.lines); (i == 0 || f.lines[i-1] < offset) && offset < f.size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. src/cmd/internal/dwarf/dwarf.go

    func PutBasedRanges(ctxt Context, sym Sym, ranges []Range) {
    	ps := ctxt.PtrSize()
    	// Write ranges.
    	for _, r := range ranges {
    		ctxt.AddInt(sym, ps, r.Start)
    		ctxt.AddInt(sym, ps, r.End)
    	}
    	// Write trailer.
    	ctxt.AddInt(sym, ps, 0)
    	ctxt.AddInt(sym, ps, 0)
    }
    
    // PutRanges writes a range table to s.Ranges.
    // All addresses in ranges are relative to s.base.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/troubleshooting.adoc

    2021-08-12T12:01:50.770+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface lo
    2021-08-12T12:01:50.771+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? true
    2021-08-12T12:01:50.771+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /0:0:0:0:0:0:0:1%lo
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:22:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy

            container.attributeProvider(testAttr, testProvider)
    
            when: "adding a set value testAttr"
            container.attribute(testAttr, "set value")
    
            then: "the set value should be retrievable"
            "set value" == container.getAttribute(testAttr)
        }
    
        def "adding lazy attribute should override replace existing attribute"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 08 14:34:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/DependencyHandlerExtensions.kt

    import org.gradle.kotlin.dsl.support.excludeMapFor
    import org.gradle.kotlin.dsl.support.mapOfNonNullValuesOf
    import org.gradle.kotlin.dsl.support.uncheckedCast
    
    
    /**
     * Creates a dependency on a module without adding it to a configuration.
     *
     * @param group the group of the module to be added as a dependency.
     * @param name the name of the module to be added as a dependency.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	if !w.add(&watchCacheEvent{Object: makePod(5), ResourceVersion: 5}, time.NewTimer(1*time.Second)) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    	if !w.nonblockingAdd(&watchCacheEvent{Type: watch.Bookmark, ResourceVersion: 10, Object: &v1.Pod{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "10"}}}) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/UnsupportedConfigurationMutationTest.groovy

    import org.gradle.test.fixtures.maven.MavenFileRepository
    import spock.lang.Issue
    
    @FluidDependenciesResolveTest
    class UnsupportedConfigurationMutationTest extends AbstractIntegrationSpec {
    
        def "does not allow adding dependencies to a configuration that has been resolved"() {
            buildFile << """
                configurations { a }
                configurations.a.resolve()
                dependencies { a files("some.jar") }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

        @Language("java")
        private static final JAVA_PLUGIN_EXTENSION = """
            package com.example.restricted;
    
            import org.gradle.declarative.dsl.model.annotations.Adding;
            import org.gradle.declarative.dsl.model.annotations.Configuring;
            import org.gradle.declarative.dsl.model.annotations.Restricted;
            import org.gradle.api.Action;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

                }
    
                function.annotations.any { it is Adding } -> {
                    check(inType != null)
    
                    check(function.returnType != typeOf<Unit>() || configureLambdas.getTypeConfiguredByLambda(function.parameters.last().type) == null) {
                        "an @Adding function with a Unit return type may not accept configuring lambdas"
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top