Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,553 for shared (0.37 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. src/cmd/go/internal/work/init.go

    				case "arm64":
    					codegenArg = "-shared"
    				}
    
    			case "dragonfly", "freebsd", "illumos", "linux", "netbsd", "openbsd", "solaris":
    				// Use -shared so that the result is
    				// suitable for inclusion in a PIE or
    				// shared library.
    				codegenArg = "-shared"
    			}
    		}
    		cfg.ExeSuffix = ".a"
    		ldBuildmode = "c-archive"
    	case "c-shared":
    		pkgsFilter = oneMainPkg
    		if gccgo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. apache-maven/pom.xml

                  <exclude>src/assembly/shared/init</exclude>
                  <exclude>src/assembly/shared/init.cmd</exclude>
                  <exclude>src/assembly/shared/mvnlauncher</exclude>
                  <exclude>src/assembly/shared/mvnlauncher.cmd</exclude>
                  <exclude>src/assembly/shared/mvnvalidate</exclude>
                  <exclude>src/assembly/shared/mvnvalidate.cmd</exclude>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top