Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 272 for identical (0.14 sec)

  1. src/go/types/context_test.go

    		t.Error("bad")
    	}
    
    	// unaryP is not identical to nullaryP, so we should not get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", unaryP, []Type{Typ[Int]}); got != nil {
    		t.Error("bad")
    	}
    
    	// nullaryQ is identical to nullaryP, so we *should* get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", nullaryQ, []Type{Typ[Int]}); got != inst {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/README.md

    To run serialization tests just for the current version:
    
    ```sh
    go test k8s.io/api -run //HEAD
    ```
    
    All three formats of a given group/version/kind are expected to decode successfully to identical objects,
    and to round-trip back to serialized form with identical bytes.
    Adding new fields or API types *is* expected to modify these fixtures. To regenerate them, run:
    
    ```sh
    UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test k8s.io/api -run //HEAD
    ```
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. test/typeparam/nested.go

    //
    // From this data it tests two things:
    //
    // 1. Given tuples (A, B, F[A].T[B]) and (A', B', F[A'].T[B']),
    //    F[A].T[B] should be identical to F[A'].T[B'] iff (A, B) is
    //    identical to (A', B').
    //
    // 2. A few of the instantiations are constructed to be identical, and
    //    it tests that exactly these pairs are duplicated (by golden
    //    output comparison to nested.out).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:23:27 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue60688.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type String string
    
    func g[P any](P, string) {}
    
    // String and string are not identical and thus must not unify
    // (they are element types of the func type and therefore must
    // be identical to match).
    // The result is an error from type inference, rather than an
    // error from an assignment mismatch.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 12 18:44:59 UTC 2023
    - 607 bytes
    - Viewed (0)
  5. src/internal/abi/abi_generic.go

    	// IntArgRegs is the number of registers dedicated
    	// to passing integer argument values. Result registers are identical
    	// to argument registers, so this number is used for those too.
    	IntArgRegs = 0
    
    	// FloatArgRegs is the number of registers dedicated
    	// to passing floating-point argument values. Result registers are
    	// identical to argument registers, so this number is used for
    	// those too.
    	FloatArgRegs = 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:38:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-diff_test.go

    			expectedString: "Profiles are identical",
    		},
    		{
    			args:           fmt.Sprintf("profile diff demo demo --manifests %s", snapshotCharts),
    			expectedString: "Profiles are identical",
    		},
    		{
    			args:           fmt.Sprintf("profile diff openshift openshift --manifests %s", snapshotCharts),
    			expectedString: "Profiles are identical",
    		},
    	}
    
    	for i, c := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/hash/maphash/maphash_test.go

    	for i, h := range hh {
    		if sum != h.Sum64() {
    			t.Errorf("hash %d not identical to a single Write", i)
    		}
    	}
    
    	if sum1 := Bytes(hh[0].Seed(), b); sum1 != hh[0].Sum64() {
    		t.Errorf("hash using Bytes not identical to a single Write")
    	}
    
    	if sum1 := String(hh[0].Seed(), string(b)); sum1 != hh[0].Sum64() {
    		t.Errorf("hash using String not identical to a single Write")
    	}
    }
    
    func TestHashBytesVsString(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyDetails.java

         *
         * This list will only ever contain more than one method when there are getter methods with <b>different</b> return types.
         * If a getter is declared multiple times by this type (through inheritance) with identical return types, only one method object will be present for the type.
         *
         * As an equivalent getter can be declared multiple times (e.g in a super class, overridden by the target type).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/regexp/onepass_test.go

    }{
    	{
    		// empty rhs
    		[]rune{69, 69},
    		[]rune{},
    		[]rune{69, 69},
    		[]uint32{1},
    		1, 2,
    	},
    	{
    		// identical runes, identical targets
    		[]rune{69, 69},
    		[]rune{69, 69},
    		[]rune{},
    		[]uint32{mergeFailed},
    		1, 1,
    	},
    	{
    		// identical runes, different targets
    		[]rune{69, 69},
    		[]rune{69, 69},
    		[]rune{},
    		[]uint32{mergeFailed},
    		1, 2,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. test/fixedbugs/issue29312.go

    //     [][]...[][][][][]*pwn    - 252 total "[]"
    //     [][]...[][][][][][]*pwn  - 253 total "[]"
    //
    // The type names for these types are as follows. Because we truncate
    // the name at depth 250, the last few names are all identical:
    //
    //     type:[]*"".pwn
    //     type:[][]*"".pwn
    //     ...
    //     type:[][]...[][]*pwn       - 249 total "[]"
    //     type:[][]...[][][]*<...>   - 250 total "[]"
    //     type:[][]...[][][][]<...>  - 251 total "[]"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 11:28:56 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top