- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 7,147 for runN (0.23 sec)
-
src/go/doc/testdata/benchmark.go
func (b *B) nsPerOp() int64 { if b.N <= 0 { return 0 } return b.duration.Nanoseconds() / int64(b.N) } // runN runs a single benchmark for the specified number of iterations. func (b *B) runN(n int) { // Try to get a comparable environment for each run // by clearing garbage from previous runs. runtime.GC() b.N = n b.ResetTimer() b.StartTimer() b.benchmark.F(b) b.StopTimer() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 7.4K bytes - Viewed (0) -
src/testing/benchmark.go
b.showAllocResult = true } // runN runs a single benchmark for the specified number of iterations. func (b *B) runN(n int) { benchmarkLock.Lock() defer benchmarkLock.Unlock() defer func() { b.runCleanup(normalPanic) b.checkRaces() }() // Try to get a comparable environment for each run // by clearing garbage from previous runs. runtime.GC() b.resetRaces() b.N = n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go
broken = runY b.Disable = false case !runN.Success && runY.Success: b.Logf("target fails with no changes, succeeds with all changes") b.Logf("searching for minimal set of disabled changes causing failure") broken = runN b.Disable = true case runN.Success && runY.Success: b.Fatalf("target succeeds with no changes and all changes") case !runN.Success && !runY.Success:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 18:11:19 UTC 2023 - 23.9K bytes - Viewed (0) -
src/testing/sub_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 21:27:08 UTC 2023 - 23.8K bytes - Viewed (0) -
src/cmd/go/internal/run/run.go
module-aware mode or GOPATH mode, depending on the GO111MODULE environment variable and the presence of a go.mod file. See 'go help modules' for details. If module-aware mode is enabled, "go run" runs in the context of the main module. By default, 'go run' runs the compiled binary directly: 'a.out arguments...'. If the -exec flag is given, 'go run' invokes the binary using xprog:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/run.go
}) } }) } // fromEachCluster runs test from each cluster without requiring source deployment. func (t *T) fromEachCluster(ctx framework.TestContext, testFn perClusterTest) { for _, fromCluster := range t.sources.Clusters() { fromCluster := fromCluster ctx.NewSubTestf("from %s", fromCluster.StableName()).Run(func(ctx framework.TestContext) { testFn(ctx, fromCluster) }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 22:08:42 UTC 2023 - 13K bytes - Viewed (0) -
src/run.rc
#!/bin/rc -e # Copyright 2012 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. rfork e if(! test -f ../bin/go){ echo 'run.rc must be run from $GOROOT/src after installing cmd/go' >[1=2] exit wrongdir } GOENV=off eval `{../bin/go tool dist env} GOPATH=/nonexist-gopath
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 17 20:19:28 UTC 2022 - 406 bytes - Viewed (0) -
src/run.bash
# # GO_TEST_TIMEOUT_SCALE: a non-negative integer factor to scale test timeout by. # Defaults to 1. set -e if [ ! -f ../bin/go ]; then echo 'run.bash must be run from $GOROOT/src after installing cmd/go' 1>&2 exit 1 fi export GOENV=off eval $(../bin/go tool dist env) unset CDPATH # in case user has it set export GOHOSTOS export CC # no core files, please ulimit -c 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:02:23 UTC 2024 - 1.7K bytes - Viewed (0) -
common/scripts/run.sh
# following command only # shellcheck disable=SC2086 "${CONTAINER_CLI}" run \ --rm \ "${DOCKER_RUN_OPTIONS[@]}" \ --init \ --sig-proxy=true \ ${DOCKER_SOCKET_MOUNT:--v /var/run/docker.sock:/var/run/docker.sock} \ $CONTAINER_OPTIONS \ --env-file <(env | grep -v ${ENV_BLOCKLIST}) \ -e IN_BUILD_CONTAINER=1 \
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 11 02:34:11 UTC 2023 - 2.2K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/run.go
for _, uid := range split(proxyUID) { f.Run("-p", "udp", "--dport", "53", "-m", "owner", "--uid-owner", uid, "-j", constants.RETURN) } for _, gid := range split(proxyGID) { f.Run("-p", "udp", "--dport", "53", "-m", "owner", "--gid-owner", gid, "-j", constants.RETURN) } if ownerGroupsFilter.Except { for _, group := range ownerGroupsFilter.Values {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 35.4K bytes - Viewed (0)