Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for randInt (0.08 sec)

  1. cmd/server_test.go

    	// generate a random number between 13 and 200.
    	randInt := getRandomRange(13, 200, -1)
    	// write into buffer till length of the buffer is greater than the generated random number.
    	for i := 0; i <= randInt; i += 10 {
    		buffer.WriteString(data)
    	}
    	// String content which is used for put object range test.
    	putBytes := buffer.Bytes()
    	putBytes = putBytes[:randInt]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	worldStopped()
    
    	ticks.init() // run as early as possible
    	moduledataverify()
    	stackinit()
    	mallocinit()
    	godebug := getGodebugEarly()
    	cpuinit(godebug) // must run before alginit
    	randinit()       // must run before alginit, mcommoninit
    	alginit()        // maps, hash, rand must not be used before this call
    	mcommoninit(gp.m, -1)
    	modulesinit()   // provides activeModules
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top