Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,515 for cAlike (0.36 sec)

  1. src/math/cmplx/cmath_test.go

    		if f := Cos(Conj(v.in)); !cAlike(Conj(v.want), f) && !cAlike(v.in, Conj(v.in)) {
    			t.Errorf("Cos(%g) = %g, want %g", Conj(v.in), f, Conj(v.want))
    		}
    		if math.IsNaN(real(v.in)) || math.IsNaN(real(v.want)) {
    			// Negating NaN is undefined with regard to the sign bit produced.
    			continue
    		}
    		// Cos(-z)  == Cos(z)
    		if f := Cos(-v.in); !cAlike(v.want, f) && !cAlike(v.in, -v.in) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  2. test/cmplxdivide.go

    import (
    	"fmt"
    	"math"
    )
    
    func calike(a, b complex128) bool {
    	if imag(a) != imag(b) && !(math.IsNaN(imag(a)) && math.IsNaN(imag(b))) {
    		return false
    	}
    
    	if real(a) != real(b) && !(math.IsNaN(real(a)) && math.IsNaN(real(b))) {
    		return false
    	}
    
    	return true
    }
    
    func main() {
    	bad := false
    	for _, t := range tests {
    		x := t.f / t.g
    		if !calike(x, t.out) {
    			if !bad {
    				fmt.Printf("BUG\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 22:45:17 UTC 2017
    - 868 bytes
    - Viewed (0)
  3. src/net/tcpconn_keepalive_conf_windows_test.go

    )
    
    type fdType = syscall.Handle
    
    func maybeSkipKeepAliveTest(t *testing.T) {
    	// TODO(panjf2000): Unlike Unix-like OS's, old Windows (prior to Windows 10, version 1709)
    	// 	doesn't provide any ways to retrieve the current TCP keep-alive settings, therefore
    	// 	we're not able to run the test suite similar to Unix-like OS's on Windows.
    	//  Try to find another proper approach to test the keep-alive settings on old Windows.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 987 bytes
    - Viewed (0)
  4. test/recover1.go

    	panic(5)
    }
    
    func test6() {
    	// Sequential panic.
    	// Like test3, but changed recover to defer (same change as test4 → test5).
    	defer mustNotRecover()
    	defer func() {
    		defer recover()	// like a normal call from this func; runs because mustRecover stops the panic
    		defer mustRecover(3)
    		panic(3)
    	}()
    	panic(2)
    }
    
    func test7() {
    	// Like test6, but swapped defer order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  5. pkg/kubelet/util/util_windows.go

    		// the user supplied root directory named like "pod-resources" or so.
    		return "", fmt.Errorf("cannot infer the podresources directory from path %q", path)
    	}
    	// windows pipes are expected to use forward slashes: https://learn.microsoft.com/windows/win32/ipc/pipe-names
    	// so using `url` like we do on unix gives us unclear benefits - see https://github.com/kubernetes/kubernetes/issues/78628
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. guava-gwt/src/com/google/common/annotations/Annotations.gwt.xml

        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/robustio/robustio_flaky.go

    		err = os.Rename(oldpath, newpath)
    		return err, isEphemeralError(err)
    	})
    }
    
    // readFile is like os.ReadFile, but retries ephemeral errors.
    func readFile(filename string) ([]byte, error) {
    	var b []byte
    	err := retry(func() (err error, mayRetry bool) {
    		b, err = os.ReadFile(filename)
    
    		// Unlike in rename, we do not retry errFileNotFound here: it can occur
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. guava-gwt/src/com/google/common/base/Base.gwt.xml

        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. guava-gwt/src/com/google/common/escape/Escape.gwt.xml

        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. guava-gwt/test/com/google/common/escape/testing/Testing.gwt.xml

        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top