Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for calculations (0.18 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskInputFilePropertyBuilder.java

         *
         * See {@link #ignoreEmptyDirectories()}.
         *
         * @since 6.8
         */
        TaskInputFilePropertyBuilder ignoreEmptyDirectories(boolean ignoreEmptyDirectories);
    
        /**
         * Normalize line endings in text files during up-to-date checks and build cache key calculations. This setting will have no effect on binary files.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 13 17:35:59 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue63657.go

    // run
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure address calculations don't float up before
    // the corresponding nil check.
    
    package main
    
    type T struct {
    	a, b int
    }
    
    //go:noinline
    func f(x *T, p *bool, n int) {
    	*p = n != 0
    	useStack(1000)
    	g(&x.b)
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 677 bytes
    - Viewed (0)
  3. test/fixedbugs/issue16249.go

    // run
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Liveness calculations were wrong for a result parameter pushed onto
    // the heap in a function that used defer.  Program would crash with
    //     runtime: bad pointer in frame main.A at 0xc4201e6838: 0x1
    
    package main
    
    import "errors"
    
    var sink interface{}
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 02 00:40:40 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  4. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceReadResult.java

         * Or, it might be transfer encoded (e.g. HTTP chunked transfer, more bytes transferred).
         * Or, both.
         * Therefore, it is not necessarily an accurate input into transfer rate (a.k.a. throughput) calculations.
         * <p>
         * Moreover, it represents the content bytes <b>read</b>, not transferred.
         * If the read operation only reads a subset of what was transmitted, this number will be the read byte count.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/zcse.go

    				if vals[key] == nil {
    					vals[key] = v
    					if b != f.Entry {
    						// Move v to the entry block so it will dominate every block
    						// where we might use it. This prevents the need for any dominator
    						// calculations in this pass.
    						v.Block = f.Entry
    						f.Entry.Values = append(f.Entry.Values, v)
    						last := len(b.Values) - 1
    						b.Values[i] = b.Values[last]
    						b.Values[last] = nil
    						b.Values = b.Values[:last]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  6. cmd/warm-backend-minio.go

    	if objectSize > maxMultipartPutObjectSize {
    		err = errors.New("entity too large")
    		return
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    	// overflows during float64 to int64 conversions.
    	partSizeFlt := float64(objectSize / maxPartsCount)
    	partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. pkg/scheduler/metrics/resources/resources.go

    	for _, p := range pods {
    		reqs, limits, terminal := podRequestsAndLimitsByLifecycle(p, reuseReqs, reuseLimits)
    		if terminal {
    			// terminal pods are excluded from resource usage calculations
    			continue
    		}
    		for _, t := range []struct {
    			desc  resourceLifecycleDescriptors
    			total v1.ResourceList
    		}{
    			{
    				desc:  podResourceDesc.requests,
    				total: reqs,
    			},
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. pkg/kubelet/server/stats/volume_stat_calculator.go

    	s.startO.Do(func() {
    		go wait.JitterUntil(func() {
    			s.calcAndStoreStats()
    		}, s.jitterPeriod, 1.0, true, s.stopChannel)
    	})
    	return s
    }
    
    // StopOnce stops background pod volume calculation.  Will not stop a currently executing calculations until
    // they complete their current iteration.
    func (s *volumeStatCalculator) StopOnce() *volumeStatCalculator {
    	s.stopO.Do(func() {
    		close(s.stopChannel)
    	})
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 29 00:55:10 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc.go

    const epsilon = 0.0000001
    
    // computeConcurrencyAllocation returns the unique `allocs []float64`, and
    // an associated `fairProp float64`, that jointly have
    // all of the following properties (to the degree that floating point calculations allow)
    // if possible otherwise returns an error saying why it is impossible.
    // `allocs` sums to `requiredSum`.
    // For each J in [0, len(classes)):
    //  1. `classes[J].lowerBound <= allocs[J] <= classes[J].upperBound` and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  10. src/compress/flate/huffman_code.go

    	level := maxBits
    	for {
    		l := &levels[level]
    		if l.nextPairFreq == math.MaxInt32 && l.nextCharFreq == math.MaxInt32 {
    			// We've run out of both leafs and pairs.
    			// End all calculations for this level.
    			// To make sure we never come back to this level or any lower level,
    			// set nextPairFreq impossibly large.
    			l.needed = 0
    			levels[level+1].nextPairFreq = math.MaxInt32
    			level++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
Back to top