Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 269 for value1b (0.17 sec)

  1. okhttp/src/test/java/okhttp3/HeadersTest.kt

          headersOf("header1", "valué1")
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Unexpected char 0xe9 at 4 in header1 value: valué1")
        }
      }
    
      @Test fun mapFactoryRejectsUnicodeInHeaderName() {
        assertFailsWith<IllegalArgumentException> {
          mapOf("héader1" to "value1").toHeaders()
        }.also { expected ->
          assertThat(expected.message)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                    prop = ['key1': 'value1']
                    prop.put('key2', 'value2')
                    prop.put('key3', project.provider { 'value3' })
                    prop.putAll(['key4': 'value4'])
                    prop.putAll(project.provider { ['key5': 'value5'] })
                    expected = ['key1': 'value1', 'key2': 'value2', 'key3': 'value3', 'key4': 'value4', 'key5': 'value5']
                }
                '''.stripIndent()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultInternalOptionsTest.groovy

            value2.explicit
    
            def value3 = options.getOption(new InternalFlag("prop3", true))
            !value3.get()
            value3.explicit
    
            def value4 = options.getOption(new InternalFlag("prop4", false))
            value4.get()
            value4.explicit
        }
    
        def "uses default for boolean option when system property is not set"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

    			return fmt.Errorf("expected non-nil value, got nil")
    		}
    	} else {
    		// Check that the correlated object has the expected values
    		if !reflect.DeepEqual(correlatedObject.Value, c.NewValue) {
    			return fmt.Errorf("expected value %v, got %v", c.NewValue, correlatedObject.Value)
    		}
    		if !reflect.DeepEqual(correlatedObject.OldValue, c.OldValue) {
    			return fmt.Errorf("expected old value %v, got %v", c.OldValue, correlatedObject.OldValue)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            properties.setProperty("prop1", "value1")
            properties.setProperty("prop2", "value2")
            configurationCacheRoundtripOf(properties).run {
                assertThat(properties, equalTo(this))
            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            "java.util.Collection<String>"        | "['value1', 'value2']"                                | "['value1'] as SortedSet"                                    | null
            "java.util.Set<String>"               | "['value1', 'value2'] as Set"                         | "['value1'] as Set"                                          | null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/webhook_server.go

    		w.Header().Set("Content-Type", "application/json")
    		json.NewEncoder(w).Encode(&v1beta1.AdmissionReview{
    			Response: &v1beta1.AdmissionResponse{
    				Allowed: true,
    				AuditAnnotations: map[string]string{
    					"key1": "value1",
    				},
    			},
    		})
    	case "/removeLabel":
    		w.Header().Set("Content-Type", "application/json")
    		pt := v1beta1.PatchTypeJSONPatch
    		json.NewEncoder(w).Encode(&v1beta1.AdmissionReview{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 15 11:11:25 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  9. src/go/constant/value.go

    //go:generate stringer -type Kind
    
    // Kind specifies the kind of value represented by a [Value].
    type Kind int
    
    const (
    	// unknown values
    	Unknown Kind = iota
    
    	// non-numeric values
    	Bool
    	String
    
    	// numeric values
    	Int
    	Float
    	Complex
    )
    
    // A Value represents the value of a Go constant.
    type Value interface {
    	// Kind returns the value kind.
    	Kind() Kind
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  10. src/internal/trace/value.go

    package trace
    
    import "fmt"
    
    // Value is a dynamically-typed value obtained from a trace.
    type Value struct {
    	kind   ValueKind
    	scalar uint64
    }
    
    // ValueKind is the type of a dynamically-typed value from a trace.
    type ValueKind uint8
    
    const (
    	ValueBad ValueKind = iota
    	ValueUint64
    )
    
    // Kind returns the ValueKind of the value.
    //
    // It represents the underlying structure of the value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top