- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,314 for runN (0.16 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/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) -
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) -
platforms/documentation/docs/src/snippets/multiproject/basic-multiproject/tests/run.out
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 14 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go
} // Run generates and uploads reports, as allowed by the mode file. func Run(config RunConfig) error { defer func() { if err := recover(); err != nil { log.Printf("upload recover: %v", err) } }() uploader, err := newUploader(config) if err != nil { return err } defer uploader.Close() return uploader.Run() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 5.5K bytes - Viewed (0) -
src/run.bat
L1::: Copyright 2012 The Go Authors. All rights reserved. L2::: Use of this source code is governed by a BSD-style L3::: license that can be found in the LICENSE file. L4: L5:@echo off L6: L7:if exist ..\bin\go.exe goto ok L8:echo Must run run.bat from Go src directory after installing cmd/go. L9:goto fail L10::ok L11: L12::: Keep environment variables within this script L13::: unless invoked with --no-local. L14:if x%1==x--no-local goto nolocal L15:if x%2==x--no-local goto nolocal ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 17 20:19:28 UTC 2022 - 859 bytes - Viewed (0) -
src/test/resources/run.sh
Shinsuke Sugaya <******@****.***> 1707535177 +0900
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sat Feb 10 03:25:34 UTC 2024 - 353 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/sharing-convention-plugins-with-build-logic/tests/run.out
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 14 bytes - Viewed (0)