Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 351 for calculations (0.26 sec)

  1. src/crypto/rsa/rsa.go

    // ErrVerification represents a failure to verify a signature.
    // It is deliberately vague to avoid adaptive attacks.
    var ErrVerification = errors.New("crypto/rsa: verification error")
    
    // Precompute performs some calculations that speed up private key operations
    // in the future.
    func (priv *PrivateKey) Precompute() {
    	if priv.Precomputed.n == nil && len(priv.Primes) == 2 {
    		// Precomputed values _should_ always be valid, but if they aren't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge.go

    	// Add retainExtraPercent overhead to retainedGoal. This calculation
    	// looks strange but the purpose is to arrive at an integer division
    	// (e.g. if retainExtraPercent = 12.5, then we get a divisor of 8)
    	// that also avoids the overflow from a multiplication.
    	gcPercentGoal += gcPercentGoal / (1.0 / (retainExtraPercent / 100.0))
    	// Align it to a physical page boundary to make the following calculations
    	// a bit more exact.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  3. src/go/types/named.go

    // are constructed exactly once and so that we do not access their details too
    // soon.
    //
    // We achieve this by tracking state with an atomic state variable, and
    // guarding potentially concurrent calculations with a mutex. At any point in
    // time this state variable determines which data on N may be accessed. As
    // state monotonically progresses, any data available at state M may be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/term/terminal.go

    		if t.cursorX >= t.termWidth {
    			t.cursorX = t.termWidth - 1
    		}
    		t.cursorY *= 2
    		t.clearAndRepaintLinePlusNPrevious(t.maxLine * 2)
    	case width > oldWidth:
    		// If the terminal expands then our position calculations will
    		// be wrong in the future because we think the cursor is
    		// |t.pos| chars into the string, but there will be a gap at
    		// the end of any wrapped line.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/symtab.go

    	for _, sect := range Segtext.Sections {
    		if sect.Name != ".text" {
    			break
    		}
    		// The fields written should match runtime/symtab.go:textsect.
    		// They are designed to minimize runtime calculations.
    		vaddr := sect.Vaddr - textbase
    		off = t.SetUint(ctxt.Arch, off, vaddr) // field vaddr
    		end := vaddr + sect.Length
    		off = t.SetUint(ctxt.Arch, off, end) // field end
    		name := "runtime.text"
    		if n != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/module/module.go

    	// There are three exceptions to this general rule.
    	// First, the top-level target of a build has no specific version
    	// and uses Version = "".
    	// Second, during MVS calculations the version "none" is used
    	// to represent the decision to take no version of a given module.
    	// Third, filesystem paths found in "replace" directives are
    	// represented by a path with an empty version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider.go

    		}
    		if !found {
    			result = append(result, refs[len(refs)-1])
    		}
    	}
    	return result
    }
    
    // removeTerminatedContainers removes all terminated containers since they should
    // not be used for usage calculations.
    func removeTerminatedContainers(containers []*runtimeapi.Container) []*runtimeapi.Container {
    	containerMap := make(map[containerID][]*runtimeapi.Container)
    	// Sort order by create time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. cmd/kubelet/app/options/options.go

    	fs.DurationVar(&c.VolumeStatsAggPeriod.Duration, "volume-stats-agg-period", c.VolumeStatsAggPeriod.Duration, "Specifies interval for kubelet to calculate and cache the volume disk usage for all pods and volumes.  To disable volume calculations, set to a negative number.")
    	fs.Var(cliflag.NewMapStringBool(&c.FeatureGates), "feature-gates", "A set of key=value pairs that describe feature gates for alpha/experimental features. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

      // to be considered equal.
      //
      // The maximum error of a single floating-point operation is 0.5
      // units in the last place.  On Intel CPU's, all floating-point
      // calculations are done with 80-bit precision, while double has 64
      // bits.  Therefore, 4 should be enough for ordinary use.
      //
      // See the following article for more details on ULP:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

      // to be considered equal.
      //
      // The maximum error of a single floating-point operation is 0.5
      // units in the last place.  On Intel CPU's, all floating-point
      // calculations are done with 80-bit precision, while double has 64
      // bits.  Therefore, 4 should be enough for ordinary use.
      //
      // See the following article for more details on ULP:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top