Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkOrder (0.17 sec)

  1. test/fixedbugs/issue26495.go

    func F() int               { checkorder(0); return 0 }
    func G(bool) int           { checkorder(9); return 0 }
    func H(int, bool, int) int { checkorder(7); return 0 }
    func I(int) bool           { checkorder(8); return true }
    func J() int               { checkorder(4); return 0 }
    func K() int               { checkorder(6); return 0 }
    func L() int               { checkorder(10); return 0 }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 20 20:08:15 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  2. test/chan/select5.go

    // check order of operations by ensuring that
    // successive calls to checkorder have increasing o values.
    func checkorder(o int) {
    	if o <= order {
    		println("invalid order", o, "after", order)
    		panic("order")
    	}
    	order = o
    }
    
    func fc(c chan int, o int) chan int {
    	checkorder(o)
    	return c
    }
    
    func fp(p *int, o int) *int {
    	checkorder(o)
    	return p
    }
    
    func fn(n, o int) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10K bytes
    - Viewed (0)
  3. pilot/pkg/model/virtualservice_test.go

    			assert.Equal(t, gotOrder, wantOrder)
    		}
    
    		vses := []config.Config{root, delegate, normal}
    		checkOrder(mergeVirtualServicesIfNeeded(vses, sets.New(visibility.Public)))
    
    		vses = []config.Config{normal, delegate, root}
    		checkOrder(mergeVirtualServicesIfNeeded(vses, sets.New(visibility.Public)))
    	})
    }
    
    func TestMergeHttpRoutes(t *testing.T) {
    	dstV1 := &networking.Destination{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
Back to top