Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 166 for wildcards (0.13 sec)

  1. src/cmd/gofmt/doc.go

    The rewrite rule specified with the -r flag must be a string of the form:
    
    	pattern -> replacement
    
    Both pattern and replacement must be valid Go expressions.
    In the pattern, single-character lowercase identifiers serve as
    wildcards matching arbitrary sub-expressions; those expressions
    will be substituted for the same identifiers in the replacement.
    
    When gofmt reads from standard input, it accepts either a full Go program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. src/net/http/routing_index_test.go

    }
    
    // generatePatterns generates all possible patterns using a representative
    // sample of parts.
    func generatePatterns() []*pattern {
    	var pats []*pattern
    
    	collect := func(s string) {
    		// Replace duplicate wildcards with unique ones.
    		var b strings.Builder
    		wc := 0
    		for {
    			i := strings.Index(s, "{x}")
    			if i < 0 {
    				b.WriteString(s)
    				break
    			}
    			b.WriteString(s[:i])
    			fmt.Fprintf(&b, "{x%d}", wc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/cors.md

    To achieve this, the backend must have a list of "allowed origins".
    
    In this case, it would have to include `http://localhost:8080` for the frontend to work correctly.
    
    ## Wildcards
    
    It's also possible to declare the list as `"*"` (a "wildcard") to say that all are allowed.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 20:28:37 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. pkg/config/host/names_test.go

    		{
    			host.Names{"b", "a", "aa"},
    			host.Names{"aa", "a", "b"},
    		},
    		{
    			host.Names{"foo.com", "bar.com", "foo.bar.com"},
    			host.Names{"foo.bar.com", "bar.com", "foo.com"},
    		},
    		// We sort wildcards last, always
    		{
    			host.Names{"a", "*", "z"},
    			host.Names{"a", "z", "*"},
    		},
    		{
    			host.Names{"foo.com", "bar.com", "*.com"},
    			host.Names{"bar.com", "foo.com", "*.com"},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 10:35:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/IdeaPluginTest.groovy

            then:
            project.tasks.openIdea != null
        }
    
        def "configures idea project"() {
            when:
            applyPluginToProjects()
    
            then:
            project.idea.project.wildcards == ['!?*.java', '!?*.groovy', '!?*.class', '!?*.scala'] as Set
            project.idea.project.languageLevel.level ==  new IdeaLanguageLevel(JavaVersion.VERSION_1_6).level
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates_test.go

    					},
    				},
    			},
    			expected: map[string]int{
    				"a": 0, "b": 1,
    				"a.test.com": 0, "b.test.com": 1,
    				"test.com": 0,
    			},
    		},
    		{
    			// wildcards
    			certs: []namedtestCertSpec{
    				{
    					testCertSpec: testCertSpec{
    						host:  "a",
    						names: []string{"a.test.com", "test.com"},
    					},
    					explicitNames: []string{"*.test.com", "test.com"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 8K bytes
    - Viewed (0)
  7. tools/bug-report/pkg/config/config.go

    			return nil, fmt.Errorf("bad label/annotation selection %s, must have format key=value", ss)
    		}
    		if strings.Contains(kv[0], "*") {
    			return nil, fmt.Errorf("bad label/annotation selection %s, key cannot have '*' wildcards", ss)
    		}
    		out[kv[0]] = kv[1]
    	}
    	return out, nil
    }
    
    func (s *SelectionSpec) UnmarshalJSON(b []byte) error {
    	ft := []ResourceType{Namespace, Deployment, Pod, Label, Annotation, Container}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. okhttp-tls/README.md

    By default server certificates need to identify which hostnames they're trusted for. You may add as
    many as necessary with `addSubjectAlternativeName()`. This mechanism also supports a very limited
    form of wildcards `*.example.com` where the `*` must be first and doesn't match nested subdomains.
    
    By default certificates use fast and secure 256-bit ECDSA keys. For interoperability with very old
    clients use `HeldCertificate.Builder.rsa2048()`.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. pkg/credentialprovider/keyring.go

    // glob wild cards in the host name.
    //
    // Examples:
    //
    //	globURL=*.docker.io, targetURL=blah.docker.io => match
    //	globURL=*.docker.io, targetURL=not.right.io   => no match
    //
    // Note that we don't support wildcards in ports and paths yet.
    func URLsMatch(globURL *url.URL, targetURL *url.URL) (bool, error) {
    	globURLParts, globPort := SplitURL(globURL)
    	targetURLParts, targetPort := SplitURL(targetURL)
    	if globPort != targetPort {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    # 'go install pkg@version' should report an error if an argument is not
    # a main package.
    ! go install example.com/cmd/a@v1.0.0 example.com/cmd/err@v1.0.0
    stderr '^package example.com/cmd/err is not a main package$'
    
    # Wildcards should match only main packages. This module has a non-main package
    # with an error, so we'll know if that gets built.
    mkdir tmp
    cd tmp
    go mod init m
    go get example.com/cmd@v1.0.0
    ! go build example.com/cmd/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top