Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 646 for SHARED (0.08 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheBuilderTest.groovy

            result == cache
            1 * cacheFactory.open(sharedCacheDir, null, [:], mode(Shared), _, NO_CLEANUP) >> cache
            0 * cacheFactory._
        }
    
        void createsGlobalCacheWithProperties() {
            when:
            builder.withProperties(properties).open()
    
            then:
            1 * cacheFactory.open(sharedCacheDir, null, properties, mode(Shared), _, NO_CLEANUP) >> cache
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/test/groovy/org/gradle/docs/releasenotes/StaticReleaseNotesTest.groovy

     */
    
    package org.gradle.docs.releasenotes
    
    import org.jsoup.Jsoup
    import org.jsoup.nodes.Document
    import spock.lang.Shared
    import spock.lang.Specification
    
    class StaticReleaseNotesTest extends Specification {
        @Shared File renderedFile
        @Shared Document renderedDocument
        @Shared String renderedText
    
        def setupSpec() {
            def context = new ReleaseNotesTestContext()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/tests/check.out

    > Task :producer:makeFile
    
    > Task :consumer:showFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 133 bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockFileAccess.java

            lockInfoAccess.clearLockInfo(lockFileAccess);
        }
    
        public FileLockOutcome tryLockInfo(boolean shared) throws IOException {
            return lockInfoAccess.tryLock(lockFileAccess, shared);
        }
    
        public FileLockOutcome tryLockState(boolean shared) throws IOException {
            return lockStateAccess.tryLock(lockFileAccess, shared);
        }
    
        /**
         * Reads the lock state from the lock file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top