Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 189 for Inits (0.12 sec)

  1. platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java

    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Optional;
    
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    /*
     * Benchmark                     Mode  Cnt          Score         Error  Units
     * OptionalBenchmark.nullCheck  thrpt   20  107887111.061 ±  882182.482  ops/s
     * OptionalBenchmark.optional   thrpt   20   86746312.090 ± 1150860.296  ops/s
     **/
    @Fork(2)
    @Warmup(iterations = 10, time = 1, timeUnit = SECONDS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/DurationTest.groovy

            1000      | "1000 s"      | "16.667 m"
            0.123     | "0.123 s"     | "123 ms"
            0.1234567 | "0.1234567 s" | "123.457 ms"
            -12       | "-12 s"       | "-12 s"
        }
    
        def "can convert between units"() {
            expect:
            Duration.millis(45000) == Duration.seconds(45)
            Duration.seconds(0.98) == Duration.millis(980)
            Duration.seconds(120) == Duration.minutes(2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/runtime/time_windows_386.s

    wall:
    	MOVL	(_SYSTEM_TIME+time_hi1), CX
    	MOVL	(_SYSTEM_TIME+time_lo), AX
    	MOVL	(_SYSTEM_TIME+time_hi2), DX
    	CMPL	CX, DX
    	JNE	wall
    
    	// w = DX:AX
    	// convert to Unix epoch (but still 100ns units)
    	#define delta 116444736000000000
    	SUBL	$(delta & 0xFFFFFFFF), AX
    	SBBL $(delta >> 32), DX
    
    	// nano/100 = DX:AX
    	// split into two decimal halves by div 1e9.
    	// (decimal point is two spots over from correct place,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report.h

    namespace mlir::quant::stablehlo {
    
    // A `PassInstrumentation` that saves quantization report to file after
    // `QuantizeCompositeFunctionsPass` is run. It inspects the `ModuleOp` after
    // quantization and analyzes the quantizable units and quantization methods
    // used. The report file will be saved at the `file_path`. The report file
    // contains textproto of `QuantizationResults`. `file_path`'s base directories
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_server_journal_linux.go

    	}
    
    	return "journalctl", args, nil
    }
    
    // checkForNativeLogger checks journalctl output for a service
    func checkForNativeLogger(ctx context.Context, service string) bool {
    	// This will return all the journald units
    	cmd := exec.CommandContext(ctx, "journalctl", []string{"--field", "_SYSTEMD_UNIT"}...)
    	output, err := cmd.CombinedOutput()
    	if err != nil {
    		// Returning false to allow checking if the service is logging to a file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 11 01:09:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/runtime/time_windows_arm.s

    wall:
    	MOVW	time_hi1(R3), R1
    	DMB	MB_ISH
    	MOVW	time_lo(R3), R0
    	DMB	MB_ISH
    	MOVW	time_hi2(R3), R2
    	CMP	R1, R2
    	BNE	wall
    
    	// w = R1:R0 in 100ns untis
    	// convert to Unix epoch (but still 100ns units)
    	#define delta 116444736000000000
    	SUB.S   $(delta & 0xFFFFFFFF), R0
    	SBC     $(delta >> 32), R1
    
    	// Convert to nSec
    	MOVW    $100, R2
    	MULLU   R0, R2, (R4, R3)    // R4:R3 = R1:R0 * R2
    	MULA    R1, R2, R4, R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		//   Option a: Set HostConfig.CpuPercent. The units are whole percent of the total CPU capacity of the system, meaning the resolution
    		//      is different based on the number of cores.
    		//   Option b: Set HostConfig.NanoCpus integer <int64> - CPU quota in units of 10e-9 CPUs. Moby scales this to the Windows job object
    		//      resolution of 1-10000, so it's higher resolution than option a.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/qos_container_manager_linux.go

    */
    
    package cm
    
    import (
    	"fmt"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/util/wait"
    
    	units "github.com/docker/go-units"
    	libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    
    	"k8s.io/kubernetes/pkg/api/v1/resource"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/process/JavaForkOptions.java

         */
        @Nullable @Optional @Input
        String getMinHeapSize();
    
        /**
         * Sets the minimum heap size for the process.
         * Supports the units megabytes (e.g. "512m") and gigabytes (e.g. "1g").
         *
         * @param heapSize The minimum heap size. Use null for the default minimum heap size.
         */
        void setMinHeapSize(@Nullable String heapSize);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/helper/helpers.go

    	return resource.ParseQuantity(pageSize)
    }
    
    // HugePageUnitSizeFromByteSize returns hugepage size has the format.
    // `size` must be guaranteed to divisible into the largest units that can be expressed.
    // <size><unit-prefix>B (1024 = "1KB", 1048576 = "1MB", etc).
    func HugePageUnitSizeFromByteSize(size int64) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top