Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for prevHash (0.22 sec)

  1. src/cmd/go/internal/vcweb/vcweb.go

    			}
    			return ScriptNotFoundError{err}
    		}
    
    		hash := sha256.Sum256(content)
    		if prevHash := r.hash; prevHash != hash {
    			// The script's hash has changed, so regenerate its output.
    			func() {
    				r.mu.RUnlock()
    				r.mu.Lock()
    				defer func() {
    					r.mu.Unlock()
    					r.mu.RLock()
    				}()
    				if r.hash != prevHash {
    					// The cached result changed while we were waiting on the lock.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/compress/flate/deflatefast.go

    			// at s+1. At least on GOARCH=amd64, these three hash calculations
    			// are faster as one load64 call (with some shifts) instead of
    			// three load32 calls.
    			x := load64(src, s-1)
    			prevHash := hash(uint32(x))
    			e.table[prevHash&tableMask] = tableEntry{offset: e.cur + s - 1, val: uint32(x)}
    			x >>= 8
    			currHash := hash(uint32(x))
    			candidate = e.table[currHash&tableMask]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 19 18:48:17 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/html.go

    	}
    	hash := hashFunc(w.Func)
    	w.pendingPhases = append(w.pendingPhases, phase)
    	w.pendingTitles = append(w.pendingTitles, title)
    	if !bytes.Equal(hash, w.prevHash) {
    		w.flushPhases()
    	}
    	w.prevHash = hash
    }
    
    // flushPhases collects any pending phases and titles, writes them to the html, and resets the pending slices.
    func (w *HTMLWriter) flushPhases() {
    	phaseLen := len(w.pendingPhases)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/wasm/wasmobj.go

    		// more often to avoid bloat of the BrTable instruction.
    		// The "base != prevBase" condition detects inlined instructions. They are an
    		// implicit call, so entering and leaving this section affects the stack trace.
    		if p.As == ACALLNORESUME || p.As == obj.ANOP || p.As == ANop || p.Spadj != 0 || base != prevBase {
    			pc++
    			if p.To.Sym == sigpanic {
    				// The panic stack trace expects the PC at the call of sigpanic,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/static/trace_viewer_full.html

    clusters.push(new TaskCluster(currentClusterTasks));return...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top