Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for printslice (0.2 sec)

  1. src/net/textproto/textproto.go

    //	if err != nil {
    //		return nil, err
    //	}
    //	return c.ReadCodeLine(250)
    func (c *Conn) Cmd(format string, args ...any) (id uint, err error) {
    	id = c.Next()
    	c.StartRequest(id)
    	err = c.PrintfLine(format, args...)
    	c.EndRequest(id)
    	if err != nil {
    		return 0, err
    	}
    	return id, nil
    }
    
    // TrimString returns s without leading and trailing ASCII space.
    func TrimString(s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. pkg/apis/resource/structured/namedresources/validation/validation.go

    		}
    		if attribute.BoolValue != nil {
    			entries.Insert("bool")
    		}
    		if attribute.IntValue != nil {
    			entries.Insert("int")
    		}
    		if attribute.IntSliceValue != nil {
    			entries.Insert("intSlice")
    		}
    		if attribute.StringValue != nil {
    			entries.Insert("string")
    		}
    		if attribute.StringSliceValue != nil {
    			entries.Insert("stringSlice")
    		}
    		if attribute.VersionValue != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:26:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go

    		maxCount := permutations * int(math.Ceil(nff))
    		aHand := make([]int, test.handSize)
    		for i := 0; i < test.hashMax; i++ {
    			aHand = dealer.DealIntoHand(uint64(i), aHand)
    			sort.IntSlice(aHand).Sort()
    			handCoordinate := 0
    			for _, card := range aHand {
    				handCoordinate = handCoordinate<<7 + card
    			}
    			handCoordinateMap[handCoordinate]++
    		}
    		numHandsSeen := len(handCoordinateMap)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 25 06:44:08 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  4. src/sort/search.go

    func SearchStrings(a []string, x string) int {
    	return Search(len(a), func(i int) bool { return a[i] >= x })
    }
    
    // Search returns the result of applying [SearchInts] to the receiver and x.
    func (p IntSlice) Search(x int) int { return SearchInts(p, x) }
    
    // Search returns the result of applying [SearchFloat64s] to the receiver and x.
    func (p Float64Slice) Search(x float64) int { return SearchFloat64s(p, x) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/allocators.go

    			clear:    "%s.clear()",
    			minLog:   5,
    			maxLog:   32,
    		},
    	}
    	deriveds := []derived{
    		{
    			name: "BlockSlice",
    			typ:  "[]*Block",
    			base: "ValueSlice",
    		},
    		{
    			name: "IntSlice",
    			typ:  "[]int",
    			base: "Int64Slice",
    		},
    		{
    			name: "Int32Slice",
    			typ:  "[]int32",
    			base: "Int64Slice",
    		},
    		{
    			name: "Int8Slice",
    			typ:  "[]int8",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. src/runtime/slice_test.go

    	})
    }
    
    var (
    	SinkIntSlice        []int
    	SinkIntPointerSlice []*int
    )
    
    func BenchmarkExtendSlice(b *testing.B) {
    	var length = 4 // Use a variable to prevent stack allocation of slices.
    	b.Run("IntSlice", func(b *testing.B) {
    		s := make([]int, 0, length)
    		for i := 0; i < b.N; i++ {
    			s = append(s[:0:length/2], make([]int, length)...)
    		}
    		SinkIntSlice = s
    	})
    	b.Run("PointerSlice", func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 09:45:44 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

      optional bool bool = 2;
    
      // IntValue is a 64-bit integer.
      optional int64 int = 7;
    
      // IntSliceValue is an array of 64-bit integers.
      optional NamedResourcesIntSlice intSlice = 8;
    
      // StringValue is a string.
      optional string string = 5;
    
      // StringSliceValue is an array of strings.
      optional NamedResourcesStringSlice stringSlice = 9;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(Float64Slice).Search", Method, 0},
    		{"(Float64Slice).Sort", Method, 0},
    		{"(Float64Slice).Swap", Method, 0},
    		{"(IntSlice).Len", Method, 0},
    		{"(IntSlice).Less", Method, 0},
    		{"(IntSlice).Search", Method, 0},
    		{"(IntSlice).Sort", Method, 0},
    		{"(IntSlice).Swap", Method, 0},
    		{"(StringSlice).Len", Method, 0},
    		{"(StringSlice).Less", Method, 0},
    		{"(StringSlice).Search", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/static/trace_viewer_full.html

    function isForcedGarbageCollectionEvent(event){return findParent(event,isLowMemoryEvent)!==null;}
    function isSubGarbageCollectionEvent(event){return isGarbageCollectionEvent(event)&&event.parentSlice&&(isTopGarbageCollectionEvent(event.parentSlice)||event.parentSlice.title===MAJOR_GC_EVENT||event.parentSlice.title===MINOR_GC_EVENT);}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
  10. api/go1.txt

    pkg sort, method (Float64Slice) Sort()
    pkg sort, method (Float64Slice) Swap(int, int)
    pkg sort, method (IntSlice) Len() int
    pkg sort, method (IntSlice) Less(int, int) bool
    pkg sort, method (IntSlice) Search(int) int
    pkg sort, method (IntSlice) Sort()
    pkg sort, method (IntSlice) Swap(int, int)
    pkg sort, method (StringSlice) Len() int
    pkg sort, method (StringSlice) Less(int, int) bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top