Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for collision (0.17 sec)

  1. 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)
  2. cmd/xl-storage-format-utils.go

    		// for users who might have used master
    		// branch
    		fi.Data = inData.find(fi.DataDir)
    	}
    	return fi, nil
    }
    
    // hashDeterministicString will return a deterministic hash for the map values.
    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    	// Xor each value to make order independent
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. cluster/gce/util.sh

        project_hash=$(md5 -q -s "$PROJECT")
      else
        project_hash=$(echo -n "$PROJECT" | md5sum)
        project_hash=${project_hash%%[[:blank:]]*}
      fi
    
      # This requires 1 million projects before the probability of collision is 50%
      # that's probably good enough for now :P
      project_hash=${project_hash:0:10}
    
      set-preferred-region
    
      if [[ "${ENABLE_DOCKER_REGISTRY_CACHE:-}" == "true" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. src/runtime/hash_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 = 50.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: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/ReservedProjectNamesCrossVersionSpec.groovy

            }
    
            then:
            def projects = collectProjects(model)
            !projects.collect({ it.name }).contains("a")
            projects.collect({ it.name }).contains("root-a")
        }
    
        def "name collisions are resolved"() {
            when:
            EclipseProject model = withConnection { connection ->
                return connection.action(new LoadEclipseModel(eclipseWorkspace([
                    externalProject("a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtension.kt

         * build task, such as a resource compiler or annotation processor, the resolve extension should provide a scope here that covers those
         * externally generated sources. This will prevent collisions between the definitions provided by [getKtFiles] and those provided by the
         * (potentially stale) externally generated sources.
         */
        public open fun getShadowedScope(): GlobalSearchScope = GlobalSearchScope.EMPTY_SCOPE
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/crypto/ed25519/ed25519.go

    	// uint8-length prefixed context.
    	domPrefixPh = "SigEd25519 no Ed25519 collisions\x01"
    	// domPrefixCtx is dom2(phflag=0) for Ed25519ctx. It must be followed by the
    	// uint8-length prefixed context.
    	domPrefixCtx = "SigEd25519 no Ed25519 collisions\x00"
    )
    
    func sign(signature, privateKey, message []byte, domPrefix, context string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. prow/config/calico.yaml

                    - type: integer
                    - type: string
                    description: 'BPFPSNATPorts sets the range from which we randomly
                      pick a port if there is a source port collision. This should be
                      within the ephemeral range as defined by RFC 6056 (1024–65535) and
                      preferably outside the  ephemeral ranges used by common operating
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.28.md

    - Exposed `rest.DefaultServerUrlFor` function. ([#118055](https://github.com/kubernetes/kub...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:47:59 UTC 2024
    - 408.3K bytes
    - Viewed (0)
  10. src/runtime/tracemap.go

    //     This means that you must check the key at each level, not just at the leaf.
    //   - No deletion or rebalancing.
    //   - Intentionally devolves into a linked list on hash collisions (the hash bits will all
    //     get shifted out during iteration, and new nodes will just be appended to the 0th child).
    type traceMapNode struct {
    	_ sys.NotInHeap
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top