Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 302 for preferGo (0.23 sec)

  1. src/net/conf_test.go

    			hostTests: []nssHostTest{{"google.com", "myhostname", hostLookupCgo}},
    		},
    		// Issue 24393: make sure "Resolver.PreferGo = true" acts like netgo.
    		{
    			name:     "resolver-prefergo",
    			resolver: &Resolver{PreferGo: true},
    			c: &conf{
    				preferCgo: true,
    				netCgo:    true,
    			},
    			resolv: defaultResolvConf,
    			nss:    nssStr(t, ""),
    			hostTests: []nssHostTest{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:46:36 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/net/conf.go

    //
    // Adding netdns=go to GODEBUG will prefer the go resolver.
    // Adding netdns=cgo to GODEBUG will prefer the cgo resolver.
    //
    // The Resolver struct has a PreferGo field that user code
    // may set to prefer the go resolver. It is documented as being
    // equivalent to adding netdns=go to GODEBUG.
    //
    // When deciding which resolver to use, we first check the PreferGo field.
    // If that is not set, we check the GODEBUG setting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. src/net/lookup_test.go

    		t.Skip("skipping on plan9")
    	}
    	rDeadlineExcceeded := &Resolver{PreferGo: true, Dial: func(ctx context.Context, network, address string) (Conn, error) {
    		return nil, context.DeadlineExceeded
    	}}
    	rCancelled := &Resolver{PreferGo: true, Dial: func(ctx context.Context, network, address string) (Conn, error) {
    		return nil, context.Canceled
    	}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  4. src/net/lookup.go

    // A Resolver looks up names and numbers.
    //
    // A nil *Resolver is equivalent to a zero Resolver.
    type Resolver struct {
    	// PreferGo controls whether Go's built-in DNS resolver is preferred
    	// on platforms where it's available. It is equivalent to setting
    	// GODEBUG=netdns=go, but scoped to just this resolver.
    	PreferGo bool
    
    	// StrictErrors controls the behavior of temporary errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  5. api/go1.8.txt

    pkg net, method (*UnixListener) SetUnlinkOnClose(bool)
    pkg net, type Buffers [][]uint8
    pkg net, type Dialer struct, Resolver *Resolver
    pkg net, type Resolver struct
    pkg net, type Resolver struct, PreferGo bool
    pkg net/url, func PathEscape(string) string
    pkg net/url, func PathUnescape(string) (string, error)
    pkg net/url, method (*URL) Hostname() string
    pkg net/url, method (*URL) MarshalBinary() ([]uint8, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir

    // RUN: tf-opt "-xla-legalize-tf=device-type=XLA_CPU_JIT legalize-chlo=false use-tf2xla-fallback=true prefer-tf2xla=true" %s | FileCheck %s
    // RUN: tf-opt "-xla-legalize-tf=device-type=XLA_CPU_JIT legalize-chlo=false prefer-tf2xla=true" %s | FileCheck --check-prefix NOFALLBACK %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    
    // CHECK-LABEL: @abs
    func.func @abs(%arg0: tensor<2xf32>) -> tensor<2xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy

            },
            {
                "name": "release",
                "attributes": {
                    "buildType": "release"
                },
                "files": [ { "name": "a-1.2-release.jar", "url": "a-1.2-release.jar" } ],
                "dependencies": [ { "group": "test", "module": "c", "version": { "prefers": "2.2" } } ]
            }
        ]
    }
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  8. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy

            variant.dependencies[0].prefers == null
            variant.dependencies[0].strictly == '1.0'
            variant.dependencies[0].rejectsVersion == []
    
            variant.dependencies[1].group == 'org'
            variant.dependencies[1].module == 'bar'
            variant.dependencies[1].version == null
            variant.dependencies[1].prefers == '1.0'
            variant.dependencies[1].strictly == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 30.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PublishedRichVersionConstraintsIntegrationTest.groovy

        }
    
        @Issue("gradle/gradle#4186")
        def "should choose highest when multiple prefer versions disagree"() {
            repository {
                'org:bar:1' {
                    dependsOn(group: 'org', artifact: 'foo', prefers: '1.1')
                }
                'org:baz:1' {
                    dependsOn(group: 'org', artifact: 'foo', prefers: '1.0')
                }
                'org:foo' {
                    '1.0'()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy

            schema.accept(usage, "requested", "best")
            schema.prefer(usage, "best")
            def other = Attribute.of('other', String)
            schema.attribute(other)
            schema.accept(other, "requested", "compatible")
            schema.accept(other, "requested", "best")
            schema.prefer(other, "best")
    
            def candidate1 = attributes(usage: "best", other: "compatible")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24.8K bytes
    - Viewed (0)
Back to top