Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 310 for value6 (0.19 sec)

  1. src/regexp/example_test.go

    	// Output:
    	// option1=value1
    	// option2=value2
    	// option3=value3
    }
    
    func ExampleRegexp_ExpandString() {
    	content := `
    	# comment line
    	option1: value1
    	option2: value2
    
    	# another comment line
    	option3: value3
    `
    
    	// Regex pattern captures "key: value" pair from the content.
    	pattern := regexp.MustCompile(`(?m)(?P<key>\w+):\s+(?P<value>\w+)$`)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:22:53 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. testing/internal-testing/src/test/groovy/org/gradle/test/precondition/PredicateFileTest.groovy

            value << ["value1", "value2"]
        }
    
        def "accept multiple values"() {
            when:
            checkValidCombinations(combination)
    
            then:
            noExceptionThrown()
    
            where:
            combination << [["value2", "value3"], ["value3", "value2"]]
        }
    
        def "throws exception when single value not found"() {
            when:
            checkValidCombinations(["nonexistent"])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    							"array": []interface{}{"value1", "value2", "value3", "value4"},
    						}}},
    
    				applyPatchOperation{
    					"make array valid",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"array": []interface{}{"value1", "value2", "value3", "4", "5", "6", "7", "8", "9", "10"},
    					}},
    				expectError{
    					applyPatchOperation{
    						"revert to original value",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  5. security/tools/jwt/samples/gen-jwt.py

            help="A list claim in format key1 value2 value3... Only string values are supported. Multiple list claims can be specified, e.g., -listclaim key1 val2 val3 -listclaim key2 val3 val4.")
        parser.add_argument(
            "-nestedclaim",
            "--nestedclaim",
            action='append',
            nargs='+',
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/value/transformer_test.go

    	transformers := []PrefixTransformer{
    		{Prefix: []byte("first:"), Transformer: &testTransformer{from: []byte("value1")}},
    		{Prefix: []byte("second:"), Transformer: &testTransformer{from: []byte("value2")}},
    		{Prefix: []byte("fails:"), Transformer: &testTransformer{err: transformErr}},
    		{Prefix: []byte("stale:"), Transformer: &testTransformer{from: []byte("value3"), stale: true}},
    	}
    	p := NewPrefixTransformers(testErr, transformers...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            if (OperatingSystem.current().windows) {
                builder.environment('APPLICATION_OPTS', '-DtestValue=value -DtestValue2="some value" -DtestValue3="some value"')
            } else {
                builder.environment('APPLICATION_OPTS', '-DtestValue=value -DtestValue2=\'some value\' -DtestValue3=some\\ value')
            }
    
            def result = builder.run()
    
            then:
            result.assertNormalExitValue()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. operator/pkg/name/name_test.go

    		want2 string
    	}{
    		{
    			name: "consolidate from manifest map",
    			mm: ManifestMap{
    				"key1": []string{"value1", "value2"},
    				"key2": []string{"value2", "value3"},
    			},
    			want1: "value1\n---\nvalue2\n---\nvalue2\n---\nvalue3\n---\n",
    			want2: "value2\n---\nvalue3\n---\nvalue1\n---\nvalue2\n---\n",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got := tt.mm.String()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 05 14:08:11 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultCompatibilityRuleChainTest.groovy

            given:
            details.consumerValue >> "value1"
            details.producerValue >> "value2"
            ruleChain.add(BrokenRule)
    
            when:
            ruleChain.execute(details)
    
            then:
            def e = thrown(AttributeMatchException)
            e.message == 'Could not determine whether value value2 is compatible with value value1 using DefaultCompatibilityRuleChainTest.BrokenRule.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

        def value
    
        TestDomainObject(String value) {
            this.value = value
        }
    
        @Override
        boolean equals(Object o) {
            return o.value == value
        }
    
        @Override
        int hashCode() {
            return value.hashCode()
        }
    
        void attach(ClassMetaDataRepository<TestDomainObject> repository) {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top