Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 963 for REAL (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/eventclock/real.go

    )
    
    // RealEventClock fires event on real world time
    type Real struct {
    	clock.RealClock
    }
    
    var _ Interface = Real{}
    
    // EventAfterDuration schedules an EventFunc
    func (Real) EventAfterDuration(f EventFunc, d time.Duration) {
    	ch := time.After(d)
    	go func() {
    		t := <-ch
    		f(t)
    	}()
    }
    
    // EventAfterTime schedules an EventFunc
    func (r Real) EventAfterTime(f EventFunc, t time.Time) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 1K bytes
    - Viewed (0)
  2. src/cmd/doc/testdata/nested/nested/real.go

    Michael Fraenkel <******@****.***> 1527110615 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 11 22:09:14 UTC 2018
    - 36 bytes
    - Viewed (0)
  3. src/runtime/signal_solaris.go

    	/* 62 */ {_SigNotify, "real time signal"},
    	/* 63 */ {_SigNotify, "real time signal"},
    	/* 64 */ {_SigNotify, "real time signal"},
    	/* 65 */ {_SigNotify, "real time signal"},
    	/* 66 */ {_SigNotify, "real time signal"},
    	/* 67 */ {_SigNotify, "real time signal"},
    	/* 68 */ {_SigNotify, "real time signal"},
    	/* 69 */ {_SigNotify, "real time signal"},
    	/* 70 */ {_SigNotify, "real time signal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 20:27:15 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue11945.go

    )
    
    var tests = []struct {
    	code      string
    	got, want interface{}
    }{
    	{"real(1)", real(1), 1.0},
    	{"real('a')", real('a'), float64('a')},
    	{"real(2.0)", real(2.0), 2.0},
    	{"real(3.2i)", real(3.2i), 0.0},
    
    	{"imag(1)", imag(1), 0.0},
    	{"imag('a')", imag('a'), 0.0},
    	{"imag(2.1 + 3.1i)", imag(2.1 + 3.1i), 3.1},
    	{"imag(3i)", imag(3i), 3.0},
    }
    
    func main() {
    	// verify compile-time evaluated constant expressions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 26 01:50:30 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. src/runtime/complex.go

    	if abs(real(m)) >= abs(imag(m)) {
    		ratio := imag(m) / real(m)
    		denom := real(m) + ratio*imag(m)
    		e = (real(n) + imag(n)*ratio) / denom
    		f = (imag(n) - real(n)*ratio) / denom
    	} else {
    		ratio := real(m) / imag(m)
    		denom := imag(m) + ratio*real(m)
    		e = (real(n)*ratio + imag(n)) / denom
    		f = (imag(n)*ratio - real(n)) / denom
    	}
    
    	if isNaN(e) && isNaN(f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 22:45:17 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/truncconst_test.go

    	const r53 = complex(1+1.0/(1<<53), 0)
    
    	if got := real(r52 - 1); got != f52want {
    		t.Errorf("real(r52-1) = %g, want %g", got, f52want)
    	}
    	if got := real(complex128(r52) - 1); got != f52want {
    		t.Errorf("real(complex128(r52)-1) = %g, want %g", got, f52want)
    	}
    	if got := real(r53 - 1); got != f53want {
    		t.Errorf("real(r53-1) = %g, want %g", got, f53want)
    	}
    	if got := real(complex128(r53) - 1); got != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  7. src/math/cmplx/asin.go

    	}
    	ct := complex(-imag(x), real(x)) // i * x
    	xx := x * x
    	x1 := complex(1-real(xx), -imag(xx)) // 1 - x*x
    	x2 := Sqrt(x1)                       // x2 = sqrt(1 - x*x)
    	w := Log(ct + x2)
    	return complex(imag(w), -real(w)) // -i * w
    }
    
    // Asinh returns the inverse hyperbolic sine of x.
    func Asinh(x complex128) complex128 {
    	switch re, im := real(x), imag(x); {
    	case im == 0 && math.Abs(re) <= 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  8. test/ken/cplx2.go

    	ce := cd * c6
    	if ce != Ce {
    		println("opcode x", ce, Ce)
    		panic("fail")
    	}
    	
    	r32 := real(complex64(ce))
    	if r32 != float32(real(Ce)) {
    		println("real(complex64(ce))", r32, real(Ce))
    		panic("fail")
    	}
    	
    	r64 := real(complex128(ce))
    	if r64 != real(Ce) {
    		println("real(complex128(ce))", r64, real(Ce))
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 1.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/images/images_test.go

    			cfg: &kubeadmapi.ClusterConfiguration{
    				ImageRepository: "real.repo",
    			},
    			expectedImages: []string{
    				"real.repo/kube-apiserver:",
    				"real.repo/kube-controller-manager:",
    				"real.repo/kube-scheduler:",
    				"real.repo/kube-proxy:",
    				"real.repo/coredns:" + constants.CoreDNSVersion,
    				"real.repo/pause:" + constants.PauseVersion,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 06:33:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. test/fixedbugs/issue4252.dir/main.go

    package main
    
    import "./a"
    
    func main() {
    	if a.InlinedFakeTrue() {
    		panic("returned true was the real one")
    	}
    	if !a.InlinedFakeFalse() {
    		panic("returned false was the real one")
    	}
    	if a.InlinedFakeNil() == nil {
    		panic("returned nil was the real one")
    	}
    	a.Test()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 435 bytes
    - Viewed (0)
Back to top