Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 318 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/hash/maphash/maphash.go

    //	return h.Sum64()
    func Bytes(seed Seed, b []byte) uint64 {
    	state := seed.s
    	if state == 0 {
    		panic("maphash: use of uninitialized Seed")
    	}
    
    	if len(b) > bufSize {
    		b = b[:len(b):len(b)] // merge len and cap calculations when reslicing
    		for len(b) > bufSize {
    			state = rthash(b[:bufSize], state)
    			b = b[bufSize:]
    		}
    	}
    	return rthash(b, state)
    }
    
    // String returns the hash of s with the given seed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java

         * For example, the value content of an @InputFile property of a task is not known when that input file is the output of another a task.
         * The provider returned by this method may or not be the same instance as this provider. Generally, it is better to simplify any provider chains to replace calculations with fixed values and to remove
         * intermediate steps.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top