Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,029 for addLink (0.15 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/demoTypes.kt

    package com.example
    
    import org.gradle.declarative.dsl.model.annotations.Adding
    import org.gradle.declarative.dsl.model.annotations.Builder
    import org.gradle.declarative.dsl.model.annotations.Restricted
    
    
    class Abc {
        @get:Restricted
        var a: Int = 0
    
        @Restricted
        fun b(): Int = 1
    
        @get:Restricted
        var str: String = ""
    
        @Adding
        fun c(x: Int, configure: C.() -> Unit = { }) =
            C().apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 949 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/java/modules-multi-project/README.adoc

    In test execution, the modules are then treated as standard Java libraries with the encapsulation deactivated.
    
    Blackbox (e.g. integration) tests, which should also follow the encapsulation rules during test execution, can be written by turning the corresponding test sources set itself into a module by adding a `module-info.java`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

            return this;
        }
    
        public SuggestRequestBuilder addField(final String field) {
            request.addField(field);
            return this;
        }
    
        public SuggestRequestBuilder addKind(final String kind) {
            request.addKind(kind);
            return this;
        }
    
        public SuggestRequestBuilder setSuggestDetail(final boolean suggestDetail) {
            request.setSuggestDetail(suggestDetail);
            return this;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/InetAddresses.java

                    analyzeNetworkInterface(interfaces.nextElement());
                }
            }
        }
    
        private void analyzeNetworkInterface(NetworkInterface networkInterface) {
            logger.debug("Adding IP addresses for network interface {}", networkInterface.getDisplayName());
            try {
                boolean isLoopbackInterface = networkInterface.isLoopback();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/plugins/PluginsBlockSchema.kt

        val specs: List<MutablePluginDependencySpec>
            get() = _specs
    
        private
        val _specs = mutableListOf<MutablePluginDependencySpec>()
    
        @Adding
        override fun id(id: String): MutablePluginDependencySpec = MutablePluginDependencySpec(id).also(_specs::add)
    
        @Adding
        fun kotlin(id: String) = id("org.jetbrains.kotlin.$id")
    }
    
    
    class MutablePluginDependencySpec(
        val id: String
    ) : PluginDependencySpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

        @get:Restricted
        abstract var superClassProp: SuperClass
    
        @get:Restricted
        abstract var superInterfaceProp: SuperInterface
    
        @Adding
        abstract fun addSuperClass(superclass: SuperClass)
    
        @Adding
        abstract fun addSuperInterface(superclass: SuperInterface)
    
        @Restricted
        abstract fun sub(): Subtype
    
        @Restricted
        abstract fun notASub(): NotASubtype
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/demoTypes.kt

    package org.gradle.internal.declarativedsl.demo.demoPlugins
    
    import org.gradle.declarative.dsl.model.annotations.Adding
    import org.gradle.declarative.dsl.model.annotations.Builder
    import org.gradle.declarative.dsl.model.annotations.Configuring
    import org.gradle.declarative.dsl.model.annotations.HasDefaultValue
    import org.gradle.declarative.dsl.model.annotations.Restricted
    
    
    class TopLevelScope {
        @get:Restricted
        val plugins = PluginsBlock()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/runtime/os_freebsd_arm.go

    		print("a binary compiled for hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM.\n")
    		exit(1)
    	}
    	if goarm > 6 && cpu.HWCap&_HWCAP_VFPv3 == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n")
    		print("a binary compiled for VFPv3 hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM or changing GOARM to 6.\n")
    		exit(1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top