Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 566 for shared (0.4 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    Tom Tresansky <******@****.***> 1715641965 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    │       ├── src
    │       │   └──...
    │       └── build.gradle    // <3>
    ├── shared
    │   ├── src
    │   │   └──...
    │   └── build.gradle
    └── settings.gradle
    ----
    <1> Create the `MyCustomTask` task.
    <2> A shared build script.
    <3> Uses the `MyCustomTask` task and shared build script.
    =====
    
    In the `buildSrc`, the build script `shared.gradle(.kts)` is created.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix.go

    package unix
    
    import "unsafe"
    
    // SysvShmAttach attaches the Sysv shared memory segment associated with the
    // shared memory identifier id.
    func SysvShmAttach(id int, addr uintptr, flag int) ([]byte, error) {
    	addr, errno := shmat(id, addr, flag)
    	if errno != nil {
    		return nil, errno
    	}
    
    	// Retrieve the size of the shared memory to enable slice creation
    	var info SysvShmDesc
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/NativeComponentReportOutputNormalizerTest.groovy

        C++ source 'hello:cpp'
            srcDir: src/hello/cpp
    
    Binaries
        Shared library 'hello:sharedLibrary'
            build using task: :helloSharedLibrary
            build type: build type 'debug'
            flavor: flavor 'default'
            target platform: platform 'current'
            tool chain: Tool chain 'clang' (Clang)
            shared library file: build/libs/hello/shared/libhello.dylib
        Static library 'hello:staticLibrary'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/service/scopes/GradleUserHomeScopeServiceRegistry.java

    import javax.annotation.concurrent.ThreadSafe;
    import java.io.File;
    import java.util.Optional;
    
    /**
     * Manages the shared services that are scoped to a particular Gradle user home dir and which can be shared by multiple build invocations. These shared services also include the global services.
     *
     * <p>A plugin can contribute shared services to this scope by providing an implementation of {@link GradleModuleServices}.
     */
    @ThreadSafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

            given:
            createLock(Exclusive)
    
            when:
            createLock(Shared)
    
            then:
            thrown(IllegalStateException)
        }
    
        def "cannot lock twice in single process for shared mode"() {
            given:
            createLock(Shared)
    
            when:
            createLock(Shared)
    
            then:
            thrown(IllegalStateException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

            expect:
            emptyDir.assertDoesNotExist()
    
            when:
            def cache = new DefaultPersistentDirectoryCache(emptyDir, "<display-name>", properties, mode(FileLockManager.LockMode.Shared), initializationAction, cacheCleanup, lockManager, Mock(ExecutorFactory), buildOperationRunner)
            try {
                cache.open()
            } finally {
                cache.close()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

                    return backingCache
                }
            }
        }
    
        def "acquires lock on open and releases on close when lock mode is shared"() {
            def access = newAccess(Shared)
    
            when:
            access.open()
    
            then:
            1 * lockManager.lock(lockFile, mode(Shared), "<display-name>") >> lock
            1 * initializationAction.requiresInitialization(lock) >> false
            _ * lock.state
            0 * _._
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. 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)
Back to top