Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,989 for prCopy (0.12 sec)

  1. pkg/kubelet/status/state/state.go

    // Clone returns a copy of PodResourceAllocation
    func (pr PodResourceAllocation) Clone() PodResourceAllocation {
    	prCopy := make(PodResourceAllocation)
    	for pod := range pr {
    		prCopy[pod] = make(map[string]v1.ResourceList)
    		for container, alloc := range pr[pod] {
    			prCopy[pod][container] = alloc.DeepCopy()
    		}
    	}
    	return prCopy
    }
    
    // Reader interface used to read current pod resource allocation state
    type Reader interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultInternalOptionsTest.groovy

            sysProps["prop1"] = "true"
            sysProps["prop2"] = ""
            sysProps["prop3"] = "false"
            sysProps["prop4"] = "not anything much"
    
            expect:
            def value1 = options.getOption(new InternalFlag("prop1", false))
            value1.get()
            value1.explicit
    
            def value2 = options.getOption(new InternalFlag("prop2", false))
            value2.get()
            value2.explicit
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptVisibilityIntegrationTest.groovy

    def getProp1() {
        return "abc"
    }
    
    @groovy.transform.Field
    String prop2
    
    @groovy.transform.Field
    String prop3 = "abc"
    
    int prop4 = 12
    
    prop2 = prop1
    
    assert prop1 == "abc"
    assert prop2 == "abc"
    assert prop3 == "abc"
    assert prop4 == 12
    """
            file("child1/build.gradle") << """
    try {
        prop1
        assert false
    } catch(MissingPropertyException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ContextConfigTest.java

            Properties prop1 = new Properties();
            prop1.setProperty("jcifs.smb.client.minVersion", "SMB302");
            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
            assertEquals(DialectVersion.SMB302, p1.getMinimumVersion());
            assertEquals(DialectVersion.SMB302, p1.getMaximumVersion());
    
            Properties prop2 = new Properties();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. pkg/registry/core/service/proxy.go

    	handler := proxy.NewUpgradeAwareHandler(location, transport, wrapTransport, upgradeRequired, proxy.NewErrorResponder(responder))
    	handler.MaxBytesPerSec = capabilities.Get().PerConnectionBandwidthLimitBytesPerSec
    	return handler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 19 13:59:13 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

         * Get the proxy port.
         *
         * @return proxy server port
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Set the proxy port.
         *
         * @param port proxy server port
         */
        public void setPort(int port) {
            this.port = port;
        }
    
        /**
         * Get the proxy username.
         *
         * @return username for the proxy server
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    func (cfg *config) proxyForURL(reqURL *url.URL) (*url.URL, error) {
    	var proxy *url.URL
    	if reqURL.Scheme == "https" {
    		proxy = cfg.httpsProxy
    	} else if reqURL.Scheme == "http" {
    		proxy = cfg.httpProxy
    		if proxy != nil && cfg.CGI {
    			return nil, errors.New("refusing to use HTTP_PROXY value in CGI environment; see golang.org/s/cgihttpproxy")
    		}
    	}
    	if proxy == nil {
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/proxy.go

    	list []proxySpec
    	err  error
    }
    
    type proxySpec struct {
    	// url is the proxy URL or one of "off", "direct", "noproxy".
    	url string
    
    	// fallBackOnError is true if a request should be attempted on the next proxy
    	// in the list after any error from this proxy. If fallBackOnError is false,
    	// the request will only be attempted on the next proxy if the error is
    	// equivalent to os.ErrNotFound, which is true for 404 and 410 responses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 15:21:05 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. pkg/registry/core/node/rest/proxy.go

    	handler := proxy.NewUpgradeAwareHandler(location, transport, wrapTransport, upgradeRequired, proxy.NewErrorResponder(responder))
    	handler.MaxBytesPerSec = capabilities.Get().PerConnectionBandwidthLimitBytesPerSec
    	return handler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 19 13:59:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                class Thing {
                    def prop1 = { it }
                }
                convention.plugins.thing = new Thing()
                ext.prop2 = { it / 2 }
    
                assert prop1(12) == 12
                assert prop2(12) == 6
            """
            file("child1/build.gradle") << """
                ext.prop3 = { it * 2 }
                assert prop1(12) == 12
                assert prop2(12) == 6
                assert prop3(12) == 24
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top