Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 212 for Example (0.26 sec)

  1. src/cmd/go/internal/test/test.go

    where xxx is a suffix not beginning with an upper case letter.
    
    Here is an example of an example:
    
    	func ExamplePrintln() {
    		Println("The output of\nthis example.")
    		// Output: The output of
    		// this example.
    	}
    
    Here is another example where the ordering of the output is ignored:
    
    	func ExamplePerm() {
    		for _, value := range Perm(4) {
    			fmt.Println(value)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modget/get.go

    		// for this path.
    		//
    		// For example, consider the command
    		//
    		// 	go get example.com/foo@latest example.com/foo/bar/baz@latest
    		//
    		// If modules example.com/foo and example.com/foo/bar both provide
    		// package example.com/foo/bar/baz, then we *must* resolve the package
    		// from example.com/foo: if we instead resolved it from
    		// example.com/foo/bar, we would have two copies of the package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar_test.go

    			},
    			Spec: &networking.VirtualService{
    				Hosts: []string{"*.bar.example.com"},
    			},
    		},
    	}
    
    	services := []*Service{
    		{
    			Hostname: "foo.example.com",
    		},
    		{
    			Hostname: "baz.example.com",
    		},
    		{
    			Hostname: "qux.bar.example.com",
    		},
    		{
    			Hostname: "*.bar.example.com",
    		},
    	}
    
    	tests := []struct {
    		name            string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    				Extra: []api.ExtraMapping{
    					{Key: "example.org/foo", ValueExpression: "claims.extra"},
    					{Key: "example.org/foo", ValueExpression: "claims.extras"},
    				},
    			},
    			structuredAuthnFeatureEnabled: true,
    			want:                          `issuer.claimMappings.extra[1].key: Duplicate value: "example.org/foo"`,
    		},
    		{
    			name: "extra mapping key is not domain prefix path",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	// - validationActions: The enforcement actions enacted for the validation failure
    	// Example audit annotation:
    	// `"validation.policy.admission.k8s.io/validation_failure": "[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]"`
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// - validationActions: The enforcement actions enacted for the validation failure
    	// Example audit annotation:
    	// `"validation.policy.admission.k8s.io/validation_failure": "[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]"`
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    .Filtering tests in the build script
    ====
    include::sample[dir="snippets/testing/filtering/kotlin",files="build.gradle.kts[tags=test-filtering]"]
    include::sample[dir="snippets/testing/filtering/groovy",files="build.gradle[tags=test-filtering]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  8. src/testing/testing.go

    //	    // 3
    //	    // 0
    //	}
    //
    // Example functions without output comments are compiled but not executed.
    //
    // The naming convention to declare examples for the package, a function F, a type T and
    // method M on type T are:
    //
    //	func Example() { ... }
    //	func ExampleF() { ... }
    //	func ExampleT() { ... }
    //	func ExampleT_M() { ... }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. pilot/pkg/model/virtualservice_test.go

    			Namespace:        "default",
    		},
    		Spec: &networking.VirtualService{
    			Hosts:    []string{"example.org"},
    			Gateways: []string{"gateway"},
    			Http: []*networking.HTTPRoute{
    				{
    					Route: []*networking.HTTPRouteDestination{
    						{
    							Destination: &networking.Destination{
    								Host: "example.org",
    								Port: &networking.PortSelector{
    									Number: 80,
    								},
    							},
    						},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    		Obj()
    }
    
    // claimWithCRD replaces the in-tree group with "example.com".
    func claimWithCRD(claim *resourcev1alpha2.ResourceClaim) *resourcev1alpha2.ResourceClaim {
    	claim = claim.DeepCopy()
    	claim.Spec.ParametersRef.APIGroup = "example.com"
    	return claim
    }
    
    // classWithCRD replaces the in-tree group with "example.com".
    func classWithCRD(class *resourcev1alpha2.ResourceClass) *resourcev1alpha2.ResourceClass {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
Back to top