Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,575 for Reused (0.1 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/id/ConfigurationCacheableIdFactory.java

    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * Creates unique ids for objects created during configuration.
     * <p>
     * Usage of this factory in object factories ensures that ids are reused consistently when loading from the configuration cache.
     */
    @ThreadSafe
    @ServiceScope(Scope.BuildTree.class)
    public class ConfigurationCacheableIdFactory {
    
        private static final long USED_ASSIGNED_ID_MARKER = -1;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ScriptChangeFixture.groovy

            def scriptPath = relativePathOf(scriptFile, projectDir)
            def scriptDesc = scriptPath.contains('init') ? 'init script' : 'file'
            return "configuration cache cannot be reused because $scriptDesc '$scriptPath' has changed."
        }
    
        void setup() {
            scriptFile.text = "println(\"$expectedOutputBeforeChange\")"
        }
    
        void applyChange() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_list_issue61415.txt

    stdout '"Ref": "HEAD"'
    stdout '"Hash": "f213069baa68ec26412fb373c7cf6669db1f8e69"'
    stdout '"Reuse": true'
    
    
    # If the hash refers to some other commit instead, the
    # result should not be reused.
    
    replace f213069baa68ec26412fb373c7cf6669db1f8e69 08a4fa6bb9c04ffba03b26ae427b0d6335d90a2a no-nested.json
    
    go list -reuse=no-nested.json -json -m --versions -e vcs-test.golang.org/git/issue61415.git/nested@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 22:15:45 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    }
    
    func (t *panicOnNonReuseTransport) GotConn(info httptrace.GotConnInfo) {
    	if !t.gotConnSeen {
    		t.gotConnSeen = true
    		return
    	}
    	if !info.Reused {
    		panic(fmt.Sprintf("expected the connection to be reused, info %#v", info))
    	}
    }
    
    // TestErrConnKilledHTTP2 check if HTTP/2 connection is not closed when an HTTP handler panics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderRegistry.java

            lock.lock();
            try {
                // Determine whether the given set of classloaders have already been used for some previous request
                // A single daemon side classloader is used for a given set of client side classloaders
                // So, if we find an entry for the given set of classloaders, then reuse it
                for (LocalClassLoaderMapping localClassLoaderMapping : new ArrayList<>(classLoaders.values())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/AbstractCompileAvoidanceIntegrationTest.kt

        }
    
        protected
        fun withKotlinDslPluginInBuildSrc() {
            // this is to force buildSrc/build.gradle.kts to be written to test-local buildscript cache
            // and not to be reused from daemon's cache from other tests when daemon is in use
            withBuildScriptIn("buildSrc", scriptWithKotlinDslPlugin())
                .bustScriptCache()
        }
    
        private
        fun File.bustScriptCache() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/pkiutil/testing/testing.go

    // while executing tests in m.
    func RunWithPrivateKeyFixtureDirectory(m *testing.M) {
    	defer install()()
    	os.Exit(m.Run())
    }
    
    // Reset indicates a new test is starting and previously returned private key fixtures may be reused.
    func Reset() {
    	lock.Lock()
    	defer lock.Unlock()
    	ecdsa = 0
    	rsa = 0
    }
    
    var (
    	testFunction = regexp.MustCompile(`.*\.Test[^./]+(.func\d*)?$`)
    
    	lock       = sync.Mutex{}
    	fixtureDir = ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    // is only safe if the output object is not mutated or reused.
    func (c unsafeObjectConvertor) ConvertToVersion(in Object, outVersion GroupVersioner) (Object, error) {
    	return c.Scheme.UnsafeConvertToVersion(in, outVersion)
    }
    
    // UnsafeObjectConvertor performs object conversion without copying the object structure,
    // for use when the converted object will not be reused or mutated. Primarily for use within
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/DaemonForkOptionsBuilder.java

                if (unreliableArgument.isPresent()) {
                    LOGGER.info("Worker requested to be persistent, but the JVM argument '{}' may make the worker unreliable when reused across multiple builds. Worker will expire at the end of the build session.", unreliableArgument.get());
                    return new DaemonForkOptions(forkOptions, KeepAliveMode.SESSION, classLoaderStructure);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     * request body start and end events occur within the response header events. Similarly,
     * [duplex calls][RequestBody.isDuplex] interleave the request and response bodies.
     *
     * Since connections may be reused, the proxy selection, DNS, and connect events may not be present
     * for a call. In future releases of OkHttp these events may also occur concurrently to permit
     * multiple routes to be attempted simultaneously.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top