Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/proxy/conntrack/conntrack_test.go

    	for _, tc := range testCases {
    		ct := makeCT(success)
    		if err := ct.ClearEntriesForIP(tc.ip, v1.ProtocolUDP); err != nil {
    			t.Errorf("%s/success: Unexpected error: %v", tc.name, err)
    		}
    		execCommand := ct.getExecutedCommand()
    		if tc.expectCommand != execCommand {
    			t.Errorf("%s/success: Expect command: %s, but executed %s", tc.name, tc.expectCommand, execCommand)
    		}
    
    		ct = makeCT(nothingToDelete)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    		{1000, 20, 60},
    	}
    
    	for i := range cases {
    		here := cases[i]
    		makeSet := func() String {
    			s := NewString()
    			for j := 0; j < here.size; j++ {
    				s.Insert(randomStringMaker.makeString(here.minStringLen, here.maxStringLen))
    			}
    			return s
    		}
    		operands := make([]String, 500)
    		for i := range operands {
    			operands[i] = makeSet()
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top