Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 296 for Ss (0.02 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go

    		}
    		item, err := NewStructural(s.Items.Schema)
    		if err != nil {
    			return nil, err
    		}
    		ss.Items = item
    	}
    
    	if len(s.Properties) > 0 {
    		ss.Properties = make(map[string]Structural, len(s.Properties))
    		for k, x := range s.Properties {
    			fld, err := NewStructural(&x)
    			if err != nil {
    				return nil, err
    			}
    			ss.Properties[k] = *fld
    		}
    	}
    
    	if s.AdditionalProperties != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    	newSetCounts := make(map[uint64]struct{})
    	for _, ss := range setCounts {
    		var symmetry bool
    		for _, argPattern := range argPatterns {
    			for _, p := range argPattern {
    				if uint64(len(p.Seq)) > ss {
    					symmetry = uint64(len(p.Seq))%ss == 0
    				} else {
    					symmetry = ss%uint64(len(p.Seq)) == 0
    				}
    			}
    		}
    		// With no arg patterns, it is expected that user knows
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. test/fixedbugs/issue45665.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() {
    	Get([]string{"a", "b"})
    }
    
    func Get(ss []string) *[2]string {
    	return (*[2]string)(ss)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 21 09:07:09 UTC 2021
    - 290 bytes
    - Viewed (0)
  4. src/runtime/tracestring.go

    }
    
    // put adds a string to the table, emits it, and returns a unique ID for it.
    func (t *traceStringTable) put(gen uintptr, s string) uint64 {
    	// Put the string in the table.
    	ss := stringStructOf(&s)
    	id, added := t.tab.put(ss.str, uintptr(ss.len))
    	if added {
    		// Write the string to the buffer.
    		systemstack(func() {
    			t.writeString(gen, id, s)
    		})
    	}
    	return id
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/fix/netipv6zone.go

    		if !ok {
    			return
    		}
    		se, ok := cl.Type.(*ast.SelectorExpr)
    		if !ok {
    			return
    		}
    		if !isTopName(se.X, "net") || se.Sel == nil {
    			return
    		}
    		switch ss := se.Sel.String(); ss {
    		case "IPAddr", "UDPAddr", "TCPAddr":
    			for i, e := range cl.Elts {
    				if _, ok := e.(*ast.KeyValueExpr); ok {
    					break
    				}
    				switch i {
    				case 0:
    					cl.Elts[i] = &ast.KeyValueExpr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  6. src/syscall/exec_unix.go

    // this function panics instead of returning an error.
    //
    // Deprecated: Use [SlicePtrFromStrings] instead.
    func StringSlicePtr(ss []string) []*byte {
    	bb := make([]*byte, len(ss)+1)
    	for i := 0; i < len(ss); i++ {
    		bb[i] = StringBytePtr(ss[i])
    	}
    	bb[len(ss)] = nil
    	return bb
    }
    
    // SlicePtrFromStrings converts a slice of strings to a slice of
    // pointers to NUL-terminated byte arrays. If any string contains
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    		latestPolicyStat         srPolicyStatsSummary
    	)
    	for dID, ss := range ps {
    		if lastUpdate.IsZero() {
    			lastUpdate = ss.policy.UpdatedAt
    			latestID = dID
    			latestPolicyStat = ss
    		}
    		if !ss.policy.UpdatedAt.IsZero() && ss.policy.UpdatedAt.After(lastUpdate) {
    			lastUpdate = ss.policy.UpdatedAt
    			latestID = dID
    			latestPolicyStat = ss
    		}
    	}
    	if latestID != globalDeploymentID() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  8. src/cmd/fix/printerconfig.go

    		if !ok {
    			return
    		}
    		se, ok := cl.Type.(*ast.SelectorExpr)
    		if !ok {
    			return
    		}
    		if !isTopName(se.X, "printer") || se.Sel == nil {
    			return
    		}
    
    		if ss := se.Sel.String(); ss == "Config" {
    			for i, e := range cl.Elts {
    				if _, ok := e.(*ast.KeyValueExpr); ok {
    					break
    				}
    				switch i {
    				case 0:
    					cl.Elts[i] = &ast.KeyValueExpr{
    						Key:   ast.NewIdent("Mode"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. test/noinit.go

    var ss = SS{S{3101, 3102, 3103}, S{3104, 3105, 3106}, S{3107, 3108, 3109}}
    
    var ca = [][3]int{[3]int{4001, 4002, 4003}, [3]int{4004, 4005, 4006}, [3]int{4007, 4008, 4009}}
    var cs = []S{S{4101, 4102, 4103}, S{4104, 4105, 4106}, S{4107, 4108, 4109}}
    
    var answers = [...]int{
    	// s
    	1101, 1102, 1103,
    
    	// ss
    	3101, 3102, 3103,
    	3104, 3105, 3106,
    	3107, 3108, 3109,
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:57:36 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. test/fixedbugs/issue25966.go

    // function entry.
    
    package p
    
    var F = []func(){
    	func() func() { return (func())(nil) }(),
    }
    
    var A = []int{}
    
    type ss struct {
    	string
    	float64
    	i int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 27 14:30:00 UTC 2018
    - 405 bytes
    - Viewed (0)
Back to top