Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for 123_ (0.14 sec)

  1. src/cmd/asm/internal/lex/lex_test.go

    		lines(
    			"#define A",
    			"#ifdef A",
    			"#define B 1234",
    			"#endif",
    			"B",
    		),
    		"1234.\n",
    	},
    	{
    		"not taken #ifdef",
    		lines(
    			"#ifdef A",
    			"#define B 1234",
    			"#endif",
    			"B",
    		),
    		"B.\n",
    	},
    	{
    		"taken #ifdef with else",
    		lines(
    			"#define A",
    			"#ifdef A",
    			"#define B 1234",
    			"#else",
    			"#define B 5678",
    			"#endif",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Mixed Duplicates",
    			args: args{ports: []string{"1234", "2345", "1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Empty",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. istioctl/pkg/dashboard/dashboard.go

    		CommandExample: `  # Open Envoy dashboard for the productpage-123-456.default pod
      istioctl dashboard envoy productpage-123-456.default
    
      # Open Envoy dashboard for one pod under a deployment
      istioctl dashboard envoy deployment/productpage-v1
    
      # with short syntax
      istioctl dash envoy productpage-123-456.default
      istioctl d envoy productpage-123-456.default
    `,
    	})
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  4. cmd/post-policy_test.go

    	// Add the credential string, only accept the credential passed.
    	credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential)
    	// Add the meta-uuid string, set to 1234
    	uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234")
    
    	// Combine all conditions into one string.
    	conditionStr := fmt.Sprintf(`"conditions":[%s, %s, %s, %s, %s, %s, %s]`, bucketConditionStr,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net_test.go

    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: "bar",
    			UID:       "123",
    		},
    		Spec: corev1.PodSpec{ServiceAccountName: "sa"},
    	}
    
    	// this is usually called after add. so manually add the pod uid for now
    	fakens := newFakeNs(123)
    	closed := fakens.closed
    	workload := WorkloadInfo{
    		Workload: podToWorkload(pod),
    		Netns:    fakens,
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers_test.go

    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    			UID:       "1234",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    		wantErr: ErrHeader,
    	}, {
    		input:    makeInput(FormatGNU, "1234", "fewa"),
    		wantSize: 01234,
    		wantErr:  ErrHeader,
    	}, {
    		input:    makeInput(FormatGNU, "0031"),
    		wantSize: 031,
    	}, {
    		input:   makeInput(FormatGNU, "80"),
    		wantErr: ErrHeader,
    	}, {
    		input: makeInput(FormatGNU, "1234",
    			makeSparseStrings(sparseDatas{{0, 0}, {1, 1}})...),
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/pod_cache_test.go

    func TestPodsAppearsWithNilNetnsWhenEnsureIsUsed(t *testing.T) {
    	p := newPodNetnsCache(openNsTestOverride)
    
    	p.Ensure("123")
    
    	found := false
    	snap := p.ReadCurrentPodSnapshot()
    	for k, v := range snap {
    		if k == "123" && v == (WorkloadInfo{}) {
    			found = true
    		}
    	}
    	if !found {
    		t.Fatalf("expected pod 123 to be in the cache")
    	}
    }
    
    func TestUpsertPodCacheWithLiveNetns(t *testing.T) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. internal/bucket/encryption/bucket-sse-config_test.go

    		{
    			inputXML:    `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ApplyServerSideEncryptionByDefault><SSEAlgorithm>AES256</SSEAlgorithm><KMSMasterKeyID>arn:aws:kms:us-east-1:1234/5678example</KMSMasterKeyID></ApplyServerSideEncryptionByDefault></Rule></ServerSideEncryptionConfiguration>`,
    			expectedErr: errors.New("MasterKeyID is allowed with aws:kms only"),
    			shouldPass:  false,
    		},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  10. cmd/warm-backend-gcs.go

    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    	case "invalid":
    		err = BucketNameInvalid{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top