Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 568 for casePC (0.11 sec)

  1. src/runtime/iface.go

    // interfaceSwitch compares t against the list of cases in s.
    // If t matches case i, interfaceSwitch returns the case index i and
    // an itab for the pair <t, s.Cases[i]>.
    // If there is no match, return N,nil, where N is the number
    // of cases.
    func interfaceSwitch(s *abi.InterfaceSwitch, t *_type) (int, *itab) {
    	cases := unsafe.Slice(&s.Cases[0], s.NCases)
    
    	// Results if we don't find a match.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig_test.go

    					}
    					t.Fatalf("did not expect to retrieve a CNI config file %s", result)
    				}
    				// Successful test for non-delayed cases
    				return
    			case err := <-errChan:
    				t.Fatal(err)
    			case <-time.After(250 * time.Millisecond):
    				if len(c.delayedConfName) > 0 {
    					// Delayed case
    					// Write delayed CNI config file
    					data, err := os.ReadFile(filepath.Join("testdata", c.delayedConfName))
    					if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/abi.go

    	for i, p := range abiParams {
    		t := p.Type
    		switch t.Kind() {
    		case types.TINT32, types.TUINT32:
    			wfs[i].Type = obj.WasmI32
    		case types.TINT64, types.TUINT64:
    			wfs[i].Type = obj.WasmI64
    		case types.TFLOAT32:
    			wfs[i].Type = obj.WasmF32
    		case types.TFLOAT64:
    			wfs[i].Type = obj.WasmF64
    		case types.TUNSAFEPTR:
    			wfs[i].Type = obj.WasmPtr
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    /**
     * Generated tests for {@link Monitor}.
     *
     * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every
     * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class
     * is analyzed reflectively to determine appropriate test cases based on its signature. Additional
     * ad hoc test cases can be found in {@link SupplementalMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/concepts.md

    Of course, there are some cases where there's no problem in running the previous steps multiple times, in that case, it's a lot easier to handle.
    
    !!! tip
        Also, keep in mind that depending on your setup, in some cases you **might not even need any previous steps** before starting your application.
    
        In that case, you wouldn't have to worry about any of this. 🤷
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    	testCases := []struct {
    		inputQueryKey   string
    		inputQueryValue string
    		expectedResult  bool
    	}{
    		// Test case - 1.
    		// Test case with query key "AWSAccessKeyId" set.
    		{"", "", false},
    		// Test case - 2.
    		{"AWSAccessKeyId", "", true},
    		// Test case - 3.
    		{"X-Amz-Content-Sha256", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/leaderelection_test.go

    			for _, comp := range []string{"location", "simple"} {
    				cases = append(cases, instance{
    					revision: rev,
    					remote:   loc,
    					comp:     comp,
    				})
    			}
    		}
    	}
    
    	for _, start := range cases {
    		t.Run(fmt.Sprint(start), func(t *testing.T) {
    			checkCycles(t, start, cases, nil)
    		})
    	}
    }
    
    func alreadyHit(cur instance, chain []instance) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/version_test.go

    				}
    				return "Unknown test case key!", errors.New("unknown test case key")
    			}
    
    			ver, err := kubernetesReleaseVersion(k, fileFetcher)
    			t.Logf("Key: %q. Result: %q, Error: %v", k, ver, err)
    			switch {
    			case err != nil && !v.ErrorExpected:
    				t.Errorf("kubernetesReleaseVersion: unexpected error for %q. Error: %+v", k, err)
    			case err == nil && v.ErrorExpected:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 03:30:51 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/runtime/tracestack.go

    		if status&_Gscan == 0 {
    			// Use the trace status to check this. There are a number of cases
    			// where a running goroutine might be in _Gwaiting, and these cases
    			// are totally fine for taking a stack trace. They're captured
    			// correctly in goStatusToTraceGoStatus.
    			switch goStatusToTraceGoStatus(status, gp.waitreason) {
    			case traceGoRunning, traceGoSyscall:
    				if getg() == gp || mp.curg == gp {
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/util_test.go

    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			input := &core.Metadata{}
    			AppendLbEndpointMetadata(tt.metadata, input)
    			if !reflect.DeepEqual(input, tt.want) {
    				t.Errorf("Unexpected Endpoint metadata got %v, want %v", input, tt.want)
    			}
    		})
    	}
    }
    
    func TestByteCount(t *testing.T) {
    	cases := []struct {
    		in  int
    		out string
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top