Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 223 for Identical (0.49 sec)

  1. 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)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/IntersectionsTest.groovy

    import spock.lang.Subject
    
    class IntersectionsTest extends Specification implements ExcludeTestSupport {
    
        @Subject
        private Intersections ops = new Intersections(factory)
    
        def "intersects identical specs"() {
            expect:
            ops.tryIntersect(spec, spec) == spec
    
            where:
            spec << [
                group("foo"),
                groupSet("foo", "bar"),
                module("foo"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/QuantilesTest.java

          Correspondence.tolerance(ALLOWED_ERROR);
    
      /**
       * A {@link Correspondence} which accepts either finite values within {@link #ALLOWED_ERROR} of
       * each other or identical non-finite values.
       */
      private static final Correspondence<Double, Double> QUANTILE_CORRESPONDENCE =
          Correspondence.from(
              new BinaryPredicate<Double, Double>() {
                @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsIntegrationTest.groovy

                        }
                    }
                    constraint('org:c:{strictly 1.0}', 'org:c:1.0')
                }
            }
        }
    
        def "identical strict constraints can co-exist in a graph"() {
            boolean publishedConstraintsSupported = gradleMetadataPublished
    
            given:
            repository {
                'org:a:1.0' {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/proxy/ipvs/ipset/ipset.go

    }
    
    // If ignoreExistErr is set to true, then the -exist option of ipset will be specified, ipset ignores the error
    // otherwise raised when the same set (setname and create parameters are identical) already exists.
    func (runner *runner) createSet(set *IPSet, ignoreExistErr bool) error {
    	args := []string{"create", set.Name, string(set.SetType)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/compile/internal/walk/complit.go

    	// set auto to point at new temp or heap (3 assign)
    	var a ir.Node
    	if x := n.Prealloc; x != nil {
    		// temp allocated during order.go for dddarg
    		if !types.Identical(t, x.Type()) {
    			panic("dotdotdot base type does not match order's assigned type")
    		}
    		a = initStackTemp(init, x, vstat)
    	} else if n.Esc() == ir.EscNone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. 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)
Back to top