Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for 114514 (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go

    			p, err := env.Program(ast)
    			if err != nil {
    				t.Fatal(err)
    			}
    			ret, _, err := p.Eval(&simpleActivation{
    				foo: map[string]any{"foo": "value", "common": 1, "confusion": "114514"},
    				bar: map[string]any{"bar": "value", "common": 2, "confusion": 114514},
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    			if ret.Type() != types.BoolType {
    				t.Errorf("bad result type: %v", ret.Type())
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go

    	for _, tc := range []struct {
    		name          string
    		expression    string
    		expectedValue any
    	}{
    		{
    			name:          "not an object",
    			expression:    `string(114514)`,
    			expectedValue: "114514",
    		},
    		{
    			name:          "empty",
    			expression:    "Object{}",
    			expectedValue: map[string]any{},
    		},
    		{
    			name:       "Object.spec",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider_test.go

    	for _, tc := range []struct {
    		name          string
    		expression    string
    		expectedValue any
    	}{
    		{
    			name:          "not an object",
    			expression:    `2 * 31 * 1847`,
    			expectedValue: int64(114514), // type resolver should not interfere.
    		},
    		{
    			name:          "empty",
    			expression:    "Object{}",
    			expectedValue: map[string]any{},
    		},
    		{
    			name:          "Object.spec",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go

    				&testVariable{
    					name:       "count",
    					expression: "object.subsets[114514].addresses.size()", // array index out of bound
    				},
    			},
    			attributes:           endpointCreateAttributes(),
    			expression:           "variables.count == 810",
    			expectErr:            true,
    			expectedErrorMessage: `composited variable "count" fails to evaluate: index out of bounds: 114514`,
    		},
    		{
    			name: "out of budget during lazy evaluation",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    					},
    				},
    			},
    		}},
    	}}
    
    	deploymentPolicyWithBadMessageExpression := deploymentPolicy.DeepCopy()
    	deploymentPolicyWithBadMessageExpression.Spec.Validations[0].MessageExpression = "object.foo + 114514" // confusion
    
    	multiExpressionPolicy := &v1.ValidatingAdmissionPolicy{Spec: v1.ValidatingAdmissionPolicySpec{
    		Validations: []v1.Validation{
    			{
    				Expression: "object.foo == 'bar'",
    			},
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/validation/validation_test.go

    					{
    						Name:       "foo",
    						Expression: "114 + '514'", // compile error: type confusion
    					},
    				},
    				Validations: []admissionregistration.Validation{
    					{
    						Expression: "true",
    					},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/annotationWithEnumFromDuplicatedLibrary.descriptors.txt

    Diagnostics from elements:
      for PSI element of type KtConstructorCalleeExpression at (33,2-12)
        NO_VALUE_FOR_PARAMETER      text ranges: [(114,124)]
          PSI: KtConstructorCalleeExpression at (33,2-12)
      for PSI element of type KtNameReferenceExpression at (31,8-10)
        UNRESOLVED_REFERENCE      text ranges: [(93,95)]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Mar 18 21:14:36 UTC 2024
    - 375 bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/RejectedLanguageFeaturesParsingTest.kt

            val expected = """
                UnsupportedConstruct(
                    languageFeature = RenamingImport,
                    potentialElementSource = indexes: 0..13, line/column: 1/1..1/14, file: test,
                    erroneousSource = indexes: 9..13, line/column: 1/10..1/14, file: test
                )
                UnsupportedConstruct(
                    languageFeature = RenamingImport,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. pkg/util/filesystem/util_windows.go

    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/klog/v2"
    )
    
    const (
    	// Amount of time to wait between attempting to use a Unix domain socket.
    	// As detailed in https://github.com/kubernetes/kubernetes/issues/104584
    	// the first attempt will most likely fail, hence the need to retry
    	socketDialRetryPeriod = 1 * time.Second
    	// Overall timeout value to dial a Unix domain socket, including retries
    	socketDialTimeout = 4 * time.Second
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. pkg/util/filesystem/util_windows_test.go

    }
    
    // This is required as on Windows it's possible for the socket file backing a Unix domain socket to
    // exist but not be ready for socket communications yet as per
    // https://github.com/kubernetes/kubernetes/issues/104584
    func TestPendingUnixDomainSocket(t *testing.T) {
    	// Create a temporary file that will simulate the Unix domain socket file in a
    	// not-yet-ready state. We need this because the Kubelet keeps an eye on file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:10:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top