Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newLevels (0.19 sec)

  1. pkg/test/framework/integration/framework_test.go

    )
    
    func TestSynchronous(t *testing.T) {
    	// Root is always run sync.
    	newLevels().
    		// Level 1: bf=5(sync)
    		Add(5, false).
    		// Level 2: bf=2(sync)
    		Add(2, false).
    		// Level 3: bf=2(sync)
    		Add(2, false).
    		Build().
    		Run(t)
    }
    
    func TestParallel(t *testing.T) {
    	// Root is always run sync.
    	newLevels().
    		// Level 1: bf=20(parallel)
    		Add(20, true).
    		// Level 2: bf=5(parallel)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/bidi/core.go

    					p.resultTypes[i] = stack.lastDirectionalOverrideStatus()
    				}
    			}
    
    			var newLevel level
    			if isRTL {
    				// least greater odd
    				newLevel = (stack.lastEmbeddingLevel() + 1) | 1
    			} else {
    				// least greater even
    				newLevel = (stack.lastEmbeddingLevel() + 2) &^ 1
    			}
    
    			if newLevel <= maxDepth && overflowIsolateCount == 0 && overflowEmbeddingCount == 0 {
    				if isIsolate {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 29.4K bytes
    - Viewed (0)
Back to top