Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 830 for reuse (0.44 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractSerializer.java

    import com.google.common.base.Objects;
    
    /**
     * This abstract class provide a sensible default implementation for {@code Serializer} equality. This equality
     * implementation is required to enable cache instance reuse within the same Gradle runtime. Serializers are used
     * as cache parameter which need to be compared to determine compatible cache.
     */
    public abstract class AbstractSerializer<T> implements Serializer<T> {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/runtime/race/testdata/pool_test.go

    package race_test
    
    import (
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestRacePool(t *testing.T) {
    	// Pool randomly drops the argument on the floor during Put.
    	// Repeat so that at least one iteration gets reuse.
    	for i := 0; i < 10; i++ {
    		c := make(chan int)
    		p := &sync.Pool{New: func() any { return make([]byte, 10) }}
    		x := p.Get().([]byte)
    		x[0] = 1
    		p.Put(x)
    		go func() {
    			y := p.Get().([]byte)
    			y[0] = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 933 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_use_cases.adoc

    [[share_results_between_ci_builds]]
    == Share results between CI builds
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. tests/integration/pilot/analysis/main_test.go

    )
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    // If a test requires a custom install it should go into its own package, otherwise it should go
    // here to reuse a single install across tests.
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Setup(istio.Setup(nil, func(_ resource.Context, cfg *istio.Config) {
    			cfg.ControlPlaneValues = `
    values:
      pilot:
        env:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 22 18:52:14 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ClassLoaderDetails.java

    import java.util.UUID;
    
    public class ClassLoaderDetails implements Serializable {
        // TODO:ADAM - using a UUID means we create a ClassLoader hierarchy for each daemon process we talk to. Instead, use the spec to decide whether to reuse a ClassLoader
        public final UUID uuid;
        public final ClassLoaderSpec spec;
        public final List<ClassLoaderDetails> parents = new ArrayList<ClassLoaderDetails>();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_stack_unix.c

    	addr = __builtin_frame_address(0) + 4096 - size;
    #endif
    	pthread_attr_destroy(&attr);
    
    	// bounds points into the Go stack. TSAN can't see the synchronization
    	// in Go around stack reuse.
    	_cgo_tsan_acquire();
    	bounds[0] = (uintptr)addr;
    	bounds[1] = (uintptr)addr + size;
    	_cgo_tsan_release();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 03:44:11 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/OfflineVcsVersionWorkingDirResolver.java

                throw new ModuleVersionResolveException(selector, () -> String.format("Cannot resolve %s from %s in offline mode.", selector.getDisplayName(), repository.getDisplayName()));
            }
    
            // Reuse the same version as last build
            return repository.populate(previousVersion);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/script/conds.go

    	if suffix != "" {
    		return false, ErrUsage
    	}
    	return b.v, nil
    }
    
    // OnceCondition returns a Cond that calls eval the first time the condition is
    // evaluated. Future calls reuse the same result.
    //
    // The eval function is not passed a *State because the condition is cached
    // across all execution states and must not vary by state.
    func OnceCondition(summary string, eval func() (bool, error)) Cond {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 5K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/Result.java

         *     <li>there might have been more or less load on the machine producing the reused work,</li>
         *     <li>the work reused might have been executed incrementally,</li>
         *     <li>had there been no work to reuse, the local execution might have happened happen incrementally.</li>
         * </ul>
         */
        public Duration getDuration() {
            return duration;
        }
    
        public Try<Execution> getExecution() {
            return execution;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerAwaitableFileLockReleasedSignalTest.groovy

    class DefaultFileLockManagerAwaitableFileLockReleasedSignalTest extends ConcurrentSpecification {
    
        @Subject def signal = new DefaultFileLockManager.AwaitableFileLockReleasedSignal()
    
        def "can reuse signal"() {
            given:
            def signalCount = new AtomicInteger()
    
            when:
            start {
                while (signalCount.get() < 2) {
                    def signaled = signal.await(10000)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top