Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 114 for shuffled (0.25 sec)

  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)
  2. 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)
  3. 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)
  4. cmd/erasure-server-pool.go

    					askDisks = len(disks) // use all available drives
    				}
    
    				var fallbackDisks []StorageAPI
    				if askDisks > 0 && len(disks) > askDisks {
    					rand.Shuffle(len(disks), func(i, j int) {
    						disks[i], disks[j] = disks[j], disks[i]
    					})
    					fallbackDisks = disks[askDisks:]
    					disks = disks[:askDisks]
    				}
    
    				requestedVersions := 0
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json

              "handSize": {
                "default": 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 232.7K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1_openapi.json

              "handSize": {
                "default": 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 231.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/generated/openapi/zz_generated.openapi.go

    					"handSize": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top