- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 649 for sample2 (0.6 sec)
-
src/math/rand/rand_test.go
} } // // Normal distribution tests // func generateNormalSamples(nsamples int, mean, stddev float64, seed int64) []float64 { r := New(NewSource(seed)) samples := make([]float64, nsamples) for i := range samples { samples[i] = r.NormFloat64()*stddev + mean } return samples }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
// derive values for inclusive filtering from the input samples SampleElements<Entry<K, V>> samples = delegate.samples(); List<Entry<K, V>> samplesList = Arrays.asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4()); Collections.sort(samplesList, entryComparator); this.firstInclusive = samplesList.get(0).getKey();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 18.2K bytes - Viewed (0) -
src/internal/trace/parser.go
FakeP = 1000000 + iota TimerP // depicts timer unblocks NetpollP // depicts network unblocks SyscallP // depicts returns from syscalls GCP // depicts GC state ProfileP // depicts recording of CPU profile samples ) // Event types in the trace. // Verbatim copy from src/runtime/trace.go with the "trace" prefix removed. const ( EvNone = 0 // unused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:31:04 UTC 2024 - 4.7K bytes - Viewed (0) -
samples/bookinfo/README.md
export TAG=<version number> ``` ## Compile code ```bash cd samples/bookinfo BOOKINFO_TAG=$TAG BOOKINFO_HUB=$HUB src/build-services.sh ``` For example: ```bash $ BOOKINFO_TAG=test1.0 BOOKINFO_HUB=docker.io/user1 src/build-services.sh +++ dirname ./build-services.sh ++ cd . ++ pwd + SCRIPTDIR=/work/samples/bookinfo/src + cd /work/samples/bookinfo/src/../../.. + h=docker.io/user1 + t=test1.0
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 23:56:37 UTC 2024 - 16.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
if err != nil { return fmt.Errorf("period type: %v", err) } // Identify common sample types numSampleTypes := len(profiles[0].SampleType) for _, p := range profiles[1:] { if numSampleTypes != len(p.SampleType) { return fmt.Errorf("inconsistent samples type count: %d != %d", numSampleTypes, len(p.SampleType)) } } sampleType := make([]*profile.ValueType, numSampleTypes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_direct_work.txt
-- go.work -- go 1.23 use ./a use ./b -- a/go.mod -- module example.com/a go 1.23 require rsc.io/sampler v1.2.1 require golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect -- a/a.go -- package a import "rsc.io/sampler" func A() string { return sampler.Hello() } -- b/go.mod -- module example.com/b go 1.23 // The indrect comment below is inaccurate. Its purpose
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 29 16:24:12 UTC 2024 - 53.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc
.Changing the JVM target using toolchains ==== include::sample[dir="samples/java/jvm-multi-project-with-toolchains/kotlin/",files="buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts[tags=toolchain]"] include::sample[dir="samples/java/jvm-multi-project-with-toolchains/groovy/",files="buildSrc/src/main/groovy/myproject.java-conventions.gradle[tags=toolchain]"] ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 20:16:10 UTC 2024 - 55.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_maven.adoc
+ [source,xml] ---- <modules> <module>simple-weather</module> <module>simple-webapp</module> </modules> ---- + can be migrated by adding the following line to the settings script: + .Declaring which projects are part of the build ==== include::sample[dir="snippets/mavenMigration/multiModule/kotlin",files="settings.gradle.kts"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 23 22:37:03 UTC 2024 - 40.6K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
case "runtime._System", "runtime._GC", "runtime._ExternalCode", "runtime._VDSO": continue } stack := strings.Join(fns, "|") samples := int(s.Value[0]) pprofStacks[stack] += samples } } for stack, samples := range pprofStacks { fmt.Fprintf(os.Stderr, "%s\t%d\n", stack, samples) } } func cpuHogger(f func(x int) int, y *int, dur time.Duration) { // We only need to get one 100 Hz clock tick, so we've got
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0)