Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 859 for REAL (0.04 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. 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)
  3. pkg/proxy/ipvs/graceful_termination.go

    )
    
    const (
    	rsCheckDeleteInterval = 1 * time.Minute
    )
    
    // listItem stores real server information and the process time.
    // If nothing special happened, real server will be delete after process time.
    type listItem struct {
    	VirtualServer *utilipvs.VirtualServer
    	RealServer    *utilipvs.RealServer
    }
    
    // String return the unique real server name(with virtual server information)
    func (g *listItem) String() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. src/math/cmplx/isnan.go

    // license that can be found in the LICENSE file.
    
    package cmplx
    
    import "math"
    
    // IsNaN reports whether either real(x) or imag(x) is NaN
    // and neither is an infinity.
    func IsNaN(x complex128) bool {
    	switch {
    	case math.IsInf(real(x), 0) || math.IsInf(imag(x), 0):
    		return false
    	case math.IsNaN(real(x)) || math.IsNaN(imag(x)):
    		return true
    	}
    	return false
    }
    
    // NaN returns a complex “not-a-number” value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 598 bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/util/testing/fake_test.go

    	}
    	// Add real server to the virtual server
    	for i := range rss {
    		if err = fake.AddRealServer(vs, rss[i]); err != nil {
    			t.Errorf("Fail to add real server, error: %v", err)
    		}
    	}
    	// Delete a real server of the virtual server
    	// Make sure any position of the list can be real deleted
    	rssLen := len(rss)
    	for i := range rss {
    		// List all real servers of the virtual server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. src/math/cmplx/sin.go

    func Sin(x complex128) complex128 {
    	switch re, im := real(x), imag(x); {
    	case im == 0 && (math.IsInf(re, 0) || math.IsNaN(re)):
    		return complex(math.NaN(), im)
    	case math.IsInf(im, 0):
    		switch {
    		case re == 0:
    			return x
    		case math.IsInf(re, 0) || math.IsNaN(re):
    			return complex(math.NaN(), im)
    		}
    	case re == 0 && math.IsNaN(im):
    		return x
    	}
    	s, c := math.Sincos(real(x))
    	sh, ch := sinhcosh(imag(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/util/ipvs.go

    	GetVirtualServers() ([]*VirtualServer, error)
    	// AddRealServer creates the specified real server for the specified virtual server.
    	AddRealServer(*VirtualServer, *RealServer) error
    	// GetRealServers returns all real servers for the specified virtual server.
    	GetRealServers(*VirtualServer) ([]*RealServer, error)
    	// DeleteRealServer deletes the specified real server from the specified virtual server.
    	DeleteRealServer(*VirtualServer, *RealServer) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/math/cmplx/pow.go

    // For generalized compatibility with [math.Pow]:
    //
    //	Pow(0, ±0) returns 1+0i
    //	Pow(0, c) for real(c)<0 returns Inf+0i if imag(c) is zero, otherwise Inf+Inf i.
    func Pow(x, y complex128) complex128 {
    	if x == 0 { // Guaranteed also true for x == -0.
    		if IsNaN(y) {
    			return NaN()
    		}
    		r, i := real(y), imag(y)
    		switch {
    		case r == 0:
    			return 1
    		case r < 0:
    			if i == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. test/devirt.go

    package main
    
    // Trivial interface call devirtualization test.
    
    type real struct {
    	value int
    }
    
    func (r *real) Value() int { return r.value }
    
    type Valuer interface {
    	Value() int
    }
    
    type indirectiface struct {
    	a, b, c int
    }
    
    func (i indirectiface) Value() int {
    	return i.a + i.b + i.c
    }
    
    func main() {
    	var r Valuer
    	rptr := &real{value: 3}
    	r = rptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 09 16:10:20 UTC 2021
    - 574 bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AsdfInstallationSupplierTest.groovy

            given:
            def real = candidates.createDir("installs/java/11.0.6.hs-adpt")
            def symlink = candidates.file("installs/java/symlink").createLink(real)
    
            when:
            def directories = supplier.get()
    
            then:
            directories.size() == 2
            directories*.location.containsAll(real, symlink)
            directories*.source.unique() == ["asdf-vm"]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top