- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 158 for VALUE1 (0.17 sec)
-
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultInternalOptionsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2.1K bytes - Viewed (0) -
src/regexp/example_test.go
result = pattern.Expand(result, template, content, submatches) } fmt.Println(string(result)) // 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.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:22:53 UTC 2023 - 11.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go
RootObject: mustUnstructured(` foo: - key: key1 bar: value1 - key: key2 bar: value2 `), RootOldObject: mustUnstructured(` foo: - key: key1 bar: value1 - key: key2 bar: value2 `), KeyPath: []interface{}{"foo"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 21:36:46 UTC 2023 - 21.1K bytes - Viewed (0) -
src/runtime/pprof/runtime_test.go
t.Errorf("Expected parent goroutine's profile labels to be empty before Do, got %v", gotLabels) } Do(context.Background(), Labels("key1", "value1", "key2", "value2"), func(ctx context.Context) { wantLabels := map[string]string{"key1": "value1", "key2": "value2"} if gotLabels := getProfLabel(); !reflect.DeepEqual(gotLabels, wantLabels) { t.Errorf("parent goroutine's profile labels: got %v, want %v", gotLabels, wantLabels)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 20:29:37 UTC 2017 - 3K bytes - Viewed (0) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskConfigurerSpec.groovy
then: task.someFlag } def "configures enum option"() { when: configurer.configureTasks([task], ['--someEnum', "value1"]) then: task.anEnum == TestEnum.value1 when: configurer.configureTasks([task], ['--someEnum', "unsupportedEnumValue"]) then: def e = thrown(TaskConfigurationException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 09 09:06:36 UTC 2020 - 6.9K bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy
def value1 = flavor('value') def value2 = flavor('otherValue') expect: schema.matcher().selectionSchema.matchValue(attr, value1, value2) !schema.matcher().selectionSchema.matchValue(attr, value2, value1) schema.matcher().isMatching(attr, value2, value1) !schema.matcher().isMatching(attr, value1, value2) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 16.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; public class StreamUtilTest extends TestCase { public void test_ofValues() { String[] values = { "value1", "value2" }; StreamUtil.stream(values[0], values[1]).of(s -> { Object[] array = s.toArray(); for (int i = 0; i < 2; i++) { assertEquals(values[i], array[i]); }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0)