Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hashMatch (0.23 sec)

  1. src/cmd/compile/internal/test/pgo_inl_test.go

    	if !bytes.Contains(out, []byte(hashMatch)) || !pgoDebugRE.Match(out) {
    		t.Errorf("output does not contain expected source line, out:\n%s", out)
    	}
    
    	// Check that a hash mismatch turns off PGO inlining.
    	hash = "v0" // 0 should not match srcPos
    	gcflag = gcflag0 + ",pgohash=" + hash
    	out = buildPGOInliningTest(t, dir, gcflag)
    	if bytes.Contains(out, []byte(hashMatch)) || pgoDebugRE.Match(out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/compress/flate/deflate.go

    	// queued output tokens
    	tokens []token
    
    	// deflate state
    	length         int
    	offset         int
    	maxInsertIndex int
    	err            error
    
    	// hashMatch must be able to contain hashes for the maximum match length.
    	hashMatch [maxMatchLength - 1]uint32
    }
    
    func (d *compressor) fillDeflate(b []byte) int {
    	if d.index >= 2*windowSize-(minMatchLength+maxMatchLength) {
    		// shift the window by windowSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/compress/flate/deflate_test.go

    		w.d.fill, wref.d.fill = nil, nil
    		w.d.step, wref.d.step = nil, nil
    		w.d.bulkHasher, wref.d.bulkHasher = nil, nil
    		w.d.bestSpeed, wref.d.bestSpeed = nil, nil
    		// hashMatch is always overwritten when used.
    		copy(w.d.hashMatch[:], wref.d.hashMatch[:])
    		if len(w.d.tokens) != 0 {
    			t.Errorf("level %d Writer not reset after Reset. %d tokens were present", level, len(w.d.tokens))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    // If the parent does not exist, it will be added.
    func (d *dataUsageCache) replace(path, parent string, e dataUsageEntry) {
    	hash := hashPath(path)
    	if d.Cache == nil {
    		d.Cache = make(map[string]dataUsageEntry, 100)
    	}
    	d.Cache[hash.Key()] = e
    	if parent != "" {
    		phash := hashPath(parent)
    		p := d.Cache[phash.Key()]
    		p.addChild(hash)
    		d.Cache[phash.Key()] = p
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    			}
    		}
    
    		// Transfer existing
    		if !into.Compacted {
    			for _, folder := range existingFolders {
    				h := hashPath(folder.name)
    				f.updateCache.copyWithChildren(&f.oldCache, h, folder.parent)
    			}
    		}
    		// Scan new...
    		for _, folder := range newFolders {
    			h := hashPath(folder.name)
    			// Add new folders to the update tree so totals update for these.
    			if !into.Compacted {
    				var foundAny bool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top