Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for Adjustment (0.16 sec)

  1. src/runtime/pprof/protomem.go

    // profile is 1-exp(-S/R).
    func scaleHeapSample(count, size, rate int64) (int64, int64) {
    	if count == 0 || size == 0 {
    		return 0, 0
    	}
    
    	if rate <= 1 {
    		// if rate==1 all samples were collected so no adjustment is needed.
    		// if rate<1 treat as unknown and skip scaling.
    		return count, size
    	}
    
    	avgSize := float64(size) / float64(count)
    	scale := 1 / (1 - math.Exp(-avgSize/float64(rate)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/base/base.go

    // is true-mostly, depending on when the adjustment occurs and on the
    // compiler's input and behavior.  Once this size is approximately reached
    // GOGC is reset to 100; subsequent GCs may reduce the heap below the requested
    // size, but this function does not affect that.
    //
    // -d=gcadjust=1 enables logging of GOGC adjustment events.
    //
    // NOTE: If you think this code would help startup time in your own
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go

    		&compbasemetrics.GaugeOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "demand_seats_high_watermark",
    			Help:           "High watermark, over last adjustment period, of demand_seats",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{priorityLevel},
    	)
    	apiserverSeatDemandAverages = compbasemetrics.NewGaugeVec(
    		&compbasemetrics.GaugeOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 19:40:05 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		// address space. Assume that the address has already been
    		// adjusted, so no additional base adjustment is necessary.
    		return 0, nil
    	}
    
    	switch fh.Type {
    	case elf.ET_EXEC:
    		if loadSegment == nil {
    			// Assume fixed-address executable and so no adjustment.
    			return 0, nil
    		}
    		if stextOffset == nil && start > 0 && start < 0x8000000000000000 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

     * more adapted algorithms.
     *
     */
    public class MavenModelMerger extends MavenMerger {
    
        /**
         * The hint key for the child path adjustment used during inheritance for URL calculations.
         */
        public static final String CHILD_PATH_ADJUSTMENT = "child-path-adjustment";
    
        /**
         * The context key for the artifact id of the target model.
         */
        public static final String ARTIFACT_ID = "artifact-id";
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go

    // dispatch based on an initial guess at the request’s service time
    // (duration) and then make the corresponding adjustments once the
    // request’s actual service time is known. This is similar, although
    // not exactly isomorphic, to the original paper’s adjustment by
    // `$\delta$` for the sake of promptness.
    //
    // For implementation simplicity (see below), let us use the same
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 12:33:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    	if err != nil {
    		return fmt.Errorf("error opening: %w", err)
    	}
    
    	if !multFnRe.Match(content) {
    		return fmt.Errorf("MultFn not found; update regexp?")
    	}
    
    	// Users of MultFn shouldn't need adjustment, type inference should
    	// work OK.
    	content = multFnRe.ReplaceAll(content, []byte(`func MultFn[T int32|int64](a, b T) T`))
    
    	return os.WriteFile(path, content, 0644)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/runtime/time.go

    			throw("bad ts")
    		}
    
    		if t.astate.Load()&(timerModified|timerZombie) == 0 {
    			// Fast path: head of timers does not need adjustment.
    			return
    		}
    
    		t.lock()
    		updated := t.updateHeap()
    		t.unlock()
    		if !updated {
    			// Head of timers does not need adjustment.
    			return
    		}
    	}
    }
    
    // take moves any timers from src into ts
    // and then clears the timer state from src,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. src/archive/tar/strconv.go

    	}
    
    	const padding = 3 // Extra padding for ' ', '=', and '\n'
    	size := len(k) + len(v) + padding
    	size += len(strconv.Itoa(size))
    	record := strconv.Itoa(size) + " " + k + "=" + v + "\n"
    
    	// Final adjustment if adding size field increased the record size.
    	if len(record) != size {
    		size = len(record)
    		record = strconv.Itoa(size) + " " + k + "=" + v + "\n"
    	}
    	return record, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/runtime/debug_test.go

    // pointers in the arguments.
    //
    //go:noinline
    func debugCallWorker2(stop *uint32, x *int) {
    	for atomic.LoadUint32(stop) == 0 {
    		// Strongly encourage x to live in a register so we
    		// can test pointer register adjustment.
    		*x++
    	}
    	*x = 1
    }
    
    func debugCallTKill(tid int) error {
    	return syscall.Tgkill(syscall.Getpid(), tid, syscall.SIGTRAP)
    }
    
    // skipUnderDebugger skips the current test when running under a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top