Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 439 for IsShared (0.25 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

             * 2b. If we use shared lock, and we succeed in step 1., then we just hold the lock. We don't write anything to the information region
             * since multiple processes can acquire shared lock (due to that we currently also don't support on demand shared locks).<br>
             * 2.c If we fail, we throw a timeout exception.
             * <br><br>
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf.go

    		shstrtabAddstring(".note.GNU-stack")
    
    		if ctxt.IsShared() {
    			shstrtabAddstring(".note.go.abihash")
    			shstrtabAddstring(".note.go.pkg-list")
    			shstrtabAddstring(".note.go.deps")
    		}
    	}
    
    	hasinitarr := ctxt.linkShared
    
    	/* shared library initializer */
    	switch ctxt.BuildMode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    		if rs != 0 {
    			rst = ldr.SymType(rs)
    		}
    
    		if rs != 0 && (rst == sym.Sxxx || rst == sym.SXREF) {
    			// When putting the runtime but not main into a shared library
    			// these symbols are undefined and that's OK.
    			if target.IsShared() || target.IsPlugin() {
    				if ldr.SymName(rs) == "main.main" || (!target.IsPlugin() && ldr.SymName(rs) == "main..inittask") {
    					sb := ldr.MakeSymbolUpdater(rs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

                plugins.apply(my.MyPlugin)
            """
            file("b/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI, "-Pshared-input=12", "-Da-input=14")
            def model = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model.size() == 2
            model[0].message == "It works from project :a"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top