Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 461 for wildCards (0.14 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. staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation.go

    		}
    
    		if url != "" && strings.ContainsRune(url[:len(url)-1], '*') {
    			allErrs = append(allErrs, field.Invalid(fldPath.Index(i), url, "non-resource URL wildcards '*' must be the final character of the rule"))
    		}
    	}
    	return allErrs
    }
    
    func validateResources(groupResources []audit.GroupResources, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 15 14:13:07 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tests/testdata/config/se-example.yaml

    ---
    #The following example demonstrates the use of wildcards in the hosts for
    #external services. If the connection has to be routed to the IP address
    #requested by the application (i.e. application resolves DNS and attempts
    #to connect to a specific IP), the discovery mode must be set to `NONE`.
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: external-svc-wildcard-example
      namespace: seexamples
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jun 27 15:20:03 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_outside.txt

    ! stdout 'example.com/version'
    
    # 'go list -m' with wildcards should fail. Wildcards match modules in the
    # build list, so they aren't meaningful outside a module.
    ! go list -m ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 15:34:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top