Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for elfhash (0.12 sec)

  1. src/cmd/link/internal/ld/elf.go

    }
    
    func elfwritehdr(out *OutBuf) uint32 {
    	if elf64 {
    		return elf64writehdr(out)
    	}
    	return elf32writehdr(out)
    }
    
    /* Taken directly from the definition document for ELF64. */
    func elfhash(name string) uint32 {
    	var h uint32
    	for i := 0; i < len(name); i++ {
    		h = (h << 4) + uint32(name[i])
    		if g := h & 0xf0000000; g != 0 {
    			h ^= g >> 24
    		}
    		h &= 0x0fffffff
    	}
    	return h
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/crypto/rsa/rsa.go

    // crypto.Decrypter interface.
    type OAEPOptions struct {
    	// Hash is the hash function that will be used when generating the mask.
    	Hash crypto.Hash
    
    	// MGFHash is the hash function used for MGF1.
    	// If zero, Hash is used instead.
    	MGFHash crypto.Hash
    
    	// Label is an arbitrary byte string that must be equal to the value
    	// used when encrypting.
    	Label []byte
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/internal/concurrent/hashtriemap.go

    func (ht *HashTrieMap[K, V]) expand(oldEntry, newEntry *entry[K, V], newHash uintptr, hashShift uint, parent *indirect[K, V]) *node[K, V] {
    	// Check for a hash collision.
    	oldHash := ht.keyHash(unsafe.Pointer(&oldEntry.key), ht.seed)
    	if oldHash == newHash {
    		// Store the old entry in the new entry's overflow list, then store
    		// the new entry.
    		newEntry.overflow.Store(oldEntry)
    		return &newEntry.node
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    			if err != nil {
    				t.Fatalf("couldn't read temp file: %v", err)
    			}
    
    			if (oldHash != newHash) != rt.manifestShouldChange {
    				t.Errorf(
    					"failed StaticPodControlPlane\n%s\n\texpected manifest change: %t\n\tgot: %t\n\tnewHash: %v",
    					rt.description,
    					rt.manifestShouldChange,
    					(oldHash != newHash),
    					newHash,
    				)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route.go

    			break
    		}
    	}
    
    	switch {
    	case subsetPLSHash != nil:
    		consistentHash = subsetPLSHash
    	case subsetHash != nil:
    		consistentHash = subsetHash
    	case plsHash != nil:
    		consistentHash = plsHash
    	}
    	return consistentHash, mergedDR
    }
    
    // SortVHostRoutes moves the catch all routes alone to the end, while retaining
    // the relative order of other routes in the slice.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

            }
          }
          return insertInHashTable(e);
        }
    
        private SetBuilderImpl<E> insertInHashTable(E e) {
          requireNonNull(hashTable);
          int eHash = e.hashCode();
          int i0 = Hashing.smear(eHash);
          int mask = hashTable.length - 1;
          for (int i = i0; i - i0 < maxRunBeforeFallback; i++) {
            int index = i & mask;
            Object tableEntry = hashTable[index];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. src/cmd/internal/goobj/objfile.go

    )
    
    // Blocks
    const (
    	BlkAutolib = iota
    	BlkPkgIdx
    	BlkFile
    	BlkSymdef
    	BlkHashed64def
    	BlkHasheddef
    	BlkNonpkgdef
    	BlkNonpkgref
    	BlkRefFlags
    	BlkHash64
    	BlkHash
    	BlkRelocIdx
    	BlkAuxIdx
    	BlkDataIdx
    	BlkReloc
    	BlkAux
    	BlkData
    	BlkRefName
    	BlkEnd
    	NBlk
    )
    
    // File header.
    // TODO: probably no need to export this.
    type Header struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. cmd/data-usage-cache.go

    		d.Info.LastUpdate = other.Info.LastUpdate
    	}
    	existingRoot.merge(*otherRoot)
    	eHash := d.rootHash()
    	for key := range otherRoot.Children {
    		entry := other.Cache[key]
    		flat := other.flatten(entry)
    		existing := d.Cache[key]
    		// If not found, merging simply adds.
    		existing.merge(flat)
    		d.replaceHashed(dataUsageHash(key), &eHash, existing)
    	}
    }
    
    type objectIO interface {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/objfile.go

    	h.Offsets[goobj.BlkRefFlags] = w.Offset()
    	w.refFlags()
    
    	// Hashes
    	h.Offsets[goobj.BlkHash64] = w.Offset()
    	for _, s := range ctxt.hashed64defs {
    		w.Hash64(s)
    	}
    	h.Offsets[goobj.BlkHash] = w.Offset()
    	for _, s := range ctxt.hasheddefs {
    		w.Hash(s)
    	}
    	// TODO: hashedrefs unused/unsupported for now
    
    	// Reloc indexes
    	h.Offsets[goobj.BlkRelocIdx] = w.Offset()
    	nreloc := uint32(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top