- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,099 for runN (0.04 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/go/doc/testdata/testing.1.golden
// func (b *B) nsPerOp() int64 // run times the benchmark function in a separate goroutine. func (b *B) run() BenchmarkResult // runN runs a single benchmark for the specified number of ... func (b *B) runN(n int) // trimOutput shortens the output from a benchmark, which can be ... func (b *B) trimOutput() // The results of a benchmark run. type BenchmarkResult struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8.4K bytes - Viewed (0) -
test/rune.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test rune constants, expressions and types. // Compiles but does not run. package rune var ( r0 = 'a' r1 = 'a'+1 r2 = 1+'a' r3 = 'a'*2 r4 = 'a'/2 r5 = 'a'<<1 r6 = 'b'<<2 r7 int32 r = []rune{r0, r1, r2, r3, r4, r5, r6, r7} ) var ( f0 = 1.2 f1 = 1.2/'a' f = []float64{f0, f1}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 603 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) -
subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationContinuousBuildIntegrationTest.groovy
@ToBeFixedForConfigurationCache(because = "run1.id == run2.id") def "obtains notifications about init scripts"() { when: settingsFile << notifications.registerListener() buildScript """ apply plugin: "java" """ file("src/main/java/Thing.java") << "class Thing {}" then: succeeds("build") def run1 = notifications.op(RunBuildBuildOperationType.Details)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 11 09:57:23 UTC 2022 - 1.7K bytes - Viewed (0) -
build/run.sh
# 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. # Run a command in the docker build container. Typically this will be one of # the commands in `hack/`. When running in the build container the user is sure # to have a consistent reproducible build environment. set -o errexit
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 16 08:25:52 UTC 2019 - 1.4K bytes - Viewed (0) -
apache-maven/src/assembly/shared/run
Michael Osipov <******@****.***> 1640033625 +0100
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 21 09:29:19 UTC 2021 - 740 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)