Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 251 for value_ (0.18 sec)

  1. pkg/volume/downwardapi/downwardapi_test.go

    		t.Skip("Skipping test that fails on Windows")
    	}
    
    	labels1 := map[string]string{
    		"key1": "value1",
    		"key2": "value2",
    	}
    	labels2 := map[string]string{
    		"key1": "value1",
    		"key2": "value2",
    		"key3": "value3",
    	}
    	annotations := map[string]string{
    		"a1":        "value1",
    		"a2":        "value2",
    		"multiline": "c\nb\na",
    	}
    	testCases := []struct {
    		name           string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2FilteringIntegrationTest.groovy

            then:
            failureCauseContains("No tests found for given includes: [SubClass.$testMethod](--tests filter)")
    
            where:
            testMethod << ["sub unrolled test param=value1", "super unrolled test param=value1", "super super unrolled test param=value1"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    				if s.Value[0] == 0 {
    					return nil, nil, fmt.Errorf("parsing sample %s: second value must be non-zero", line)
    				}
    				s.NumLabel = map[string][]int64{"bytes": {s.Value[1] / s.Value[0]}}
    				s.Value[0], s.Value[1] = scaleHeapSample(s.Value[0], s.Value[1], javaHeapzSamplingRate)
    			case "contention":
    				if period := p.Period; period != 0 {
    					s.Value[0] = s.Value[0] * p.Period
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/attributes_test.go

    	// test AddAnnotation
    	attr.AddAnnotation("foo.admission.k8s.io/key1", "value1")
    	attr.AddAnnotation("foo.admission.k8s.io/key2", "value2")
    	annotations := attr.getAnnotations(auditinternal.LevelMetadata)
    	assert.Equal(t, annotations["foo.admission.k8s.io/key1"], "value1")
    
    	// test overwrite
    	assert.Error(t, attr.AddAnnotation("foo.admission.k8s.io/key1", "value1-overwrite"),
    		"admission annotations should not be allowd to be overwritten")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 19:44:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

            """
    import java.io.Serializable;
    
    public class CustomType implements Serializable {
        public String value;
    
        public CustomType(String value) { this.value = value; }
    
        public boolean equals(Object o) {
            CustomType other = (CustomType)o;
            return other.value.startsWith(value) || value.startsWith(other.value);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

        }
    
        def "ant properties are available as properties of builder"() {
            when:
            ant.property(name: 'prop1', value: 'value1')
    
            then:
            ant.prop1 == 'value1'
    
            when:
            ant.prop2 = 'value2'
    
            then:
            ant.antProject.properties.prop2 == 'value2'
        }
    
        def "throws MissingPropertyException for unknown property"() {
            when:
            ant.unknown
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            schema.matcher().isMatching(attr, value2, value1)
            !schema.matcher().isMatching(attr, value1, value2)
        }
    
        static class IncompatibleStringsRule implements AttributeCompatibilityRule<String> {
            @Override
            void execute(CompatibilityCheckDetails<String> details) {
                details.incompatible()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

    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]);
                }
            });
        }
    
        public void test_ofNull() {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TaskBooleanOptionIntegrationTest.groovy

            given:
            file('buildSrc/src/main/java/SampleTask.java') << taskWithBooleanOptions()
            buildFile << sampleTask()
    
            when:
            run('sample', "--$option", "--no-$option")
    
            then:
            outputContains("Value of $option: $value1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top