Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for HashSize (0.24 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. pkg/proxy/ipvs/ipset/ipset.go

    	if set.SetType == BitmapPort {
    		if err := validatePortRange(set.PortRange); err != nil {
    			return err
    		}
    	}
    	// check hash size value of ipset
    	if set.HashSize <= 0 {
    		return fmt.Errorf("invalid HashSize: %d", set.HashSize)
    	}
    	// check max elem value of ipset
    	if set.MaxElem <= 0 {
    		return fmt.Errorf("invalid MaxElem %d", set.MaxElem)
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/ipset/ipset_test.go

    				SetType:    HashIPPort,
    				HashFamily: ProtocolFamilyIPV4,
    				HashSize:   1024,
    				MaxElem:    1024,
    			},
    			expectErr: false,
    			desc:      "No Port range",
    		},
    		{ // case[1]
    			ipset: &IPSet{
    				Name:       "SET",
    				SetType:    BitmapPort,
    				HashFamily: ProtocolFamilyIPV6,
    				HashSize:   65535,
    				MaxElem:    2048,
    				PortRange:  DefaultPortRange,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/HashingAlgorithmsBenchmark.java

        @Param({"16", "1024", "65536"})
        int hashSize;
    
        // @Param({"md5.java", "md5.bc", "sha1.java", "sha1.bc", "blake2b.bc"})
        @Param({"md5.java", "murmur3.guava"})
        String type;
    
        byte[] input;
        HashProcessorFactory processorFactory;
    
        @Setup(Level.Iteration)
        public void setup() throws CloneNotSupportedException {
            input = new byte[hashSize];
            random.nextBytes(input);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/internal/cache/cache.go

    // repeatable computation (command line, environment variables,
    // input file contents, executable contents).
    type ActionID [HashSize]byte
    
    // An OutputID is a cache output key, the hash of an output of a computation.
    type OutputID [HashSize]byte
    
    // Cache is the interface as used by the cmd/go.
    type Cache interface {
    	// Get returns the cache entry for the provided ActionID.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. 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)
Back to top