Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for HashSize (0.25 sec)

  1. cmd/kube-proxy/app/conntrack.go

    	if err != nil {
    		return err
    	}
    	if hashsize >= (max / 4) {
    		return nil
    	}
    
    	// sysfs is expected to be mounted as 'rw'. However, it may be
    	// unexpectedly mounted as 'ro' by docker because of a known docker
    	// issue (https://github.com/docker/docker/issues/24000). Setting
    	// conntrack will fail when sysfs is readonly. When that happens, we
    	// don't set conntrack hashsize and return a special error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HashCodeSerializer.java

    @Immutable
    public class HashCodeSerializer extends AbstractSerializer<HashCode> {
        @Override
        public HashCode read(Decoder decoder) throws IOException {
            byte hashSize = decoder.readByte();
            byte[] hash = new byte[hashSize];
            decoder.readBytes(hash);
            return HashCode.fromBytes(hash);
        }
    
        @Override
        public void write(Encoder encoder, HashCode value) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    	t.W = int((n + 1) << uint(level))
    	return t, int(n<<uint(level)) * HashSize, int((n+1)<<uint(level)) * HashSize
    }
    
    // HashFromTile returns the hash at the given storage index,
    // provided that t == TileForIndex(t.H, index) or a wider version,
    // and data is t's tile data (of length at least t.W*HashSize).
    func HashFromTile(t Tile, data []byte, index int64) (Hash, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/hash/maphash/smhasher_test.go

    	grid := make([][hashSize]int, n)
    
    	for z := 0; z < REP; z++ {
    		// pick a random key, hash it
    		k.random(r)
    		h := k.hash()
    
    		// flip each bit, hash & compare the results
    		for i := 0; i < n; i++ {
    			k.flipBit(i)
    			d := h ^ k.hash()
    			k.flipBit(i)
    
    			// record the effects of that bit flip
    			g := &grid[i]
    			for j := 0; j < hashSize; j++ {
    				g[j] += int(d & 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/runtime/hash_test.go

    	grid := make([][hashSize]int, n)
    
    	for z := 0; z < REP; z++ {
    		// pick a random key, hash it
    		k.random(r)
    		h := k.hash()
    
    		// flip each bit, hash & compare the results
    		for i := 0; i < n; i++ {
    			k.flipBit(i)
    			d := h ^ k.hash()
    			k.flipBit(i)
    
    			// record the effects of that bit flip
    			g := &grid[i]
    			for j := 0; j < hashSize; j++ {
    				g[j] += int(d & 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)
  6. src/cmd/internal/goobj/objfile.go

    	SymIdx uint32
    }
    
    func (s SymRef) IsZero() bool { return s == SymRef{} }
    
    // Hash64
    type Hash64Type [Hash64Size]byte
    
    const Hash64Size = 8
    
    // Hash
    type HashType [HashSize]byte
    
    const HashSize = 16 // truncated SHA256
    
    // Relocation.
    //
    // Serialized format:
    //
    //	Reloc struct {
    //	   Off  int32
    //	   Siz  uint8
    //	   Type uint16
    //	   Add  int64
    //	   Sym  SymRef
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. src/compress/flate/deflate.go

    	// stop things from getting too large.
    	maxFlateBlockTokens = 1 << 14
    	maxStoreBlockSize   = 65535
    	hashBits            = 17 // After 17 performance degrades
    	hashSize            = 1 << hashBits
    	hashMask            = (1 << hashBits) - 1
    	maxHashOffset       = 1 << 24
    
    	skipNever = math.MaxInt32
    )
    
    type compressionLevel struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top