Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,379 for _shared (0.13 sec)

  1. src/cmd/cgo/internal/testcshared/testdata/libgo2/libgo2.go

    //go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package main
    
    // Test a shared library created by -buildmode=c-shared that does not
    // export anything.
    
    import (
    	"fmt"
    	"os"
    	"syscall"
    )
    
    // To test this we want to communicate between the main program and
    // the shared library without using any exported symbols.  The init
    // function creates a pipe and Dups the read end to a known number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/services/ServiceReference.java

    /**
     * <p>Marks a task property as being a holder to a {@link BuildService}.</p>
     *
     * <p>
     * When you annotate a shared build service property with this annotation,
     * there is no need to explicitly declare the association between the task and the service;
     * also, if you provide a service name to the annotation, and a shared build service is
     * registered with that name, it will be automatically assigned to the property when the
     * task is created.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 15:30:24 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionTest.groovy

                signal.trigger()
            }
    
            where:
            lockMode << [Exclusive, Shared]
        }
    
        def "cannot acquire lock with mode #lockMode while another lock manager in same process is holding shared lock"() {
            given:
            def file = tmpDir.file("lock-file.bin")
            createLock(Shared, file)
    
            when:
            createLock(lockMode, file, manager2)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy

            when:
            factory.open(tmpDir.testDirectory.file('foo'), "foo", [prop: 'value'], mode(Shared), null, null)
            factory.open(tmpDir.testDirectory.file('bar'), "bar", [prop: 'value'], mode(Shared), null, null)
            factory.open(tmpDir.testDirectory.file('baz'), "baz", [prop: 'value'], mode(Shared), null, null)
    
            and:
            factory.visitCaches(new CacheVisitor() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/build.gradle.kts

    plugins {
        id("gradlebuild.kotlin-shared-runtime")
    }
    
    description = "Provides Kotlin DSL code that is shared between build-logic and runtime"
    
    dependencies {
        compileOnly(platform("gradlebuild:build-platform"))
        compileOnly(kotlin("stdlib"))
        compileOnly("org.ow2.asm:asm-tree")
        compileOnly("com.google.code.findbugs:jsr305")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 344 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/kotlin/producer/build.gradle.kts

    val makeFile = tasks.register("makeFile") {
        val sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt")
        outputs.file(sharedFile)
        doFirst {
            sharedFile.get().asFile.writeText("This file is shared across Gradle subprojects.")
        }
    }
    
    val sharedConfiguration by configurations.creating {
        isCanBeResolved = false
    }
    
    artifacts {
        add(sharedConfiguration.name, makeFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 409 bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultNativeLibrarySpecTest.groovy

            library.displayName == "native library 'someLib'"
        }
    
        def "can use shared variant as requirement"() {
            when:
            def requirement = library.shared
    
            then:
            requirement.projectPath == 'project-path'
            requirement.libraryName == 'someLib'
            requirement.linkage == 'shared'
        }
    
        def "can use static variant as requirement"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/tooling/GradleBuildBuilderTest.groovy

    import org.gradle.util.TestUtil
    import org.junit.ClassRule
    import spock.lang.Shared
    import spock.lang.Specification
    
    import java.util.function.Consumer
    
    @CleanupTestDirectory
    class GradleBuildBuilderTest extends Specification {
        @Shared
        @ClassRule
        public TestNameTestDirectoryProvider temporaryFolder = TestNameTestDirectoryProvider.newInstance(getClass())
        @Shared
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    [[build_services]]
    = Using Shared Build Services
    
    Shared build services allow tasks to share state or resources.
    For example, tasks might share a cache of pre-computed values or use a web service or database instance.
    
    A build service is an object that holds the state for tasks to use.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/prebuilt/DefaultPrebuiltSharedLibraryBinary.java

        @Override
        public FileCollection getLinkFiles() {
            return createFileCollection(getSharedLibraryLinkFile(), "link files", "Shared library link files");
        }
    
        @Override
        public FileCollection getRuntimeFiles() {
            return createFileCollection(getSharedLibraryFile(), "runtime files", "Shared library runtime files");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top