Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for tld (0.02 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          return null // The domain is a public suffix.
        }
    
        val firstLabelOffset =
          if (rule[0][0] == EXCEPTION_MARKER) {
            // Exception rules hold the effective TLD plus one.
            domainLabels.size - rule.size
          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    	// must strictly be a subset.
    	if d >= nRegionGroups {
    		return b&m != 0
    	}
    	return b&^m == 0
    }
    
    var errNoTLD = errors.New("language: region is not a valid ccTLD")
    
    // TLD returns the country code top-level domain (ccTLD). UK is returned for GB.
    // In all other cases it returns either the region itself or an error.
    //
    // This method may return an error for a region for which there exists a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. src/net/http/client_test.go

    // when not empty.
    //
    // tls.Config.ServerName (non-empty, set to "example.com") takes
    // precedence over "some-other-host.tld" which previously incorrectly
    // took precedence. We don't actually connect to (or even resolve)
    // "some-other-host.tld", though, because of the Transport.Dial hook.
    //
    // The httptest.Server has a cert with "example.com" as its name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/sidecar_simulation_test.go

    		{
    			name: "wildcard and explicit unknown",
    			cfg: []Configer{
    				vsArgs{
    					Namespace: "default",
    					Match:     "*.tld",
    					Dest:      "wild.example.com",
    					Time:      TimeOlder,
    				},
    				vsArgs{
    					Namespace: "default",
    					Match:     "example.tld",
    					Dest:      "explicit.example.com",
    					Time:      TimeNewer,
    				},
    			},
    			proxy:     proxy("default"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  5. src/net/http/cookiejar/jar_test.go

    			{"http://other.test", ""},
    			{"http://test", ""},
    		},
    	},
    	{
    		"Host cookie on TLD.",
    		"http://com",
    		[]string{"a=1"},
    		"a=1",
    		[]query{
    			{"http://com", "a=1"},
    			{"http://any.com", ""},
    			{"http://any.test", ""},
    		},
    	},
    	{
    		"Domain cookie on TLD becomes a host cookie.",
    		"http://com",
    		[]string{"a=1; domain=com"},
    		"a=1",
    		[]query{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. src/net/conf.go

    					return hostLookupCgo, dnsConf
    				}
    				continue
    			case hostname != "" && stringslite.HasPrefix(src.source, "mdns"):
    				if stringsHasSuffixFold(hostname, ".local") {
    					// Per RFC 6762, the ".local" TLD is special. And
    					// because Go's native resolver doesn't do mDNS or
    					// similar local resolution mechanisms, assume that
    					// libc might (via Avahi, etc) and use cgo.
    					return hostLookupCgo, dnsConf
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/vcs/vcs.go

    }
    
    // repoRootForImportDynamic finds a *RepoRoot for a custom domain that's not
    // statically known by repoRootFromVCSPaths.
    //
    // This handles custom import paths like "name.tld/pkg/foo" or just "name.tld".
    func repoRootForImportDynamic(importPath string, mod ModuleMode, security web.SecurityMode) (*RepoRoot, error) {
    	url, err := urlForImportPath(importPath)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/preflight/checks_test.go

    	// if ProxyFromEnvironment already executed before our test with empty
    	// HTTP_PROXY it will make these tests return false positive failures
    	req, err := http.NewRequest("GET", "http://host.fake.tld/", nil)
    	if err != nil {
    		t.Fatalf("unexpected err: %v", err)
    	}
    	proxy, err := http.ProxyFromEnvironment(req)
    	if err != nil {
    		t.Fatalf("unexpected err: %v", err)
    	}
    	if proxy == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. src/net/http/request_test.go

    	}{
    		{r: strings.NewReader("hello")},
    		{r: bytes.NewReader([]byte("hello"))},
    		{r: bytes.NewBuffer([]byte("hello"))},
    	}
    	for i, tt := range tests {
    		req, err := NewRequest("POST", "http://foo.tld/", tt.r)
    		if err != nil {
    			t.Errorf("test[%d]: %v", i, err)
    			continue
    		}
    		if req.Body == nil {
    			t.Errorf("test[%d]: Body = nil", i)
    			continue
    		}
    		if req.GetBody == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top