Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 114514 (0.16 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/JavaVersion.java

         * @since 4.7
         */
        VERSION_HIGHER;
        // Since Java 9, version should be X instead of 1.X
        private static final int FIRST_MAJOR_VERSION_ORDINAL = 9 - 1;
        // Class file versions: 1.1 == 45, 1.2 == 46...
        private static final int CLASS_MAJOR_VERSION_OFFSET = 44;
        private static JavaVersion currentJavaVersion;
        private final String versionName;
    
        JavaVersion() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/net/resolverdialfunc_test.go

    			HandleA: func(w AWriter, name string) error {
    				w.AddIP([4]byte{1, 2, 3, 4})
    				w.AddIP([4]byte{5, 6, 7, 8})
    				return nil
    			},
    			HandleAAAA: func(w AAAAWriter, name string) error {
    				w.AddIP([16]byte{1: 1, 15: 15})
    				w.AddIP([16]byte{2: 2, 14: 14})
    				return nil
    			},
    			HandleSRV: func(w SRVWriter, name string) error {
    				w.AddSRV(1, 2, 80, "foo.bar.")
    				w.AddSRV(2, 3, 81, "bar.baz.")
    				return nil
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top