Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,900 for measure (0.24 sec)

  1. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

                spoolDir().deleteDir()
            }
    
            @Override
            void afterBuild(BuildContext context, Throwable t) {
                def spoolDir = this.spoolDir()
                if (context.phase == Phase.MEASURE && (context.iteration == invocationSettings.buildCount) && spoolDir.exists()) {
                    def targetDirectory = new File("build/scan-dumps/$testId")
                    targetDirectory.deleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication-stats.go

    			return
    		}
    	}
    }
    
    func (r *ReplicationStats) updateMovingAvg() {
    	r.RLock()
    	for _, s := range r.Cache {
    		for _, st := range s.Stats {
    			st.XferRateLrg.measure.updateExponentialMovingAverage(time.Now())
    			st.XferRateSml.measure.updateExponentialMovingAverage(time.Now())
    		}
    	}
    	r.RUnlock()
    }
    
    // ActiveWorkers returns worker stats
    func (r *ReplicationStats) ActiveWorkers() ActiveWorkerStat {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.performance.measure;
    
    import javax.annotation.Nullable;
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    import java.text.DecimalFormat;
    import java.text.DecimalFormatSymbols;
    import java.util.List;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.performance.measure;
    
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    public abstract class Units<Q> implements Comparable<Units<Q>> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/go/types/signature.go

    				}
    			} else if len(tparams) < len(recvTParams) {
    				// Reporting an error here is a stop-gap measure to avoid crashes in the
    				// compiler when a type parameter/argument cannot be inferred later. It
    				// may lead to follow-on errors (see issues go.dev/issue/51339, go.dev/issue/51343).
    				// TODO(gri) find a better solution
    				got := measure(len(tparams), "type parameter")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    			// improvement here would be to somehow get a count the number of expressions in the regex or
    			// how many states are in the regex state machine and use that to measure regex cost).
    			// For now, we're making a guess that each expression in a regex is typically at least 4 chars
    			// in length.
    			regexCost := uint64(math.Ceil(float64(actualSize(args[1])) * common.RegexStringLengthCostFactor))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/signature.go

    				}
    			} else if len(tparams) < len(recvTParams) {
    				// Reporting an error here is a stop-gap measure to avoid crashes in the
    				// compiler when a type parameter/argument cannot be inferred later. It
    				// may lead to follow-on errors (see issues go.dev/issue/51339, go.dev/issue/51343).
    				// TODO(gri) find a better solution
    				got := measure(len(tparams), "type parameter")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. src/net/netip/slow_test.go

    var zeros = []string{"0", "0", "0", "0", "0", "0", "0", "0"}
    
    // parseIPSlow is like ParseIP, but aims for readability above
    // speed. It's the reference implementation for correctness checking
    // and against which we measure optimized parsers.
    //
    // parseIPSlow understands the following forms of IP addresses:
    //   - Regular IPv4: 1.2.3.4
    //   - IPv4 with many leading zeros: 0000001.0000002.0000003.0000004
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java

                .map(it -> (ExecutableElement) it)
                // Ensure that the elements have a stable order, as the annotation processing engine does not guarantee that for type elements.
                // The order in which the executable elements are listed should be the order in which they appear in the code but
                // we take an extra measure of care here and ensure the ordering between all elements.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/runtime/histogram.go

    	counts [timeHistNumBuckets * timeHistNumSubBuckets]atomic.Uint64
    
    	// underflow counts all the times we got a negative duration
    	// sample. Because of how time works on some platforms, it's
    	// possible to measure negative durations. We could ignore them,
    	// but we record them anyway because it's better to have some
    	// signal that it's happening than just missing samples.
    	underflow atomic.Uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top