Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 165 for Identical (0.16 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java

        // We are using a ConcurrentHashMap here because:
        //   - We don't want to use a Set with CLASS_COMPARATOR, since that would treat two classes with the same name originating from different classloaders as identical, allowing only one in the Set.
        //   - ConcurrentHashMap.newKeySet() isn't available on Java 6, yet, and that is where this code needs to run.
        //   - CopyOnWriteArraySet has slower insert performance, since it is not hash based.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    		rcvr := f2.Type.Recv().Type
    		if !types.Identical(rcvr, tt) {
    			if rcvr.IsPtr() && types.Identical(rcvr.Elem(), tt) {
    				checklvalue(n.X, "call pointer method on")
    				addr := NodAddr(n.X)
    				addr.SetImplicit(true)
    				n.X = typecheck(addr, ctxType|ctxExpr)
    			} else if tt.IsPtr() && (!rcvr.IsPtr() || rcvr.IsPtr() && rcvr.Elem().NotInHeap()) && types.Identical(tt.Elem(), rcvr) {
    				star := ir.NewStarExpr(base.Pos, n.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/math/rand/rand_test.go

    		testWe[i] = float32(de / m2)
    	}
    	return
    }
    
    // compareUint32Slices returns the first index where the two slices
    // disagree, or <0 if the lengths are the same and all elements
    // are identical.
    func compareUint32Slices(s1, s2 []uint32) int {
    	if len(s1) != len(s2) {
    		if len(s1) > len(s2) {
    			return len(s2) + 1
    		}
    		return len(s1) + 1
    	}
    	for i := range s1 {
    		if s1[i] != s2[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/go/types/issues_test.go

    		if name.Name == "v" {
    			v = obj
    			break
    		}
    	}
    	if v == nil {
    		t.Fatal("variable v not found")
    	}
    
    	// type of v and T must be pointer-identical
    	if v.Type() != T {
    		t.Fatalf("types of v and T are not pointer-identical: %p != %p", v.Type().(*TypeParam), T)
    	}
    }
    
    func TestIssue44410(t *testing.T) {
    	const src = `
    package p
    
    type A = []int
    type S struct{ A }
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. src/go/types/stmt.go

    		if val := goVal(v.val); val != nil {
    			// look for duplicate types for a given value
    			// (quadratic algorithm, but these lists tend to be very short)
    			for _, vt := range seen[val] {
    				if Identical(v.typ, vt.typ) {
    					err := check.newError(DuplicateCase)
    					err.addf(&v, "duplicate case %s in expression switch", &v)
    					err.addf(atPos(vt.pos), "previous case")
    					err.report()
    					continue L
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      // Per-version schemas must not all be set to identical values (top-level validation schema should be used instead).
      // +optional
      optional CustomResourceValidation schema = 4;
    
      // subresources specify what subresources this version of the defined custom resource have.
      // Top-level and per-version subresources are mutually exclusive.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. src/math/rand/v2/rand_test.go

    		testWe[i] = float32(de / m2)
    	}
    	return
    }
    
    // compareUint32Slices returns the first index where the two slices
    // disagree, or <0 if the lengths are the same and all elements
    // are identical.
    func compareUint32Slices(s1, s2 []uint32) int {
    	if len(s1) != len(s2) {
    		if len(s1) > len(s2) {
    			return len(s2) + 1
    		}
    		return len(s1) + 1
    	}
    	for i := range s1 {
    		if s1[i] != s2[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/value.go

    		return
    	}
    	if v.InCache {
    		v.Block.Func.unCache(v)
    	}
    	v.Op = OpCopy
    	v.resetArgs()
    	v.AddArg(a)
    	v.AuxInt = 0
    	v.Aux = nil
    	v.Type = a.Type
    }
    
    // copyInto makes a new value identical to v and adds it to the end of b.
    // unlike copyIntoWithXPos this does not check for v.Pos being a statement.
    func (v *Value) copyInto(b *Block) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/issues_test.go

    		if name.Value == "v" {
    			v = obj
    			break
    		}
    	}
    	if v == nil {
    		t.Fatal("variable v not found")
    	}
    
    	// type of v and T must be pointer-identical
    	if v.Type() != T {
    		t.Fatalf("types of v and T are not pointer-identical: %p != %p", v.Type().(*TypeParam), T)
    	}
    }
    
    func TestIssue44410(t *testing.T) {
    	const src = `
    package p
    
    type A = []int
    type S struct{ A }
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/process/internal/JvmOptions.java

            formatSystemProperties(getMutableSystemProperties(), args);
    
            // We have to add these after the system properties so they can override any system properties
            // (identical properties later in the command line override earlier ones)
    
            return ImmutableList.<String>builder()
                .addAll(args)
                .addAll(getAllImmutableJvmArgs())
                .build();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top