Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for HashSize (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/go/internal/cache/cache_test.go

    		if err := recover(); err != nil {
    			t.Log(err)
    			return
    		}
    	}()
    	PutBytes(c, id, []byte("def"))
    	t.Fatal("mismatched Put did not panic in verify mode")
    }
    
    func dummyID(x int) [HashSize]byte {
    	var out [HashSize]byte
    	binary.LittleEndian.PutUint64(out[:], uint64(x))
    	return out
    }
    
    func TestCacheTrim(t *testing.T) {
    	dir, err := os.MkdirTemp("", "cachetest-")
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/note.go

    	if err != nil || n < 0 || lines[1] != strconv.FormatInt(n, 10) {
    		return Tree{}, errMalformedTree
    	}
    
    	h, err := base64.StdEncoding.DecodeString(lines[2])
    	if err != nil || len(h) != HashSize {
    		return Tree{}, errMalformedTree
    	}
    
    	var hash Hash
    	copy(hash[:], h)
    	return Tree{n, hash}, nil
    }
    
    var errMalformedRecord = errors.New("malformed record data")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 29 20:10:15 UTC 2019
    - 3.7K 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)
  8. CHANGELOG/CHANGELOG-1.8.md

    * Configures the Juju Charm code to run kube-proxy with conntrack-max-per-core set to 0 when in an lxc as a workaround for issues when mounting /sys/module/nf_conntrack/parameters/hashsize ([#48450](https://github.com/kubernetes/kubernetes/pull/48450), [@wwwtyro](https://github.com/wwwtyro))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
Back to top