Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 359 for Identical (0.58 sec)

  1. pkg/kubelet/config/config_test.go

    	channel <- podUpdate
    	expectPodUpdate(t, ch, CreatePodUpdate(kubetypes.ADD, TestSource, CreateValidPod("foo", "new")))
    
    	// should ignore ADDs that are identical
    	expectNoPodUpdate(t, ch)
    
    	// an kubetypes.ADD should be converted to kubetypes.UPDATE
    	pod := CreateValidPod("foo", "new")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        Object[] array = collection.toArray();
        expectArrayContentsAnyOrder(createSamplesArray(), array);
      }
    
      /**
       * {@link Collection#toArray(Object[])} says: "Note that {@code toArray(new Object[0])} is
       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
       * type other than {@code Object[]}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_tidy_compat_ambiguous.txt

    # Go 1.16 (because two different modules contain plausible packages and Go 1.16
    # does not privilege roots above other dependencies).
    #
    # However, the overall build list is identical for both versions.
    
    cp go.mod go.mod.orig
    
    ! go mod tidy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    		if X == nil || Y == nil {
    			t.Fatal("test must declare both X and Y")
    		}
    		if got := Identical(X.Type(), Y.Type()); got != test.want {
    			t.Errorf("Identical(%s, %s) = %t, want %t", X.Type(), Y.Type(), got, test.want)
    		}
    	}
    }
    
    func TestIdentical_issue15173(t *testing.T) {
    	// Identical should allow nil arguments and be symmetric.
    	for _, test := range []struct {
    		x, y Type
    		want bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/apis.go

    func (c *CompletedConfig) GenericStorageProviders(discovery discovery.DiscoveryInterface) ([]RESTStorageProvider, error) {
    	// The order here is preserved in discovery.
    	// If resources with identical names exist in more than one of these groups (e.g. "deployments.apps"" and "deployments.extensions"),
    	// the order of this list determines which group an unqualified resource name (e.g. "deployments") should prefer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__networking.k8s.io__v1_openapi.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 324.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go

    	if !isPtr || named == nil || !analysisutil.IsNamedType(named, "net/http", "Response") {
    		return false // the first return type is not *http.Response.
    	}
    
    	errorType := types.Universe.Lookup("error").Type()
    	if !types.Identical(res.At(1).Type(), errorType) {
    		return false // the second return type is not error
    	}
    
    	typ := info.Types[fun.X].Type
    	if typ == nil {
    		id, ok := fun.X.(*ast.Ident)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. src/go/types/object_test.go

    	embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error")
    	if embed == nil {
    		t.Fatalf("embedded error.Error not found")
    	}
    
    	// original and embedded Error object should be identical
    	if orig != embed {
    		t.Fatalf("%s (%p) != %s (%p)", orig, orig, embed, embed)
    	}
    }
    
    var testObjects = []struct {
    	src   string
    	obj   string
    	want  string
    	alias bool // needs materialized aliases
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/README

    	The command succeeds if the file contents are identical.
    	File1 can be 'stdout' or 'stderr' to compare the stdout or
    	stderr buffer from the most recent command.
    
    cmpenv [-q] file1 file2
    	compare files for differences, with environment expansion
    
    	By convention, file1 is the actual data and file2 is the
    	expected data.
    	The command succeeds if the file contents are identical
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    			}
    			var mismatched []int
    			for i, expr := range call.Args {
    				if pass.TypesInfo.Types[expr].Type == nil {
    					return true
    				}
    				t := pass.TypesInfo.Types[expr].Type
    				if !types.Identical(t, params.At(i+1).Type()) {
    					mismatched = append(mismatched, i)
    				}
    			}
    			// If just one of the types is mismatched report for that
    			// type only. Otherwise report for the whole call to (*testing.F).Add
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top