Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RunStealOrderTest (0.11 sec)

  1. src/runtime/proc_runtime_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Proc unit tests. In runtime package so can use runtime guts.
    
    package runtime
    
    func RunStealOrderTest() {
    	var ord randomOrder
    	for procs := 1; procs <= 64; procs++ {
    		ord.reset(uint32(procs))
    		if procs >= 3 && len(ord.coprimes) < 2 {
    			panic("too few coprimes")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 18:43:08 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top