- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 125 for shuffled (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go
// upon return or (b) locking is irrelevant. // StartFunction begins the process of handling a request. If the // request gets queued then this function uses the given hashValue as // the source of entropy as it shuffle-shards the request into a // queue. The descr1 and descr2 values play no role in the logic but // appear in log messages. This method does not return until the // queuing, if any, for this request is done. If `execute` is false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 48.8K bytes - Viewed (1) -
tests/migrate_test.go
. "gorm.io/gorm/utils/tests" ) func TestMigrate(t *testing.T) { allModels := []interface{}{&User{}, &Account{}, &Pet{}, &Company{}, &Toy{}, &Language{}, &Tools{}} rand.Seed(time.Now().UnixNano()) rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] }) DB.Migrator().DropTable("user_speaks", "user_friends", "ccc") if err := DB.Migrator().DropTable(allModels...); err != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// the Go tree can run a sanity check but not spend time running // exhaustive tests. // // -shuffle off,on,N // Randomize the execution order of tests and benchmarks. // It is off by default. If -shuffle is set to on, then it will seed // the randomizer using the system clock. If -shuffle is set to an // integer N, then N will be used as the seed value. In both cases,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
cmd/test-utils_test.go
if seed != -1 { rand.Seed(seed) } return rand.Intn(max-min) + min } // Randomizes the order of bytes in the byte array // using Knuth Fisher-Yates shuffle algorithm. func randomizeBytes(s []byte, seed int64) []byte { // special value -1 means no explicit seeding. if seed != -1 { rand.Seed(seed) } n := len(s) var j int
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
cmd/erasure-server-pool.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0) -
api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 232.7K bytes - Viewed (0) -
api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1_openapi.json
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 231.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*Rand).Int63n", Method, 0}, {"(*Rand).Intn", Method, 0}, {"(*Rand).NormFloat64", Method, 0}, {"(*Rand).Perm", Method, 0}, {"(*Rand).Read", Method, 6}, {"(*Rand).Seed", Method, 0}, {"(*Rand).Shuffle", Method, 10}, {"(*Rand).Uint32", Method, 0}, {"(*Rand).Uint64", Method, 8}, {"(*Zipf).Uint64", Method, 0}, {"ExpFloat64", Func, 0}, {"Float32", Func, 0}, {"Float64", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
// Note: we load C symbols before Go symbols, so we can scan from the start. for i < len(textp) && (ldr.SubSym(textp[i]) != 0 || ldr.AttrSubSymbol(textp[i])) { i++ } textp = textp[i:] r.Shuffle(len(textp), func(i, j int) { textp[i], textp[j] = textp[j], textp[i] }) } text := ctxt.xdefine("runtime.text", sym.STEXT, 0) etext := ctxt.xdefine("runtime.etext", sym.STEXT, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (1) -
maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar
public abstract synchronized class Ordering { private static final String CONSTRUCTOR_ERROR_FORMAT = Ordering class %s should have a public constructor with signature %s(Ordering.Context context); public void Ordering(); public static Ordering shuffledBy(java.util.Random); public static Ordering definedBy(Class, org.junit.runner.Description) throws InvalidOrderingExcep; public static Ordering definedBy(Ordering$Factory, org.junit.runner.Description) throws InvalidOrderingExcep; private static String...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 19 19:08:55 UTC 2023 - 373.7K bytes - Viewed (0)