- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 281 for seed2 (0.06 sec)
-
src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt
! stdout ^ok ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithTestdata[/\\]' stdout 'failure while testing seed corpus entry: FuzzWithTestdata/1' stdout FAIL # Test that fuzzing a target with no seed corpus or cache finds a crash, prints # it, and write it to testdata ! go test -fuzz=FuzzWithNoCache -run=FuzzWithNoCache -fuzztime=1x ! stdout ^ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 6.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultCompositeExcludeTest.groovy
private static final Long SEED = Long.getLong("org.gradle.internal.test.excludes.seed", 58745094L) private static final int MAX_DEPTH = 3 private static final int MAX_CACHED = 10_000 private final Random random = new Random(SEED) private final Set<ExcludeSpec> cached = new HashSet<>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
} return nil } type shuffleFlag struct { on bool seed *int64 } func (f *shuffleFlag) String() string { if !f.on { return "off" } if f.seed == nil { return "on" } return fmt.Sprintf("%d", *f.seed) } func (f *shuffleFlag) Set(value string) error { if value == "off" { *f = shuffleFlag{on: false} return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/rand/rand_test.go
for _, max := range []int{1, 2, 10, 123} { inrange := Intn(max) if inrange < 0 || inrange > max { t.Errorf("%v out of range (0,%v)", inrange, max) } } } func TestPerm(t *testing.T) { Seed(5) rand.Seed(5) for i := 1; i < 20; i++ { actual := Perm(i) expected := rand.Perm(i) for j := 0; j < i; j++ { if actual[j] != expected[j] { t.Errorf("Perm call result is unexpected") } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 07 13:45:36 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
} public void testParanoidHashBytes() { HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) { return murmur3_32(seed).hashBytes(input).asBytes(); } }; // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32) // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 8.6K bytes - Viewed (0) -
src/hash/maphash/smhasher_test.go
s.list = append(s.list, h) } func (s *hashSet) addS(x string) { s.add(stringHash(x)) } func (s *hashSet) addB(x []byte) { s.add(bytesHash(x)) } func (s *hashSet) addS_seed(x string, seed Seed) { var h Hash h.SetSeed(seed) h.WriteString(x) s.add(h.Sum64()) } func (s *hashSet) check(t *testing.T) { list := s.list slices.Sort(list) collisions := 0 for i := 1; i < len(list); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/analysis/update_op_cost_in_tfrt_mlir_test.cc
// Create a cost recorder with fake cost records. auto expected_op_cost_map = GetOpCostMap(module.get()); EXPECT_EQ(expected_op_cost_map.size(), 1); unsigned int seed = 23579; for (auto& [op_key, cost] : expected_op_cost_map) { cost = rand_r(&seed) % 1000; } tensorflow::tfrt_stub::CostRecorder cost_recorder; for (const auto& [op_key, cost] : expected_op_cost_map) { cost_recorder.RecordCost(op_key, cost); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 21 22:52:12 UTC 2023 - 3.1K bytes - Viewed (0) -
src/sync/atomic/atomic_test.go
new := uint32(seed+i)<<16 | uint32(seed+i)<<16>>16 old := SwapUint32(addr, new) if old>>16 != old<<16>>16 { panic(fmt.Sprintf("SwapUint32 is not atomic: %v", old)) } } } func hammerSwapUint32Method(uaddr *uint32, count int) { addr := (*Uint32)(unsafe.Pointer(uaddr)) seed := int(uintptr(unsafe.Pointer(&count))) for i := 0; i < count; i++ { new := uint32(seed+i)<<16 | uint32(seed+i)<<16>>16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
test/fixedbugs/issue44465.go
// compile -d=ssa/check/seed // Copyright 2021 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. // This code caused an internal consistency error due to a bad shortcircuit optimization. package p func f() { var b bool if b { b = true } l: for !b { b = true goto l }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 22 20:27:09 UTC 2021 - 375 bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java
MojoExecutionScope scope = new MojoExecutionScope(); scope.enter(); Object o1 = new Object(); scope.seed(Object.class, o1); assertSame(o1, scope.scope(Key.get(Object.class), null).get()); scope.enter(); Object o2 = new Object(); scope.seed(Object.class, o2); assertSame(o2, scope.scope(Key.get(Object.class), null).get()); scope.exit();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 3.6K bytes - Viewed (0)