Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 338 for reuse (0.15 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/PropertyValidationAccess.java

        private final List<TypeScheme> typeSchemes;
    
        private PropertyValidationAccess() {
            ServiceRegistryBuilder builder = ServiceRegistryBuilder.builder().displayName("Global services");
            // Should reuse `GlobalScopeServices` here, however this requires a bunch of stuff in order to discover the plugin service registries
            // For now, re-implement the discovery here
            builder.provider(new ServiceRegistrationProvider() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/runtime/mem_windows.go

    		throw("runtime: failed to release pages")
    	}
    }
    
    func sysFaultOS(v unsafe.Pointer, n uintptr) {
    	// SysUnused makes the memory inaccessible and prevents its reuse
    	sysUnusedOS(v, n)
    }
    
    func sysReserveOS(v unsafe.Pointer, n uintptr) unsafe.Pointer {
    	// v is just a hint.
    	// First try at v.
    	// This will fail if any of [v, v+n) is already reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. pkg/test/echo/server/forwarder/grpc.go

    		getConn = func() (*grpc.ClientConn, func(), error) {
    			conn, err := newGRPCConnection(cfg)
    			if err != nil {
    				return nil, nil, err
    			}
    			return conn, func() { _ = conn.Close() }, nil
    		}
    	} else {
    		// Reuse the connection across all requests.
    		conn, err := newGRPCConnection(cfg)
    		if err != nil {
    			return nil, err
    		}
    		defer func() { _ = conn.Close() }()
    		getConn = func() (*grpc.ClientConn, func(), error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 14 19:45:43 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. pkg/registry/core/service/portallocator/operation.go

    				lastPort = allocatedPort
    			}
    		}
    		if len(op.allocated) == 0 {
    			lastPort = 32768
    		}
    
    		// Try to find the next non allocated port.
    		// If too many ports are full, just reuse one,
    		// since this is just a dummy value.
    		for port := lastPort + 1; port < 100; port++ {
    			err := op.Allocate(port)
    			if err == nil {
    				return port, nil
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  5. src/os/pidfd_linux.go

    	// is guaranteed to refer to one particular process). Thus, there is no
    	// need for the workaround (blockUntilWaitable + sigMu) from pidWait.
    	//
    	// We _do_ need to be careful about reuse of the pidfd FD number when
    	// closing the pidfd. See handle for more details.
    	handle, status := p.handleTransientAcquire()
    	switch status {
    	case statusDone:
    		// Process already completed Wait, or was not found by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top