Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 288 for valuea (0.18 sec)

  1. test/typeparam/issue50419.go

    )
    
    func main() {
    	foo := &Foo[string, int]{
    		valueA: "i am a string",
    		valueB: 123,
    	}
    	if got, want := fmt.Sprintln(foo), "i am a string 123\n"; got != want {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    }
    
    type Foo[T1 any, T2 any] struct {
    	valueA T1
    	valueB T2
    }
    
    func (f *Foo[_, _]) String() string {
    	return fmt.Sprintf("%v %v", f.valueA, f.valueB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 689 bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/AmountTest.groovy

        def "can add amounts with different units of same quantity"() {
            def sum = Amount.valueOf(valueA, unitsA) + Amount.valueOf(valueB, unitsB)
            expect:
            sum == Amount.valueOf(valueC, unitsC)
            sum.toString() == Amount.valueOf(valueC, unitsC).toString()
    
            where:
            valueA | unitsA        | valueB | unitsB        | valueC  | unitsC
            0      | Fruit.apples  | 0      | Fruit.oranges | 0       | Fruit.apples
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. test/typeparam/issue50481b.dir/b.go

    // license that can be found in the LICENSE file.
    
    package b
    
    import "fmt"
    
    type Foo[T1 ~string, T2 ~int] struct {
    	ValueA T1
    	ValueB T2
    }
    
    func (f *Foo[_, _]) String() string {
    	return fmt.Sprintf("%v %v", f.ValueA, f.ValueB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 21 00:39:55 UTC 2022
    - 338 bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/integTest/resources/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest/sortsOptionsInAlphabeticOrder/build.gradle

        @TaskAction
        void doSomething() {
        }
    
        @Option(option = "valueB", description = "descB")
        public void setValueB(boolean value) {
        }
    
        @Option(option = "valueA", description = "descA")
        public void setValueA(boolean value) {
        }
    
        @Option(option = "valueC", description = "descC")
        public void setValueC(boolean value) {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:17:44 UTC 2018
    - 475 bytes
    - Viewed (0)
  5. test/typeparam/issue50481b.dir/main.go

    // a generic type that has multiple blank type params.
    
    package main
    
    import (
    	"./b"
    	"fmt"
    )
    
    func main() {
    	foo := &b.Foo[string, int]{
    		ValueA: "i am a string",
    		ValueB: 123,
    	}
    	if got, want := fmt.Sprintln(foo), "i am a string 123\n"; got != want {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 559 bytes
    - Viewed (0)
  6. tests/common/jwt/jwt_token_test.go

    		},
    		{
    			name:  "TokenIssuer1NestedClaims1",
    			token: TokenIssuer1WithNestedClaims1,
    			wantClaims: map[string]any{
    				"nested": map[string]any{
    					"key1": []any{"valueA", "valueB"},
    					"nested-2": map[string]any{
    						"key1": []any{"valueA", "valueB"},
    					},
    				},
    				"iss": "******@****.***",
    				"sub": "sub-1",
    				"exp": 4757607896.0,
    			},
    		},
    		{
    			name:  "TokenIssuer1NestedClaims2",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. tests/common/jwt/jwt_token.go

    	// Payload {
    	//  "exp": 4757607896,
    	//  "iat": 1604007896,
    	//  "iss": "******@****.***",
    	//  "nested": {
    	//    "key1": [
    	//      "valueA",
    	//      "valueB"
    	//    ],
    	//    "nested-2": {
    	//      "key1": [
    	//        "valueA",
    	//        "valueB"
    	//      ]
    	//    }
    	//  },
    	//  "sub": "sub-1"
    	// }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

            then:
            output.contains """
    Options
         --valueA     descA
    
         --no-valueA     Disables option --valueA.
    
         --valueB     descB
    
         --no-valueB     Disables option --valueB.
    
         --valueC     descC
    
         --no-valueC     Disables option --valueC."""
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. tests/integration/security/testdata/authz/jwt.yaml.tmpl

          values: ["valueB"]
      - to:
        - operation:
            paths: ["/nested-non-exist"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][non-exist]
          values: ["valueC"]
      - to:
        - operation:
            paths: ["/nested-key2"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][key2]
          values: ["valueC"]
      - to:
        - operation:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. tests/integration/pilot/common/routing.go

          context: SIDECAR_OUTBOUND
        patch:
          operation: MERGE
          value:
            request_headers_to_add:
            - header:
                key: x-vhost-outbound
                value: "hello world"
      - applyTo: CLUSTER
        match:
          context: SIDECAR_OUTBOUND
          cluster: {}
        patch:
          operation: MERGE
          value:
            http2_protocol_options: {}
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top