Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 830 for reuse (0.04 sec)

  1. subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java

                if (registration != null) {
                    if (registration.provider.isKeepAlive()) {
                        // Reuse the service instance
                        return registration.provider;
                    }
                    throw new IllegalArgumentException(String.format("Service '%s' has already been registered.", name));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:45 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. src/runtime/pinner.go

    			// Didn't get anything from the pinner cache.
    			p.pinner = new(pinner)
    			p.refs = p.refStore[:0]
    
    			// We set this finalizer once and never clear it. Thus, if the
    			// pinner gets cached, we'll reuse it, along with its finalizer.
    			// This lets us avoid the relatively expensive SetFinalizer call
    			// when reusing from the cache. The finalizer however has to be
    			// resilient to an empty pinner being finalized, which is done
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/math/big/alias_test.go

    //
    //	func (v *big.Int) m(x *big.Int) *big.Int
    //
    // v and x are two random Int values. v is randomized even if it will be
    // overwritten to test for improper buffer reuse.
    func checkAliasingOneArg(t *testing.T, f func(v, x *big.Int) *big.Int, v, x *big.Int) bool {
    	x1, v1 := new(big.Int).Set(x), new(big.Int).Set(x)
    
    	// Calculate a reference f(x) without aliasing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/qos_container_manager_linux.go

    		qosClass := v1qos.GetPodQOS(pod)
    		if qosClass != v1.PodQOSBurstable {
    			// we only care about the burstable qos tier
    			continue
    		}
    		req := resource.PodRequests(pod, resource.PodResourcesOptions{Reuse: reuseReqs})
    		if request, found := req[v1.ResourceCPU]; found {
    			burstablePodCPURequest += request.MilliValue()
    		}
    	}
    
    	// make sure best effort is always 2 shares
    	bestEffortCPUShares := uint64(MinShares)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. internal/s3select/parquet/reader.go

    			value, err = convertFromAnnotation(col.Element(), v)
    			if err != nil {
    				return nil, errParquetParsingError(err)
    			}
    		}
    		kvs = append(kvs, jstream.KV{Key: col.FlatName(), Value: value})
    	}
    
    	// Reuse destination if we can.
    	dstRec, ok := dst.(*jsonfmt.Record)
    	if !ok {
    		dstRec = &jsonfmt.Record{}
    	}
    	dstRec.SelectFormat = sql.SelectFmtParquet
    	dstRec.KVS = kvs
    	return dstRec, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 14 13:54:47 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.connection.RealRoutePlanner
    import okhttp3.internal.connection.RouteDatabase
    
    /**
     * Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that
     * share the same [Address] may share a [Connection]. This class implements the policy
     * of which connections to keep open for future use.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ExclusiveRepositoryContentFilteringIntegrationTest.groovy

                "includeVersion('org', 'foo', '[1.0,1.2)')",
                "includeVersion('org', 'foo', '(,1.1]')",
                "includeVersionByRegex('or[g]', 'f[o]+', '1[.].+')",
            ]
        }
    
        def "can reuse an existing repo"() {
            def foo = ivyHttpRepo.module('org', 'foo', '1.0').publish()
            def bar = mavenHttpRepo.module('other', 'bar', '2.0').publish()
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. tests/integration/pilot/revisioned_upgrade_test.go

    // provided fromVersion must be present in tests/integration/pilot/testdata/upgrade for the installation to succeed
    // TODO(monkeyanator) pass this a generic UpgradeFunc allowing for reuse across in-place and revisioned upgrades
    func testUpgradeFromVersion(t framework.TestContext, fromVersion string) {
    	configs := make(map[string]string)
    	t.CleanupConditionally(func() {
    		for _, config := range configs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

            configurationCacheRun("report")
    
            then:
            fixture.assertStateStored() // TODO - it would be good to reuse a previous entry here
            outputContains("Calculating task graph as configuration cache cannot be reused because an input to build file 'build.gradle' has changed.")
            outputContains(output1)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_performance.adoc

    This can happen if you have tasks in your build that are configured to produce the same results from the same inputs; in such a case once one of these tasks has finished, Gradle will simply reuse its output for the rest of the tasks.
    
    Normally, your _fully cached_ build should be significantly faster than the `clean` build: this is the theoretical limit of how much time using the build cache can save on your particular build.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top