- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 158 for VALUE1 (0.19 sec)
-
src/mime/multipart/multipart_test.go
// Part1 part, err := reader.NextPart() if part == nil || err != nil { t.Error("Expected part1") return } if x := part.Header.Get("Header1"); x != "value1" { t.Errorf("part.Header.Get(%q) = %q, want %q", "Header1", x, "value1") } if x := part.Header.Get("foo-bar"); x != "baz" { t.Errorf("part.Header.Get(%q) = %q, want %q", "foo-bar", x, "baz") } if x := part.Header.Get("Foo-Bar"); x != "baz" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:36:47 UTC 2022 - 30.4K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
_, err = bindingStorage.Create(ctx, "foo", &api.Binding{ ObjectMeta: metav1.ObjectMeta{ Namespace: metav1.NamespaceDefault, Name: "foo", Annotations: map[string]string{"label1": "value1"}, }, Target: api.ObjectReference{Name: "machine"}, }, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}) if err != nil { t.Fatalf("unexpected error: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_conversion_test.go
ObjectMeta: metav1.ObjectMeta{ Name: "name", Namespace: "namespace", }, Spec: testapigroupv1.CarpSpec{ RestartPolicy: "restart", NodeSelector: map[string]string{ "label1": "value1", "label2": "value2", }, ServiceAccountName: "service-account", HostNetwork: false, HostPID: true, Subdomain: "hostname.subdomain.namespace.svc.domain", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 07 15:19:26 UTC 2020 - 16.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
} public void testNewIdentityHashSet() { Set<Integer> set = Sets.newIdentityHashSet(); Integer value1 = new Integer(12357); Integer value2 = new Integer(12357); assertTrue(set.add(value1)); assertFalse(set.contains(value2)); assertTrue(set.contains(value1)); assertTrue(set.add(value2)); assertEquals(2, set.size()); } @J2ktIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 49.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/DisambiguateArtifactTransformIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 16.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy
""" when: configurationCacheRun("-Dsome.property=1", "-Dmy.property=value") then: configurationCache.assertStateStored() outputContains("result = value1") problems.assertResultHasProblems(result) { withInput("Build file 'build.gradle': system property 'some.property'") withInput("Build file 'build.gradle': value from custom source 'MySource'")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.6K bytes - Viewed (0) -
src/encoding/json/bench_test.go
if err := Unmarshal(data, &x); err != nil { b.Fatalf("Unmarshal error: %v", err) } } }) } func BenchmarkUnmarshalMap(b *testing.B) { b.ReportAllocs() data := []byte(`{"key1":"value1","key2":"value2","key3":"value3"}`) b.RunParallel(func(pb *testing.PB) { x := make(map[string]string, 3) for pb.Next() { if err := Unmarshal(data, &x); err != nil { b.Fatalf("Unmarshal error: %v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:00:17 UTC 2024 - 12.5K bytes - Viewed (0) -
src/net/http/request_test.go
"name": []string{"gopher"}, "skill": []string{"go-ing"}, "field1": []string{"value1"}, "field2": []string{"initial-value2", "value2"}, } if !reflect.DeepEqual(req.Form, wantForm) { t.Fatalf("req.Form = %v, want %v", req.Form, wantForm) } wantPostForm := url.Values{ "field1": []string{"value1"}, "field2": []string{"value2"}, } if !reflect.DeepEqual(req.PostForm, wantPostForm) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
operator/pkg/object/objects_test.go
} } } } }) } } func TestK8sObject_Equal(t *testing.T) { obj1 := K8sObject{ object: &unstructured.Unstructured{Object: map[string]any{ "key": "value1", }}, } obj2 := K8sObject{ object: &unstructured.Unstructured{Object: map[string]any{ "key": "value2", }}, } cases := []struct { desc string o1 *K8sObject
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 21 07:16:46 UTC 2023 - 18.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
assertThat(filesystem.exists(cacheDir / "dir1")).isFalse() } private operator fun set( key: String, value0: String, value1: String, ) { val editor = cache.edit(key)!! editor.setString(0, value0) editor.setString(1, value1) editor.commit() } private fun assertAbsent(key: String) { val snapshot = cache[key] if (snapshot != null) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0)