Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for initList (0.14 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

         * @return {@code this}
         */
        public ArtifactResolutionResult addVersionRangeViolation(Exception e) {
            versionRangeViolations = initList(versionRangeViolations);
    
            versionRangeViolations.add(e);
    
            exceptions = initList(exceptions);
    
            exceptions.add(e);
    
            return this;
        }
    
        public OverConstrainedVersionException getVersionRangeViolation(int i) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

         */
        public MetadataResolutionResult addVersionRangeViolation(Exception e) {
            versionRangeViolations = initList(versionRangeViolations);
    
            versionRangeViolations.add(e);
    
            exceptions = initList(exceptions);
    
            exceptions.add(e);
    
            return this;
        }
    
        public OverConstrainedVersionException getVersionRangeViolation(int i) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    		},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			defaultWatcherMaxLimit = testCase.watcherMaxLimit
    
    			origCtx, store, _ := testSetup(t)
    			initList, err := initStoreData(origCtx, store)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			kvWrapper := newEtcdClientKVWrapper(store.client.KV)
    			kvWrapper.getReactors = append(kvWrapper.getReactors, func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (1)
  4. cmd/kubeadm/test/cmd/join_test.go

    	return err
    }
    
    func TestCmdJoinConfig(t *testing.T) {
    	var initTest = []struct {
    		name     string
    		args     string
    		expected bool
    	}{
    		{"config", "--config=foobar", false},
    		{"config path", "--config=/does/not/exist/foo/bar", false},
    	}
    
    	kubeadmPath := getKubeadmPath()
    	for _, rt := range initTest {
    		t.Run(rt.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 08 21:47:16 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/test/cmd/init_test.go

    func TestCmdInitFeatureGates(t *testing.T) {
    	const PanicExitcode = 2
    
    	initTest := []struct {
    		name string
    		args string
    	}{
    		{
    			name: "no feature gates passed",
    			args: "",
    		},
    		{
    			name: "feature gate PublicKeysECDSA=true",
    			args: "--feature-gates=PublicKeysECDSA=true",
    		},
    	}
    
    	for _, rt := range initTest {
    		t.Run(rt.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go

    								"image": "nginx",
    								"args":  []any{"-g"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name: "list of ints",
    			expression: `Object{
    				intList: [1, 2, 3]
    			}`,
    			expectedValue: map[string]any{
    				"intList": []any{int64(1), int64(2), int64(3)},
    			},
    		},
    		{
    			name: "map string-to-string",
    			expression: `Object{
    				annotations: {"foo": "bar"}
    			}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

          other: a
      - description: replace list of scalars
        original:
          intList:
            - 1
            - 2
        modified:
          intList:
            - 2
            - 3
        current:
          intList:
            - 1
            - 2
        threeWay:
          intList:
            - 2
            - 3
        result:
          intList:
            - 2
            - 3
      - description: replace list of scalars with conflict
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/scopeProvider/FirStandaloneNormalAnalysisSourceModuleTypeScopeTestGenerated.java

        runTest("analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.kt");
      }
    
      @Test
      @TestMetadata("intList.kt")
      public void testIntList() {
        runTest("analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.kt");
      }
    
      @Test
      @TestMetadata("outerClassTypeParamsSubstitution.kt")
      public void testOuterClassTypeParamsSubstitution() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go

    	StringList: []string{"a", "b", "c"},
    	IntList:    []int{1, 2, 3},
    }
    
    type TestStruct struct {
    	metav1.TypeMeta   `json:",inline"`
    	metav1.ObjectMeta `json:"metadata,omitempty"`
    	Key               string         `json:"Key"`
    	Map               map[string]int `json:"Map"`
    	StringList        []string       `json:"StringList"`
    	IntList           []int          `json:"IntList"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/scopeProvider/FirIdeDependentAnalysisSourceModuleTypeScopeTestGenerated.java

        runTest("analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.kt");
      }
    
      @Test
      @TestMetadata("intList.kt")
      public void testIntList() {
        runTest("analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.kt");
      }
    
      @Test
      @TestMetadata("outerClassTypeParamsSubstitution.kt")
      public void testOuterClassTypeParamsSubstitution() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top