- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 281 for seed2 (0.04 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi_test.go
"k8s.io/apimachinery/pkg/util/json" ) func TestStructuralKubeOpenAPIRoundtrip(t *testing.T) { f := fuzz.New() seed := time.Now().UnixNano() t.Logf("seed = %v", seed) //seed = int64(1549012506261785182) f.RandSource(rand.New(rand.NewSource(seed))) f.Funcs( func(s *JSON, c fuzz.Continue) { switch c.Intn(7) { case 0: s.Object = float64(42.2) case 1:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
} private static void assertHash(int seed, long expected1, long expected2, String stringInput) { HashCode expected = toHashCode(expected1, expected2); byte[] input = HashTestUtils.ascii(stringInput); assertEquals(expected, murmur3_128(seed).hashBytes(input)); assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
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/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt
func FuzzMinimizerCrashInMinimization(f *testing.F) { seed := bytes.Repeat([]byte{255}, 100) f.Add(seed) f.Fuzz(func(t *testing.T, b []byte) { if bytes.Equal(seed, b) { return } t.Error("bad input") if len(b) == 1 { t.Error("got the minimum size!") } }) } var fuzzing bool func FuzzMinimizerNonrecoverableCrashInMinimization(f *testing.F) { seed := bytes.Repeat([]byte{255}, 100) f.Add(seed)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 5.5K bytes - Viewed (0) -
src/runtime/asm_amd64.s
// AX: data // BX: hash seed // CX: length // At return: AX = return value TEXT aeshashbody<>(SB),NOSPLIT,$0-0 // Fill an SSE register with our seeds. MOVQ BX, X0 // 64 bits of per-table hash seed PINSRW $4, CX, X0 // 16 bits of length PSHUFHW $0, X0, X0 // repeat length 4 times total MOVO X0, X1 // save unscrambled seed PXOR runtime·aeskeysched(SB), X0 // xor in per-process seed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert_test.go
"k8s.io/apimachinery/pkg/util/json" ) func TestStructuralRoundtripOrError(t *testing.T) { f := fuzz.New() seed := time.Now().UnixNano() t.Logf("seed = %v", seed) //seed = int64(1549012506261785182) f.RandSource(rand.New(rand.NewSource(seed))) f.Funcs( func(s *apiextensions.JSON, c fuzz.Continue) { *s = apiextensions.JSON(map[string]interface{}{"foo": float64(42.2)}) },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 02:09:41 UTC 2022 - 2.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz.txt
stdout FAIL stdout 'failed some precondition' # Test success with seed corpus in f.Fuzz go test -run FuzzPass fuzz_add_test.go stdout ok ! stdout FAIL ! stdout 'off by one error' # Test fatal with seed corpus in f.Fuzz ! go test -run FuzzFatal fuzz_add_test.go ! stdout ^ok stdout FAIL stdout 'fatal here' # Test panic with seed corpus in f.Fuzz ! go test -run FuzzPanic fuzz_add_test.go ! stdout ^ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 10.2K bytes - Viewed (0) -
src/math/rand/v2/rand_test.go
r := New(NewPCG(seed, 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 uint64) { //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 - 17.4K bytes - Viewed (0) -
src/runtime/alg.go
// //go:linkname stringHash func stringHash(s string, seed uintptr) uintptr { return strhash(noescape(unsafe.Pointer(&s)), seed) } func bytesHash(b []byte, seed uintptr) uintptr { s := (*slice)(unsafe.Pointer(&b)) return memhash(s.array, seed, uintptr(s.len)) } func int32Hash(i uint32, seed uintptr) uintptr { return memhash32(noescape(unsafe.Pointer(&i)), seed) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 13.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
public void setIndex(final String index) { this.index = index; } public void setSize(final int size) { this.size = size; } public void setSeed(final String seed) { this.seed = seed; } public void setWindowSize(final int windowSize) { this.windowSize = windowSize; } public void addTag(final String tag) { this.tags.add(tag); }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 7K bytes - Viewed (0)