Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for cutoff (0.19 sec)

  1. src/strconv/atoi.go

    		return 0, bitSizeError(fnParseUint, s0, bitSize)
    	}
    
    	// Cutoff is the smallest number such that cutoff*base > maxUint64.
    	// Use compile-time constants for common cases.
    	var cutoff uint64
    	switch base {
    	case 10:
    		cutoff = maxUint64/10 + 1
    	case 16:
    		cutoff = maxUint64/16 + 1
    	default:
    		cutoff = maxUint64/uint64(base) + 1
    	}
    
    	maxVal := uint64(1)<<uint(bitSize) - 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    	//
    	// This must be done as a separate pass because of the
    	// requirement that the comment be followed by a blank line.
    	var cutoff int
    	for i, line := range lines {
    		line = bytes.TrimSpace(line)
    		if !bytes.HasPrefix(line, slashSlash) {
    			if len(line) > 0 {
    				break
    			}
    			cutoff = i
    		}
    	}
    
    	for i, line := range lines {
    		line = bytes.TrimSpace(line)
    		if !bytes.HasPrefix(line, slashSlash) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/objfile.go

    	})
    
    	// All filenames are in the postable.
    	for _, f := range w.ctxt.PosTable.FileTable() {
    		w.AddString(filepath.ToSlash(f))
    	}
    }
    
    // cutoff is the maximum data section size permitted by the linker
    // (see issue #9862).
    const cutoff = int64(2e9) // 2 GB (or so; looks better in errors than 2^31)
    
    func (w *writer) Sym(s *LSym) {
    	name := s.Name
    	abi := uint16(s.ABI())
    	if s.Static() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal.go

    	maxRecommendation := prenormalizedDesiredReplicas
    	foundOldSample := false
    	oldSampleIndex := 0
    	cutoff := time.Now().Add(-a.downscaleStabilisationWindow)
    
    	a.recommendationsLock.Lock()
    	defer a.recommendationsLock.Unlock()
    	for i, rec := range a.recommendations[key] {
    		if rec.timestamp.Before(cutoff) {
    			foundOldSample = true
    			oldSampleIndex = i
    		} else if rec.recommendation > maxRecommendation {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSet.java

      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.7;
    
      // If the set has this many elements, it will "max out" the table size
      private static final int CUTOFF = (int) (MAX_TABLE_SIZE * DESIRED_LOAD_FACTOR);
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    }
    
    // DiscardLowFrequencyNodes returns a set of the nodes at or over a
    // specific cum value cutoff.
    func (g *Graph) DiscardLowFrequencyNodes(nodeCutoff int64) NodeSet {
    	return makeNodeSet(g.Nodes, nodeCutoff)
    }
    
    // DiscardLowFrequencyNodePtrs returns a NodePtrSet of nodes at or over a
    // specific cum value cutoff.
    func (g *Graph) DiscardLowFrequencyNodePtrs(nodeCutoff int64) NodePtrSet {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. src/runtime/mksizeclasses.go

    // That page count is chosen so that chopping up the run of
    // pages into objects of the given size wastes at most 12.5% (1.125x)
    // of the memory. It is not necessary that the cutoff here be
    // the same as above.
    //
    // The two sources of waste multiply, so the worst possible case
    // for the above constraints would be that allocations of some
    // size might have a 26.6% (1.266x) overhead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/internal/abi/type.go

    // more compact.)
    //
    // The cutoff must be large enough that any allocation large enough to
    // use a GC program is large enough that it does not share heap bitmap
    // bytes with any other objects, allowing the GC program execution to
    // assume an aligned start and not use atomic operations. In the current
    // runtime, this means all malloc size classes larger than the cutoff must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/data.go

    	p.w.ZeroUntil(sval / ptrsize)
    	p.w.Append(prog[4:], nptr)
    }
    
    // cutoff is the maximum data section size permitted by the linker
    // (see issue #9862).
    const cutoff = 2e9 // 2 GB (or so; looks better in errors than 2^31)
    
    // check accumulated size of data sections
    func (state *dodataState) checkdatsize(symn sym.SymKind) {
    	if state.datsize > cutoff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.7;
    
      // If the set has this many elements, it will "max out" the table size
      private static final int CUTOFF = (int) (MAX_TABLE_SIZE * DESIRED_LOAD_FACTOR);
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top