Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 6,074 for case1 (0.04 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformUserGuideIntegrationTest.groovy

                .assertTestClassesExecutedJudgementByXml('A special test case', 'A special test case2')
            result.testClassByHtml('org.gradle.DisplayNameDemo')
                .assertDisplayName('A special test case')
                .assertTestCount(1, 0, 0)
                .assertTestPassed('testWithDisplayNameContainingSpaces', 'Custom test name containing spaces')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. src/math/dim.go

    }
    
    func max(x, y float64) float64 {
    	// special cases
    	switch {
    	case IsInf(x, 1) || IsInf(y, 1):
    		return Inf(1)
    	case IsNaN(x) || IsNaN(y):
    		return NaN()
    	case x == 0 && x == y:
    		if Signbit(x) {
    			return y
    		}
    		return x
    	}
    	if x > y {
    		return x
    	}
    	return y
    }
    
    // Min returns the smaller of x or y.
    //
    // Special cases are:
    //
    //	Min(x, -Inf) = Min(-Inf, x) = -Inf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 15 19:45:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typeterm.go

    func (x *term) String() string {
    	switch {
    	case x == nil:
    		return "∅"
    	case x.typ == nil:
    		return "𝓤"
    	case x.tilde:
    		return "~" + x.typ.String()
    	default:
    		return x.typ.String()
    	}
    }
    
    // equal reports whether x and y represent the same type set.
    func (x *term) equal(y *term) bool {
    	// easy cases
    	switch {
    	case x == nil || y == nil:
    		return x == y
    	case x.typ == nil || y.typ == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. src/go/types/typeterm.go

    func (x *term) String() string {
    	switch {
    	case x == nil:
    		return "∅"
    	case x.typ == nil:
    		return "𝓤"
    	case x.tilde:
    		return "~" + x.typ.String()
    	default:
    		return x.typ.String()
    	}
    }
    
    // equal reports whether x and y represent the same type set.
    func (x *term) equal(y *term) bool {
    	// easy cases
    	switch {
    	case x == nil || y == nil:
    		return x == y
    	case x.typ == nil || y.typ == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/typeparams/typeterm.go

    func (x *term) String() string {
    	switch {
    	case x == nil:
    		return "∅"
    	case x.typ == nil:
    		return "𝓤"
    	case x.tilde:
    		return "~" + x.typ.String()
    	default:
    		return x.typ.String()
    	}
    }
    
    // equal reports whether x and y represent the same type set.
    func (x *term) equal(y *term) bool {
    	// easy cases
    	switch {
    	case x == nil || y == nil:
    		return x == y
    	case x.typ == nil || y.typ == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 21:08:44 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/math/nextafter.go

    //
    // Special cases are:
    //
    //	Nextafter32(x, x)   = x
    //	Nextafter32(NaN, y) = NaN
    //	Nextafter32(x, NaN) = NaN
    func Nextafter32(x, y float32) (r float32) {
    	switch {
    	case IsNaN(float64(x)) || IsNaN(float64(y)): // special case
    		r = float32(NaN())
    	case x == y:
    		r = x
    	case x == 0:
    		r = float32(Copysign(float64(Float32frombits(1)), float64(y)))
    	case (y > x) == (x > 0):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. test/fixedbugs/issue15898.go

    package p
    
    func f(e interface{}) {
    	switch e.(type) {
    	case nil, nil: // ERROR "multiple nil cases in type switch|duplicate type in switch|duplicate case nil in type switch"
    	}
    
    	switch e.(type) {
    	case nil:
    	case nil: // ERROR "multiple nil cases in type switch|duplicate type in switch|duplicate case nil in type switch"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 503 bytes
    - Viewed (0)
  8. src/math/exp.go

    	)
    
    	// special cases
    	switch {
    	case IsNaN(x) || IsInf(x, 1):
    		return x
    	case IsInf(x, -1):
    		return 0
    	case x > Overflow:
    		return Inf(1)
    	case x < Underflow:
    		return 0
    	case -NearZero < x && x < NearZero:
    		return 1 + x
    	}
    
    	// reduce; computed as r = hi - lo for extra precision.
    	var k int
    	switch {
    	case x < 0:
    		k = int(Log2e*x - 0.5)
    	case x > 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. 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)
  10. test/return.go

    	select {
    	case <-c:
    		print(2)
    		panic("abc")
    	case c <- 1:
    		print(2)
    		goto L
    	}
    }
    
    func _() int {
    	print(1)
    	select {
    	case <-c:
    		print(2)
    		panic("abc")
    	default:
    		select{}
    	}
    }
    
    // if any cases don't terminate, the select isn't okay anymore
    
    func _() int {
    	print(1)
    	select {
    	case <-c:
    		print(2)
    	}
    } // ERROR "missing return"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 32.7K bytes
    - Viewed (0)
Back to top