Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for collision (0.38 sec)

  1. pilot/pkg/model/gateway.go

    		for _, s := range gatewayCfg.Servers {
    			if len(s.Name) > 0 {
    				if snames.InsertContains(s.Name) {
    					log.Warnf("Server name %s is not unique in gateway %s and may create possible issues like stat prefix collision ",
    						s.Name, gatewayName)
    				}
    			}
    			if s.Port == nil {
    				// Should be rejected in validation, this is an extra check
    				log.Debugf("invalid server without port: %q", gatewayName)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

            // probably intended. So no point in using an equal-but-different factory argument.
            // We check twice to avoid confusion caused by accidental hash collision.
            equalArgs.set(i, shouldBeEqualArg);
          }
        }
        return equalArgs;
      }
    
      private static boolean hashCodeInsensitiveToArgReference(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/decl.go

    		for _, fld := range t.fields {
    			if fld.name != "_" {
    				if alt := mset.insert(fld); alt != nil {
    					// Struct fields should already be unique, so we should only
    					// encounter an alternate via collision with a method name.
    					_ = alt.(*Func)
    
    					// For historical consistency, we report the primary error on the
    					// method, and the alt decl on the field.
    					err := check.newError(DuplicateFieldAndMethod)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/stmt.go

    // 		var hash string
    // 		if check.isNil(e) {
    // 			check.expr(nil, &dummy, e) // run e through expr so we get the usual Info recordings
    // 			T = nil
    // 			hash = "<nil>" // avoid collision with a type named nil
    // 		} else {
    // 			T = check.varType(e)
    // 			if !isValid(T) {
    // 				continue L
    // 			}
    // 			hash = typeHash(T, nil)
    // 		}
    // 		// look for duplicate types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/go/types/decl.go

    		for _, fld := range t.fields {
    			if fld.name != "_" {
    				if alt := mset.insert(fld); alt != nil {
    					// Struct fields should already be unique, so we should only
    					// encounter an alternate via collision with a method name.
    					_ = alt.(*Func)
    
    					// For historical consistency, we report the primary error on the
    					// method, and the alt decl on the field.
    					err := check.newError(DuplicateFieldAndMethod)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. src/go/types/stmt.go

    // 		var hash string
    // 		if check.isNil(e) {
    // 			check.expr(nil, &dummy, e) // run e through expr so we get the usual Info recordings
    // 			T = nil
    // 			hash = "<nil>" // avoid collision with a type named nil
    // 		} else {
    // 			T = check.varType(e)
    // 			if !isValid(T) {
    // 				continue L
    // 			}
    // 			hash = typeHash(T, nil)
    // 		}
    // 		// look for duplicate types
    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/scheduler/framework/types.go

    	Generation int64
    }
    
    // nextGeneration: Let's make sure history never forgets the name...
    // Increments the generation number monotonically ensuring that generation numbers never collide.
    // Collision of the generation numbers would be particularly problematic if a node was deleted and
    // added back with the same name. See issue#63262.
    func nextGeneration() int64 {
    	return atomic.AddInt64(&generation, 1)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

          int leftCode = identityHashCode(left);
          int rightCode = identityHashCode(right);
          if (leftCode != rightCode) {
            return leftCode < rightCode ? -1 : 1;
          }
    
          // identityHashCode collision (rare, but not as rare as you'd think)
          int result = getUid(left).compareTo(getUid(right));
          if (result == 0) {
            throw new AssertionError(); // extremely, extremely unlikely.
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

          int leftCode = identityHashCode(left);
          int rightCode = identityHashCode(right);
          if (leftCode != rightCode) {
            return leftCode < rightCode ? -1 : 1;
          }
    
          // identityHashCode collision (rare, but not as rare as you'd think)
          int result = getUid(left).compareTo(getUid(right));
          if (result == 0) {
            throw new AssertionError(); // extremely, extremely unlikely.
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. src/hash/maphash/smhasher_test.go

    	list := s.list
    	slices.Sort(list)
    
    	collisions := 0
    	for i := 1; i < len(list); i++ {
    		if list[i] == list[i-1] {
    			collisions++
    		}
    	}
    	n := len(list)
    
    	const SLOP = 10.0
    	pairs := int64(n) * int64(n-1) / 2
    	expected := float64(pairs) / math.Pow(2.0, float64(hashSize))
    	stddev := math.Sqrt(expected)
    	if float64(collisions) > expected+SLOP*(3*stddev+1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top