- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 281 for seed2 (0.13 sec)
-
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
private final int seed; private final boolean supplementaryPlaneFix; Murmur3_32HashFunction(int seed, boolean supplementaryPlaneFix) { this.seed = seed; this.supplementaryPlaneFix = supplementaryPlaneFix; } @Override public int bits() { return 32; } @Override public Hasher newHasher() { return new Murmur3_32Hasher(seed); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 11.9K bytes - Viewed (0) -
src/math/rand/rand_test.go
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 } func testNormalDistribution(t *testing.T, nsamples int, mean, stddev float64, seed int64) { //fmt.Printf("testing nsamples=%v mean=%v stddev=%v seed=%v\n", nsamples, mean, stddev, seed);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutator.txt
[!fuzz] skip # Test basic fuzzing mutator behavior. # # fuzz_test.go has two fuzz targets (FuzzA, FuzzB) which both add a seed value. # Each fuzz function writes the input to a log file. The coordinator and worker # use separate log files. check_logs.go verifies that the coordinator only # tests seed values and the worker tests mutated values on the fuzz target. [short] skip env GOCACHE=$WORK/cache
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_extended_nonce.go
// with a single seed with derived keys and randomly generated nonces is not practically reachable. // Thus, the scheme does not impose any specific requirements on the seed rotation schedule. // Reusing the same seed is safe to do over time and across process restarts. Whenever a new // seed is needed, the caller should generate it via GenerateKey(MinSeedSizeExtendedNonceGCM).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:25:52 UTC 2023 - 6.8K bytes - Viewed (0) -
internal/dsync/locked_rand.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Oct 18 15:39:59 UTC 2021 - 1.3K bytes - Viewed (0) -
src/math/rand/v2/chacha8.go
readLen int // 0 <= readLen <= 8 } // NewChaCha8 returns a new ChaCha8 seeded with the given seed. func NewChaCha8(seed [32]byte) *ChaCha8 { c := new(ChaCha8) c.state.Init(seed) return c } // Seed resets the ChaCha8 to behave the same way as NewChaCha8(seed). func (c *ChaCha8) Seed(seed [32]byte) { c.state.Init(seed) c.readLen = 0 c.readBuf = [8]byte{} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/mnist/mnist_train.py
stddev=0.1, seed=seed)), 'f3': tf.Variable( tf.random.truncated_normal([n_hidden_3, flatten_size], stddev=0.1, seed=seed)), 'f4': tf.Variable( tf.random.truncated_normal([num_classes, n_hidden_3],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 20 03:05:18 UTC 2021 - 6.5K bytes - Viewed (0) -
src/cmd/go/internal/work/exec_test.go
} t.Parallel() nRunes := sys.ExecArgLengthLimit + 100 rBuffer := make([]rune, nRunes) buf := bytes.NewBuffer([]byte(string(rBuffer))) seed := time.Now().UnixNano() t.Logf("rand seed: %v", seed) rng := rand.New(rand.NewSource(seed)) for i := 0; i < 50; i++ { // Generate a random string of runes. buf.Reset() for buf.Len() < sys.ExecArgLengthLimit+1 { var r rune for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 02 13:15:42 UTC 2021 - 1.8K bytes - Viewed (0) -
src/math/rand/auto_test.go
// and then check that they don't appear in that // order in the deterministic Seed(1) result. var out []int64 for i := 0; i < 10; i++ { out = append(out, Int63()) } // Look for out in Seed(1)'s output. // Strictly speaking, we should look for them in order, // but this is good enough and not significantly more // likely to have a false positive. Seed(1) found := 0 for i := 0; i < 1000; i++ { x := Int63()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 16:49:48 UTC 2022 - 1K bytes - Viewed (0) -
test/fixedbugs/issue30908.dir/m.go
// license that can be found in the LICENSE file. package main import ( "os" "./b" ) func main() { seed := "some things are better" bsl := []byte(seed) b.CallReadValues("/dev/null") vals, err := b.ReadValues(bsl) if vals["better"] != seed || err != nil { os.Exit(1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 15:00:08 UTC 2019 - 393 bytes - Viewed (0)