Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 278 for reuse (0.05 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt

            for (entry in entryDetails) {
                val identityPath = projectPathForKey(entry.key)
                if (identityPath == null || !checkedFingerprint.invalidProjects.contains(identityPath)) {
                    // Can reuse the value
                    previousValues[entry.key] = entry.value
                }
            }
        }
    
        fun visitProjects(reusedProjects: Consumer<Path>, updatedProjects: Consumer<Path>) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/ready/probe.go

    )
    
    // Probe for readiness.
    type Probe struct {
    	LocalHostAddr       string
    	AdminPort           uint16
    	receivedFirstUpdate bool
    	// Indicates that Envoy is ready at least once so that we can cache and reuse that probe.
    	atleastOnceReady bool
    	Context          context.Context
    	// NoEnvoy so we only check config status
    	NoEnvoy bool
    }
    
    type Prober interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/AnnotationProcessingCompileTask.java

        public void setLocale(Locale locale) {
            delegate.setLocale(locale);
        }
    
        @Override
        public Boolean call() {
            if (called) {
                throw new IllegalStateException("Cannot reuse a compilation task");
            }
            called = true;
            try {
                setupProcessors();
                return delegate.call();
            } finally {
                cleanupProcessors();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:42:29 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/ClassPathToClassLoaderCache.java

            return cacheEntries.isEmpty();
        }
    
        /**
         * Provides execution of arbitrary code that consumes a cached class loader in a memory safe manner,
         * that is to say making sure that concurrent calls reuse the same classloader, or that the class loader
         * is retrieved from cache if available.
         *
         * It will also make sure that once a cached class loader is unused and removed from cache, memory cleanup
         * is done.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/net/util_test.go

    	if err != nil {
    		t.Fatalf("failed to configure *http.Transport: %+v", err)
    	}
    	t2.ReadIdleTimeout = time.Second
    	t2.PingTimeout = time.Second
    	// Create an HTTP2 connection to reuse later
    	resp, err := c.Get("https://" + lb.ln.Addr().String())
    	if err != nil {
    		t.Fatalf("unexpected error: %+v", err)
    	}
    	defer resp.Body.Close()
    	data, err := io.ReadAll(resp.Body)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_libinit.c

    	// We assume this will always succeed, otherwise, there might be extra M leaking,
    	// when a C thread exits after a cgo call.
    	// We only invoke this function once per thread in runtime.needAndBindM,
    	// and the next calls just reuse the bound m.
    	pthread_setspecific(pthread_g, g);
    }
    
    void
    x_cgo_notify_runtime_init_done(void* dummy __attribute__ ((unused))) {
    	pthread_mutex_lock(&runtime_init_mu);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/ModelBuilder.java

     * <li>Configure the builder as appropriate.
     * <li>Call either {@link #get()} or {@link #get(ResultHandler)} to build the model.
     * <li>Optionally, you can reuse the builder to build the model multiple times.
     * </ul>
     *
     * Example:
     * <pre class='autoTested'>
     * ProjectConnection connection = GradleConnector.newConnector()
     *    .forProjectDirectory(new File("someFolder"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    And it will save the returned value in a <abbr title="A utility/system to store computed/generated values, to reuse them instead of computing them again.">"cache"</abbr> and pass it to all the "dependants" that need it in that specific request, instead of calling the dependency multiple times for the same request.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/net/writev_test.go

    	c2 := <-ch
    	if c2 == nil {
    		t.Fatal("no server side connection")
    	}
    	c2.Close()
    
    	// 1 GB of data should be enough to notice the connection is gone.
    	// Just a few bytes is not enough.
    	// Arrange to reuse the same 1 MB buffer so that we don't allocate much.
    	buf := make([]byte, 1<<20)
    	buffers := make(Buffers, 1<<10)
    	for i := range buffers {
    		buffers[i] = buf
    	}
    	if _, err := buffers.WriteTo(c1); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/LanguageSpecificAdaptor.java

            builder.propertyAssignment(null, "rootProject.name", settings.isUseIncubatingAPIs() ? "build-logic" : "buildSrc");
            builder.useVersionCatalogFromOuterBuild("Reuse version catalog from the main build.");
            return builder;
        }
    
        private BuildScriptBuilder pluginsBuildBuildScriptBuilder(InitSettings settings, BuildContentGenerationContext buildContentGenerationContext) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 06:07:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top