Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for windowEnd (0.41 sec)

  1. src/compress/flate/deflate.go

    	// We only compress if we have maxStoreBlockSize.
    	if d.windowEnd < maxStoreBlockSize {
    		if !d.sync {
    			return
    		}
    
    		// Handle small sizes.
    		if d.windowEnd < 128 {
    			switch {
    			case d.windowEnd == 0:
    				return
    			case d.windowEnd <= 16:
    				d.err = d.writeStoredBlock(d.window[:d.windowEnd])
    			default:
    				d.w.writeBlockHuff(false, d.window[:d.windowEnd])
    				d.err = d.w.err
    			}
    			d.windowEnd = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/internal/trace/gc.go

    	// before accumulation is stopped.
    	preciseMass float64
    	// lastTime and lastMU are the previous point added to the
    	// windowed mutator utilization function.
    	lastTime int64
    	lastMU   float64
    }
    
    // resetTime declares a discontinuity in the windowed mutator
    // utilization function by resetting the current time.
    func (acc *accumulator) resetTime() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/mmu.go

            if (items.length === 0) {
              return;
            }
            var details = $('#details');
            details.empty();
            var windowNS = curve[items[0].row][0];
            var url = '?mode=details&window=' + windowNS + '&flags=' + mmuFlags();
            $.getJSON(url)
             .fail(function(xhr, status, error) {
                details.text(status + ': ' + url + ' could not be loaded');
             })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. src/internal/zstd/zstd.go

    		exponent := uint64(windowDescriptor >> 3)
    		mantissa := uint64(windowDescriptor & 7)
    		windowLog := exponent + 10
    		windowBase := uint64(1) << windowLog
    		windowAdd := (windowBase / 8) * mantissa
    		windowSize = windowBase + windowAdd
    
    		// Default zstd sets limits on the window size.
    		if fuzzing && (windowLog > 31 || windowSize > 1<<27) {
    			return r.makeError(relativeOffset, "windowSize too large")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/runtime/hash_test.go

    	if race.Enabled {
    		t.Skip("Too long for race mode")
    	}
    	t.Parallel()
    	h := newHashSet()
    	t.Logf("32 bit keys")
    	windowed(t, h, &Int32Key{})
    	t.Logf("64 bit keys")
    	windowed(t, h, &Int64Key{})
    	t.Logf("string keys")
    	windowed(t, h, &BytesKey{make([]byte, 128)})
    }
    func windowed(t *testing.T, h *HashSet, k Key) {
    	if GOARCH == "wasm" {
    		t.Skip("Too slow on wasm")
    	}
    	if PtrSize == 4 {
    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/hash/maphash/smhasher_test.go

    			}
    		}
    	}
    }
    
    // All bit rotations of a set of distinct keys
    func TestSmhasherWindowed(t *testing.T) {
    	t.Parallel()
    	windowed(t, &bytesKey{make([]byte, 128)})
    }
    func windowed(t *testing.T, k key) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("Too slow on wasm")
    	}
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	const BITS = 16
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/math/big/nat.go

    	}
    	// y > 1
    
    	if len(m) != 0 {
    		// We likely end up being as long as the modulus.
    		z = z.make(len(m))
    
    		// If the exponent is large, we use the Montgomery method for odd values,
    		// and a 4-bit, windowed exponentiation for powers of two,
    		// and a CRT-decomposed Montgomery method for the remaining values
    		// (even values times non-trivial odd values, which decompose into one
    		// instance of each of the first two cases).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top