Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,432 for casePC (0.27 sec)

  1. 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)
  2. tools/bug-report/pkg/cluster/cluster_test.go

    			},
    			false,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			skip := shouldSkipPod(c.pod, c.config)
    			if skip != c.expected {
    				t.Errorf("shouldSkipPod() for test case name [%s] return= %v, want %v", c.name, skip, c.expected)
    			}
    		})
    	}
    }
    
    func TestShouldSkipDeployment(t *testing.T) {
    	cases := []struct {
    		name       string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 17:23:32 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. src/math/lgamma.go

    		// Tt = -(tail of Tf)
    		Tt = -3.63867699703950536541e-18 // 0xBC50C7CAA48A971F
    	)
    	// special cases
    	sign = 1
    	switch {
    	case IsNaN(x):
    		lgamma = x
    		return
    	case IsInf(x, 0):
    		lgamma = x
    		return
    	case x == 0:
    		lgamma = Inf(1)
    		return
    	}
    
    	neg := false
    	if x < 0 {
    		x = -x
    		neg = true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/policy.go

    	}
    
    	// The only case left is if the current best bestHint and the candidate
    	// hint are both non-preferred. In this case, try and find a hint whose
    	// affinity count is as close to (but not higher than) the
    	// bestNonPreferredAffinityCount as possible. To do this we need to
    	// consider the following cases and react accordingly:
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  5. maven-core/src/site/apt/offline-mode.apt

      * The file wagon, provided the referenced location is on a local
        filesystem.
    
        It is not possible to determine whether a file-based location will
        be available except on a case-by-case basis (or a root-url by
        root-url basis). We may want to move the offline sensitivity entirely to
        Maven-Artifact, below, so we can be smarter about testing filesystem-based
        repositories, etc.
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/testing/slogtest/slogtest.go

    		c := cases[i]
    		for _, check := range c.checks {
    			if problem := check(got); problem != "" {
    				errs = append(errs, fmt.Errorf("%s: %s", problem, c.explanation))
    			}
    		}
    	}
    	return errors.Join(errs...)
    }
    
    // Run exercises a [slog.Handler] on the same test cases as [TestHandler], but
    // runs each case in a subtest. For each test case, it first calls newHandler to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    				},
    				{
    					ContainerPort: 8014,
    					HostPort:      8014,
    					Protocol:      v1.ProtocolTCP,
    				},
    			},
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("case_%d", i), func(t *testing.T) {
    			result := getContainerPorts(test.pod1, test.pod2)
    			if diff := cmp.Diff(test.expected, result); diff != "" {
    				t.Errorf("container ports: container ports does not match (-want,+got): %s", diff)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    	switch T := T.(type) {
    	case *aliases.Alias:
    		return find(obj, aliases.Unalias(T), path, seen)
    	case *types.Basic, *types.Named:
    		// Named types belonging to pkg were handled already,
    		// so T must belong to another package. No path.
    		return nil
    	case *types.Pointer:
    		return find(obj, T.Elem(), append(path, opElem), seen)
    	case *types.Slice:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. src/internal/reflectlite/all_test.go

    		switch v.Kind() {
    		case abi.Int:
    			v.Set(ValueOf(int(132)))
    		case abi.Int8:
    			v.Set(ValueOf(int8(8)))
    		case abi.Int16:
    			v.Set(ValueOf(int16(16)))
    		case abi.Int32:
    			v.Set(ValueOf(int32(32)))
    		case abi.Int64:
    			v.Set(ValueOf(int64(64)))
    		case abi.Uint:
    			v.Set(ValueOf(uint(132)))
    		case abi.Uint8:
    			v.Set(ValueOf(uint8(8)))
    		case abi.Uint16:
    			v.Set(ValueOf(uint16(16)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
Back to top