Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 296 for sS (0.02 sec)

  1. test/fixedbugs/bug193.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	s := uint(10)
    	ss := 1 << s
    	y1 := float64(ss)
    	y2 := float64(1 << s) // ERROR "shift"
    	y3 := string(1 << s)  // ERROR "shift"
    	_, _, _, _, _ = s, ss, y1, y2, y3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 23:59:40 UTC 2022
    - 368 bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue50779a.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type AC interface {
    	C
    }
    
    type ST []int
    
    type R[S any, P any] struct{}
    
    type SR = R[SS, ST]
    
    type SS interface {
    	NSR(any) *SR
    }
    
    type C interface {
    	NSR(any) *SR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 20:18:45 UTC 2023
    - 356 bytes
    - Viewed (0)
  3. src/net/write_unix_test.go

    		cs.CloseWrite()
    		<-c
    		return nil
    	}
    	client := func(ss *TCPConn) error {
    		// Tell the server to return when we return.
    		defer close(c)
    
    		// Loop writing to the server. The server is not reading
    		// anything, so this will eventually block, and then time out.
    		b := bytes.Repeat([]byte{'a'}, 8192)
    		cagain := 0
    		for {
    			n, err := ss.conn.fd.pfd.WriteOnce(b)
    			if n > 0 {
    				cagain = 0
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. pkg/proxy/proxyinfo.go

    		var sss []*sidecarSyncStatus
    		err = json.Unmarshal(syncz, &sss)
    		if err != nil {
    			return nil, err
    		}
    
    		for _, ss := range sss {
    			pi = append(pi, istioVersion.ProxyInfo{
    				ID:           ss.ProxyID,
    				IstioVersion: ss.SyncStatus.IstioVersion,
    				Type:         istioVersion.ToUserFacingNodeType(string(ss.ProxyType)),
    			})
    		}
    	}
    
    	return &pi, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 22:41:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go

    		if i.info.ccc == 0 {
    			break
    		}
    		if s := i.rb.ss.next(i.info); s == ssOverflow {
    			i.next = nextCGJDecompose
    			break
    		}
    	}
    	// new segment or too many combining characters: exit normalization
    	return i.buf[:i.rb.flushCopy(i.buf[:])]
    }
    
    func nextCGJDecompose(i *Iter) []byte {
    	i.rb.ss = 0
    	i.rb.insertCGJ()
    	i.next = nextDecomposed
    	i.rb.ss.first(i.info)
    	buf := doNormDecomposed(i)
    	return buf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. pkg/registry/apps/statefulset/storage/storage.go

    			ResourceVersion:   ss.ResourceVersion,
    			CreationTimestamp: ss.CreationTimestamp,
    		},
    		Spec: autoscaling.ScaleSpec{
    			Replicas: ss.Spec.Replicas,
    		},
    		Status: autoscaling.ScaleStatus{
    			Replicas: ss.Status.Replicas,
    			Selector: selector.String(),
    		},
    	}, nil
    }
    
    // scaleUpdatedObjectInfo transforms existing statefulset -> existing scale -> new scale -> new statefulset
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. test/convert4.go

    	}
    }
    
    // test static variable conversion
    
    var (
    	ss  = make([]string, 10)
    	s5  = (*[5]string)(ss)
    	s10 = (*[10]string)(ss)
    
    	ns  []string
    	ns0 = (*[0]string)(ns)
    
    	zs  = make([]string, 0)
    	zs0 = (*[0]string)(zs)
    )
    
    func init() {
    	if &ss[0] != &s5[0] {
    		panic("s5 conversion failed")
    	}
    	if &ss[0] != &s10[0] {
    		panic("s5 conversion failed")
    	}
    	if ns0 != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 18:58:26 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. src/math/j0.go

    	}
    
    	x = Abs(x)
    	if x >= 2 {
    		s, c := Sincos(x)
    		ss := s - c
    		cc := s + c
    
    		// make sure x+x does not overflow
    		if x < MaxFloat64/2 {
    			z := -Cos(x + x)
    			if s*c < 0 {
    				cc = z / ss
    			} else {
    				ss = z / cc
    			}
    		}
    
    		// j0(x) = 1/sqrt(pi) * (P(0,x)*cc - Q(0,x)*ss) / sqrt(x)
    		// y0(x) = 1/sqrt(pi) * (P(0,x)*ss + Q(0,x)*cc) / sqrt(x)
    
    		var z float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/util/ports/DefaultPortDetector.groovy

         */
        public boolean isAvailable(int port) {
            try {
                ServerSocket ss = new ServerSocket(port)
                try {
                    ss.setReuseAddress(true)
                } finally {
                    ss.close()
                }
                DatagramSocket ds = new DatagramSocket(port)
                try {
                    ds.setReuseAddress(true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 07 09:47:55 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. src/math/j1.go

    		sign = true
    	}
    	if x >= 2 {
    		s, c := Sincos(x)
    		ss := -s - c
    		cc := s - c
    
    		// make sure x+x does not overflow
    		if x < MaxFloat64/2 {
    			z := Cos(x + x)
    			if s*c > 0 {
    				cc = z / ss
    			} else {
    				ss = z / cc
    			}
    		}
    
    		// j1(x) = 1/sqrt(pi) * (P(1,x)*cc - Q(1,x)*ss) / sqrt(x)
    		// y1(x) = 1/sqrt(pi) * (P(1,x)*ss + Q(1,x)*cc) / sqrt(x)
    
    		var z float64
    		if x > Two129 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 13.3K bytes
    - Viewed (0)
Back to top