Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 317 for goodvalue (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    		{"now.with.dots/simple": "bar"},
    		{"now-with.dashes-and.dots/simple": "bar"},
    		{"1-num.2-num/3-num": "bar"},
    		{"1234/5678": "bar"},
    		{"1.2.3.4/5678": "bar"},
    		{"UpperCaseAreOK123": "bar"},
    		{"goodvalue": "123_-.BaR"},
    	}
    	for i := range successCases {
    		errs := ValidateLabels(successCases[i], field.NewPath("field"))
    		if len(errs) != 0 {
    			t.Errorf("case[%d] expected success, got %#v", i, errs)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/validation/validation_test.go

    	"strings"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/util/validation/field"
    )
    
    func TestIsDNS1123Label(t *testing.T) {
    	goodValues := []string{
    		"a", "ab", "abc", "a1", "a-1", "a--1--2--b",
    		"0", "01", "012", "1a", "1-a", "1--a--b--2",
    		strings.Repeat("a", 63),
    	}
    	for _, val := range goodValues {
    		if msgs := IsDNS1123Label(val); len(msgs) != 0 {
    			t.Errorf("expected true for '%s': %v", val, msgs)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 04:51:54 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

            Object oldValue;
            synchronized (delegate) {
                oldValue = delegate.putIfAbsent(key, value);
            }
            reportAccess(key, oldValue);
            if (oldValue == null) {
                // Properties disallow null values, so it is safe to assume that the map was changed.
                reportChange(key, value);
            }
            return oldValue;
    
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

    		}
    		if !reflect.DeepEqual(correlatedObject.OldValue, c.OldValue) {
    			return fmt.Errorf("expected old value %v, got %v", c.OldValue, correlatedObject.OldValue)
    		}
    
    		// Check that the correlated object is considered equal to the expected value
    		if (c.ExpectEqual || reflect.DeepEqual(correlatedObject.Value, correlatedObject.OldValue)) != correlatedObject.CachedDeepEqual() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/ExtraPropertiesIntegrationTest.groovy

            expectedPropPerProject = [a: 'rootValue', b: 'rootValue', 'a:a1': 'rootValue'] + expectedPropPerProject
            def root = multiProjectBuild('extra-properties', ['a', 'b']) {
                createDirs("a", "a/a1")
                settingsFile << "include ':a:a1'"
    
                buildFile << """
                    ext.testProp = 'rootValue'
    
                    task checkTestProp {
                        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pkg/proto/types.go

    package proto
    
    import (
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    )
    
    var (
    	// BoolTrue is a bool true pointer of types.BoolValue.
    	BoolTrue = &wrappers.BoolValue{
    		Value: true,
    	}
    
    	// BoolFalse is a bool false pointer of types.BoolValue.
    	BoolFalse = &wrappers.BoolValue{
    		Value: false,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 19 21:53:59 UTC 2021
    - 902 bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                          case 6:
                            long oldValue = map.put(key, delta);
                            threadSum += delta - oldValue;
                            break;
                          case 7:
                            oldValue = map.get(key);
                            if (map.replace(key, oldValue, delta)) {
                              threadSum += delta - oldValue;
                            }
                            break;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfoTest.groovy

            expect:
            extraInfo.get('foo') == 'fooValue'
            extraInfo.get('goo') == null
        }
    
        def "throws exception when name matches multiple keys" () {
            given:
            def extraInfo = new DefaultIvyExtraInfo([
                    (new NamespaceId('http://my.extra.info', 'foo')): 'fooValue',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/testdata/none_lds_http.json

                                "dns": {
                                  "Kind": {
                                    "BoolValue": true
                                  }
                                },
                                "subject": {
                                  "Kind": {
                                    "BoolValue": true
                                  }
                                },
                                "uri": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 13 02:10:15 UTC 2021
    - 32.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            when:
            def result = getMapUnderTestToWrite().put(key, newValue)
    
            then:
            result == oldValue
            1 * onAccess.accept(key, oldValue)
            then:
            1 * onChange.accept(key, newValue)
    
            where:
            key          | oldValue        | newValue
            'existing'   | 'existingValue' | 'changed'
            'missingKey' | null            | 'changed'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
Back to top