Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 245 for 10ns (0.04 sec)

  1. src/testing/benchmark.go

    		grain = 1e5 * uint64(b.previousN) / uint64(b.previousDuration)
    	}
    	if grain < 1 {
    		grain = 1
    	}
    	// We expect the inner loop and function call to take at least 10ns,
    	// so do not do more than 100µs/10ns=1e4 iterations.
    	if grain > 1e4 {
    		grain = 1e4
    	}
    
    	var n atomic.Uint64
    	numProcs := b.parallelism * runtime.GOMAXPROCS(0)
    	var wg sync.WaitGroup
    	wg.Add(numProcs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/time/time_test.go

    	{"1.0s", 1 * Second},
    	{"1.00s", 1 * Second},
    	{"1.004s", 1*Second + 4*Millisecond},
    	{"1.0040s", 1*Second + 4*Millisecond},
    	{"100.00100s", 100*Second + 1*Millisecond},
    	// different units
    	{"10ns", 10 * Nanosecond},
    	{"11us", 11 * Microsecond},
    	{"12µs", 12 * Microsecond}, // U+00B5
    	{"12μs", 12 * Microsecond}, // U+03BC
    	{"13ms", 13 * Millisecond},
    	{"14s", 14 * Second},
    	{"15m", 15 * Minute},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/time/tick_test.go

    	// See go.dev/issue/21874.
    	c := make(chan Time)
    	tick := &Ticker{C: c}
    	tick.Stop()
    }
    
    func TestAfterTimes(t *testing.T) {
    	t.Parallel()
    	// Using After(10ms) but waiting for 500ms to read the channel
    	// should produce a time from start+10ms, not start+500ms.
    	// Make sure it does.
    	// To avoid flakes due to very long scheduling delays,
    	// require 10 failures in a row before deciding something is wrong.
    	for range 10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/html/source.html

          <pre onClick="pprof_toggle_asm(event)">{{"\n" -}}
            {{printf "  Total:  %10s %10s (flat, cum) %s" .Flat .Cumulative .Percent -}}
            {{range .Lines -}}{{"\n" -}}
              {{/* source line */ -}}
              <span class=line>{{printf " %6d" .Line}}</span>{{" " -}}
              <span class={{.HTMLClass}}>
                {{- printf "  %10s %10s %8s  %s " .Flat .Cumulative "" .SrcLine -}}
              </span>{{"" -}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. .github/workflows/mint/nginx-8-node.conf

            server minio1:9000 max_fails=1 fail_timeout=10s;
            server minio2:9000 max_fails=1 fail_timeout=10s;
            server minio3:9000 max_fails=1 fail_timeout=10s;
            server minio4:9000 max_fails=1 fail_timeout=10s;
            server minio5:9000 max_fails=1 fail_timeout=10s;
            server minio6:9000 max_fails=1 fail_timeout=10s;
            server minio7:9000 max_fails=1 fail_timeout=10s;
            server minio8:9000 max_fails=1 fail_timeout=10s;
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/buildevents/BuildResultLoggerTest.groovy

            subject.buildFinished(new BuildResult("Action", null, null));
    
            then:
            1 * durationFormatter.format(10L) >> { "10s" }
            TextUtil.normaliseLineSeparators(textOutputFactory as String) == "{org.gradle.internal.buildevents.BuildResultLogger}{LIFECYCLE}\n{successheader}ACTION SUCCESSFUL{normal} in 10s\n"
        }
    
        def "logs build failure with total time"() {
            when:
            1 * clock.currentTime >> 10
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. .github/workflows/mint/nginx.conf

        # include /etc/nginx/conf.d/*.conf;
    
        upstream minio {
            server minio1:9000 max_fails=1 fail_timeout=10s;
            server minio2:9000 max_fails=1 fail_timeout=10s;
            server minio3:9000 max_fails=1 fail_timeout=10s;
            server minio4:9000 max_fails=1 fail_timeout=10s;
        }
    
        upstream console {
            ip_hash;
            server minio1:9001;
            server minio2:9001;
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. .github/workflows/tests.yml

              MYSQL_RANDOM_ROOT_PASSWORD: "yes"
            ports:
              - 9910:3306
            options: >-
              --health-cmd "mysqladmin ping -ugorm -pgorm"
              --health-interval 10s
              --health-start-period 10s
              --health-timeout 5s
              --health-retries 10
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v4
          with:
            go-version: ${{ matrix.go }}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/after/v1beta1.yaml

    containerLogMaxFiles: 5
    containerLogMaxSize: 10Mi
    containerLogMaxWorkers: 1
    containerLogMonitorInterval: 10s
    containerRuntimeEndpoint: unix:///run/containerd/containerd.sock
    contentType: application/vnd.kubernetes.protobuf
    cpuCFSQuota: true
    cpuCFSQuotaPeriod: 100ms
    cpuManagerPolicy: none
    cpuManagerReconcilePeriod: 10s
    enableControllerAttachDetach: true
    enableDebugFlagsHandler: true
    enableDebuggingHandlers: true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/runtime/time_windows_arm.s

    	MOVW	$_SYSTEM_TIME, R3
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top