Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for sumAsm (0.13 sec)

  1. src/cmd/go/internal/modfetch/fetch.go

    // WriteGoSum writes the go.sum file if it needs to be updated.
    //
    // keep is used to check whether a newly added sum should be saved in go.sum.
    // It should have entries for both module content sums and go.mod sums
    // (version ends with "/go.mod"). Existing sums will be preserved unless they
    // have been marked for deletion with TrimGoSum.
    func WriteGoSum(ctx context.Context, keep map[module.Version]bool, readonly bool) error {
    	goSum.mu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/hash/adler32/adler32.go

    // license that can be found in the LICENSE file.
    
    // Package adler32 implements the Adler-32 checksum.
    //
    // It is defined in RFC 1950:
    //
    //	Adler-32 is composed of two sums accumulated per byte: s1 is
    //	the sum of all bytes, s2 is the sum of all s1 values. Both sums
    //	are done modulo 65521. s1 is initialized to 1, s2 to zero.  The
    //	Adler-32 checksum is stored as s2*65536 + s1 in most-
    //	significant-byte first (network) order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/qos_container_manager_linux.go

    	burstableCPUShares := MilliCPUToShares(burstablePodCPURequest)
    	configs[v1.PodQOSBurstable].ResourceParameters.CPUShares = &burstableCPUShares
    	return nil
    }
    
    // getQoSMemoryRequests sums and returns the memory request of all pods for
    // guaranteed and burstable qos classes.
    func (m *qosContainerManagerImpl) getQoSMemoryRequests() map[v1.PodQOSClass]int64 {
    	qosMemoryRequests := map[v1.PodQOSClass]int64{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/internal/trace/gc.go

    // An MMUCurve is the minimum mutator utilization curve across
    // multiple window sizes.
    type MMUCurve struct {
    	series []mmuSeries
    }
    
    type mmuSeries struct {
    	util []MutatorUtil
    	// sums[j] is the cumulative sum of util[:j].
    	sums []totalUtil
    	// bands summarizes util in non-overlapping bands of duration
    	// bandDur.
    	bands []mmuBand
    	// bandDur is the duration of each band.
    	bandDur int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    	// so in order to ensure that the build list itself is reproducible,
    	// we need sums for every go.mod in the graph (regardless of whether
    	// that version is selected).
    	keep := make(map[module.Version]bool)
    
    	// Add entries for modules in the build list with paths that are prefixes of
    	// paths of loaded packages. We need to retain sums for all of these modules —
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/import.go

    // if a module contains a package, but we don't have a sum for its .zip file.
    // We might need sums for multiple modules to verify the package is unique.
    //
    // TODO(#43653): consolidate multiple errors of this type into a single error
    // that suggests a 'go get' command for root packages that transitively import
    // packages from modules with missing sums. load.CheckPackageErrors would be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  7. src/hash/maphash/smhasher_test.go

    	// More precisely, we did N = k.bits() * hashSize experiments where
    	// each is the sum of REP coin flips. We want to find bounds on the
    	// sum of coin flips such that a truly random experiment would have
    	// all sums inside those bounds with 99% probability.
    	N := n * hashSize
    	var c float64
    	// find c such that Prob(mean-c*stddev < x < mean+c*stddev)^N > .9999
    	for c = 0.0; math.Pow(math.Erf(c/math.Sqrt(2)), float64(N)) < .9999; c += .1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modget/get.go

    			if err != nil || deprecation == "" {
    				return
    			}
    			deprecations[i].message = modload.ShortMessage(deprecation, "")
    		})
    	}
    
    	// Load sums for updated modules that had sums before. When we update a
    	// module, we may update another module in the build list that provides a
    	// package in 'all' that wasn't loaded as part of this 'go get' command.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

        const fs = Math.max(MIN_FONT_SIZE, FONT_SIZE * (avail / width));
        t.style.fontSize = fs + 'pt';
        t.innerText = text;
      }
    
      // totalValue returns the positive and negative sums of the Values of stacks
      // listed in places.
      function totalValue(places) {
        const seen = new Set();
        let pos = 0;
        let neg = 0;
        for (const place of places) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. src/runtime/hash_test.go

    	// More precisely, we did N = k.bits() * hashSize experiments where
    	// each is the sum of REP coin flips. We want to find bounds on the
    	// sum of coin flips such that a truly random experiment would have
    	// all sums inside those bounds with 99% probability.
    	N := n * hashSize
    	var c float64
    	// find c such that Prob(mean-c*stddev < x < mean+c*stddev)^N > .9999
    	for c = 0.0; math.Pow(math.Erf(c/math.Sqrt(2)), float64(N)) < .9999; c += .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)
Back to top