Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for 114514 (0.21 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. src/image/ycbcr_test.go

    	"image/color"
    	"testing"
    )
    
    func TestYCbCr(t *testing.T) {
    	rects := []Rectangle{
    		Rect(0, 0, 16, 16),
    		Rect(1, 0, 16, 16),
    		Rect(0, 1, 16, 16),
    		Rect(1, 1, 16, 16),
    		Rect(1, 1, 15, 16),
    		Rect(1, 1, 16, 15),
    		Rect(1, 1, 15, 15),
    		Rect(2, 3, 14, 15),
    		Rect(7, 0, 7, 16),
    		Rect(0, 8, 16, 8),
    		Rect(0, 0, 10, 11),
    		Rect(5, 6, 16, 16),
    		Rect(7, 7, 8, 8),
    		Rect(7, 8, 8, 9),
    		Rect(8, 7, 9, 8),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 26 00:14:16 UTC 2015
    - 3.3K bytes
    - Viewed (0)
  8. src/runtime/sigtab_aix.go

    	110:         {_SigNotify, "signal 110"},
    	111:         {_SigNotify, "signal 111"},
    	112:         {_SigNotify, "signal 112"},
    	113:         {_SigNotify, "signal 113"},
    	114:         {_SigNotify, "signal 114"},
    	115:         {_SigNotify, "signal 115"},
    	116:         {_SigNotify, "signal 116"},
    	117:         {_SigNotify, "signal 117"},
    	118:         {_SigNotify, "signal 118"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 20:58:16 UTC 2018
    - 11.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top